Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- OLD CODE ---------->
- <div class="staff-member">
- <?php if ( has_post_thumbnail() ) { ?>
- <a href="<?php the_permalink(' ') ?>" title="<?php the_title(); ?>"><img src="<?php echo $featured_image[0]; ?>" alt="<?php the_title(); ?>" width="110" height="110" /></a>
- <?php } ?>
- <h2><a href="<?php the_permalink(' ') ?>" title="<?php the_title(); ?>"><?php the_title(); ?></a></h2>
- <?php echo $staff_position; ?>
- </div>
- <!-- END staff-member -->
- NEW Code ---------->
- <div class="staff-member">
- <a href="<?php the_permalink(' ') ?>" title="<?php the_title(); ?>">
- <?php if ( has_post_thumbnail() ) { ?>
- <img src="<?php echo $featured_image[0]; ?>" alt="<?php the_title(); ?>" width="110" height="110" /></a>
- <?php } ?>
- <h2><a href="<?php the_permalink(' ') ?>" title="<?php the_title(); ?>"><?php the_title(); ?></h2>
- <?php echo $staff_position; ?>
- </a>
- </div>
- <!-- END staff-member -->
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement