• Skip to main content
  • Skip to forum navigation

StudioPress

  • Shop for Themes
  • My StudioPress

Forum navigation

  • Home
  • General Genesis Discussions
  • StudioPress Themes
  • Genesis Blocks
    • Genesis Blocks
    • Genesis Custom Blocks
  • Retired Themes
  • FAQs
  • Forum Rules
  • Internationalization and Translations
  • Forum Bugs and Suggestions
  • Forum Log In

Are You Using The WordPress Block Editor?

Genesis now offers plugins that help you build better sites faster with the WordPress block editor (Gutenberg). Try the feature-rich free versions of each plugin for yourself!

Genesis Blocks Genesis Custom Blocks

How to edit the search form

Welcome!

These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.

Log In
Register Lost Password

Community Forums › Forums › Archived Forums › General Discussion › How to edit the search form

This topic is: not resolved

Tagged: multisite, relevanssi, Search Form

  • This topic has 3 replies, 3 voices, and was last updated 8 years, 5 months ago by thias.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • December 21, 2013 at 3:28 pm #80664
    webinc
    Member

    I'm running the Relevanssi plugin on my site so it can search both WP sites on a multisite network. However, to make it work I need to add an input line to the form creation code:

    <input type="hidden" name="searchblogs" value="1,2" />

    Can anyone tell me where to put this, and how to add it to my Genesis-powered site running the Dynamik child theme?

    I can't show you the site unless you can add an entry to your hosts file: Its still in development.

    December 22, 2013 at 9:05 am #80759
    nutsandbolts
    Member

    This tutorial is for adding Google custom search (which I know isn't what you need) but you might be able to adapt it for Relevanssi - http://rowell.dionicio.net/adding-google-custom-search-to-genesis-framework/


    Andrea Whitmer, Owner/Developer, Nuts and Bolts Media
    I provide development and training services for designers • Find me on Twitter and Google+

    December 23, 2013 at 8:25 am #80882
    webinc
    Member

    Thanks for that.
    I've had a look, and tried to hack something which will work with Relevanssi, but without success yet.

    Basically, there are two things I'm trying to do:

    1. Manipulate the creation of the search form so that both sites on the network are searched.

    2. Format the search results page so that the current site's results are shown first, and then under a different heading, the other site's results are listed.

    I'm sure there must be someone out there who has succeeded with Relevanssi and Genesis, so I just need to pick their brains about how to do this.

    Thanks again. I'm holding out for further advice.

    October 6, 2014 at 7:52 am #126903
    thias
    Member

    @webinc,
    Did you ever find out how to fix this?

    I am looking for the exact same thing.

    Thanks

  • Author
    Posts
Viewing 4 posts - 1 through 4 (of 4 total)
  • The forum ‘General Discussion’ is closed to new topics and replies.

CTA

Ready to get started? Create a site or shop for themes.

Create a site with WP EngineShop for Themes

Footer

StudioPress

© 2023 WPEngine, Inc.

Products
  • Create a Site with WP Engine
  • Shop for Themes
  • Theme Features
  • Get Started
  • Showcase
Company
  • Brand Assets
  • Terms of Service
  • Accptable Usse Policy
  • Privacy Policy
  • Refund Policy
  • Contact Us
Community
  • Find Developers
  • Forums
  • Facebook Group
  • #GenesisWP
  • Showcase
Resources
  • StudioPress Blog
  • Help & Documentation
  • FAQs
  • Code Snippets
  • Affiliates
Connect
  • StudioPress Live
  • StudioPress FM
  • Facebook
  • Twitter
  • Dribbble