Tagged: x
-
AuthorPosts
-
January 26, 2017 at 4:09 am #1346114
Gerald EParticipantHi,
The search function is important to my site and i would like to have only 1 title of
Default is (here in german):
Suchergebnisse
Unten sehen Sie alle Ergebnisse zu Ihrer Suche nach “test”Screnshot here: https://www.evernote.com/l/AKV839sYapZNvJ1Fv76Y9PXp8ZnYUG6iI2c
INSTEAD i would love to have 1 line only with the kewyord:
Suchergebnisse für “test”
How can i do this pls?
Thanks a lot in advance!
GJanuary 26, 2017 at 4:29 am #1346136
ChristianModeratorHey G,
Please copy _landmark-header.php located in
wp-content\themes\x\framework\views\integrityto the same folder in your child themewp-content\themes\x-child\framework\views\integrity. Open the copied file in a code or text editor and find this line<?php elseif ( is_search() ) : ?>Below it, you’ll see this code:
<header class="x-header-landmark x-container max width"> <h1 class="h-landmark"><span><?php _e( 'Search Results', '__x__' ); ?></span></h1> <p class="p-landmark-sub"><span><?php _e( "Below you'll see everything we could locate for your search of ", '__x__' ); echo '<strong>“'; the_search_query(); echo '”</strong>'; ?></span></p> </header>Change it to:
<header class="x-header-landmark x-container max width"> <h1 class="h-landmark"><span><?php _e( 'Search Results', '__x__' ); echo 'für <strong>“'; the_search_query(); echo '”</strong>'; ?></span></h1> </header>Or, you could add the “for” word with the Search Results word like:
_e( 'Search Results for', '__x__' );so you could translate it and remove “für” before the search query code.
Thanks.
January 26, 2017 at 7:40 am #1346280
Gerald EParticipantThank you so much!
January 26, 2017 at 7:51 am #1346298
Paul RModeratorYou’re welcome! 🙂
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1346114 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
