Share This Article

Subscribe Membership Plan ($9.99/mo)

  • Get full access to all premium tutorials
  • Get Support for the posted content
  • Request for specific how-to tutorials
  • Cancel the subscription at anytime

Reader Interactions

12 Discussion to This Post

  1. This is great! What dictates which categories are shown? In other words, if a post is assigned to 10 categories and we have the limit above set to ‘3’, how are the 3 displayed categories “selected” or chosen? Automatic based on order applied to the post? Alphabetical?

    Thanks!

    -B

  2. This is great! I’m working on modifying it for custom taxonomies. Do you have any suggestions?

  3. This is great, thanks! I wonder, is there a way to *not* have a certain category show up? For instance, I have created one called Featured so I can have it on my front page, but I don’t want that shown, I’d rather just have the *real* categories show, i.e. books, authors.

    • This is also a great idea. I shall test it one. If possible then I shall modified the code and inform you.

        • Snippet is updated now. New parameter “exclude” is added in the shortcode atts array. You will pass the term ID(s) via exclude parameter like exclude=3 or exclude=3,4,10 etc.

          Hope that it will help you.

          Best
          Chinmoy

          • Is there something like this “exclude” switch that will work for breadcrumbs?

            • Did not understand your question. This shortcode is for post meta only.

Leave A Reply

Your email address will not be published. Required fields are marked *