I have a problem about to add the social button in category template.
Must be enter the following code:
<?php if(function_exists(‘social_ring_show’)){ social_ring_show();} ?>
The system should display the social button for each article list (after little description preview) in the category page.
The same modify must be applied for the page template.
Where I can paste this code?
Thanks in advance
Hi,
I try to explain the my necessity:
I will display the social button after the post in a category page.
For example:
If I stay in category page, the preview article are displayed.
I need to display the social button (<?php if(function_exists(‘social_ring_show’)){ social_ring_show();} ?>) after each post in the category page.
I hope I was clear.
Thanks
Hi,
Try to add the code in each module, the files are located here – http://screencast.com/t/vl6ziSBat8U
<div class="social_ring_share">
<?php if(function_exists('social_ring_show')){ social_ring_show();} ?>
</div>
Thank you, Emil G.
-
This reply was modified 11 years by
Emil G.
Hi,
I have also installed the WordPress Social Ring and tested this bay adding the code as Emil suggested to the module 2 file and seems that it dose work: http://screencast.com/t/fxevL8b4bE
Result: http://screencast.com/t/ShQgvD1hYaH
Please make sure you add the code like I did in the screenshot and that you have the Social Ring plugin active: http://screencast.com/t/7o4ivru7ih
This should work fine!
Thanks
Sorry,
I paste the code in td_module2.php another times but doesn’t work.
The code is pasted below the code (<?php echo $this->get_item_scope_meta(); ?>)
I don’t know why it is not work.
When i reloads the category page, the article don’t have the social button.