Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <ol>
- <?php
- $args = array( 'numberposts' => '100' );
- $recent_posts = wp_get_recent_posts( $args );
- foreach( $recent_posts as $recent ){
- echo '<li>' . date( 'l j F Y', strtotime( $recent['post_date'] ) ) .' ---> <a href="' . get_permalink($recent["ID"]) . '" title="Look '.$recent["post_title"].'" >' . $recent["post_title"].'</a> </li> ';
- }
- ?>
- </ol>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement