Tip: Click lines to highlight, hold ctrl/cmd to multi-select
http://codedumper.com/aqate (17-May @ 23:14)
Syntax Highlighted Code
- <?php if(is_front_page() and is_page()):
- $thisPage = $post
- ?>
- <h2>Recent Posts</h2>
- <ul>
- <?php foreach(wp_get_recent_posts('numberposts=5') as $post):
- setup_postdata($post); ?>
- <li><a href="' . . '" title="Look ' <?php the_title_attribute(); ?>'" > <?php the_title(); ?></a> </li>
- <?php endforeach; ?>
- </ul>
- <?php endif; ?>
Plain Code
<?php if(is_front_page() and is_page()):
$thisPage = $post
?>
<h2>Recent Posts</h2>
<ul>
<?php foreach(wp_get_recent_posts('numberposts=5') as $post):
setup_postdata($post); ?>
<li><a href="' . . '" title="Look ' <?php the_title_attribute(); ?>'" > <?php the_title(); ?></a> </li>
<?php endforeach; ?>
</ul>
<?php endif; ?>