Tagged: sf-option-active
- This topic has 15 replies, 2 voices, and was last updated 7 years, 7 months ago by Trevor.
-
Anonymous(Private) April 29, 2017 at 12:22 am #105509
Hi, I have a problem activating the option: sf-option-active
I have this url
https://stagingwp.jewsforjesus.org/articles/When I select the second field it activates
https://stagingwp.jewsforjesus.org/topics/aaron-kasdan/
But if select the third field, the option selected is not selected in the form search
Some guide?
Trevor(Private) April 29, 2017 at 8:20 am #105519Hi
I selected ‘aaron kasdan’ from the second field, and it does indeed re-direct to that URL, and on the page, the form also has ‘aaron kasdan’ selected. Then, in the third field I selected ‘Aaron Trank’, and the page URL then becomes:
https://stagingwp.jewsforjesus.org/articles/?_sft_post_tag=aaron-kasdan&authors=aaron-trank
It finds no results, despite ‘Aaron Trank’ having (8) next to it, which suggests that Auto Count is off, as is hide empty on the fields OFF.
What is not expected in this? Can you explain what you expected?
Anonymous(Private) May 2, 2017 at 4:13 pm #105992look: https://stagingwp.jewsforjesus.org/author/aaron-abramson/
In the search engine the field of “All Authors”, should be selected the user: aaron-abramson / that is the one of the url, but it is not,
https://ibb.co/fDBSfk
But if you select any “All Topics” filter if it is activated in the search engine
I do not understand why you do and author does notTrevor(Private) May 3, 2017 at 1:53 pm #106200Ah, I think I understand. All works as you expect EXCEPT authors?
The problem is that the data for Authors comes from outside the post and postmeta tables (the tables that S&F uses for its cache) and is built independently of the cache, just as the form is loaded. This means that the list of Authors is not filtered by making selections in the other filters. This has always been the case in the plugin, but I am not sure if this behavior will be changed in the next major version (V3). It will require that we extend the plugin to include the users table.
The only way to get around this for now is to make an ‘author’ custom field using a plugin (like ACF) that stores that data in the postmeta table.
Anonymous(Private) May 3, 2017 at 5:37 pm #106304But if I select “All Categories”
https://stagingwp.jewsforjesus.org/about-jews-for-jesus/who-we-are/about-jews-for-jesus/
Neither the All Categories field is selected
https://ibb.co/fvLUAkAnonymous(Private) May 3, 2017 at 6:20 pm #106328look
https://ibb.co/jkM0i5
https://ibb.co/hCz9bQbasicamente, es que uno esta seleccionado y el otro no, despues de elegir alguna opcion del campo “All Categories”, por que el segundo no se auto selecciona
Trevor(Private) May 4, 2017 at 4:00 pm #106489Hi
So, I took a look inside the admin and I am now confused again. You are using the Select2 script for comboboxes so the real select is hidden. On the hidden select I can see the
sf-option-active
class is on whichever option I pick, including for All Categories.So I do not understand what is wrong and what you are trying to do.
I see that you are using Divi, and a new feature of Search & Filter is that it will now work with the Divi grid builder. There is a post talking about this:
https://support.searchandfilter.com/forums/topic/divi-blog-module-grid/#post-99184
-
AuthorPosts