• Resolved alessiac95

    (@alessiac95)


    By creating a new group of fields, when I select the post type to assign, not all those present appear in the list but only some (a few)

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author TotalPress.org

    (@totalpressorg)

    Hi @alessiac95,

    The dropdown list a few items, but if you start to write the post title on the dropdown search box other items will load.

    Let us if it work.

    Thread Starter alessiac95

    (@alessiac95)


    Thanks for the reply.

    Unfortunately it doesn’t work. I tried searching for Post Type “News”, but it only shows “News Types” which is part of taxonomy

    Plugin Author TotalPress.org

    (@totalpressorg)

    Attach here 3 screenshots of your wp-admin:

    • post relationship field configuration screen
    • post type list
    • dropdown with 3 chars of post title non present by default
    Thread Starter alessiac95

    (@alessiac95)

    Sorry but I can’t attach screenshots here. I have several post types (Notizie (news), events, services, offices etc…) also not created via your plugin but via code. In previous versions of your plugin they were displayed in the dropdown. An example of a post type that no longer appears in the dropdown is that of “Notizie”

    {
        "name": "notizia",
        "label": "Notizie",
        "labels": {
            "name": "Notizie",
            "singular_name": "Notizia",
            ...
        },
        "description": "Descrizione....",
        "public": true,
        "hierarchical": false,
        "exclude_from_search": false,
        "publicly_queryable": true,
        "show_ui": true,
        "show_in_menu": true,
        "show_in_nav_menus": true,
        "show_in_admin_bar": true,
        "menu_position": 5,
        "menu_icon": "dashicons-media-interactive",
        "capability_type": "notizia",
        "map_meta_cap": true,
        "register_meta_box_cb": null,
        "taxonomies": [],
        "has_archive": false,
        "query_var": "notizia",
        "can_export": true,
        "delete_with_user": null,
        "template": [],
        "template_lock": false,
        "_builtin": false,
        "_edit_link": "post.php?post=%d",
        "cap": {
            "edit_post": "edit_notizia",
            "read_post": "read_notizia",
            ...
        },
        "rewrite": {
            "slug": "novita",
            "with_front": false,
            "pages": true,
            "feeds": false,
            "ep_mask": 1
        },
        "show_in_rest": false,
        "rest_base": false,
        "rest_namespace": false,
        "rest_controller_class": false,
        "rest_controller": null,
        "revisions_rest_controller_class": false,
        "revisions_rest_controller": null,
        "autosave_rest_controller_class": false,
        "autosave_rest_controller": null,
        "late_route_registration": false
    }


    Thanks in advance

    Plugin Author TotalPress.org

    (@totalpressorg)

    Hi @alessiac95
    have you try to change “priority” on your add_action function where the post types was registered?

    add_action( 'init', 'registration_callback_func', -1)
    Plugin Author TotalPress.org

    (@totalpressorg)

    Hi @alessiac95
    new version 5.0.1 solve the issues.

    Many thanks

    Thread Starter alessiac95

    (@alessiac95)

    Thank you!!

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘Missing post types in field groups assignment’ is closed to new replies.