Archived

This topic is now archived and is closed to further replies.

  • 0

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

Question

Posted · Report post

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

1 answer to this question

Posted · Report post

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.

Share this post


Link to post
Share on other sites