Ask your WordPress questions! Pay money and get answers fast! Comodo Trusted Site Seal
Official PayPal Seal

Remove share this icons from index posts page. WordPress


Hi Guys

I have installed the Share this plug in on my site (which is built on Catalyst/Dynamik)

It does not have an optoin to "not show" the icons on the home/index page.

I only want them to show on the single post page.

I'm assuming I need a custom function filter to remove them

Anyone got a solution for me?


Answers (4)


Arnav Joy answers:

i think you can manually put the code for it in single.php , and uncheck automatic option at admin panel , so it will visible only at single page.


Jerson Baguio answers:

preferably if want to do remove it on the index page you can comment directly on the code if its built in you code template.

If you can give access to me i will have it modify for you


Navjot Singh answers:

Add this code in your theme's function.php file:

remove_filter( 'get_the_excerpt', 'st_remove_st_add_link', 9 );
remove_filter( 'the_excerpt', 'st_add_widget' );


Abdelhadi Touil answers:

The solution should be like Arnav Joy said, but if the plugin doesn't have a manual mode, then I think you can use an other plugin, personally I use this one (Digg Digg):

[[LINK href=""]][[/LINK]]

It has an automatic and manual mode, so you are free to customize it as you wish.
Good luck.