0

I've got the Owl Carousel plugin installed, inside of it I can create some categories.

Now I'd like to have these Owl Carousel categories displayed on the site, not the regular categories. What you see on the site right now is the regular categories such as 'Uncategorised' which is created from within the POSTS area of wp-admin.

i tried using this but still just shows the wrong list of cateogies:

<?php wp_list_categories(
          $args = array(
          'post_type' => 'owl-carousel'
         )
 ); ?> 

enter image description here
Regular categories page - enter image description here

Owl Carousel Categories page
enter image description here

1
  • 1
    I think they are making use of custom taxonomies, not build-in categories Aug 14, 2014 at 10:58

1 Answer 1

0

I can't find any argument of post_type in wp_list_categories()

You should use taxonomy instead

wp_list_categories(
      $args = array(
          'taxonomy' => 'Carousel'  //Carousel is the taxonomy name your plugin use
     )
);
2
  • Do you know how I may be able to display only the images from the selected category with this plugin? Long shot but looking into this too. Currently it's just displaying everything.
    – wharfdale
    Aug 14, 2014 at 12:24
  • 1
    @wharfdale I don't know how this plugin works. So, I won't be able to help. You should post your question to the plugin support forum: wordpress.org/support/plugin/owl-carousel
    – sakibmoon
    Aug 14, 2014 at 14:14

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.