Advance WP Query Search Filter
Mutlisite usage? (2 posts)

  1. Burke Ingraffia
    Posted 3 years ago #

    I would like to use this plugin to search an entire WP multisite network, and I will probably try to use one of two methods to alter the code:

    1. Use switch_to_blog() to cycle through every subsite looking for the same variables (post type, meta, custom field, etc.)


    2. Change the query function in the plugin to look in all post tables of all multisites

    Which would be the more elegant and easier way to customize this plugin? I thought I would ask before I went down the wrong road.



  2. TC.K
    Plugin Author

    Posted 3 years ago #

    In my opinion neither both of them is appropriate. This plugin never intended for multisite. It will have a lot of thing you need to edit the plugin.

    It would be better if you create your own script/plugin for this. It is easier then customize this plugin.

    For reference you can goto here. I never try this, but from given example, the code seem promising.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Advance WP Query Search Filter
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic