Jump to content


help: how to add a section to the sidebar?

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

#1 michele



  • Members
  • Pip
  • 6 posts

Posted 28 August 2012 - 04:53 PM

hallo, I'd like to add the hero section (or something equivalent) to the sidebar section of my blog. But when I go to to the template section and select sidebar, no section is available! Thoughts? thank you Michele

#2 catrina



  • Members
  • 12345 posts

Posted 28 August 2012 - 05:00 PM

Sections cannot be added to the sidebar. Only widgets can be added. As an alternative, please use the regular text widget added to your sidebar and use HTML to add the content you want. For reference: http://codex.wordpre..._Widgets_Screen http://www.w3schools.com/

#3 bxbmedia


    Advanced Member

  • Members

  • 79 posts

Posted 29 August 2012 - 02:25 AM

@catrina, the PL sidebars are sections themselves. I think @michele is referring to the SB1, SB2 template areas, not inside the sidebar itself. Some sections are available in these areas, but most are not. For example the Highlight section is available in those template areas. The content box section (available for free from the store) is also available. You might also try the Sidebar Wrap area, which has a few more sections you can use like the Quickslider.

#4 michele



  • Members
  • Pip
  • 6 posts

Posted 29 August 2012 - 07:39 AM

thank you all. actually I was referring to SB1 indeed. When I check which sections are available for that area, I found none! So what or how sections are supposed to go in that area?

#5 Danny


    Is Awesome!

  • Moderators
  • 19779 posts

Posted 29 August 2012 - 08:54 AM


Some sections are not available in certain areas, this is because they will either not function or look very odd. The Hero section for example, will not look great in the sidebar.

However, you can change this but we we're unable to provide support should you proceed.

Using your favourite FTP client navigate to:


Then choose the section you wish to use on sidebars, open the sections section.php file and where the line:


Add the following code:

 sidebar1, sidebar2, sidebar_wrap

So as an example below is the code for the Hero section so that it will be available on the Sidebars.

		Section: Hero
		Author: PageLines
		Author URI: http://www.pagelines.com
		Description: A responsive full width image and text area with button.
		Class Name: PLheroUnit
		Workswith: templates, main, header, morefoot, content, sidebar1, sidebar2, sidebar_wrap
		Cloning: true

Hope this helps and please remember, we will be unable to provide support if you choose to use this customisation.