Extended Recent Posts

Really simple extended version of the default recent posts widget for wordpress.

The extra features:

  1. Shows posts excerpt
  2. Custom “show more” characters
  3. Limit number of excerpt words shown
  4. Show or hide post date

You can see the example on this page in the footer on the left side.


3 responses on “Extended Recent Posts

  1. Pingback: Extended Recent Posts – Wordpress Plugin – LessThanWeb

    1. Anze Stokelj Post author

      Hi Mark,

      You need to change the post type. Open the .php file and find this line:

      $posts = get_posts(array('numberposts' => $instance['number_of_posts']));

      Replace it with:

      $posts = get_posts(array('numberposts' => $instance['number_of_posts'], 'post_type' => 'YOUR_POST_TYPE'));

      Replace the YOUR_POST_TYPE with the post type of the press releases.

Leave a Reply