WordPress.org

Ready to get started?Download WordPress

Forums

Dynamic widget links list (4 posts)

  1. jmuller777
    Member
    Posted 1 year ago #

    Hello, guys!

    Maybe someone with more experience can give me some hint on how to do something like this:

    I have 7 pages: A, B, C, D, E, F & G

    What i want is to create a list inside my sidebar with these seven links but once someone enters into some of these seven pages the list should display only 6 of them, all the others but the the one that leads to the page the person is inside.

    For instance, if a person gets in the page A, the list should show a list of only: B,C,D,E,F,G

    If a person is in the page F, the list should be: A, B, C, D, E, G

    and so on.

    Could someone, please, give me some light?

  2. mbeasi
    Member
    Posted 1 year ago #

    The only way I can think of to do this (others might have fancier ideas) is to create a custom sidebar for each of these pages, so that you can place a different menu of links in each one.

    Here is a plugin that does that: http://wordpress.org/extend/plugins/custom-sidebars/

    (I've never used it myself, just FYI.)

  3. jmuller777
    Member
    Posted 1 year ago #

    Thanks, mbeasei!

    I Thought the same. But i imagined that there could be a cleaver way. I saw on Yoast's blog that on his essential articles there is one right sidebar that shows al the others except the one you are in.

    And i'd like to replicate something like that for a custom menu.

    I appreciate your help, thanks again!

  4. WPyogi
    Volunteer Moderator
    Posted 1 year ago #

Topic Closed

This topic has been closed to new replies.

About this Topic