Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /********* OLD CODE **********/
- <div class="hp-highlight <?php if($third_count=='3') { echo 'highlight-third'; } ?> <?php if($fifth_count=='5') { echo 'highlight-fifth'; } ?>">
- <?php if(!empty($featured_image)) { ?>
- <img src="<?php echo $featured_image[0]; ?>" title="<?php the_title(); ?>" class="hp-highlight-img" />
- <?php } ?>
- <h3><?php if(!empty($hp_highlights_url)) { ?><a href="<?php echo $hp_highlights_url; ?>" title="<?php the_title(); ?>" target="_<?php echo $hp_highlights_url_target; ?>"><?php the_title(); ?></a><?php } else { the_title(); } ?></h3>
- <?php the_content(); ?>
- </div>
- <!-- /hp-highlight -->
- /******** EDITED CODE ************/
- <div class="hp-highlight <?php if($third_count=='3') { echo 'highlight-third'; } ?> <?php if($fifth_count=='5') { echo 'highlight-fifth'; } ?>">
- <?php if(!empty($hp_highlights_url)) { ?><a href="<?php echo $hp_highlights_url; ?>" title="<?php the_title(); ?>" target="_<?php echo $hp_highlights_url_target; ?>">
- <?php if(!empty($featured_image)) { ?>
- <img src="<?php echo $featured_image[0]; ?>" title="<?php the_title(); ?>" class="hp-highlight-img" />
- <?php } ?>
- <h3><?php the_title(); ?></a><?php } else { the_title(); } ?></h3>
- <?php the_content(); ?>
- </div>
- <!-- /hp-highlight -->
Advertisement
Add Comment
Please, Sign In to add comment