I'm trying to create a dynamic link to a taxonomy archive page.
In my site, I have a custom post type for races. They have a "month" and "state" taxonomy. As taxonomies they have archive pages. Each of these are only single selection taxonomies.
I want to create a link on each race post that would say: "See more races in [month]." where [month] is the correct month for the taxonomy and the link goes to that archive page.
I have just used inline fields to create the month text, but I cannot figure out how to create a link that would point to the appropriate archive page.
Here is an example race page - the links I'm trying to get to work are on the bottom: hidden link
And here is an archive page for the month: hidden link
Hello. Thank you for contacting the Toolset support.
What if you use the following shortcode [wpv-post-taxonomy] to display the taxonomy term you assigned to post and it will display the link of the taxonomy archive page;
See more races in [wpv-post-taxonomy type="month" format="link" show="name"]
Hello. Thank you for contacting the Toolset support.
What if you use the following shortcode [wpv-post-taxonomy] to display the taxonomy term you assigned to post and it will display the link of the taxonomy archive page;
See more races in [wpv-post-taxonomy type="month" format="link" show="name"]
But this solution only applies the link to the single word representing the taxonomy. Any way to do this in a more abstracted way? e.g., apply the link to an entire string of text, an image, etc?
Ok - here's where I landed based on your pointer. I am wrapping whatever target I have in HTML href and embedding the link using shortcode. So like this: