Trying to display a single tag slug for my post
-
I’m going to admit, im not quite sure how to do this. Although I do have enough coding skill to understand the explanation.
Background:
I have created a randomly generated thumbnail gallery of posts that exist withing a custom post type called “projects”. When you click on the thumbnail it takes you to the post page where you can view a video and underneath is a sortable thumbnail gallery for the custom post type “projects”. The sort feature works off of the posts tags.Need:
I require a function that will display 1 single tag slug of the post that the thumbnail has been generated for so when the thumbnail is clicked the sortable gallery on the post page will auto sort to the tag slug of the clicked thumbnail.The url needs to look something like this:
https://www.example.com/projects/#thumbnail-tag-hereThank you very much for your help.
- The topic ‘Trying to display a single tag slug for my post’ is closed to new replies.