-
AuthorSearch Results
-
August 5, 2016 at 12:08 pm #53576
In reply to: results.php as a grid
TrevorParticipantOK, can I make sure that you made a
search-filter
in your theme folder and put a copy of the results.php file into that, as per the documentation:Let me work with what you have given me? It may be done over the weekend. I have much to do today. I will see.
August 4, 2016 at 3:30 pm #53441In reply to: Search within ACF text-area content
AnonymousInactiveAwesome – thanks for your help and quick reply Trevor.
Actually just found most of the info I needed when you answered someone else’s post here: https://support.searchandfilter.com/forums/topic/cant-get-search-by-keyword-to-work/#post-52981
Sorry, should have searched harder.
Thanks for you link to the relevant part in the docs about customising results.php. I was about to ask how to modify that file without loosing my tweaks when updating plugin. I’d already looked in the docs but missed that bit, so thanks. Wonder if it’d be worth adding to or creating a section called templates…
Anyhow, many thanks for plugin and your help.
Kind regards
StefAugust 4, 2016 at 3:04 pm #53440In reply to: Search within ACF text-area content
TrevorParticipantLet us address one question at a time. You need to install the free plugin called Relevanssi and in the S&F Pro form Advanced tab enable support for it. In the Relevanssi settings there is a single setting field for custom meta fields, where you need to enter the value
all
and the build the index.If you are using the shortcode method, then you need to customize the results.php file, as per the documentation:
And then use the ACF Pro documentation to output the ACF field values in your results.php file.
August 4, 2016 at 1:47 pm #53414In reply to: No Results Found when using category search
TrevorParticipantHi Tomi.
I had a chance to look in more detail at your site admin. This what our documentation says about Divi:
S&F Pro works well with Divi, however it does not integrate with the layout builder – so you can use the search.php template for displaying results, or you can customise the results to suit your needs if you know a bit of html/css
I can see that the page IS using our results.php template.
If I inspect the page in Crome, the object inspector console shows a jquery error, which suggests that jquery is being loaded twice. Which is overwriting our file. Looking at the source HTML for the page, it is this line that is the problem:
<script type='text/javascript' src='//ajax.googleapis.com/ajax/libs/jqueryui/1.11.1/i18n/jquery-ui-i18n.min.js?ver=2.1.2'></script>
August 4, 2016 at 10:27 am #53378In reply to: How to edit HTML output of "search result"?
AnonymousInactivesorry,I didin’t check your files properly,
I found my target code on results.php.
I try by myself for a while.Let me talk to you if I’m stuck again,
ThanksAugust 4, 2016 at 8:56 am #53357In reply to: Grouping posts by year
TrevorParticipantThe date type field in S&F seems allow only a year drop down select form element. You can sort by date, but cannot group them in any way (it is not possible to add a header for each year for example). At least, you cannot do this easily. With the shortcode results method, you can have results.php file that you can edit. As long as the posts were already sorted by date, it WOULD be possible (not by us) to write PHP code to extract the year from the date and compare this to the previous post, and make a new heading if it had changed.
You COULD also have a list of years in a column where the links in them had the necessary code in to send the chosen year to the results. Again, not something we would do for you.
August 4, 2016 at 8:44 am #53352In reply to: Not results found with Uncode theme
TrevorParticipantThe first step is to have your own copy of results.php in the theme folder, as explained here:
Do you have an example page in the desired format I can see?
August 3, 2016 at 6:45 pm #53303In reply to: Pagination does not match theme
TrevorParticipantDid you copy the results.php file to your theme?
August 3, 2016 at 4:29 pm #53285In reply to: Divi Theme results styling help please
TrevorParticipantHi Connie
First question. Did you make your own custom results.php file?
As here:
As you are not too far north of me, if you have a mic or webcam, I can show you to start you off.
August 3, 2016 at 8:09 am #53217In reply to: How to edit HTML output of "search result"?
TrevorParticipantWhich Display Results method are you using? You should not be using Custom, as this is reserved, for Shortcode I can show you how, the other methods use templates from your theme, so you would need to investigate how to modify them. The shortcode method output can be customized, and to start with read the documentation and make your own custom results.php file:
-
AuthorSearch Results