single.php working for custom post types, but not for normal posts
-
Hi.
I’m creating my own theme with custom post types. I have registered them using the following code, but now, the single.php file works only for custom post types (called ‘video’ and ‘agenda’) but not for normal posts. (the permalink to normal posts shows index.php). Anyone know what the problem could be?
Thank you in advance.
Here’s the code I use for creating the 2 new post types:
[Code moderated as per the Forum Rules. Please use the pastebin]
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘single.php working for custom post types, but not for normal posts’ is closed to new replies.