WordPress.org

Ready to get started?Download WordPress

Forums

Advanced Custom Fields
Unable to have one field group in two custom post types (3 posts)

  1. garymiller90
    Member
    Posted 10 months ago #

    I have created a field group and assign the location to two custom post types, in 'Location' under 'Rules' and set as 'Show this field group if (Post Type is equal to CustomPostType1) and (Post Type is equal to CustomPostType2). This strangely display no custom field on any of the custom post types, but when placing it to one custom post type, the custom field is displayed.

    http://wordpress.org/plugins/advanced-custom-fields/

  2. Ov3rfly
    Member
    Posted 10 months ago #

    Probably you want to use "or" instead of "and".

  3. garymiller90
    Member
    Posted 10 months ago #

    Thanks that worked, but did give me problems before as half the fields was missing.

Reply

You must log in to post.

About this Plugin

About this Topic