• 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

Insert text below 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 › Design Tips and Tricks › Insert text below Search form?

This topic is: not resolved

Tagged: insert text, Search Form

  • This topic has 4 replies, 2 voices, and was last updated 7 years, 10 months ago by okieman.
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • May 28, 2015 at 7:16 pm #154030
    okieman
    Member

    We're using Outreach Pro/Genesis and will soon upload to the Web. I've been asked to insert a basic "Top of page" link in the blank area under the Search widget. I found two php files that seem to handle the search, but both a marked "Don't you dare touch this" or words to that effect.

    With a bit of guidance I can puzzle out the details. Here's what the existing html in the widget looks like after WP has assembled everything:

    <div class="footer-widgets-4 widget-area">
    	<section id="search-3" class="widget widget_search">
    	<div class="widget-wrap">
    	<h4 class="widget-title widgettitle">Search this site …</h4>
    		<form method="get" class="search-form" action="http://127.0.0.1/wp/" role="search"><input type="search" name="s" placeholder="Search this website…" /><input type="submit" value="Search" /></form>
    	</div>
    	</section>
    </div>
    
    May 29, 2015 at 5:59 am #154079
    SavvyJackie
    Member

    Hi,
    You should do all your edits in the child theme Outreach Pro files. What file is this code in?


    Web Designer and Developer at Savvy Jackie Designs | Lucky with plants | @SavvyJackie

    Got your question answered here? Please pay it forward by helping someone else. I’m sure there is at least one question you can answer. 🙂

    May 29, 2015 at 10:28 am #154130
    okieman
    Member

    The code is what's in the browser if I do Ctrl-U. I've tried Notepad++ searches looking for various unique text strings* in any php or js file inside the WordPress directory.
    ( *footer-widgets-4, widget-area, widget-wrap, "Search this site", etc )

    When I get in front of the PC on Saturday I'll try again to find something in the Outreach Pro files. But I'm surprised nothing has come up before, since that's a sub-directory of the main directory I searched. And I had the box ticked to drill down. Thanks, Savvyjackie.

    May 30, 2015 at 12:00 pm #154209
    okieman
    Member

    Well I searched the entire Outreach Pro child theme folder for the text string "search" and no results except inside style.css. I'm stumped. Seems like such a simple idea to just insert a back to top link. PS Searched for any files with string "search" in their name. Zip.

    May 30, 2015 at 12:18 pm #154211
    okieman
    Member

    OK I just decided to use a plugin. Thanks anyway for offering to help!

  • Author
    Posts
Viewing 5 posts - 1 through 5 (of 5 total)
  • The forum ‘Design Tips and Tricks’ 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