Skip Navigation

[Resolved] View filter in taxonomy archive loads term page instead of AJAX

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Kolkata (GMT+05:30)

This topic contains 11 replies, has 2 voices.

Last updated by Shawn 1 year, 10 months ago.

Assisted by: Minesh.

Author
Posts
#2565307

I have a custom post type 'listings' with a custom taxonomy for the state (e.g. 'Maryland'), and county (e.g. Anne Arundel County). These are being rewritten as 'land-home-packages' and 'land-home-packages-md', respectively.

For the taxonomy archive template I have a filter to select the county but of course that loads the term as AJAX on the current page:

hidden link

For SEO purposes the client would like the county pages to load as their own URL, like this:

hidden link

Is there a way to do this? I've been searching and searching but can't find a solution...

#2567321

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Hello. Thank you for contacting the Toolset support.

I will have to review your current structure and then I will be able to guide you in the right direction.

*** Please make a FULL BACKUP of your database and website.***
I would also eventually need to request temporary access (WP-Admin and FTP) to your site. Preferably to a test site where the problem has been replicated if possible in order to be of better help and check if some configurations might need to be changed.

I have set the next reply to private which means only you and I have access to it.

#2568243

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Unfortunately the admin access details you shared with us is not working at this end.

Can you please send me working admin access details.

I have set the next reply to private which means only you and I have access to it.

#2568419

Sorry about that, try it now (same creds)

#2569085

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

As I understand what you want is when user change the country - user should be redirected on the selected archive page?

For instance with the following page:
- hidden link

If I select the country "Howard" - do you want to redirect user on taxonomy archive of Howard?
-hidden link

if the solution I shared above is different then what you require, could you please share step by step information I have to follow and to what page/post/archive you want the user to redirect?

#2569461

Yes, that is what I was asking. I couldn't find a way to do it.

#2569981

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Unfortunately there is no such solution available as you can not bind the view's URLs directly like you used with select option values.

As requested - can you please share step by step information about what steps I should follow and to what page you want the user to redirect. I see the view results is correctly filtered but I still do not get idea about how exactly you want to configure and display your view and results. Maybe you can record a video and share all those information and I will review that and get back to you with possible solution if any exists.

#2570303

Yeah, I assumed there wasn't a way to do this but I wanted to confirm.

I was curious to find out if there was a way to do what you described, take the user to the term page instead of ajax on the current state page. I thought there might be a way to have a nav menu of county terms instead of the select input... But then I don't know if there would be a way to have the nav menu be dynamic and only show non-empty terms, as well as having the current item highlighted?

#2571765

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

So rather then adding the search filter what if you directly add a taxonomy view that lists all those terms and display the archive link using the taxonomy view and when user click on any of those link he/she desired the user will be redirected on the taxonomy archive page.

Does that makes sense?

#2572157

Yes

#2572487

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Great so you can go ahead with that workaround and you are welcome to mark resolve this ticket.

#2572811

My issue is resolved now. Thank you!