Title: Custom POst TYpes
Last modified: August 30, 2016

---

# Custom POst TYpes

 *  [Sibbo100](https://wordpress.org/support/users/sibbo100/)
 * (@sibbo100)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/custom-post-types-223/)
 * Hi,
 * I wanted to start by saying this plugin has saved me so much work as I’m constantly
   having to display category lists on various pages, so thank you.
 * I do have one slight issue though, I’m using a custom post type “ai1ec_event”
   and the plugin picks this up perfectly, however for a specific page on the site
   I’m currently building I need to be able to choose the category which is pulled
   through and I can’t currently figure out how to do this as id= doesn’t seem to
   work, neither does name=
 * If any one knows the solution to this, would be greatly appreciated.
 * Thank you
    Sibbo100
 * [https://wordpress.org/plugins/list-category-posts/](https://wordpress.org/plugins/list-category-posts/)

Viewing 6 replies - 1 through 6 (of 6 total)

 *  [rkra](https://wordpress.org/support/users/rkra/)
 * (@rkra)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/custom-post-types-223/#post-6300743)
 * Hi,
    I have the same problem. Roman
 *  [AACT](https://wordpress.org/support/users/aact/)
 * (@aact)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/custom-post-types-223/#post-6300749)
 * Hi
    calls of this sort:
 * [catlist post_type=”myposttype” name=”mycategoryname”] works for me.
 * Can you post the catlist call you are making?
 *  Thread Starter [Sibbo100](https://wordpress.org/support/users/sibbo100/)
 * (@sibbo100)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/custom-post-types-223/#post-6300750)
 * Hi AACT,
 * I originally used this [catlist post_type=”ai1ec_event” name=”netherurd”] and
   all it did was list all the events not just the ones with the specific category,
   I have subsequently just created a page template for this particular page and
   added the below code into it:
 * `
    <?php query_posts( array( 'post_type' => 'ai1ec_event', 'events_categories'
   => 'netherurd' ) );
 * if ( have_posts() ) : while ( have_posts() ) : the_post();
    ?> <div class="nether_events_container"
   > <div class="nether_events_images"> <?php the_post_thumbnail( 'wpbs-featured');?
   > </div> <div class="nether_events_txt"> <h3>" rel="bookmark" title="<?php the_title_attribute();?
   >"><?php the_title(); ?></h3> <p class="post_date"><?php echo get_the_date( '
   d/m/Y'); ?></p>
 * <?php the_excerpt(); ?>
    </div> <div class="clearfix"></div> </div>
 * <?php
    endwhile; endif; wp_reset_query(); ?>
 * which works a treat, I’m still using the plugin on other areas of the site which
   all work perfectly, but none of them are custom post types.
 * rka, feel free to take the above code and add to your own custom template if 
   required you should just need to change the
    ‘post_type’ => ” and also the ‘events_categories’
   would need changing to whatever your custom post types category is called.
 * Thanks
    Sibbo100
 *  [cosmocanuck](https://wordpress.org/support/users/cosmocanuck/)
 * (@cosmocanuck)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/custom-post-types-223/#post-6300761)
 * Hi! I’m trying this plugin out as it would be a godsend for me right now – however
   I’m having a similar problem which Sibbo100’s solution doesn’t address.
 * I need to display multiple categories of my custom post type on a single page.
 * I too am seeing no filtering of category when I use (for example) the following
   shortcode:
 * [catlist post_type=”donor” id=16]
 * It correctly shows my donor post type, but it lists all the posts.
 * Any suggestions?
 *  [AACT](https://wordpress.org/support/users/aact/)
 * (@aact)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/custom-post-types-223/#post-6300764)
 * cosmocanuck, That type of use works fine for me, but we are using a very old 
   version of List Category Posts, and maybe there is a problem with more recent
   versions of the plugin?
 * Perhaps the author could advise?
 * Does it work for you if you use name=<name of category> rather than id=16?
 *  [cosmocanuck](https://wordpress.org/support/users/cosmocanuck/)
 * (@cosmocanuck)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/custom-post-types-223/#post-6300767)
 * I’m afraid I ended up using a different plugin – I am under the gun to get my
   client’s site working before their main event begins.

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Custom POst TYpes’ is closed to new replies.

 * ![](https://ps.w.org/list-category-posts/assets/icon-256x256.png?rev=2517221)
 * [List category posts](https://wordpress.org/plugins/list-category-posts/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/list-category-posts/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/list-category-posts/)
 * [Active Topics](https://wordpress.org/support/plugin/list-category-posts/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/list-category-posts/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/list-category-posts/reviews/)

 * 6 replies
 * 4 participants
 * Last reply from: [cosmocanuck](https://wordpress.org/support/users/cosmocanuck/)
 * Last activity: [10 years, 8 months ago](https://wordpress.org/support/topic/custom-post-types-223/#post-6300767)
 * Status: not resolved