Support » Plugin: Page-list » Pagelist_ext and attribute hierarchical

  • Resolved nigrantonio

    (@nigrantonio)


    Hi, I try with =1 and without (=0) hierarchical attribute but pagelist_ext show me always subpages in my list. I try also with depth = “1” but it’s not allowed as in [subpages] shortag. How can I solve it? My code is:

    [pagelist_ext hierarchical="0" show_first_image="1" limit_content="150" more_tag="0"].

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

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author webvitalii

    (@webvitaly)

    [subpages_ext] will generate only flat list of pages.
    It can show pages from not only one level, but list is always flat.

    Sorry, but short tag is pagelist_ext not subpages_ext…

    Plugin Author webvitalii

    (@webvitaly)

    Sorry, I made a mistake.
    I mean [pagelist_ext].
    [subpages_ext] does not exist.

    I suspect that… so what’s meaning of hierarchical attribute in pagelist_ext short tag?!?

    Plugin Author webvitalii

    (@webvitaly)

    [pagelist_ext] is based on get_pages function and the meaning of all params you may read on Codex page.

    OK, so I have to use child_of attribute as I read on Codex… to limit subpages to actual page… but I don’t want grandchildren! 🙁 I’ll try with parent (to reverse logic)

    So at the end, this is code that solves my problem
    [pagelist_ext hierarchical=”0″ parent=”34″ show_first_image=”1″ limit_content=”150″ more_tag=”0″]
    that is equivalent to:
    [subpages depth=”1″]

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Pagelist_ext and attribute hierarchical’ is closed to new replies.