WordPress.org

Ready to get started?Download WordPress

Forums

i need an order in the navigation bar (3 posts)

  1. B+1
    Member
    Posted 4 years ago #

    Hi all,
    i installed Vigilance and i love it.
    One problem i cant solve though:

    i have pages and categories shown in the top navigation bar. it first shows pages, then categories.
    you can give the pages an order of choice, but not the categories.

    also, i would like the categories be first, then the pages.

    i'll be gratefull for any advice :)

  2. equalmark
    Member
    Posted 4 years ago #

    I don't know the theme and therefore these are only suggestions.

    In the header.php file for the theme, it is probably calling wp_list_categories. There are many parameters for this functions outlined here:

    http://codex.wordpress.org/Template_Tags/wp_list_categories

    Ordering the category list is one of them. In terms of moving it before your page list, then cut and paste the wp_list_categories before the wp_list_pages in the header.php

    Like I said without knowing the theme these are suggestions only.

  3. B+1
    Member
    Posted 4 years ago #

    Great, thanks, i'll try that, will keep you posted :)

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags