Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <h2>Advisory Team</h2><br>
- <?php $my_query = new WP_Query("cat=18&order=asc"); ?> <?php while ($my_query->have_posts()) : $my_query->the_post(); ?>
- <div class="wp-post-image">
- <?php if ( has_post_thumbnail()) the_post_thumbnail('50,50'); ?>
- </div>
- <a href="<?php the_permalink(); ?>">
- <div style="text-align:left;"><h4><?php the_title(); ?></h4></div>
- </a>
- <?php the_content(); ?>
- <div style="clear: both; padding-bottom: 10px; margin-bottom: 10px; border-bottom: 1px solid #515a24;"></div>
- <?php endwhile; ?>
- <?php wp_reset_query(); ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement