I am trying to create a new way to use tags in my wordpress.
All of my tags are in 2 formats:
"City:xxxxxx"
"Country:xxxxxxx"
Where "xxxx" can be any length.
Every post has 2 tags, a city and a country tag.
On my sidebar, I want to display a list based on these tags.
Example of what I need:
Assume the following are stored in my table:
Country:United Kingdom
City: London
Country:United Kingdom
City: Bristol
Country:USA
City:LA
The list should look like this
United Kingdom
London
Bristol
USA
LA
I have been trying to code this but I am having problems finding other tags a post has.
Any help is greatly appreciated!