janpeeters 31 Report post Posted January 4, 2011 Hi, I'm using the 'Socialize This' Wordpress plugin. I like the build in social media function in Platform Pro, but the icons are a bit too big to my liking. So I choose for the plugin I've achieved to place the new social widgets under the posts with a PFP customhook via this code: add_action('pagelines_loop_after_post_content', 'social_widgets'); function social_widgets(){ show_social_widgets(); } What I don't succeed in is placing it only under single posts. At this moment it also shows up on static static pages and the blog posts page. I tried to do it via conditional tags but I got stuck. I hope someone can point me in the right direction. Thanks, Jan Share this post Link to post Share on other sites
Andrew 207 Report post Posted January 5, 2011 ahh an easy one... change to this: `if(is_single()) show_social_widgets();` Share this post Link to post Share on other sites
janpeeters 31 Report post Posted January 5, 2011 Thanks Andrew. How simple could it be. I've been fidling around with this for hours :-( Glad you could help! Share this post Link to post Share on other sites