WordPress.org

Ready to get started?Download WordPress

Forums

Page-list
[resolved] [pagelist_ext] with limits? (13 posts)

  1. Radmacdaddy
    Member
    Posted 1 year ago #

    I would like to not have [pagelist_ext] show all pages and their children as well. I only want one level down; direct children of page with [pagelist_ext] added.

    I've tried [pagelist_ext depth="1"] but nothing shows at all when I do that.

    How can I achieve this?

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

  2. webvitaly
    Member
    Plugin Author

    Posted 1 year ago #

    Try this shortcode:

    [pagelist_ext child_of="77" parent="77"]

    where "77" is the ID of the page which subpages you want to show.
    In this case only one level should be shown.

  3. Radmacdaddy
    Member
    Posted 1 year ago #

    Is there a way I can do that generically? I want to show the parent, siblings, and the present page's children only. But want to apply it to a widget menu.

  4. Radmacdaddy
    Member
    Posted 1 year ago #

    [siblings][pagelist]&[subpages] are all showing the same results with the widget?

  5. webvitaly
    Member
    Plugin Author

    Posted 1 year ago #

    Add this php code to your functions.php file:
    add_filter('widget_text', 'do_shortcode');
    and shortcodes will run in sidebar widgets on your site.

    The difference between shortcodes you may read on the Pagelist plugin page. But shortcode names will give you a hint :)

  6. Radmacdaddy
    Member
    Posted 1 year ago #

    Yes, I did that already, found it on another thread.

    BTW, thanks for your quick response time... very helpful.

    I'll check out your link for my options. But the need to make a generic pull across all pages for a menu style is not clear... my reply to your first answer. In other words (and it seems to say the same on the plugin link) I need this one shortcode to apply to all places it shows without having to list every page I do or dont' want. This is a huge site and to have to apply to every page a different shortcode would be impractical.

    Oh... just tried it... it worked! Nice.

  7. Radmacdaddy
    Member
    Posted 1 year ago #

    I did [pagelist depth="2"] and it seems to be more what I need! Thanks.

  8. Radmacdaddy
    Member
    Posted 1 year ago #

    Ok... one issue is that the menu does not seem to update per page, as I need it to.

    Is this possible?

    I need to have it show depth based on the page that opens, but it seems to only show depth from the home.

  9. webvitaly
    Member
    Plugin Author

    Posted 1 year ago #

    Try this shortcode:
    [pagelist depth="2" child_of="current"]

    And also read about all params of Pagelist plugin.

  10. Radmacdaddy
    Member
    Posted 1 year ago #

    Ok, I hadn't seen the full list in your "other notes" somehow... great content.

    Last question I think for the moment.

    What if I want it to show a breadcrumb as well, is that possible?

  11. Radmacdaddy
    Member
    Posted 1 year ago #

    ...or a parent/grandparent. I tried [pagelist depth="2" parent="current" child_of="current"] but no luck.

  12. webvitaly
    Member
    Plugin Author

    Posted 1 year ago #

    Pagelist could not be used as breadcrumbs.
    Try to use Breadcrumb Navxt plugin for that.

  13. Radmacdaddy
    Member
    Posted 1 year ago #

    Thanks, just want the one to do both ;)

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic