-
AuthorPosts
-
February 16, 2015 at 12:20 pm #396636
Hi,
I found AddThis plugin in your forum – https://kriesi.at/support/topic/social-share-buttons/. This works great !
Kindly advise me how can I position this plugin on top right hand side of all pages in website.Currently the link given in the private content is the website link , were the plugin is placed at the bottom left side of all pages.Please let me know.
Thank you.
February 16, 2015 at 7:36 pm #396975Hey potentialindia!
Thank you for using Enfold.
Try to place the addthis code somewhere inside the header.php, maybe right below this line:
<div id='main' data-scroll-offset='<?php echo avia_header_setting('header_scroll_offset'); ?>'>
Regards,
IsmaelFebruary 17, 2015 at 9:08 am #397290Hi,
Thanks for your reply. Please let me know in which php page this code should be placed.
February 17, 2015 at 12:41 pm #397415Hi!
Edit the header.php file. Look for that code then place the addthis share button code below. If you review the thread, you can place the button code directly on template files: https://kriesi.at/support/topic/placing-addthis-social-icons-into-the-header/#post-135671
<!-- AddThis Button BEGIN --> <div class="addthis_toolbox addthis_default_style "> <a class="addthis_button_facebook_like" fb:like:layout="button_count"></a> <a class="addthis_button_tweet"></a> <a class="addthis_button_pinterest_pinit"></a> <a class="addthis_counter addthis_pill_style"></a> </div> <script type="text/javascript">var addthis_config = {"data_track_addressbar":true};</script> <script type="text/javascript" src="//s7.addthis.com/js/300/addthis_widget.js#pubid=ra-51de2d2b7e09a8f5"></script> <!-- AddThis Button END -->
You need to use your own addthis code.
Best regards,
IsmaelMarch 2, 2017 at 4:36 pm #754409Hi,
i found this topic while searching. Is there a code-snippet for including this inside a functions.php inside my child-theme or how can i solve this issue?
cheers and thank you in advance
JensMarch 7, 2017 at 9:35 pm #757268Hi,
You can follow the instructions above, you just need to copy header.php from the Enfold theme to the child theme and tweak it.
Best regards,
Nikko -
AuthorPosts
- You must be logged in to reply to this topic.