Only use first tag?
-
I am using the Simple Tags plugin and I am trying to figure out how to display only the first tag entered in the post. I tried this:
st_the_tags(‘notagtext=&number=1’); }But if the pot has multiple tags then the tags will be randomly displayed. st_the_tags(} doesn’t seem to have any ‘order’ parameter. I also looked at the st_tag_cloud() function with the notagtext, number, cloud_selection and cloud_sort paramters – unfortunately the selection and sort parameters only organize alphabetically, popularity or randomly.
Is there a way to detect and only display the first tag?
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘Only use first tag?’ is closed to new replies.