Viewing 4 replies - 1 through 4 (of 4 total)
  • Any fixes on this?

    I have sinced changed plugins, but with over 500 posts it’s going to take a long time for me to convert each post to the new plugin, and if I just delete WordPress Print This Section it leaves the [/print_this] tags. This is annoying.

    Example of Problem: https://livelovepasta.com/2011/09/pumpkin-muffins-with-nutella-cheesecake/

    I have tried installing previous versions of the plugin to no avail.

    It still is going to the Print Screen and pulling the Post Title and URL, just not able to “locate the section you requested.”

    The problem is that with the new WordPress update {3.6}, it only generates a “print section” for the first post of each page AND when you go directly to the post’s url. I have 3 post per page. The last two posts of each page used to get the error message.

    There is a way to go around this, but you have to edit the code of the plugin yourself. I advise you to save the code prior to changing it in case it does not work for you.

    This works like a charm on my site: https://www.fresalina.com/cooking/

    Fix it by editing class-wp-print-this-plugin.php.

    On line 170, 171, 172, change from this:

    $print_this_link = get_permalink( $post->ID ) . '&printthis=1&printsect=' . $print_this_counter;
            } else {
                $print_this_link = get_permalink( $post->ID ) . '?printthis=1&printsect=' . $print_this_counter;

    To this:

    $print_this_link = get_permalink( $post->ID ) . '?printthis=1&printsect=1';
            } else {
               $print_this_link = get_permalink( $post->ID ) . '?printthis=1&printsect=1';

    This new code tells WordPress to print each section individually instead like before telling it to print section 1, 2, 3 with the code ” print_this_counter; “… of each page.

    Thanks Fresalina.com, worked like a charm on my site as well! You don’t know how much I appreciate this!

    Awesome! I’m glad it worked for you as well. You’re very welcome.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Plugin not working with WP 3.5’ is closed to new replies.