• 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 ??

Viewing 3 replies - 1 through 3 (of 3 total)
  • https://codex.www.ads-software.com/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.

    Thread Starter M1chel

    (@m1chel)

    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!

    Thread Starter M1chel

    (@m1chel)

    hey, ok it did the trick!

    Thanks a lot! ??

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘create custom tag.php’ is closed to new replies.