WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] New page on top or sidebar. (5 posts)

  1. herrfotograf
    Member
    Posted 5 years ago #

    Hello.

    I use a template with a top bar with my pages on it (home, contact, about me, etc)

    Now my space is running out and i want to select a few pages and transport these to my sidebar.

    Is there a good hack / plugin to make a selection in pages shown TOP or SIDE so i can choose where the link to the page will be shown?

    Or has anyone an idea to do this manually?

    Thanks in advance!

  2. moshu
    Member
    Posted 5 years ago #

    Well, you could use twice the wp_list_pages tag...
    In the horizontal menu use it with the "include" parameter (since it will always have a limited number of Pages displayed), while in the sidebar use it with the "exclude" parameter - excluding those included in the first instance.

  3. herrfotograf
    Member
    Posted 5 years ago #

    hy moshu,
    tnx for your advice!
    could you give me an example code to get me started?

  4. moshu
    Member
    Posted 5 years ago #

  5. herrfotograf
    Member
    Posted 5 years ago #

    superb! tnx man

Topic Closed

This topic has been closed to new replies.

About this Topic