• Hi,

    I am using the native tag cloud block for categories. I would like to know if it is possible to exclude a specific category from the display.

    Thank you.

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

Viewing 1 replies (of 1 total)
  • Moderator bcworkz

    (@bcworkz)

    You can pass an “exclude” arg to the function call. Set its value to an array of category term IDs that you want excluded. For example:
    wp_tag_cloud( array('exclude' => array( 12, 34, 56,),));

Viewing 1 replies (of 1 total)
  • The topic ‘Exclude category with Tag Cloud block’ is closed to new replies.