-
AuthorSearch Results
-
December 13, 2016 at 5:15 pm #76014
In reply to: Problems with Pagination
TrevorParticipantHi Matthew
I need admin logins to take a look at the site.
Is it using the shortcode method of Display Results, and did you follow the customization guide to make a theme copy of the results.php template file?:
December 7, 2016 at 12:48 pm #74878In reply to: Turn Off "Found X Results"
TrevorParticipantAre you using the Shortcode Display results method?
If yes, did you make a copy of the results.php template file as shown in the documentation:
This allows you to customize the file by editing it.
You would need to remove lines 29 and 30:
Found <?php echo $query->found_posts; ?> Results<br /> Page <?php echo $query->query['paged']; ?> of <?php echo $query->max_num_pages; ?><br />December 7, 2016 at 9:25 am #74514
TrevorParticipantOK, I found you on Skype and sent a contact request. I have made a results.php file that may be close to what you want already, which you can see in this thread:
https://support.searchandfilter.com/forums/topic/customize-result-php-with-table/
December 5, 2016 at 4:41 pm #74143In reply to: Additional loops on a results page possible?
AnonymousInactiveI am using the post type archive setting for the results.
Now knowing this is the results.php still relevant?
December 5, 2016 at 4:07 pm #74131
AnonymousInactiveHi- I actually was using the shortcode here. It seems the basic “results.php” is pulling more info than it should, and displaying it. I do understand that’s just meant to be a starter, so not sure if this would be considered a bug report or a feature request, but I do think it would be better for it to not do this. My “quick fix” was to include an if-then statement around the “excerpt” portion, so it would only show excerpt if available. This solved the issue for me…but might not work as well for others.
Anyway, yep, feel free to close this! 🙂
gwDecember 5, 2016 at 10:16 am #74060
TrevorParticipantI did a few tests on the blog page and managed to get Ajax working. But your theme is interfering with the filtering and so the results are wrong. Also, your theme is using Isotope to arrange the posts and that is also interfering. As your theme does not use templates for the query to fetch the posts (I think it does this somewhere using functions instead) this makes it difficult to hook into your theme’s templates.
For this purpose, we provide the shortcode display method, where this uses a template that we supply. You can read about this in the documentation. However, the results.php file needs to be copied and edited to make it look as you might want it. I can help a bit with this process.
December 5, 2016 at 2:58 am #74014
AnonymousInactiveUpdate: Okay, I tried one of the code examples that were shown in another thread (can link if needed), did not work (page lost all styling and most content).
I did go ahead and copy the “results.php” into my theme folder for this, ready to edit that up with some help- thanks!
-gw
December 2, 2016 at 11:42 am #73623In reply to: Additional loops on a results page possible?
TrevorParticipantAre you using the Shortcode method for results? The sample results.php template we provide has the else condition that say no results found and this you can edit to do your own thing.
December 2, 2016 at 11:29 am #73613
TrevorParticipantHi
I have split the thread so that you are the author (means we can do private messages if needs be).
Could you better describe what you want and what you have tried so far. I assume that you are using the shortcode method and you have a custom version of the results.php file in a
search-filtersub-folder of your child theme folder?BTW, it makes code easier to handle if you insert it between two code tags (see the button on the editor toolbar, one before and one after).
November 29, 2016 at 5:21 pm #72913In reply to: Search doesn't work
TrevorParticipantIn answer to #1, no, because every theme works differently. In answer to #2, please read this part of our documentation:
The results.php file WILL need customizing, after you have ascertained that the search works OK and gives the right results. I can help you with that.
-
AuthorSearch Results