You can build a custom sidebar to replace or add to the archive list in the sidebar on the archive pages of your blog (including the recent posts page and single posts page).
This feature only works for blogs (posts) not news (news stories).
Build the Sidebar
Build the content you would like in your sidebar using the reusable content module.
- Create a new Reusable Content Block.
- Build the content you would like to appear in the sidebar.
- Set the Slug of the Reusable Content.
- Choose Screen Options in the top right of the screen, and check the Slug option.
- Scroll down to the Slug meta box and choose a slug (no spaces or special characters).
- Publish the Reusable content block.
- Remember the Slug, you will need to specify it on the Blog Page (see below).
Specify the content
- On the Blog Page (see the Configure Blog section of this article), choose Screen Options in the top right of the screen, and check the Custom Fields option that appears.
- Scroll down to the Custom Fields metabox. Under Add New Custom Field to setup the sidebar. If you see a dropdown instead of a text field for the field name, choose the Enter new option.
- If you would like to hide the Archive dropdowns (grey Yearly, Monthly, Category options), enter "archive-dropdown" as the name and "false" as the value. All other values will be ignored. Choose the Add Custom Field button to save the field.
- If you would like to add a reusable content block as a sidebar, add a Custom Field with the name "sidebar-slug" and a value equal to the slug of the resuable content block you created. (See above to set the slug of the reusable content block.) Choose the Add Custom Field button to save the field.
- Choose the Update button next to the Custom Fields that you have updated. Update the page.
Related articles