WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] How to keep Category parent tree open? (8 posts)

  1. businessbird
    Member
    Posted 4 years ago #

    Howdy,

    I love WordPress! I would like to know how to have my category tree open when the page loads (ie the user does not need to click to expand to show all of the child categories-

    I am using a Wiki theme and the url is here . If anyone can think of any other cool plugins let me know! Also would anyone know how I can stick a list of external links under this tree?

    Cheers!!

    Leon :D

  2. businessbird
    Member
    Posted 4 years ago #

    P.S. does anyone know if there is a Yahoo Answers type plugin where users can submit their questions to be answered? Thanks :)

  3. businessbird
    Member
    Posted 4 years ago #

    I'm worried I may be asking too much!

  4. Stian Andreassen
    Member
    Posted 4 years ago #

    The category tree is «closed» by the CSS. Edit your themes style.css, and change:

    #navigation ul {
    	display: none;
    	border-left: 1px solid #d0d0d0;
    	margin-left: 15px;
    }

    to:

    #navigation ul {
    	border-left: 1px solid #d0d0d0;
    	margin-left: 15px;
    }

    If your theme supports widgets, you can probably add a Blogroll-widget beneath the Category-widget. Check Apperance > Widgets in your WP-admin.

  5. businessbird
    Member
    Posted 4 years ago #

    Thank you!- that is really helpful :) Unfortunately, the theme does not support Widgets, I presume it would be very difficult to get them working?

    Leon

  6. Stian Andreassen
    Member
    Posted 4 years ago #

    If your theme doesn't support widgets, you probably want to edit the sidebar.php. Find the wp_list_categories, and below it, use wp_list_bookmarks.

  7. businessbird
    Member
    Posted 4 years ago #

    fantastic thanks!!!

  8. businessbird
    Member
    Posted 4 years ago #

    Hi, just given it a go- love it! I really appreciate your help, these kind of things drive me crazy- the fact that someone can help me out like this is amazing :D

Topic Closed

This topic has been closed to new replies.

About this Topic