Archived

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

  • 0

help: how to add a section to the sidebar?

Question

Posted · Report post

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

Share this post


Link to post
Share on other sites

4 answers to this question

Posted · Report post

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

Share this post


Link to post
Share on other sites

Posted · Report post

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?

Share this post


Link to post
Share on other sites

Posted · Report post

Hi, 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: /wp-content/themes/pagelines/sections/ Then choose the section you wish to use on sidebars, open the sections section.php file and where the line:

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

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

Share this post


Link to post
Share on other sites