WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] WP Page Menu (3 posts)

  1. DK-System
    Member
    Posted 4 years ago #

    Hello.I have actualy Two types of menu.

    First is Pages.I like first 4 pages to import on different Div Class.

    Ex:

    <div id="menu1">
    <?php wp_page_menu('TO INCLUDE FIRST 4 TITLES PAGES'); ?>
    </div>

    <div id="menu2">
    <?php wp_page_menu('INCLUDE 4 + PAGES TITLE'); ?>
    </div>

    Tnx for your support!
    Best Regards
    DK System!

  2. MichaelH
    Member
    Posted 4 years ago #

    The template tag, wp_page_menu(), has the include= argument--for example:

    <?php wp_page_menu('show_home=1&include=5,9,23,45'); ?>

    Related
    How do I determine a Post, Page, Category, Tag, Link, Link Category, or User ID?

  3. DK-System
    Member
    Posted 4 years ago #

    Tnx,but i just configurate with

    exclude

Topic Closed

This topic has been closed to new replies.

About this Topic