• Resolved diegonorzex

    (@diegonorzex)


    I’m having problems showing all custom post tabs on a multisite wordpress.

    Everything works fine in all the sites for the common post type. Then, on the first wordpress, the tabs appear correctly. However, in the other sites only the first type appear. Config is the same for all.

    First site works ok

    Other sites, same config and indexes are ok

    But custom content tabs here don’t appear:

    • This topic was modified 1 month, 3 weeks ago by diegonorzex.
    • This topic was modified 1 month, 3 weeks ago by diegonorzex.
Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Contributor digamberpradhan

    (@digamberpradhan)

    Hello @diegonorzex

    I will try to help as best as i can here.
    Firstly Custom Post Types are not supported by default.
    You would actually need to code that part https://docs.wptypesense.com/advanced-custom-post-types/

    Which it seems you’ve already done judging by the custom post types showing up.

    Secondly on multisites – the plugin only works on a per site activation.
    So network activating the plugin will not work.

    If you have created an add-on plugin to work along with the typesense I suggest you activate that on a per site basis too.

    Lastly – if you haven’t already i’d suggest adding prefix to your collection https://www.ads-software.com/support/topic/add-support-for-collection-prefix/ otherwise you’d risk one sites posts overwriting anothers when indexed. This also requires you to add prefix on a per site basis.

    I hope this helps.

    Thread Starter diegonorzex

    (@diegonorzex)

    Hi @digamberpradhan

    Thanks so much for the help. I think everything you mentioned was already done

    Any idea what could be missing?

    Plugin Contributor digamberpradhan

    (@digamberpradhan)

    Hi @diegonorzex

    Are you activating this plugin ( customization ) on a per site basis too ?

    Thread Starter diegonorzex

    (@diegonorzex)

    Yes! Finally figured it out. I think it might be a bug?

    After the first site, on the plugin config page you can add all the categories but they won’t appear in the live site.

    The solution was, after doing that and seeing the categories are correct on the post types in the Search with Typesense config plugin, you need to go to the customize look and appearance of the search section. There everything will preview ok. The solution was to remove a custom post type, save, and add it again and the changes finally went live on the site. I think something on the plugin config page isn’t working well and needs to be done from that part of the wordpress admin.

    Hope you guys can figure it out. Great job and great plugin!

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