Hi,
I'm trying to create a custom tag page but I can't get it working.
What would be the right loop to display a list of post with a given tag?
but in the code the tag must be general..I mean it should automatically retrieve it from the post. I don't want to manually specify which tag the loop has to show like I did instead for categories.
I hope I explained it right and that someone can help.
Thank you very much, any suggestion is appreciated :)
http://codex.wordpress.org/Tag_Templates
Basically, you choose what you want to appear inside the WordPress loop - permalink titles, author?, date?, post thumbnail?, excerpt or whole content? , etc
Open index.php and file > save as > tag.php and then add/delete code inside loop to feature what you want in your customized page.
What theme are you using? Usually most archives.php cover year, month, category, and tag renderings.
Ah ok, I'll try this!
I'm not using any theme, I'm creating my own.
however, to save time and because it's the first time I'm using wordpress I'm basically overwriting the default theme.
Thanks mate!
hey, ok it did the trick!
Thanks a lot! :)