Advertisement
Guest User

Untitled

a guest
Mar 3rd, 2015
191
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.77 KB | None | 0 0
  1. <div id="tagarea">
  2. <div class="contained">
  3. <h2>Categories</h2><br>
  4. <?php
  5. //$excludetags = array(136,135);
  6. $excludetags = get_term_by('name', 'Author:*','post_tag');
  7. $args = array(
  8. 'separator' => " ... ",
  9. 'orderby' => 'name',
  10. 'order' => 'ASC',
  11. 'exclude' => $excludetags,
  12. 'include' => null,
  13. 'topic_count_text_callback' => default_topic_count_text,
  14. 'link' => 'view',
  15. 'taxonomy' => 'post_tag',
  16. 'echo' => true,
  17. 'child_of' => null, // see Note!
  18. );
  19. ?>
  20. <?php wp_tag_cloud( $args ); ?>
  21. </div>
  22.  
  23. $excludetags = array(get_term_by('name', 'Author:*','post_tag'));
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement