jmlapam

Untitled

Mar 5th, 2014
58
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. $posts = get_posts();
  2. foreach ( $posts as $post ) {
  3. setup_postdata($post);
  4. $excerpt = $post->post_excerpt
  5. );
  6. }
  7. wp_reset_postdata();
  8. echo $excerpt;
RAW Paste Data