All pastes #2081907 Raw Edit

elseif 2

public php v1 · immutable
#2081907 ·published 2011-09-21 19:14 UTC
rendered paste body
<?php while ($my_query->have_posts()) : $my_query->the_post(); ?>	<?php if ( get_post_meta($post->ID, 'video', true) ) { ?> <li class="videoplus"><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></li>	<?php elseif ( get_post_meta($post->ID, 'audio', true) ) { ?> <li class="audioplus"><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></li><?php } else { ?><li><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></li><?php } ?>