Adding social buttons to category archive page
-
Hello,
I’ve been trying to add the social buttons – tweet/facebook-like/+1 to the top of my category archive page – https://www.eurosoccerweb.com/category/squads/
The problem is, the buttons on the top are associated to the last post in this category (Malaga FC 2012/13 Squad List). I want the buttons to be associated to this archive page itself, and not the post. For example, if you click the facebook-like button (on the top), it is liking the post ‘Malaga 2012/13 Squad List’ and not this page itself.
I used this function from the social ring plugin:
<?php if(function_exists('social_ring_show')){ social_ring_show();} ?>
and I put it on the very first line of my loop-media.php
The plugin states you must paste the code within the loop, which I’m not sure what that means exactly.Any help would be appreciated.
Thanks,
- The topic ‘Adding social buttons to category archive page’ is closed to new replies.