Tagged: sf-option-active
- This topic has 15 replies, 2 voices, and was last updated 7 years, 7 months ago by Trevor.
-
Anonymous(Private) May 4, 2017 at 6:10 pm #106542
Let’s recap on what we’re trying to accomplish here:
So we’re here and we have these filters(dropdowns):
“All Categories”, “All Topics” & “All Authors”https://stagingwp.jewsforjesus.org/articles/
When we select an option from “All Topics” it successfully filters the info we need, and the filter keeps the value we selected but then when we try to do it by selecting an option from “All Categories” or “All Authors” when the filtering is finished and we get to the results page, thos filters do not keep the value the user selected before.
this is what we’re trying to accomplish, we need to have the same behavior we’re experiencing with
“All Topics”Here’s an example:
Step 1, go to : https://stagingwp.jewsforjesus.org/articles/
Step 2 select and option from the filter “All Topics”, in my case I selected this one which got me to this page: https://stagingwp.jewsforjesus.org/topics/aaron-trank/
if you pay attention here, the option I previously selected is still active in the “All Topics” filter it keeps the value I selected yesterday.If I do the same with the other 2 filters that doesn’t happen an we need this to work the same throughout the 3 filters.
Trevor(Private) May 4, 2017 at 6:23 pm #106548OK
I am looking at this page:
https://stagingwp.jewsforjesus.org/articles/
The form on it is ID #31952
In the setup of that form the Results URL is the same as above.
So, when I select
aaron trank
from topics I expect it to go to:https://stagingwp.jewsforjesus.org/articles/?_sft_post_tag=aaron-trank
But instead it goes to:
https://stagingwp.jewsforjesus.org/topics/aaron-trank/
Why does it do that? Have you changed something to make it do that, added some code maybe?
Similarly, if I select ‘Articles’ it used to go to:
https://stagingwp.jewsforjesus.org/articles/?_sft_category=miscarticles
But now it goes to:
https://stagingwp.jewsforjesus.org/404/?_sf_s=miscarticles
Treating that as a textual search and resulting in a 404?
Anonymous(Private) May 4, 2017 at 9:42 pm #106605yes I change the redirect with code because we do not want the url to be like this, we need it another way
https://stagingwp.jewsforjesus.org/articles/?_sft_post_tag=aaron-trank
by
https://stagingwp.jewsforjesus.org/topics/aaron-trank/That was what caused it to be damaged, because without that redirect the three fields worked well
-
AuthorPosts