-
Search Results
-
Hallo,
in der der search.php ist nur die englische Textversion (“If you are not happy with the results below please do another search”). Ich möchte aber die deutsche Version ändern (“Suchergebnis nicht zufriedenstellend? Versuche es mal mit einem Wort oder einer anderen Schreibweise”).
In welcher Datei?Danke und Grüße
TimHi support team,
My site recently want to change the text “If you are not happy with the results below please do another search”, so I modify the “search.php” file from theme editor, but it’s looks like search function is crash, then I revert back to the original text still not working.
Please help me debug my site ( I did’nt use child theme)Hi Kriesi
I would like to change three things at the search results page (see link below):
1. I would like to completely remove the upper part – the one shows the search field again with this text above it:
“Ny søgning
If you are not happy with the results below please do another search”
How do I remove that?2. There is a spelling mistake in this danish sentence: 8 SØGE RESULTATER FOR PORTUGUES
I should be ‘SØGERESULTATER’ in spelled in one word. How do I change that?
3. How do I remove the date and the number of comments showed below each search result?Thank you Marie
Topic: Change Text on Search Page
Hello,
I am having problems changing the text on the search page. I went into loop-search.php and tried to change this text:
<?php _e('Sorry, no posts matched your criteria. Please try another search', 'avia_framework'); ?> </p>
To this:
<?php _e('Sorry, we couldn't find what you were looking for. Please try searching again.', 'avia_framework'); ?> </p>
But when I changed it, I just got the loading screen every time I tried to search. I switched the code back and now the search is working, but I would like to change the text.
I’m also trying to figure out how to remove the text “If you are not happy with the results below please do another search” completely, but can’t find it in the loop-search.php doc.
Here is an example search page: http://mjm.flywheelsites.com/?s=fdsf
I’d appreciate your help, thanks!
where can i go to customize this text when a user searches?
it’s the basic wordpress theme text, i believe…
thanks,
chris
Hello,
I’d like to change the default text: “If you are not happy with the results below please do another search” please.
I’d also like to change the default breadcrumbs text: “You are here” and also the color please.
I looked at a few other support posts about changing the PHP, but that crashed my website when I edited that particular breadcrumbs php file. Thanks for providing me with the correct solutions.
Hi Kriesi,
I have several problems with the search page, aka view all results page after clicking for a search,
on the english site (/eng/) it does not appear… takes me back to the homepage…On the Hebrew site there is a lot of strings I need to change,
(‘If you are not happy with the results below please do another search’) etc. where do I find these strings?Thanks,
UriHi Team,
There is a strings show after button “If you are not happy with the results below please do another search”
I would like to translate it to everything, so I did install the “String Locator” and run the scan.
Now It comes up bunch of the lang files, in which files should I edit with, please? or correct me if i were wrong.
Regards
Dear support team,
some words don´t show up translated to german. But when i look in the de_DE.po file the word are translated in german?
For example the phrase “If you are not happy with the results below please do another search” when i do search.
Do i have to copy the language files in the child them folder maybe?
Thanks for helpingI need to remove the search box and all the elements above the horizontal rule on the search results page. All this copy as well:
New Search
If you are not happy with the results below please do another searchHi Guys,
I have a couple of queries:
1. Creating a grid style results page from a search
2. Add a sidebar to the page but needs to override the Enfold ->Options Pages have no sidebar ? im assuming Search.php is a post type “Page”The following code I have put together from bits and pieces I have found in the forum however the get_post_types() function seems to return alot of unwanted results as I have over 40 plugins running so it is picking up for example Paypal IPN post types ? could we perhaps pass an array to ‘post_types’=> array(‘product’, ‘post’) ? and just have it search posts and products ?
<?php global $avia_config; /* * get_header is a basic wordpress function, used to retrieve the header.php file in your theme directory. */ get_header(); //$avia_config['layout']['current'] = $avia_config['layout']['sidebar_left']; // allows to customize the layout do_action( 'ava_search_after_get_header' ); $results = avia_which_archive(); echo avia_title(array('title' => $results )); do_action( 'ava_after_main_title' ); ?> <div class='container_wrap container_wrap_first main_color <?php avia_layout_class( 'main' ); ?>'> <div class='container'> <main class='content template-search <?php avia_layout_class( 'content' ); ?> units' <?php avia_markup_helper(array('context' => 'content'));?>> <div class='page-heading-container clearfix'> <section class="search_form_field"> <?php echo "<h4>".__('New Search','avia_framework')."</h4>"; echo "<p>".__('If you are not happy with the results below please do another search','avia_framework')."</p>"; get_search_form(); echo "<span class='author-extra-border'></span>"; ?> </section> </div> <?php if(!empty($_GET['s'])) { echo "<h4 class='extra-mini-title widgettitle'>{$results}</h4>"; global $posts; $post_ids = array(); foreach($posts as $post) $post_ids[] = $post->ID; $atts = array( 'type' => 'grid', 'items' => 60/*get_option('posts_per_page')*/, 'columns' => 4, 'class' => 'avia-builder-el-no-sibling', 'paginate' => 'yes', 'use_main_query_pagination' => 'yes', 'custom_query' => array( 'post__in'=>$post_ids,'post_types'=>array('product', 'post')) ); //print_r(get_post_types()); $blog = new avia_post_slider($atts); $blog->query_entries(); echo "<div class='entry-content'>".$blog->html()."</div>"; } ?> <!--end content--> </main> <?php //get the sidebar $avia_config['currently_viewing'] = 'shop'; get_sidebar(); //$avia_config['currently_viewing'] = 'shop'; //echo '<aside class="sidebar sidebar_left alpha units"><div class="inner_sidebar extralight-border">'; //dynamic_sidebar( 'Shop Overview Page' ); // $default_sidebar = false; //echo '</div></aside>'; ?> </div><!--end container--> </div><!-- close default .container_wrap element --> <?php get_footer(); ?>