Skip Navigation

[Resolved] returning tax terms

This support ticket is created 4 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 2 replies, has 2 voices.

Last updated by staceyz 4 years, 2 months ago.

Assisted by: Minesh.

Author
Posts
#1826459

Hi - I'd like to set up a view that should return taxonomy terms via ID.

I have a custom post type called "village directory" which has a Taxonomy called "offerings".

I have created a tax view that will return the taxonomy terms. I just need to figure out the best way to query the terms I want to return. I think one of these will work (Terms with ID set by the URL parameter: ____
Terms with ID set by the shortcode attribute: ____ ) but I can't get them to.

Here is how I plan to use it:
I have another plugin set up (Mapplic). I've set the locations on the map to have the same ID as the post from the village directory which returns a URL like this: /village-map/?location=apex-residences so I tried Terms with ID set by the URL parameter: location but no luck.

Then I tried
Terms with ID set by the shortcode attribute: offerings
and then inserted the shortcode [wpv-view name="directory-for-map-tax-list" place="apex-residences"]
but no luck.

Any idea what I can do to make this work?

Thanks so much!

#1827033

Minesh
Supporter

Languages: English (English )

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

Hello. Thank you for contacting the Toolset support.

As I understand - you want to filter your taxonomy based on the term slug you passed as URL param - correct? If yes:

Can you please share problem URL where you added the taxonomy view and 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 have set the next reply to private which means only you and I have access to it.

#1827469

My issue is resolved now. Thank you! I realized that I was mistaking the slug with the ID. I'm all set. Thank you!