WordPress.org

Ready to get started?Download WordPress

Forums

Pods - Custom Content Types and Fields
[resolved] Pods CMS Hierarchies Parent, Child and Sub Child Pages (2 posts)

  1. blogginginc
    Member
    Posted 3 years ago #

    Hi there,

    I'm new to this plugin, so i'll try to be as specific as I can.

    What I need is the following

    http://www.site.com/parent/child/sub_child/sub_sub_child.

    I KNOW that wordpress pages are hierarchical, but they have a limit before they start causing performance issues. I need thousands of these sub child content added and need to know if PODS CMS will allow me to create these hierarchies

    As far as I know, I can create a parent/ POD and its content would be child/ . However, is it possible to give a sub_child content to the child content?

    Thanks for your time.

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

  2. Scott Kingsley Clark
    Member
    Plugin Author

    Posted 3 years ago #

    No problem, you can create as many Pod Pages as you need and they only load up what you tell it to.

    For example, each 'Child Pod Page' is actually it's own self-reliant Pod Page. See below for each Pod Page you can create to enable multiple levels.

    • my-parent-page (you'll likely want to define this as a specific page, or instead put a prefix on it like "my-*", some people even put a 'catchall' parent page like "events")
    • my-parent-page/* (you can use "*" as a wildcard, it will match anything but a slash, so it's only good for one level)
    • my-parent-page/*/* (same thing as above, just a level deeper)
    • my-parent-page/*/*/* (same thing as above, just a level deeper)
    • my-parent-page/*/*/*/* (same thing as above, just a level deeper)
    • my-parent-page/*/*/*/*/* (same thing as above, just a level deeper)
    • my-parent-page/*/*/*/*/*/* (same thing as above, just a level deeper)

    There truly is no limit on how many levels you can go with Pod Pages, but you'll likely want to double check on the URL within your Pod Page precode to make sure that it's really a "valid" URL (checking that the preceding parts of the URL should exist).

    So yeah, you should have no problem, but be sure to think with your PHP hat on this because to do it really right you'll want to setup things like URL validation in the Precode and 404 Errors or Redirects if the URL isn't valid.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic