Archived

This topic is now archived and is closed to further replies.

  • 0

printfriendly button to sharebar


Question

Posted · Report post

Hi,

 

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!!

Share this post


Link to post
Share on other sites

1 answer to this question

Posted · Report post

Hi,

You may be aware that you can add the same elements in the sharebar with shortcodes provided through the Social Media section found here:  http://demo.pagelines.me/tools/

 

A plugin called Shortcode Exec PHP 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.

Share this post


Link to post
Share on other sites