Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

I am using Simple Facebook Connect, and have enabled "Recommend" and "Send" links.

Unfortunately they are appearing in too many places. Can I limit their appearance using is_category('catttttt') style conditionals?

Happy to switch to a different Facebook Connect plugin in order to gain this finegrained feature.

share|improve this question
add comment

closed as too localized by toscho Jan 4 '13 at 23:15

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

1 Answer

I read a little into the plugin you're using and it says that it offers shortcode functionality. So I presume somewhere in the settings page for the plugin there is an option to stop it from injecting into all pages. The downside is that you'll have to manual add in the shortcode to get the recommend and send links to show in your articles, but it sounds like that's what you want.

share|improve this answer
    
Yeah, but I want it to automatically assign to posts of certain categories ONLY –  A T Feb 24 '12 at 3:31
    
Is it absolutely required to use a plugin to add in the Facebook code? It seems overkill considering the code from the Facebook generator is so minimal anyway. You can always add it in manually yourself into the templates and that way you'll be able to control how and when it displays by using the is_page, is_category functions. Using plugins does save time, but in this instance it's preventing you from implementing a very straight forward and simple solution. –  DigitalSea Feb 24 '12 at 6:39
add comment

Not the answer you're looking for? Browse other questions tagged or ask your own question.