Thread Starter
giarts
(@giarts)
I had success by correcting my mistake of placing the function code (above) into the header. Once I replaced it with the code <?php get_search_form(); ?> the header.php properly adjusted the action=”” for the current blog.
Thanks for everything!
Thread Starter
giarts
(@giarts)
I’m actually outside of the widget. I went into the wp-includes/general-template.php file and pulled the code above from the get_search_form() function and put that in the header. I’m stuck with how to make the “action=” change to suite the various blogs in the multisite network.
Thread Starter
giarts
(@giarts)
Thanks scribu. I considered that a solution, but I’m not clear on how to get a separate header.php file for each blog in the network, which would appear necessary to have the action=”” set on a per-blog basis. (Seems like the mutisite network is using the same theme folder.)
Is there an elegant, best-practice way to do this? Or does it amount to duplicating the theme for each blog in the multisite network?