Search results
-
Hi, thanks for your suggestion.
I’ve separated the words with commas in some of the project descriptions, like this: “Cantina, dei, Colli, Ripani”.
However, they still don’t appear in the search results as expected :(
It seems the search doesn’t only consider the first word, since there are two projects with the description "Tenuta Cocci Grifoni" that show up for "tenuta" and "cocci," but not for "grifoni".
wrote on Dec 12, 2024, 2:28 PM last edited by@dmncn No problem, I think the search results only find the project title and project tags. I don't think it finds words from the project description.
Try adding these, “Cantina, dei, Colli, Ripani” as individual tags and see how that works for you.
-
wrote on Dec 12, 2024, 2:46 PM last edited by
-
Looking at the code of search.php it seems that it searches also in the project description.
Indeed if I search for "butthead" I’ve got the project that has that word only in the description.
wrote on Dec 13, 2024, 12:07 PM last edited by@dmncn hmm interesting, not too sure, probably need to ask armin! The workaround works fine for me but yeah would be nice for the search function to get some new features.
-
FEATURE REQUEST: It would be great if the arrows for navigating between projects would scroll only through the filtered ones
what do u mean filtered ones?
-
wrote on Dec 20, 2024, 3:57 PM last edited by
Hi Armin,
what I mean is that if I filter the projects by category, for example Cinema, and then enter one of them, I would like to navigate only through the 10 filtered results, while it currently scrolls through all 75 projects.
The same applies if the projects are filtered by tag or keyword search.
-
-
Global Moderatorwrote on Dec 20, 2024, 4:01 PM last edited by arminunruh Dec 20, 2024, 11:01 AM
-
wrote on Dec 20, 2024, 4:19 PM last edited by
It’s checked but it doesn’t work. I can provide wp-admin access if needed
-
can you send your website address, /wp-admin/ username and password and a link to this topic to info@laytheme.com?
-
hey there, so lets look at the endpoint that contains the text lay theme searches for:
https://acastelletti.demetriomancini.it/wp-json/laytheme/search/
you do have 2 projects with "spiriti"
in its title or description mmh -
-
-
wrote on Dec 21, 2024, 2:14 PM last edited by
The search results look accurate now, thank you!
Will this change be included in the next update? Because in the meantime I have published the site on the final server.
-
yes its included! i think i forgot to write it down in the release notes
-
but we still have the issue with navigating through categories correctly
when you have this setting enabled:"next previous navigate through"
projects of same category (in lay options)i realized this only works if your projects each only have one category.
i will try to code it so it works even if your projects have multiple categories -
wrote on Dec 31, 2024, 3:12 PM last edited by
Ok, thank you
-
ok if you update lay theme now, this is how it will work:
When you have a project thumbnailgrid on a page, if you filter the category of it and then click on a project, this filtered category will be used to determine which projects to navigate through.
Otherwise, the category used will be the first category that a project has that is not the default category when first arriving from any non project page.
This won't work if your website does hard refreshes on navigating, for example when you use "Disable Ajax", use shortcodes or use WooCommerce.
-
lmk if it works for u!
-
wrote on Dec 31, 2024, 4:14 PM last edited by
Yes it works!
-
nice :D
I also code custom websites or custom Lay features.
💿 Email me here: 💿
info@laytheme.com
Before you post:
- When using a WordPress Cache plugin, disable it or clear your cache.
- Update Lay Theme and all Lay Theme Addons
- Disable all Plugins
- Go to Lay Options → Custom CSS & HTML, click "Turn Off All Custom Code", click "Save Changes"
This often solves issues you might run into
When you post:
- Post a link to where the problem is
- Does the problem happen on Chrome, Firefox, Safari or iPhone or Android?
- If the problem is difficult to explain, post screenshots / link to a video to explain it