Title: create custom tag.php
Last modified: August 19, 2016

---

# create custom tag.php

 *  [M1chel](https://wordpress.org/support/users/m1chel/)
 * (@m1chel)
 * [16 years, 10 months ago](https://wordpress.org/support/topic/create-custom-tagphp/)
 * 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)

 *  [@mercime](https://wordpress.org/support/users/mercime/)
 * (@mercime)
 * [16 years, 10 months ago](https://wordpress.org/support/topic/create-custom-tagphp/#post-1152324)
 * [http://codex.wordpress.org/Tag_Templates](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.
 *  Thread Starter [M1chel](https://wordpress.org/support/users/m1chel/)
 * (@m1chel)
 * [16 years, 10 months ago](https://wordpress.org/support/topic/create-custom-tagphp/#post-1152361)
 * 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](https://wordpress.org/support/users/m1chel/)
 * (@m1chel)
 * [16 years, 10 months ago](https://wordpress.org/support/topic/create-custom-tagphp/#post-1152419)
 * 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.

## Tags

 * [tag page](https://wordpress.org/support/topic-tag/tag-page/)
 * [tag.php](https://wordpress.org/support/topic-tag/tag-php/)

 * 3 replies
 * 2 participants
 * Last reply from: [M1chel](https://wordpress.org/support/users/m1chel/)
 * Last activity: [16 years, 10 months ago](https://wordpress.org/support/topic/create-custom-tagphp/#post-1152419)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
