Oracle of ONE1

Obscure words of unity

Categories Sub-menu

This is a very simple version of a Categories sub-menu implemented in the sidebar.php. Once a category is clicked, the sidebar should show the following:

  1. Category description (this is useful other than the sidebar)
  2. Children categories
  3. Posts in the category

(more…)

Sidebar Display on Every View

The default template shows the sidebar only on selected pages. I often make a design decision to display the sidebar on every or nearly every page. This is a fairly straightforward set of template edits. As an example, we will work with the template single.php. This is the template which displays individual posts

To gain further understanding of which template files are used when view a WordPress site visit WordPress Site Architecture.

(more…)

Categories in Sidebar Display

There a many reasons why you might not want all categories to display in the side bar. Some possible reasons are:

  • Display some categories under 1 title and other categories under another title
  • Some categories may serve a special purpose
  • Some categories may meant to be hidden

(more…)

Any HTML in the Sidebar

Use the Text Widget to add HTML to the sidebar. This makes it very easy to add a wide variety of features to your site. I will demonstrate a few simple examples.

(more…)