Jump to content

* * * * * 1 votes

printfriendly button to sharebar

printfriendly sharebar

This topic has been archived. This means that you cannot reply to this topic.
1 reply to this topic

#1 respectgb†



  • DMS Subscriber†
  • 7 posts

Posted 18 May 2013 - 11:49 AM



I'm wanting to add a printfriendly button to the pagelines sharebar. The php required to add the printfriendly button within the theme is as follows:


<?php if(function_exists('pf_show_link')){echo pf_show_link();} ?>


my problem is that I'm unsure how to embed this within the sharebar.


Thanks in advance!!

#2 Rob


    One Smart Egg

  • Members
  • 13575 posts

Posted 18 May 2013 - 04:44 PM


You may be aware that you can add the same elements in the sharebar with shortcodes provided through the Social Media section found here: 

Please Login or Register to see this Hidden Content


A plugin called

Please Login or Register to see this Hidden Content

will convert your PHP snippet to a shortcode. 


This would let you add the custom shortcode to the others giving you the custom link you desire.


Alternatively, you'd have to clone the Sharebar section to Base Theme, and modify that. If you're not experienced in writing PHP code, it would likely require the assistance of a developer.