What is a Sidebar
A sidebar is a container that holds widgets and is used to usually display the following type of widgets: banner ads, search modules, newsletter signup modules, among others. to the side of webpages. The Brilliant Directories platform comes with a set of predefined sidebars that you can modify and update according to your needs. A few examples of sidebars:
Sidebars can be added to a few different sections in your site to learn how to add sidebars across your site please read these articles:
- (Bootstrap) Sidebar Setup Steps For Membership Features/ Post Types
- (Bootstrap) How To Add A Sidebar To A Static Page
With Brilliant Directories you also have the ability to create your own custom sidebars:
This is IMPORTANT INFORMATION you need to know about Sidebars:
- Sidebar act as containers for widgets. They are not widgets that move widgets to the left or right of a page, but only wrap around a group of widgets that will be used together. You can use ANY widget of your site inside a Sidebar. This is why sidebars should be thought about like a container or a way of grouping widgets together.
- You can "call" a sidebar to a static page of your site by using the short code [sidebar=name_sidebar]
- The name SIDEBAR does not indicate that widgets inside of it will be shown in the left or right hand side of a page. If you see sidebars either on the left or right hand side of a page it is because there is CSS code that is being applied to it in order to move the whole sidebar and its content to one or the other side.
- If trying to use a sidebar on a specific page that does not offer an option for sidebars (Like the membership features do), you can simply add the custom code [sidebar=Name of Sidebar]. So for example, if you have a sidebar named myCustomSidebar, you would add the following code to that page [sidebar=myCustomSidebar], and put the code in a place closest to where you would like to show the sidebar. After which, you will need to custom style the sidebar with some CSS code in order to make it look correct or if you want the sidebar to look similar to another sidebar in a different page.
- Using a sidebar on a page, does not guarantee that the sidebar will look the same on another page. This is because like previously stated, sidebars behave as containers for multiple widgets and do not include any CSS style to move left or right on a particular page.