Forums

How to add "bookmark" links to pages? (2 posts)

  1. maxwolfie
    Member
    Posted 3 years ago #

    I want to be able to have a "contents section" at the top of the page, with each section listed i.e.

    Section 1 (link to section 1)
    Section 2 (link to section 2)
    Section 3 (link to section 3)
    Section 4 (link to section 4)
    etc

    Section 1

    Blah Blah Blah etc.

    Section 2

    Blah Blah Blah etc.

    etc etc etc..

    Here's the page:

    http://www.lamson.com.au/new/?page_id=28

  2. Xamataca
    Member
    Posted 3 years ago #

    If your sections are "bookmarks":
    <?php wp_list_bookmarks(); ?>
    http://codex.wordpress.org/wp_list_bookmarks

    If your sections are "categories":
    <?php wp_list_categories(); ?>
    http://codex.wordpress.org/Template_Tags/wp_list_categories

    If your sections are "pages":
    <?php wp_list_pages(); ?>
    http://codex.wordpress.org/wp_list_pages

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags