BUGS: Unnecessary bad coding for blog templates makes incompatibility with hummingbird

Some more crazy bugs that should flat out shouldn't be happening:

Hummingbird main goal: faster loading time and better page speed score from google
Methods: A. Script files to bottom of page. B. Joining JS code C. Minification

Problem: Blog templates is relying on inline non-enqueued javascript to link to pro-site page checkout ...whaa...why....wtf...goodness.

Solution 1: Direct link to checkout, ie a link that looks like:
https://networkname.com/pro-site/?blog_template=6&action=new_blog

Solution 2: use the wordpress wp_enqueue_script for proper wordpress coding. This way it can work with humming bird.

Right now this is a major bug...gotta step up the coding practices here!

Pretty easy to fix! But right now broken...and guessing there are many non-tech savy customers not re-testing everything on every plugin update...so they are just not aware of this bug.

Hope that makes sense and gets fixed asap.

  • Ben
    • The Reaper

    A follow up, if you need the solution immediately replace this:

    <button class="select-theme-button" data-signup-url="<?php echo esc_url( $sign_up_url );?>"><?php echo $options['previewer_button_text']; ?></button>

    with

    <a class="select-theme-button" href="/pro-site/?blog_template=<?PHP echo $tkey; ?>&action=new_blog"><?php echo $options['previewer_button_text']; ?></a>

    or this

    <a class="select-theme-button" href="<?php echo esc_url( $sign_up_url );?>&action=new_blog"><?php echo $options['previewer_button_text']; ?></a>

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.