Forums

Sociable Fix for ComicPress & Multi Loop themes. (2 posts)

  1. Frumph
    Member
    Posted 2 years ago #

    Yeah simple as this may be but Sociable is aquiring the 'loop' post when functioning.

    Line 596 in the sociable.php:

    $post = $wp_query->post;

    put two backslashes to comment it out:

    // $post = $wp_query->post;

    This will make it so that it's using the "current" post it's in and not grabbing the one that's using the loop.

    Bad Yoast! Bad! j/k You can't do a global $post and then rewrite it with the $wp_query->post in theme's.

  2. @mercime
    Member
    Posted 2 years ago #

    Thanks for the tip Frumph :-)

Topic Closed

This topic has been closed to new replies.

About this Topic