Forums › Forums › Search & Filter Pro › Pagination
- This topic has 19 replies, 2 voices, and was last updated 4 years, 1 month ago by Trevor.
-
Anonymous(Private) November 11, 2020 at 6:26 am #265931
Hi,
I have two more questions:
1- I put the operator AND for the search both on “Search and filter” and “Relenvassi” but if I filter a province and also write the name of a city (which is not in the db) in the search and forward the search I find nothing. Why?
2- If you don’t find any results, how can I make it appear?Anonymous(Private) November 11, 2020 at 9:52 am #265972Hi Trevor,
I have three more questions:
1- I put the operator AND for the search both on “Search and filter” and “Relenvassi” but if I filter a province and also write the name of a city (which is not in the db) in the search and forward the search I find nothing. Why?
2- If you don’t find any results, how can I make it appear? I think it depends on the modified results page…
3- Every result found has the link to its detail that in the results.php page is linked in this way
<a href="<?php the_permalink(); ?>"><?php the_title(); ?></a>
but how do I understand which template you use for the detail? Sorry maybe this is not a question for you but I try 🙂Trevor(Private) November 11, 2020 at 5:26 pm #266113IF you set ‘Field relationships’ to
AND
(‘AND’ reduces the number of results, ‘OR’ increase the number of results; Boolean logic) this means that if there are no results from the search field, you cannot get more results from choice in the other fields. The ‘Field relationships’ must be set to OR to get more results, which I suspect is what you want. But, then the ‘OR’ applies to all the fields. It is a little difficult to wrap your head around unless you did Boolean logic in Math lessons at school, and understood it (then or now).I am not sure what you mean by:
but how do I understand which template you use for the detail?
Do you mean that you want to show the content of the post/result on the results page? Our results.php template shows the excerpt, is that what you mean, or does not content show?
Anonymous(Private) November 11, 2020 at 7:22 pm #266141Yes sorry Trevor, I used OR but it doesn’t show any results even if in the search or filter there is a field inserted.
The second question, I meant that the words “I did not find any results” do not appear when there are no results in the search.
For the third question, I asked if the detail view like this https://www.staging2.biotechmed.it/?farmacia=farmacia-laura
I was asking if you can choose the template that is used. -
AuthorPosts