Never miss a thing!

Sign up to have the latest news and announcements from my site delivered straight to your inbox.
  • This field is for validation purposes and should be left unchanged.

Reader Interactions

Comments

  1. Hi Carrie,
    This is great! I would like to exclude one category. How would I go about doing that?
    Thanks!

    • Hey Kim, you can add an exclude argument to get_terms(). I haven’t tested this, but the idea would be something like:

      $categories = get_terms( 'category', 'orderby=name&order=ASC&exclude=termID');

  2. Very nice; thanks. One suggestion: add a ‘posts_per_page’ argument to WP_Query (-1, for all) to override your site’s default setting.

  3. Hi,
    how would you go about spacing the items in the list a bit more?
    I like how it looks but the post titles appear so close to each other, it’s not user friendly to read.

    Also, is there any way to add a “search box” at the top of the list as well?

    thank you
    Joe

  4. Hi
    thanks when I add the code in your wordpress-search-box article in functions.php I get a critical error.

    I tried on two different websites and I get the same error.

    Maybe I should not enter the <?php
    at the beginning of the code?

    Thank you
    J

Leave a Reply