-
Author
-
July 14, 2017 at 01:02 #167366joyParticipant
Hello, when I search for something in the ajax header search, the results load accurately. However, when I click on the button below the search results that reads “View All Results”, I am directed to a page with no results and a message that says, “Sorry nothing matched your search terms…”
How can this be fixed? I would like the page only to search through : products and pages
Thank you.
July 14, 2017 at 18:03 #167432LauraModeratorHello, just tested at your website, i get the results correctly, did you manage to resolve it? If not, which word are you searching? Logged in or logged out?
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionLaura Solanes - Graphic Designer and Web Designer
Please be patient as I try to answer each topic as fast as i can.
If you like the theme or the support you've received please consider leaving us a review on Themeforest!
Always happy to help you 🙂
July 15, 2017 at 00:44 #167474joyParticipantThe issue has not been resolved. I get the same results whether I am logged in or logged out. Please check the site again. Please use the keyword, “kind” in your search.
To reiterate, this is the issue:
Hello, when I search for something in the ajax header search, the results load accurately. However, when I click on the button below the search results that reads “View All Results”, I am directed to a page with no results and a message that says, “Sorry nothing matched your search terms…”If the site happens to be down for maintenance, please use the login credentials I provided in my initial post so that you may see/test the results.
Thank you.
July 17, 2017 at 00:41 #167631LauraModeratorHello, will assign the ticket to a higher support level who can help and advise you in your query.
Thanks! ?Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionLaura Solanes - Graphic Designer and Web Designer
Please be patient as I try to answer each topic as fast as i can.
If you like the theme or the support you've received please consider leaving us a review on Themeforest!
Always happy to help you 🙂
July 19, 2017 at 17:49 #167949RaduModeratorHi,
Fixed, please check and let me know
I’ve added this function to the child theme to fix that
COPY CODEadd_filter( 'pre_get_posts', 'tgm_io_cpt_search' ); function tgm_io_cpt_search( $query ) { if ( $query->is_search && $_GET['post_type'] ) { //print_r($_GET['post_type']); if(is_array($_GET['post_type'])) { $post_type = explode(',', $_GET['post_type'][0]); } else { $post_type = $_GET['post_type']; } $query->set( 'post_type', $post_type ); } return $query; }
This will be included in next theme update, so you can delete this after the next updates.
Cheers
R.Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution -
AuthorPosts
The forum ‘Bugs & Issues’ is closed to new topics and replies.