Skip Navigation

[Resolved] Link back to filtered search

This support ticket is created 5 years, 9 months ago. There's a good chance that you are reading advice that it now obsolete.

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.

No supporters are available to work today on Toolset forum. Feel free to create tickets and we will handle it as soon as we are online. Thank you for your understanding.

Sun Mon Tue Wed Thu Fri Sat
- 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 -
- 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 -

Supporter timezone: Europe/London (GMT+00:00)

This topic contains 3 replies, has 3 voices.

Last updated by bryan 5 years, 9 months ago.

Assisted by: Nigel.

Author
Posts
#1201922

Hi

I have some custom posts types (events) with an archive page with user controlled filtered taxomonies, - genre, event type. region.

If the user filters by say "Spoken Word" they see all "Spoken word" events - they can then click to see an individual CPT template for that posts.

I want to add a 'Back to listings' link. If I simply link to the archive page then its fine but what would be better would be a link back to the archive with the applied filter or search result the user had last set - in this case 'Spoken Word'

javascript:history.go(-1) doesnt work for example but essentially a similar concept but cross platform compliant

is this possible?

#1202151

Nigel
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/London (GMT+00:00)

Hi there

Do your search filters work via ajax?

What are your settings for browser history management at Toolset > Settings > Front-end content?

If you have enabled "Enable history management setttings for AJAX custom search" then it should be possible to use the browser history API: hidden link

I haven't tried it recently enough to be sure that it works, but it should. Can you try that and let me know how you get on?

#1202159

Perfect thanks

#1202161

Good Morning Nigel,

I was looking for something similar and decided to try this but the browser history API link above is hidden.

thanks