Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Current »

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.

  1. Create a new Reusable Content Block.
  2. Build the content you would like to appear in the sidebar.
  3. Set the Slug of the Reusable Content.
    1. Choose Screen Options in the top right of the screen, and check the Slug option.
    2. Scroll down to the Slug meta box and choose a slug (no spaces or special characters).
  4. Publish the Reusable content block.
  5. Remember the Slug, you will need to specify it on the Blog Page (see below).

Specify the content

  1. 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.
  2. 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.
    1. 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.
    2. 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.
  3. Choose the Update button next to the Custom Fields that you have updated. Update the page.

 

  • No labels