Genesis Framework : In this tutorial, you’ll learn how to Customize Genesis Search Form Input Button. The Genesis Framework empowers you to quickly and easily build incredible websites with WordPress. Whether you’re a novice or advanced developer, Genesis provides the secure and search-engine-optimized foundation that takes WordPress to places you never thought it could go. In Genesis powered websites you’ve to modify the child theme which is running on.
These code snippets will help you to Customize Genesis Search Form Input Button with the Genesis Framework.
Unless otherwise indicated, the code snippets you see below should be placed into your theme’s functions.php file.
Customize Genesis Search Form Input Button
Below is the code to customize the Search Form Input Button on your site:
//* Do NOT include the opening php tag
//* Customize search form input button text
add_filter( 'genesis_search_button_text', 'sp_search_button_text' );
function sp_search_button_text( $text ) {
return esc_attr( 'Go' );
}
Final Words
I strongly recommended to take backup core files before customizing any Genesis Child Theme. Hope the above Genesis Tutorial was helpful and valued for you. Please don’t forget to share this with social friends and write a comment below if you need any assistance in customizing the look of your WordPress websites.