When activating the Like button support, shortcodes you may have within your content will run (echo) in the head via wp-head
Open sfc-like.php and comment out lines 165-166
//the_post();
//rewind_posts();
Now all is good :)
When activating the Like button support, shortcodes you may have within your content will run (echo) in the head via wp-head
Open sfc-like.php and comment out lines 165-166
//the_post();
//rewind_posts();
Now all is good :)
Ummm... No. If you do that, then the shortcodes won't be processed properly by the plugin.
Shortcodes should never echo output, they're supposed to return it. The plugin processes shortcodes in the head so that it can get the results of them, to look for images and the like.
You should fix your broken shortcode code to make it return the shortcodes instead of echoing anything.
This topic has been closed to new replies.