-
AuthorSearch Results
-
July 16, 2019 at 4:49 pm #216452
TrevorParticipantGreat to speak with you Clare. As I said, remove that if is_page() line and instead name the different form’s results.php to match the form ID and it should work.
July 12, 2019 at 4:58 pm #216218In reply to: DIVI Ajax on filter spits out DIVI shortcode
TrevorParticipantI have seen this before, and the only solution was to either change the code in the results.php file to call the_content and not the_excerpt, or to create a custom excerpt for each post.
If you edit the results.php file, make sure you follow this guidance:
https://searchandfilter.com/documentation/search-results/using-a-shortcode/#customising-the-results
July 5, 2019 at 4:06 pm #215653In reply to: Results AND, not showing results
TrevorParticipantCan you show me the results.php file you are using? I think there must be an error in your code.
July 5, 2019 at 3:42 pm #215638
AnonymousInactiveI wrote the code…
Using the default results.php now and still no results.
https://wtg.wpengine.com/?sfid=5958&sf_action=get_data&sf_data=all
July 5, 2019 at 2:32 pm #215629
TrevorParticipantWhilst keeping safe that copy of the results file, what happens if the standard results.php file is used instead?
My guess is that it will work. If so, who wrote the code in your results.php file?
July 5, 2019 at 1:41 pm #215621In reply to: Add my own styling to resultpage
TrevorParticipantYour copy of the results.php file should be in a sub-folder of your child theme named
search-filter
. That way it doesn’t get overwritten on update. It’s in the documentation I linked to.But, that is the way to do it, yes.
July 5, 2019 at 1:35 pm #215615In reply to: Add my own styling to resultpage
TrevorParticipantI see you sorted the license 🙂
Have you made anything (a form and/or results page) that I ca look at, with our plugin?
With Avada, users tend to use one or other of these two results methods:
1. https://searchandfilter.com/documentation/search-results/using-a-shortcode/
With this method you can custom code the results.php (as shown in the documentation linked), and add output for ACF fields using their PHP code (there are examples on this forum).
2. https://searchandfilter.com/documentation/3rd-party/post-grid/
With this method, I am unsure whether you can customize the display.
July 4, 2019 at 9:14 pm #215608
AnonymousInactiveHello, Thank you for your reply.
I understand this is a custom coding issue and appreciate your assistance.Can the results.php or custom output contain more then one Query / while loop?
If I have a query for metakey1 and another, seperate query for metakey2, will the search and filter properly filter both loops?
Will Ajax work for both loops on a single page?
Thank you.
July 4, 2019 at 7:17 am #215563
TrevorParticipantIt would depend on the Display Result Method you are using. Most will use a theme or plugin PHP template file and that would need re-coding.
The simplest method is where the results are displayed
as a Shortcode
as the PHP in our results.php template file is very simple and uses a structure recommended by WordPress. Additional logic would have to be added to test (at the start and end of each while loop) to test if certain terms had change, and to start a new section and output header/start of section and end of section HTML. You would need to employ a third party coder to do this, as it is not within the scope of our support.June 28, 2019 at 2:01 pm #215224In reply to: Featured Image Not linking To Post
TrevorParticipantIf you can upload the customised results.php file for that page to a file sharing site and give me the download link, I will take a look at the code used. If you know it call custom functions in other files, I will need to see those too.
-
AuthorSearch Results