Skip to:
Content
Pages
Categories
Search
Top
Bottom

Custom Post Types

  • Having an issue with my custom post types on appearing on my custom page. Here is ths loop Im using.

    Im a little confused as to why some loops work in buddypress and others dont. When they normally work in plain old wordpress.

    The below will display nothing.

    `

      <?php
      $wp_query = new WP_Query( array ( ‘posts_per_page’ => ‘3’, ‘post_type’ => ‘giveaways’ ) );
      ?>
      have_posts()) : $wp_query->the_post(); ?>

    • <a href="” rel=”bookmark”>

    `

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Custom Post Types’ is closed to new replies.
Skip to toolbar