All Questions
3 questions
0
votes
0
answers
35
views
Custom post type single page uses the right template in preview mode but shows a different template after being posted
I've been developing a Wordpress theme. I've created a custom post type called blog in functions.php.
// Blog Post Type Creation
function te_blog_type() {
register_post_type("blog",
...
3
votes
0
answers
175
views
Page with page template not using template in Preview
I am using a page template created by myself, which is showing and working correctly in page backend. It also works on the front end.
The problem: Preview shows the normal "page.php" instead of ...
7
votes
1
answer
5k
views
Post/Page Preview Template
Is there a way to have a custom template php file that is only used for previews instead of it using the single.php file? This way the user knows they are in preview mode?