Support

Account

Home Forums Backend Issues (wp-admin) Particular Custom Post Type Rules for a group of fields Reply To: Particular Custom Post Type Rules for a group of fields

  • Hi @cedric_charles

    All post types will be available in the location rules dropdown., even if the post_type public setting is false.

    If your post_type is not appearing, then perhaps your post_type is not registered when ACF does the AJAX request to populate the select field.

    This would be the case if you have wrapped your register code within an action. During an AJAX call, no WP action will be called (for example: admin_menu, admin_head, plugins_loaded, etc)

    Could this be the issue?

    Can you try setting the post_type to ‘post’ and then saving the field group. Does the newly refreshed page contain the correct post_types in the dropdown?