• Hi there, I hope someone can help me with this one.
    So I have this query

    <?php while (have_posts()) : the_post(); ?>
     <?php query_posts('p=9'); ?>
    <div><?php the_content(); ?></div>
    <?php endwhile; ?>

    later on on the same page I call a 2nd specific post by changing the p=9 to p=theotherpostid

    this is working perfectly and show both posts as expected.
    Now my problem
    This works perfectly when you call posts, but If I have a Custom Post Type called ‘news’ let’s suppose I change the <?php query_posts('p=9'); ?> to <?php query_posts('post_type=news&p=9'); ?> the result is both posts on the first spot and also both on the second spot (when I call another ID)

    What could be my problem here?

    PS: I’m working with a custom post type plugin, I noted that it changes my permalink structure but I was not able to change.

    Thanks!

  • The topic ‘Show specific post from a custom post type’ is closed to new replies.