• Hi,

    I would like to know if Algolia can search in a template. For example let’s I have a page using a template listing 10 videos from a custom post type. Theses custom post types are not displayed anywhere else. Can Algolia find this page ?

    Thank you.

Viewing 1 replies (of 1 total)
  • Plugin Contributor rayrutjes


    Hi there,

    By default the plugin can index any post type.
    However if there are specific fields, they will need to be pushed by leveraging some filter hooks.

    Regarding the template listing the custom post types, it depends on the shortcodes used. The plugin tries to be smart about it, but sometimes some shortcodes or other frontend features are not enabled in the backend. Which means that the moment we want to index those, they do not get rendered properly. If it doesn’t work in your use case, feel free to open an issue on our repository so that we can see if there is a quick way to make it work: https://github.com/algolia/algoliasearch-wordpress

    Speak soon

Viewing 1 replies (of 1 total)
  • The topic ‘Search in template’ is closed to new replies.