WordPress.org

Forums

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

  1. garymiller90
    Member
    Posted 2 years 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 2 years ago #

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

  3. garymiller90
    Member
    Posted 2 years ago #

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

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Advanced Custom Fields
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic