Posted 15 September 2012 - 09:16 AM
I have found a great fix by @seanriceaz. I just changed 'pagelines_loop_after_excerpt' with 'pagelines_loop_above_content'
The code for functions.php is:
It works fine, however it is duplicating the sharebar on posts pages and excerpts, which are handled by default by the framework.
Any idea how I can add the sharebar under pagetitles on pages without duplicating them on posts pages ?
Posted 15 September 2012 - 10:14 AM
You can hide Sharebar at Pageline Meta Setting to resolve the duplicating.
If you want add the sharebar under pagetittles on pages you can use this hook
Posted 15 September 2012 - 10:33 AM
Thx for the answer.
I dont have the sharebar section activated. It is not possible to pull it inside the content from the drag and drop menu. I want to use the sharebar that exists by default in metabar and usually shows on blog posts and excerpts under the title. I'd like to hook it under page titles (applies to any page or post, hence the duplicating).
If I deactivate the sharebar items from the Site options - Blog and Posts menu, the sharebar as a whole disappears from the blog posts and excerpts. I mention I am using the Pagelines Framework 2.5.5
Posted 15 September 2012 - 11:42 AM
I´m a newbie, but you can try add this hook for sharebar under tittle
Posted 16 September 2012 - 12:08 AM
If you're going to edit a section, I'm sure you know to copy the section to Base Theme and edit the copied version. Don't edit core files.