Custom Post types problem
-
[Topic decapped – please do not “yell” here]
Hi,
I’ve got a problem with the custos post types. I’ve created a template called: temporary-single.php, and a custom type post, with the post_type: temporary
In my template, I call the post with the conditional:
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
<?php the_content(); ?>
<?php endwhile; else: endif; ?>
When my post is a draft, I have no problem. But when I publish it it can’t finde my post. If anyone can help me, I’ll be so glad.
Thank you so much
Natalia
- The topic ‘Custom Post types problem’ is closed to new replies.