Explains the hierarchy, and in my attempts to create a slightly complciated wordpress design from scratch, I’ve confused myself further.
In this instance I have the following templates:
I don’t have an index.php, and I wonder if that’s a bad thing? Ok let me explain I doubt I’ll see a reply, but here goes:
home.php will be the front page
category-x.php and header-x.php match up to load the next page
What I then need is for the user to be able to click a link, and then it displays another template if y0u like which contains the full entry of the post.
1) In this case I still want to use a customer header, so would this be a case of using the single-x.php? Or is categor-x.php a low-level tempalte where single.php is higher and therefore takes priority?
2) can I get away with using the loop ONLY in single-x.php if the above case is true?
I don’t know where, or how I could use index.php in this case. I’d welcome advice on whether this is the right approach as I’ve stalled working on my site.
- The topic ‘hierarchy help – totally confused’ is closed to new replies.