Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi, youmight find the ‘Ohter Notes’ section of the List Category Posts plugin info to helpful. It lists the parameters that catlist accepts.

    taxonomy is not one of them.

    I think that in your example videoscategory is a WordPress category. catlist uses the parameter name for a category so try name=videoscategory

    You have correctly put post_type=videos I think, a parameter catlist also has.

    Writing id=27 means ‘select posts in the category which has the id 27’. The Other Notes points out that ‘You should use only one of these methods since these are all mutually exclusive, weird results are expected when using more than one:’ so don’t use id= as well as name=

    Thread Starter JPBigot

    (@jpbigot)

    Hi and many thanks,

    I’ve tried taxonomy=”videoscategory” because taxonomy is one of variable listed in list_cat_posts.php (line 105), and because of the link to édit my videocategory : https://xxxxxx/wp-admin/edit-tags.php?action=edit&taxonomy=videoscategory&tag_ID=27&post_type=videos

    Assuming that the slug of my category is “mycategory” and its ID is 27,

    [catlist name=”mycategory” post_type=videos] >>>> That displays well a list of only video posts, but from all videoscategories.. no selection!

    [catlist id=27 post_type=videos] >>>> nothing displayed !

    I hope some plugin developper having a look on that.. probably a bug.

    Many thx

    I’m looking for the same info

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘How to use custom post_type and taxonomy’ is closed to new replies.