Hey gang! Hoping someone can help me out, as I’ve been bashing my head against this problem for a little while now.
I am building a custom theme for this site:
I want the single post pages to have different layouts, depending on if they are news items, videos, or pictures, so I have the ‘single.php’ file acting as a sort of filter. If it’s category A, use single-A.php, if category B, use single-B.php etc.
I had this working great on the BETA site, but now that I’ve re-installed WP on the root domain, things are funky. It seems like it was due to the categories having different IDs on the new site, and once I updated all of the cat-ID references, everything seemed to work, but one category (pictures, aka ID 7) is way messed up:
Let me know if there’s any other info I can provide you with – Any help I can get would be greatly appreciated!
- The topic ‘Trouble with different single.php pages’ is closed to new replies.