Styling Taxonomy Results?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Tittytweaker
    Confirmed User
    • Dec 2012
    • 184

    #1

    Styling Taxonomy Results?

    I'm trying to figure out how to style my taxonomy results.

    I'm using:

    Code:
    <?php
    
    $terms = get_terms("model");
    $count = count($terms);
    if ( $count > 0 ){
    echo "<ul>";
    foreach ( $terms as $term ) {
    echo '<li><a href="' . get_term_link($term) . '">'. $term->name . '</a></li>';
    
    }
    echo "</ul>";
    }
    
    ?>
    To get the list of terms. I'd like to be able to style the results the same way I have them on the home page, only with the models name underneath the photo and nothing else, along with creating new pages after a certain number of results. Any ideas?
    www.tittytweaker.com
  • Tittytweaker
    Confirmed User
    • Dec 2012
    • 184

    #2
    Ok. No luck googling this.

    To simplify, I'm just looking for a way for it to call up an image from a folder on my server using the term name with a ".jpg" added to the end of it, so it grabs the correct image for each term/model.

    Anyone?
    www.tittytweaker.com

    Comment

    Working...