Cant filter query on category without loosing facebook buttons
-
Hi,
I’ve added the oficial Facebook plugin in order to get like/share buttons on posts.
I have a page that I call ‘news’ that I created a new template for from the ‘blog.php’ template in the main theme.
In the news page I have entered code that filters posts to only show posts with the category ‘news’…..
<?php query_posts('category_name=news'); ?>
it seems that I can only get the facebook buttons to show if I remove the filter code…….with the filter code I get only ‘news’ posts but no facebook buttons…….without the code, I get facebook buttons, but posts from all categories.
any ideas why?
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Cant filter query on category without loosing facebook buttons’ is closed to new replies.