Forums

WordPress Multisite Search Options (3 posts)

  1. richardmccue
    Member
    Posted 4 months ago #

    Hello, i'v searched around and not found a solution, does any one know a way of having a search box on my multisite where there is an option for the user to pick which blog to choose from?

    eg

    ---------------------------------
    search...
    ---------------------------------
    o Blog 1 o Blog 2 o Blog 3

    etc...

  2. richardmccue
    Member
    Posted 4 months ago #

    my pics a bit dodgy but you get the idea :)

  3. Matthew Boynes
    Member
    Posted 4 months ago #

    Nice asciiart!

    Do you mean in the WordPress admin or on the front-end sites? If the latter, you could use javascript to dynamically change the form action based on which radio button is selected. The form actions would just be the homepages of three different domains. As a backup you could intercept the request before the search is run and if the domain is not the current site, redirect to the correct domain. If you mean in wp-admin, that would be a little trickier due to user permissions. Assuming the user has access to al the blogs, you could essentially do the exact same trick.

    In my opinion, this is the path of least resistance, but this is one of those questions with at least 20 different answers. I hope this at least points you in the right direction!

    Cheers~

Reply

You must log in to post.

About this Topic