Hi there, on this page (hidden link) we have some conditional logic set up to display which therapies each therapist offers, within therapists-archive. The code is as follows:
This was working fine but has now stopped. We've tested wpv-archive-title and it matches both 'Archives: Therapists' and 'Archives: Teachers'. We can't figure out why this has stopped working.
Hello. Thank you for contacting the Toolset support.
Toolset use the WordPress function get_the_archive_title() to get the current archive title. The function get_the_archive_title() return the archive title name with span tag. For example: Archives: <span>Therapists</span>
That is the reason the conditional statement was broken.
To make conditional works, we will require to remove the span tag from the archive title returned from WordPress.
I've added the following shortcode to the "Custom Code" section offered by Toolset:
=> hidden link