WordPress.org

Support

Support » Themes and Templates » How to get navigation without heading?

How to get navigation without heading?

  • Hey, again! My new problem… I’m creating my own theme, but i need to get, for example, navigation in two ways, first – just heading on navigation with some PHP code, second – just links of it… The default code is…

    <?php wp_list_pages('title_li=<h2>Pages</h2>' ); ?>

    Thanks.

Viewing 5 replies - 1 through 5 (of 5 total)
  • esmi

    @esmi

    Forum Moderator

    Try:

    <?php wp_list_pages('title_li='); ?>

    Thanks, it works for almost all… Last problem…

    <?php wp_list_bookmarks('title_after=&title_before='); ?>

    I want just links, without “Blogroll”… Thanks.

    esmi

    @esmi

    Forum Moderator

    Same approach – using title_li= will suppress the heading.

    <?php wp_list_bookmarks('title_li=&title_after=&title_before='); ?>

    YEa, i try that before, and one more time that, what u suggest, but i dont works… I got “Blogroll” and then all links…

    esmi

    @esmi

    Forum Moderator

    Try <?php wp_list_bookmarks('title_li=&categorize=0'); ?>

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘How to get navigation without heading?’ is closed to new replies.
Skip to toolbar