WordPress.org

Ready to get started?Download WordPress

Forums

Categories are not completely visible in sidebar and not customisable (7 posts)

  1. snyderjoe
    Member
    Posted 7 years ago #

    I am using GlossyBlue 1.4 theme. Only 6 categories of about 10 are visible in the sidebar, although there are post with the unvisible categories. The post show the category, but it is not shown in the sidebar.
    And another - maybe related problem: I changed code in the sidebar in order to see all categories including the empty ones, like explained here:
    wordpress.org/support/topic/75742,
    but the blog does not show any difference after uploadiing the changed file.
    Is there a conflict between the widget-made changes and the php file. I am sorry, but I am new to WP and I am afraid, I did not get some of the main points...

  2. snyderjoe
    Member
    Posted 7 years ago #

    I deactivated WP Navigation Tool (NAVT) and now the categories are complete again.

  3. snyderjoe
    Member
    Posted 7 years ago #

    Well the other question remains: I changed code in the sidebar.php in order to see all categories including the empty ones, like explained here:
    wordpress.org/support/topic/75742,
    but the blog does not show any difference after uploadiing the changed file.

  4. moshu
    Member
    Posted 7 years ago #

    If you use widgets - that overrides whatever changes you make to the sidebar.php files. I.e. no matter what you are editing, changing in the sidebar.php file itself, using widgets will display what is in the widgets.

  5. snyderjoe
    Member
    Posted 7 years ago #

    Thanks. That explains everything :-(
    I think I cannot mix the modes?
    Or can I paste the widgety created code into my sidebar file?

  6. Adam Brown
    Member
    Posted 7 years ago #

    The HTML created by the widget will be static--i.e. it won't update if you add more categories.

    Try downloading a more advanced categories widget from the plugins repository. I've seen one on there by a guy called Breukie or something.

  7. moshu
    Member
    Posted 7 years ago #

    I think I cannot mix the modes?

    Actually, you can.
    Whatever is OUTSIDE of the if dynamic_sidebar... endif portion, will be displayed regardless.

Topic Closed

This topic has been closed to new replies.

About this Topic