• One more question related to Zoe’s great tutorial of how to integrate Quicksand as a filter into WordPress (http://zoerooney.com/blog/web-development/filtering-portfolio-quicksand-taxonomies/).

    I managed to set up the functionality, but would like to show the buttons which filter the items not in a line, but in various columns and also in a very specific order.

    My code is:

    <ul class=”load-portfolio”>
    <li class=”active”>All

    <?php
    $args = array( ‘taxonomy’ => ‘location’ );
    $terms = get_terms(‘location’, $args);
    $count = count($terms); $i=0;
    if ($count > 0) {
    $cape_list = ”;
    foreach ($terms as $term) {
    $i++;
    $term_list .= ‘

    • name .'”>’ . $term->name . ‘
    • ‘;
      if ($count != $i) $term_list .= ”; else $term_list .= ”;
      }
      echo $term_list;
      }
      ?>

      Would it be possible to call in every taxonomy term individually and then style it instead of the list, or is there any other more elegant way to style them individually and arrange the order?

      Thanks for any help on that!

  • The topic ‘Quicksand Filter – arrange and style taxonomy terms individually?’ is closed to new replies.