Support » Plugins » [plugin: More Fields] causing some troubles with post types and post status

  • I have wordpress 3.0.1 installed with More Types plug-in which works perfectly.
    I installed the latest version of More Fields plug-in. but after I did that everything got messed up with the custom post types I have.

    it started showing all kind of posts on my page template.
    the loop now shows all post types and all posts status like trash, auto saved, drafts and published off course.
    while in my query that was working fine before I installed the plug-in says:

    $type = 'news';
    $args=array( 'post_type' => $type, 'post_status' => 'publish', 'paged' => $paged, 'posts_per_page' => 10, 'caller_get_posts'=> 1);
    $temp = $wp_query;
    $wp_query = null;
    $wp_query = new WP_Query($args);

    although on other queries which I wrote only for the homepage, it works fine without any problems:

    <?php  $loop = new WP_Query( array( 'post_type' => 'news', 'posts_per_page' => 2 ) );
    	       while ( $loop->have_posts() ) : $loop->the_post();
     ?>

    Please help as I really would like to use this plug-in.

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘[plugin: More Fields] causing some troubles with post types and post status’ is closed to new replies.