-
AuthorSearch Results
-
April 26, 2018 at 5:52 pm #174521
In reply to: Problem with landing page results
AnonymousInactiveI’ve just replaced both results.php and results-infinite-scroll.php with the original ones. This removes custom formatting we need, but it demonstrates the results without any modifications. Could you please look at the site now and tell me what might be causing this?
https://www.fantutti.com/April 26, 2018 at 1:24 pm #174447In reply to: Problem with landing page results
TrevorParticipantYou are using the code from the results-infinite-scroll.php file and not the normal code in the results.php file?
April 11, 2018 at 9:00 pm #171682In reply to: Promoted posts?
TrevorParticipantThe standard method to solve this pagination issue is, ridiculously, to simply hide the pagination. If you were using our shortcode method, you can make custom results.php files (numbered to match the form ID), and in those you can remove the pagination entirely.
And yes, you would have to edit the results.php HTML and classes to replicate the layout that EDD uses.
April 11, 2018 at 5:48 pm #171573In reply to: Customizing the results appearance
TrevorParticipantDoes your theme have a page that displays like this, that you could copy the HTML and classes from and edit the results.php file, as per this documentation:
It might be that I would have a better solution if you could let me know what theme you are using, and if you have a link to a page with the desired layout on (not the current search page that you are making)?
April 11, 2018 at 5:11 pm #171551In reply to: Problem with landing page results
TrevorParticipantAre you using the standard infinite scroll results.php, or a custom one?
What happens if you revert to the standard one?
April 11, 2018 at 9:43 am #171426In reply to: hide results on initial page load
AnonymousInactiveI also tried what you wrote here:
https://support.searchandfilter.com/forums/topic/how-do-i-hide-initial-results/page/2/
addingif ( $query->have_posts() ) { global $searchandfilter; $sf_current_query = $searchandfilter->get(40276)->current_query(); if ($sf_current_query->is_filtered()) { ?>
to the results.php file but the results are now completely hidden – on the initial page load and they are not showing after the search.
April 10, 2018 at 2:43 pm #171204In reply to: Taxonomy URL Assistance
TrevorParticipantDoes the theme have a listings archives page with their own design (not our shortcode results.php)?
What I think you should be doing is setting the Display Results method to Post Type Archive, have the taxonomy in the search form and auto detect the taxonomy from the page URL, and check the box to stay within the archives/taxonomy URLs
If you don’t want to show the taxonomy in the form, use custom css to hide it.
April 10, 2018 at 1:57 pm #171195In reply to: search results displaying above original results
TrevorParticipantHi Rena
If you revert to using a ‘standard’ results.php (either with pagination or with infinite scroll version) template, does it all work OK? Or does it still have this issue?
April 9, 2018 at 2:52 pm #170956In reply to: Categories shown at results
TrevorParticipantI assume you mean that you are using the Shortcode Display Results method. Did you follow the Customising the Results documentation (so you have your own copy of the results.php file)?
If you did not, please do so. Edit the child theme copy of the results.php file to remove these lines (63-65):
<p><?php the_category(); ?></p> <p><?php the_tags(); ?></p> <p><small><?php the_date(); ?></small></p>
These 3 lines are for:
Category
Tags
DateApril 6, 2018 at 6:49 pm #170683In reply to: Show meta data in results list
TrevorParticipantAh, no. However, I think what you want is for it to look like the home page?
It will be necessary to custom code the results.php
I will pick this up tomorrow.
-
AuthorSearch Results