dopepod
Forum Replies Created
Viewing 1 replies (of 1 total)
-
Hey, thanks for the reply.
I just wondered if your plugin could be modified to achieve what i’m trying to do.I’m currently using php to display a custom taxonomy and the relating posts underneath each taxonomy category. Then i’m applying css multiple columns to break it into three columns, which works reasonably well… except it’s a bit messy and of course ie doesn’t pick it up at all.
Here’s the code:
<?php // List posts by the terms for a custom taxonomy of any post type $tax = 'location'; $tax_terms = get_terms( $tax ); if ($tax_terms) { foreach ($tax_terms as $tax_term) { $args = array( "$tax" => $tax_term->slug, 'post_status' => 'publish', 'orderby' => 'title', 'order' => 'ASC', 'posts_per_page' => -1, 'caller_get_posts'=> 1 ); $my_query = null; $my_query = new WP_Query($args); if( $my_query->have_posts() ) : ?> <div class="tax-list"> <h1 class="location"><?php echo $tax_term->name; ?></h1> <ul class="project"> <?php while ( $my_query->have_posts() ) : $my_query->the_post(); ?> <li id="post-<?php the_ID(); ?>"> <a href="<?php the_permalink(); ?>" rel="bookmark" title="<?php the_title_attribute(); ?>"><?php the_title(); ?></a> </li> <?php endwhile; // end of loop ?> </ul> </div><!-- end location --> <?php else : ?> <?php endif; // if have_posts() wp_reset_query(); } // end foreach #tax_terms } ?>Do you think it would be possible to expand your plugin? or do you know of another plugin or solution which achieves this, cross browser?
Thanks
Viewing 1 replies (of 1 total)