Support » Plugin: Jobs for WordPress » Change the Search Box Text Field

  • KimsCrochets

    (@ormgrecipes)



    I really like this plugin and it’s working fine. I’d like to know if I can change the text that shows in the search box from “Vacancy Search” to “Search Jobs”? If so, how would I do that? Thanks!

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • KimsCrochets

    (@ormgrecipes)

    Any help please? I need to update this on my website as soon as possible. Thanks.

    Plugin Author BlueGlass Interactive

    (@blueglassinteractive)

    Hi @ormgrecipes

    Try adding something this to functions.php file of your theme

    add_filter( 'gettext', 'theme_change_fields', 20, 1 );
    function theme_change_fields( $translated_text ) {
    	switch ( $translated_text ) {
    		case 'Vacancy Search' :
    			$translated_text = __( 'Search Jobs', 'theme_text_domain' );
    			break;
    	}
    	return $translated_text;
    }
Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.