Forums

AutoNav Graphical Navigation and Gallery Plugin
[resolved] Show only pages with custom attribute (3 posts)

  1. tyskkvinna
    Member
    Posted 7 months ago #

    I have Autonav and it works great... I'd like to extend it a little bit and I'm just not sure if it will do it, or how.

    I have one parent page with about 200 child pages. I'd like to split up the nav into a few parts (on the same page). For example, all pages labeled "Red" in one group and "Blue" in another.

    I don't care if they are divided by a custom attribute, a tag, or what. I just can't change what their parent is.

    Can I do this? How?

    http://wordpress.org/extend/plugins/autonav/

  2. wlindley
    Member
    Posted 7 months ago #

    Absolutely. For example, I created a custom field called "example" and set the value to either "red" or "blue" in the various child pages. In the parent page, then, you can make a list of these pages with:

    Here are the red pages:
    [autonav display=list postid="example:red" pics_only=0]
    and the blue pages:
    [autonav display=list postid="example:blue" pics_only=0]

    Note, use pics_only=0 to force listings of pages that do not have thumbnails. For a table instead of a list, you could of course use display=images instead of display=list (and you will probably want to omit pics_only).

  3. tyskkvinna
    Member
    Posted 7 months ago #

    Awesome, thank you!!! :)

Reply

You must log in to post.

About this Plugin

About this Topic

Tags