Support » Plugin: List category posts » Showing custom posts from a category with the List category posts plugin

  • Resolved Irèn Nooren


    I have created a custom post type ‘design’.
    With a category type taxonomy ‘design-medium’.

    I would like to show the ‘design’-posts of a category on a page with the List category posts plugin.

    The category has tag_ID=85, called Postcards.

    I have tried different shortcodes (as mentioned on this forum), but I can’t make it work.

    short code [catlist id=85]
    shows nothing

    short code [catlist post_type=design name=Postcards]
    shows all design posts

    WordPress 5.5.1
    Plugin version 0.83.1

    I hope some one could tell me what I am doing wrong.

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter Irèn Nooren


    I have made some changes in another website without success.
    (I can’t change the link that I need help with 🙁
    the new link is

    Thinking that my code for creating custom post types might be wrong, I have created an extra category for normal posts as described in the Code Reference Guide.

    The plugin still doesn’t show the right posts.

    This is the code I used for creating an extra category.

    function inPlugin_register_taxonomy_post()
    $labels = [
    	'name'              => _x('Extra-categories', 'taxonomy general name'),
    	'singular_name'     => _x('Extra-category', 'taxonomy singular name'),
    	'search_items'      => __('Search extra-categories'),
    	'all_items'         => __('Alle extra-categories'),
    	'parent_item'       => __('Main extra-category'),
    	'parent_item_colon' => __('Main extra-category:'),
    	'edit_item'         => __('Edit extra-category'),
    	'update_item'       => __('Update extra-category'),
    	'add_new_item'      => __('Add new extra-category'),
    	'new_item_name'     => __('New extra-category name'),
    	'menu_name'         => __('Extra-categories')
    $args = [
    	'hierarchical'      => true,
    	'labels'            => $labels,
    	'show_ui'           => true,
    	'show_admin_column' => true,
    	'query_var'         => true,
    	'rewrite'           => ['slug' => 'extra-cat'],
    	'show_in_rest' 		=> true
    register_taxonomy('extra-cat', ['post'], $args);
    add_action('init', 'inPlugin_register_taxonomy_post');
    Thread Starter Irèn Nooren


    I’ve solved the issue by using a different plugin Custom Content Shortcode.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Showing custom posts from a category with the List category posts plugin’ is closed to new replies.