Okay
  Public Ticket #590955
Social Share Problem
Closed

Comments

  •  1
    Angela started the conversation

    Hi Djwd,

    I want to get rid of the small social share icons which appear below posts in the sidebar and archives, but keep the big share buttons on the actual posts/pages. (I have attached a screenshot to illustrate)

    The reason for this is to reduce the number of external links on the website. I am getting warnings on various seo/site reports that it is very high.

    I searched in all the php files but can't find a way to remove them without removing it from the post.

    Can you please advise how I can do this?

    Much appreciated,
    Chris

  •  93
    djwd replied

    Hi there,

    It would be easy via CSS although I believe it would be useless for SEO purposes as URLs will still be in the markup.

    You\'d need to remove the call to the social buttons template file manually in theme files, for example for the Category widget it\'s located in inc/widgets/wg-main-cat.php line 202

    <?php include ( get_template_directory() . \'/partials/part-social-share.php\');  ?>
    

    Searching for this line and remove it throughout theme folder (except content-single.php) should do the trick

    Hope it helps

    Regards
    djwd

  •  1
    Angela replied

    Thank you as always djwd, much appreciated!

    :)