This website uses cookies to personalize your experience. By using this website you agree to our cookie policy.

multisite custom post types

Home Forums Product Support Forums Ajax Search Pro for WordPress Support multisite custom post types

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #31678
    BDWebDev81BDWebDev81
    Participant

    Search is working great so far, just need one thing:
    On our multisite blog, we need site B to search for custom post types that only exist on site A.

    To elaborate:
    We have a multisite network with 2 main sites running on it
    https://bernstage.com/ and
    https://textiles.bernstage.com/

    The first site, bernstage.com has a variety of custom post types including furniture, textiles, leathers, etc.
    These custom post types do not exist on the second site, textiles.bernstage.com

    Currently, we set ajax search pro settings on textiles.bernstage.com site to only pull from the other site – however, the custom post types from that site are not appearing in the sources. Is there any way we can fix this?

    #31690
    Ernest MarcinkoErnest Marcinko
    Keymaster

    Hi,

    There is sort of a “hacky” way, by configuring the search on the site where the post types exist ( https://bernstage.com/ ). You should be able to access the search options on both backends. Select the post types on the back-end where they are available. Once you configure it, don’t make changes to it on the other site. The plugin should still memorize the non-existent post types, and should be able to access them from the other site as well. Let me know if that does anything. If not, then I could maybe suggest a custom code, but I can not guarantee it will work.
    Optimally it’s better if all post types are registered on both sites to make sure the plugin can cross-check with the WordPress core.

Viewing 2 posts - 1 through 2 (of 2 total)
  • The topic ‘multisite custom post types’ is closed to new replies.