• Hi there,

    I have some Custom Post Types and i would like to be able to assign a couple of instances of those to a specific page from with the admin area.

    For example, there is the Custom Post Type ‘team’ with a couple of team members, and i would like to assign a few of these team members to the about page.

    Is this somehow possible to do using a select box from within the admin area?

    Thanks, Bob

Viewing 6 replies - 1 through 6 (of 6 total)
  • I am not 100% clear on what you would like to do, and I tried to answer your question with the info you gave, but I dont think it is enough.

    Please clarify:

    Assign a few team members – what info about team members? Specific fields or a whole post about a team member?

    The about page – Is it a custom post type? Is it an about page about the team? If you have an about page for each team, and you have individual pages for each team member how are you associating them?

    Select box in admin area – What do yuo mean about this – do you mean a select list in the editing screen? If so do you mean in the editing screen of an about page?

    Thread Starter bobdonderwinkel

    (@bobdonderwinkel)

    Hi, hanks. Here’s some extra input:

    Assign a few team members – what info about team members? Specific fields or a whole post about a team member?
    + This woud be a summary of specific fields. For example: name, function, photo

    The about page – Is it a custom post type? Is it an about page about the team? If you have an about page for each team, and you have individual pages for each team member how are you associating them?
    + It would be a general about page, which would include a selection of team members.

    Select box in admin area – What do you mean about this – do you mean a select list in the editing screen? If so do you mean in the editing screen of an about page?
    + That would be a select list in the editing screen of an about page. Or the other way around, a page select list in a team member editing screen?

    The main question is how to associate Custom Post Types with a page from within a editing screen of a page so an author or editor can manage this pretty easily. I have done this with a couple of CMS systems out there, but I’m relatively new to WordPress. So i wonder how this can be done.

    Hi,

    Well at the top of your post you say:

    This woud be a summary of specific fields. For example: name, function, photo

    Which means specific fields to me.

    At the bottom of your post you say:

    The main question is how to associate Custom Post Types with a page from within a editing screen of a page

    Which means specific page(s) to me.

    The approach is different but I am going to assume you need to associate whole pages.

    This you can do with a relationship field. For example you can create field(s) in your about page that allows you to select other pages.

    You also havent specified if and which custom fields solution you are using – but many have very good relationships functionality:

    ACF
    Pods
    CMB2
    and more

    Here is a good comparison of the many solutions available:

    https://docs.google.com/spreadsheet/ccc?key=0AoY8IFUX301qdFhBaERLUEUwa3U0YjFYTnBmaU1mbmc#gid=3

    I would suggest you try some of them and see which suit your needs.

    Note especially row 38.

    Groetjes and success!

    PS, It seems Pods got removed from the comparison, even though the comparison was created by the developer of Pods.

    Pods is definitely worth considering:

    https://www.ads-software.com/plugins/pods/

    “Relationships – Relate any item, to any item of any WP object type, another Pod, or a custom user-defined list — with bidirectional relationships”

    You may really like bidirectional relationships – it would allow you to relate About pages on your Player pages AND relate PLayer pages on your About page AND have the relation updated on both.

    Thread Starter bobdonderwinkel

    (@bobdonderwinkel)

    Great, thanks wpfan1000.

    I’m using Types now, but Pods seems good as well. Relationship management is the most important feature i’m looking for i guess.

    Hartstikke bedankt voor de info! ??

    Graag gedaan ??

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Assign custom post type instance to a specific page’ is closed to new replies.