How would i set this hierarchy up

Support General How would i set this hierarchy up

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #38956
    spipdesignsspipdesigns
    Participant

    Hi, im not great at coding, and i have metabox AIO so can use all the visual stuff. i would like to set up pages/posts and wondering if i can do this via metabox or should i use wordpress pages and posts.

    the plan is that all of these would be /expertise/slug of the post im showing. im just not sure

    1. how to set up custom post types (so there are parents - org psychology and coaching), then sub parent (psychometric, expertise) and then the post.

    each item above will have content

    Thanks for giving me some pointers

    Hierarchy seeking

    https://imgur.com/a/CYOUsCK

    if image doesnt appear

    2 parents

    1 - psychology - 2 children - psychometric - goes to 3 children
    executive - goes to 3 other children
    2 - coaching - 1 child

    #38966
    PeterPeter
    Moderator

    Hello spip,

    When registering a custom post type, you can enable the option Hierarchical to make the post hierarchically and set a post as a child of another post like that. Please read more here register_post_type

    For connecting two posts of two post types, you can use the extension MB Relationships. (Coaching - Organisational

    Regarding the post slug or URL, you also need to use a custom code to customize the slug on your own but it would need to have more complicated code. You can also read more here https://wordpress.stackexchange.com/questions/41988/redeclare-change-slug-of-a-plugins-custom-post-type

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.