Jump to content


Photo
- - - - -

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


This topic has been archived. This means that you cannot reply to this topic.
1 reply to this topic

#1 kramerdesign

kramerdesign

    Newbie

  • Members
  • 7 posts

Posted 08 August 2012 - 08:16 PM

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: 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.

#2 Rob

Rob

    One Smart Egg

  • Members
  • 13575 posts

Posted 08 August 2012 - 09:47 PM

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.