Jump to content

printfriendly button to sharebar

Recommended Posts

respectgb+    1



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
Rob    547


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.

Former PageLines Moderator, Food Expert and Raconteur

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now