Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Customize Genesis search form input box. Source: https://my.studiopress.com/snippets/search-form/
<?php
//* Customize Genesis search form input box
add_filter('genesis_search_text', 'prefix_search_text');
function prefix_search_text($text) {
return esc_attr('Search my blog...');
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.