Jump to content
Sign in to follow this  
carletto0282

Loading Sharebar section with hooks/shortcodes

Recommended Posts

carletto0282

Hi guys, one simple question is there a way to load the sharebar inside the post loop? I'm building a custom template for a custom post type and I like to add the sharebar section between to parts of my custom post type content. Which is the function that calls the sharebar section? Can I try to write a shortcode with it? Is there a way to add the "SHARE ?†’" to the sharebar that can automatically been added under the title via pagelines options? Thanks for your support! Regards Carlo

Share this post


Link to post
Share on other sites
Rob

Carlo, It would require a customization in the form of a hook. That particular one is not something I can guide you on, but you can use the Action Map plugin to find the right hook (based on where you want it). I don't believe the normal Sharebar has a shortcode, however, there are plugins that do add the sharebar inside the postloop. Additionally, if you scroll down here: http://demo.pagelines.me/tools/ you'll find shortcodes to add some social media inside the loop. This would require adding those codes for each post. Have you checked any of our social media plugins or those found elsewhere? These are two that might help: http://www.pagelines.com/store/sections/sharebar-extended/ http://www.pagelines.com/store/plugins/social-excerpts/


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

Sign in to follow this  

×