WordPress.org

Ready to get started?Download WordPress

Forums

Content Types
Query in a 'Select" type field : get_posts parameters (2 posts)

  1. PatrickE
    Member
    Posted 3 years ago #

    Hey out there!

    I've set up 2 content types : "Catalog" and "Artists".

    In the "Catalog" content type, i'm trying to pull a list of the "Artists" content type in a Select-type field.

    If I use post_type=artists in the query field, it gets the right content type, and returns a list of the content type Titles.

    What I would like to get is a list of "Name" : "Name" being a field created for the Artists content type.

    I tried post_type=artists&meta_key=name to no avail.

    In short: what parameters do I have to use to pull a meta_key in a select field?

    Thanks in advance! (and sorry for my bad english).

    http://wordpress.org/extend/plugins/content-types-wordpress-plugin/

  2. iambriansreed
    Member
    Plugin Author

    Posted 3 years ago #

    Currently this feature is unavailable, please add it to the feature request.

    Also, it's still in beta but try out my new plugin:
    http://wordpress.org/extend/plugins/reed-write/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic