What code to list all tags and posts?
-
I want to create a page which lists all tags and the posts to which a tag is assigned.
Example…
There’s 2 tags – ‘red’ and ‘blue’.
There’s 2 posts – post#1 is tagged ‘red’, and post#2 is tagged ‘blue’.
So the page will show…
Red
post#1Blue
post#2I have no idea where to begin, and whether this can be done with a loop or requires ‘foreach’.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘What code to list all tags and posts?’ is closed to new replies.