Jump to content
michele

help: how to add a section to the sidebar?

Recommended Posts

michele    0
michele

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
catrina    103
catrina

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.wordpress.org/Appearance_Widgets_Screen http://www.w3schools.com/


Please read the docs before posting. Please do not private message me unless I ask you to.

Designer | Catrina Dulay

Founder | Catrina and Mouse

Share this post


Link to post
Share on other sites
bxbmedia    2
bxbmedia

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


gl hf

Share this post


Link to post
Share on other sites
michele    0
michele

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
Danny    1,327
Danny

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.


Please search our forums, before posting!

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


×