• Resolved docsefalia

    (@docsefalia)


    Hi ! ??
    If I enable the Instant Search and go to Appearance>Customize>Typesense Search I can’t list and select any Post Type or categories.
    By default “Posts” is selected, I unselected it because I don’t use it. Then I can’t do anything with this field. If I click on it, there is no list with default post types and my CPT and I got an error displayed on the preview zone.

    I tried on several clean installations and I got the same issue

    TypeSense Search Configuration with my CPT enabled

    Appearance settings : the first field don’t list the post types or categories

    • This topic was modified 1 year, 6 months ago by docsefalia.
    • This topic was modified 1 year, 6 months ago by docsefalia.
Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Contributor Sachyya

    (@sachyya-sachet)

    Hello @docsefalia ,

    The plugin does not auto detect the custom post types. You would have to make it available for indexing using the hook cm_typesense_available_index_types

    You can find the detailed guide and example here: https://codemanas.github.io/cm-typesense-docs/advanced-custom-post-types/#adding-custom-post-type_1

    Regards,

    Sachhya

    Thread Starter docsefalia

    (@docsefalia)

    Hello !

    As you can see on first image it’s already done, my CPT “Documentation” is available.

    The issue is that we can’t list and select post types on Appearance settings, the field is broken :

    Plugin Contributor digamberpradhan

    (@digamberpradhan)

    @docsefalia

    Can you please try saving the customizer settings with some changes.
    Reload the customizer settings and please check if that fixes the issue.

    Additionally can you please confirm that using the instant search shortcode on any page works for you ?

    Thread Starter docsefalia

    (@docsefalia)

    I already saved the customizer but nothing changes

    The shortcode works perfectly.

    Plugin Contributor Sachyya

    (@sachyya-sachet)

    Hello @docsefalia ,

    Sorry for the confusion. Can you try typing “Documentation” and hit enter, that should select the post type you have indexed?

    Regards,

    Sachet

    Thread Starter docsefalia

    (@docsefalia)

    Hello @sachyya-sachet ,

    That worked perfectly !

    Thank you a lot !

    Plugin Contributor Sachyya

    (@sachyya-sachet)

    Glad it worked for you. Just a quick update regarding this, it was a CSS issue from our end that it was not showing. We have fixed it and will be released in the next update.

    Thanks for reporting this issue.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Unable to list and select CPT in Appearance settings for the Instant search’ is closed to new replies.