Forums Forums Search & Filter Pro Custom Post Type not showing in results

Viewing 7 posts - 1 through 7 (of 7 total)
  • Anonymous
    #214631

    Hi,

    I’ve created a Custom Post type with CPT UI with the following settings:

    name: store
    label: Items
    singular_label: Item
    description: “”
    public: true
    public: true
    publicly_queryable: true
    show_ui: true
    show_in_nav_menus: true
    show_in_rest: true
    rest_base: “”
    rest_controller_class: “”
    has_archive: false
    has_archive_string: “”
    exclude_from_search: false
    capability_type: post
    hierarchical: true
    rewrite: true
    rewrite_slug: “”
    rewrite_withfront: true
    query_var: true
    query_var_slug: “”
    menu_position: “”
    show_in_menu: true
    show_in_menu_string: “”
    menu_icon: dashicons-store
    custom_supports: “”

    I created a search form with the following settings:

    Search in the following post types: Posts, Items (the custom post type)
    Field relationships: AND / OR (I tried both)
    Display results method: view: As an Archive
    Use a custom template for results?: checked
    Enter the filename of the custom template: search.php (the file exists)
    No Ajax
    Post Status: Published
    Tags, Categories & Taxonomies: Category include 5 (It’s a post category called Calendar Events).

    So, basically I have a search form to search in Calendar Events (post category with ID 5) and the Items Custom post type. For the moment there are 13 posts all as published between Calendar Events category and Items Custom post type.. but I only get results from the Calendar Category and nothing from Items CPT..

    It’s really strange.. the search form is working because I’m getting results from the Calendar category…

    Any help would be really appreciated.

    Thanks!

    Trevor
    #214695
    This reply has been marked as private.
    Anonymous
    #215021
    This reply has been marked as private.
    Trevor
    #215100
    This reply has been marked as private.
    Trevor
    #215102
    This reply has been marked as private.
    Anonymous
    #215114
    This reply has been marked as private.
    Trevor
    #215120
    This reply has been marked as private.
Viewing 7 posts - 1 through 7 (of 7 total)