I am trying to: Create a custom shortcode to pull a taxonomy name into a View loop. Minesh recently helped me by correcting a shortcode to pull in term-meta data for location address, but when I tried modifying the code in a new shortcode to pull the event location/venue name, it's not working.
Link to a page where the issue can be seen: hidden link
I expected to see: I created the following shortcode, based on a previous shortcode used to pull in term-meta data for the location address (which Minesh previously helped me with - thanks!), but it's not working, so I was hoping Minesh could take a look and point me in the right direction:
// Get Location Name
function location_name_func( $atts ) {
global $post;
And I tried inserting the taxonomy using the Fields and View button in the Views admin panel and selecting the Event Location option under the taxonomy section and selected it to display the name, but that doesn't work either.