Jump to content
Sign in to follow this  
zvelena

Sharebar after post title hook

Recommended Posts

zvelena

I want to hook the sharebar into 'pagelines_loop_before_post_content' Question: Do I have to deactivate sharebar from all page templates before adding the hook? I am not sure about the syntax, I tried this code into the child editor and it does nothing:

add_action('pagelines_loop_before_post_content','sharebar');
	function sharebar(){?>
	<?php }

This code doesnt add the sharebar, am I doing something wrong ?

Share this post


Link to post
Share on other sites
Rob
Zvelena, Which product do you have? May we see your site? Thanks.

Former PageLines Moderator, Food Expert and Raconteur

Share this post


Link to post
Share on other sites
zvelena
Oh hi again rangelone, I have the latest version of Pagelines Framework [url="http://www.isoc.ro"]my site is here [/url]

Share this post


Link to post
Share on other sites
Simon
In the next version there is a way to add the sharebar under the post_meta, like we have it on the main blog on this site. You cannot call sections templates directly like that im afraid.

Share this post


Link to post
Share on other sites
zvelena
Ok. thx Pross, is it coming anytime soon ? Thanks / Elena

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  

×