Skip Navigation

[Resolved] group of filters with parameters on archive page

This support ticket is created 6 years, 2 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.

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 7 replies, has 2 voices.

Last updated by David 6 years, 2 months ago.

Assisted by: Minesh.

Author
Posts
#1162784

Tell us what you are trying to do?
I'm trying to use a group of filters with parameters from Install Centre Post Type on an archive page to update my Map Markers, showing on page /stage-2-website/install-centre/

When I press submit, it won't update the map, any ideas?

#1162811

Minesh
Supporter

Languages: English (English )

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

Hello. Thank you for contacting the Toolset support.

Well - I would happy to help you further with your issue but I need access details.

*** 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 would additionally need your permission to de- and re-activate Plugins and the Theme, and to change configurations on the site. This is also a reason the backup is really important. If you agree to this, please use the form fields I have enabled below to provide temporary access details (wp-admin and FTP).

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

#1163574

Minesh
Supporter

Languages: English (English )

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

Thank you for sharing access details. I checked you archive and within your archive, I see you have added the view within the archive loop.

I do not understand - why you are using two views "Install Centres UK Map" and "Install Centres Markers with UK Map" and there is a loop of nested view you added.

Could you please share your exact requirement what exactly you are looking to achieve so I can guide you in the right direction.

Do you want to display the map and just below the map the post list?

#1163609

Hi Minesh,

Actually I have two views, "Install Centres UK Map" and "Install Centres Markers with UK Map" after you mentioned in your reply
#1154584 that was a good way to display multiple markers.

Now I would like to use these search filters to reduce the number of markers - if the customer selects Surrey then it should reduce to just one marker.

Thanks!

David

#1163737

Minesh
Supporter

Languages: English (English )

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

Well - I'm not sure why you added the view inside the archive as archive can able to filter the results.

So, I've adjusted your archive as you can see with the following link:
hidden link

I can see the filter works fine:
hidden link

#1164153

Hi Minesh,
That's brilliant. Yes, so simple just to enter the code without the views.
I added a reset button. Can you tell me what I need to do to change my custom view filter so that for wpv-wpcf-county we also have the option "All areas" and that is default?

Thanks.

David

#1165435

Minesh
Supporter

Languages: English (English )

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

Glad to know your original issue is resolved. Please feel free to close the ticket. I will answer your new question with the ticket which I split.

#1165438

My issue is resolved now. Thank you!