Jump to content
Sign in to follow this  
kramerdesign

Adding PHP code above content and sidebar that spans both but below header

Recommended Posts

kramerdesign

How would I add some PHP code to show breadcrumbs above both my sidebar and content but below the header? I want to add this piece of code in: <? if(function_exists('bcn_display') && !is_front_page()) { ?>

<? bcn_display(); ?>
<? } ?> But figuring out how and where to add it is confusing me. If I put it in header it left aligns and I really want it in the centered content section, but that area seems controlled by the core files. I tried putting it in a sidebar widget with the PHP Code widget but then it only spans the sidebar and goes to two lines on longer breadcrumbs.

Share this post


Link to post
Share on other sites
Rob

Go to Dashboard > PageLines > Drag & Drop and click on Page Templates. Select a template you're going to use. Slide the Universal or Full Width section to that Page Template. Now go to Dashboard > Appearance > Widgets and drag a text widget to the Universal or Full Width (whichever you selected). Open the text widget and include your PHP in there. Save the text widget and view.


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  

×