Unable to Search FAQ CPT Posts in admin

Support Meta Box AIO Unable to Search FAQ CPT Posts in admin

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #49384
    JBPHJBPH
    Participant

    I have a CPT for Faqs setup. It contains 80 Faqs. If I use these Faq Searh box on the top right it returns no results. It does work on other CPTs and I just cant figure out why it doesn't work on this CPT. The CPT is set to use the title so it should use the title for the search check.

    I do have relationships setup for this CPT and admin columns too.

    #49385
    JBPHJBPH
    Participant

    Here are the settings:
    https://postimg.cc/gnsJ131z

    #49396
    PeterPeter
    Moderator

    Hello,

    Thanks for reaching out.

    Can you please export the CPT to a JSON file and share it here with a full-screen record of the issue? I will import the CPT to my site and recheck the issue.

    #49397
    JBPHJBPH
    Participant
    {
        "post_title": "FAQ",
        "settings": {
            "slug": "faq",
            "function_name": "your_prefix_register_post_type",
            "text_domain": "your-textdomain",
            "label": "FAQs",
            "labels": {
                "name": "FAQs",
                "singular_name": "FAQ",
                "add_new": "Add New",
                "add_new_item": "Add New FAQ",
                "edit_item": "Edit FAQ",
                "new_item": "New FAQ",
                "view_item": "View FAQ",
                "view_items": "View FAQs",
                "search_items": "Search FAQs",
                "not_found": "No faqs found.",
                "not_found_in_trash": "No faqs found in Trash.",
                "parent_item_colon": "Parent FAQ:",
                "all_items": "All FAQs",
                "archives": "FAQ Archives",
                "attributes": "FAQ Attributes",
                "insert_into_item": "Insert into faq",
                "uploaded_to_this_item": "Uploaded to this faq",
                "featured_image": "Featured image",
                "set_featured_image": "Set featured image",
                "remove_featured_image": "Remove featured image",
                "use_featured_image": "Use as featured image",
                "menu_name": "FAQs",
                "filter_items_list": "Filter faqs list",
                "filter_by_date": "",
                "items_list_navigation": "FAQs list navigation",
                "items_list": "FAQs list",
                "item_published": "FAQ published.",
                "item_published_privately": "FAQ published privately.",
                "item_reverted_to_draft": "FAQ reverted to draft.",
                "item_scheduled": "FAQ scheduled.",
                "item_updated": "FAQ updated."
            },
            "description": "",
            "public": true,
            "hierarchical": false,
            "exclude_from_search": false,
            "publicly_queryable": false,
            "show_ui": true,
            "show_in_menu": true,
            "show_in_nav_menus": true,
            "show_in_admin_bar": true,
            "show_in_rest": true,
            "rest_base": "",
            "menu_position": 5,
            "icon_type": "dashicons",
            "icon": "dashicons-info",
            "capability_type": "post",
            "supports": [
                "title",
                "page-attributes"
            ],
            "taxonomies": [
                "post_tag"
            ],
            "has_archive": false,
            "archive_slug": "",
            "rewrite": {
                "slug": "",
                "with_front": false
            },
            "query_var": false,
            "can_export": true,
            "delete_with_user": true
        },
        "post_date": "2023-12-05 06:04:20",
        "post_status": "publish",
        "post_type": "mb-post-type"
    }
    #49399
    JBPHJBPH
    Participant

    Screencast to show problem:

    https://drive.google.com/file/d/1-IUucnTdx8Hm8bMRKbNa39tkZN8z7bDE/view?usp=sharing

    #49401
    PeterPeter
    Moderator

    Hello,

    I don't see any issue with the search feature after importing FAQ CPT to my site. Maybe the search query is affected by a third-party plugin or a custom code somewhere else.

    You can try to deactivate all plugins except Meta Box plugins, switch to a WordPress theme and recheck the issue.

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.