WordPress.org

Ready to get started?Download WordPress

Forums

Page-list
How to show just parents with no sub page (3 posts)

  1. StelleDiPolvere
    Member
    Posted 8 months ago #

    Hi, Sorry i have this parent and child tree under a grand parent page

    1. Page parent 1
      • Child 1
      • Child 2
      • Child 3
    2. Page parent 2
      • Child 1
      • Child 2
      • Child 3

    I would like to show in my grand parent page only

    • Page parent 1
    • Page parent 2

    IS it possible To do that not using EXCLUDE and the id of the pages?

    Thanks in advance!

    http://wordpress.org/plugins/page-list/

  2. danielle_r
    Member
    Posted 8 months ago #

    How about this?
    [subpages] - by default shows list of subpages to the current page as the hierarchical list;

  3. StelleDiPolvere
    Member
    Posted 8 months ago #

    Thanks for reply!
    Every page in that tree will be listed writing :

    [subpages]

    I'm sorry I forgot to say that I want the featured images with an excerpt. so[pagelist_ext] is the shortcode that probably i will need :)

    For this I'm using this :

    [pagelist_ext hierarchical="0" exclude="351,381,399,375,373" limit_content="150" image_width="149" image_height="149]

    I'm excluding manually all the children to leave only the parents in this list with this: exclude="351,381,399,375,373"

    hierarchical="0" or hierarchical="1" give the same result :( nothing will change

    Is there a different shortcode to do what I want automatically and not using the EXCLUDE?

    P.S. If you are wondering why im writing

    image_width="149" image_height="149

    i will answer quickly :)
    If i write

    image_width="150" image_height="150"

    there is a strange bug that will return me a rectangular image of 150*87

    If someone can give a suggestion also about this i will appreciate :)

Reply

You must log in to post.

About this Plugin

About this Topic