WordPress.org

Support

Support » Plugins and Hacks » Unable to have one field group in two custom post types

Unable to have one field group in two custom post types

  • garymiller90

    @garymiller90

    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/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Ov3rfly

    @ov3rfly

    Probably you want to use “or” instead of “and”.

    garymiller90

    @garymiller90

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

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Unable to have one field group in two custom post types’ is closed to new replies.