Tell us what you are trying to do?
In my location's directory, I want to display the post information conditionnaly to which taxonomy is enable
I've tried many codes, but nothing seems to work
-
[wpv-conditional if="('[wpv-quartier-qc]' eq 'Montréal')"] [/wpv-conditional] - Don't work
[wpv-conditional if="( '[taxonomy output='quartier-qc']' eq 'eat-drink' ) "] [/wpv-conditional] - Don't work
[wpv-conditional if="( '[taxonomy output='wpv-quartier-qc']' eq 'eat-drink' ) "] [/wpv-conditional] - Don't work (added wpv-)
Thanks for the link. I don't knwo why I didn't see the [conditional] option in the menu haha
It works perfectly for one-word taxonomies (ex: Divertissement), but when it comes to many-words taxonomies (ex: Soins médicaux), it doesn't work
I tried with the whole term or just a part of it, but it seems the system do not do the link
[wpv-conditional if="( CONTAINS(#(categories-lieux),'soins') )"]
Do I need to change the taxonomy title or put in into shortode or brakets?
It seems you are using the taxonomy term title "Soins médicaux" - what if you try to use the taxonomy term slug.
For instance:
[wpv-conditional if="( CONTAINS(#(categories-lieux),'term-slug') )"] show [/wpv-conditional]
Where:
- Replace 'term-slug' with your original term slug.
Does that helps? If no:
*** 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.