• I’ve searched the archives and have not come up with anything that matches exactly what i am looking for.

    I am using the Blix theme and wanted to add a few more categories in the sidebar

    https://www.turbanhead.com/weblog/

    Right now the sidebar category headings are : Pages, What You Say? Categories. Links. Feeds

    I want to add other Categories on the siedbar like – Now Reading. Now Listening To. etc.

    What code do i modify to achieve this?

    thanks

Viewing 5 replies - 1 through 5 (of 5 total)
  • It should be in your sidebar.php file, if there is one?

    Thread Starter turbanhead

    (@turbanhead)

    What code do I change in the sidebar.php file?

    This is what you wanna do.


    [h2][em]Categories[/em][/h2]


    [ul class="categories"]
    [?php wp_list_cats('sort_column=name&hide_empty=0'); ?]
    [/ul]

    Copy/paste that again and just repace the title in “h2” and the content in “ul”.

    And don’t forget to replace “[” with “<“.

    Hopefully, it’ll work.

    Thread Starter turbanhead

    (@turbanhead)

    thanks!

    If I want to do what was advised above.
    1. cut and paste the code into the sidebar.php
    2. rename “categories” with whatever i want the header to say in the sidebar (i.e. “now reading,” “now listening”)

    if that’s right, and I want to create some static WP Pages

    1. What is the code to link the static Pages to the new header (category), but make sure it doesn’t appear in my Pages category in my sidebar?

    For example if I do the above and then I’ll have a category in my sidebar that says “now reading” and I’ll want to have links that say “fiction” and another that says “non-fiction” with static pages created for both, how do I create or code the sidebar to show those pages/ links…

    thanks

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Adding New Categories in Sidebar’ is closed to new replies.