Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: updates from ZUSE-665

Excerpt

You can build a custom sidebar to replace or add to the archive list in the sidebar on the archive pages of your blog or news posts (including both the recent posts page and single posts page).

...

).

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 Publish the Slug of the Reusable Contentcontent block.
    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).
    Image Removed

Specify the content

...

Include Custom Archive Dropdowns in Sidebar

If you would like some but not all of the Archive Dropdowns to appear in your sidebar, hide the default Archive Dropdown (see below) and build a custom set of dropdowns in a reusable content module using the Dropdown Shortcode.

Specify the content

  1. From the dashboard, navigate to Settings > Settings > Reading.
  2. Scroll down to the Include Archive Dropdown on Blog Sidebar? setting.
    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 fielduse the dropdown to select Hide for the appropriate Setting (blog or news).
    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.
    Choose the Update button next to the Custom Fields that you have updated. Update the page.
    Image Removed
    1. choose the Reusable Content block you would like to include in the Reusable Content to include setting for Blog or News.
  3. Choose the Save Changes button at the bottom of the page.
    Image Added

...