custom category.php or tag.php
-
Hello
I’m new to wordpress and I’m making my own template.
But I have a problem. My site is about bands
so I need a static page where I show a list of all bands
with their picture.
Now for each band I have 5 post (biography, photo,music,video,concerts).Do I need to tag those posts with the bandname,
or do I make a subcategory for each band.
the band page needs a specific layout but I only wanna see those
5 posts when I visit the “[bandname]loop”.
If I use category-$slug.php I need a php for each band. (not wat I want).
If I use tag-$slug.php how do I query that tag?What is the best approach, or is the best way, make a plugin that makes a custom post type?
overview site:
Home
Bands
– NordMann [bandname]
— biography [posttitle]
— video [posttitle]
— music [posttitle]
— photo [posttitle]
— concerts [posttitle]
– Misstriohso [bandname]
— biography [posttitle]
— video [posttitle]
— music [posttitle]
— photo [posttitle]
— concerts [posttitle]
– [bandname]
— …
About
Calender
Contact
The topic ‘custom category.php or tag.php’ is closed to new replies.