Forums

[resolved] Two Post types on one page (2 posts)

  1. arthurdent2003
    Member
    Posted 12 months ago #

    Hi There!

    I want to list these two different custom post types on one page:

    <?php query_posts(array('post_type' => array('post', 'custom-post -1'))); ?>
    <?php query_posts(array('post_type' => array('post', 'custom-post-2'))); ?>

    but I only get one listed (the upper one) - the other one does not show up.

    Is there any way to shwow these two taxonomies at the same time?

    Thank you!!

    AD

  2. arthurdent2003
    Member
    Posted 12 months ago #

    ok - solved it - stupid => me! ;-)

    <?php query_posts(array('post_type' => array('post', 'custom-post -1', 'custom-post-2'))); ?>

Reply

You must log in to post.

About this Topic