Support » Fixing WordPress » quick simple query

Viewing 4 replies - 1 through 4 (of 4 total)
  • If I understand correctly, then you can use the template tag, wp_list_pages(), in your theme’s sidebar.php file to list pages. Check the WordPress Default 1.6 theme and the wp-content/default/sidebar.php for an example.

    Thread Starter bacollier

    (@bacollier)

    Yeh sorry i was a bit unclear….i want to implement the way the navigation shows where the user is within the sub-pages. Like i want to be able to give a “current” css style to the heading for where people are within the pages. (if that make sense)

    And WP adds the “current_page_item” class to the Page where you are on. Just check your source code (and read the documentation).
    The rest is editing your stylesheet.

    Thread Starter bacollier

    (@bacollier)

    moshu….thanks for the info – i didn’t know about that class. Why is there documentation detailing ways like: http://codex.wordpress.org/Dynamic_Menu_Highlighting

    when adding a “current_page_item” class in your css is much much easier???

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘quick simple query’ is closed to new replies.