Hi,
I have the same problem.
Roman
Hi
calls of this sort:
[catlist post_type=”myposttype” name=”mycategoryname”] works for me.
Can you post the catlist call you are making?
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
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?
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?
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.