How to Display Social Sharing icons from AddThis Sharing Plugin on Single Question Page?

Solved5.81K viewsWordPress
1

I am using “AddThis Sharing Buttons” Plugin to display social sharing icons and set it to display sharing buttons above content. Problem is that, these sharing icons are displayed on pages like – list of questions, categories etc. but not on single question page, which should have been on the 1st priority to display these.

So, how do I display these social sharing icons below Question title (& category & tags mention) and above actual question content?

Thanks.

 

Attachments

ap-ss3.jpg

Which version you are using?

well, I have just tested it with AnsPress 2.4 and AskBug 1.5 too, but it’s still the same. Social Share icons displayed on all pages, except Single Question Page.

1

Simply override question.php (its already in theme folder if you are using askbug). and insert you sharing code here:

https://github.com/anspress/anspress/blob/master/theme/default/question.php#L21

Thanks. I will add it in overrided question.php

0

The easiest way to display AddThis Sharing Buttons is to use Tracking Code Manager, or some other script manager, and only invoke the AddThis script on the pages you actually want it to appear on.