WordPress.org

Support

Support » How-To and Troubleshooting » [Plugin: Recent Posts] How to exclude pages in recent posts?

[Plugin: Recent Posts] How to exclude pages in recent posts?

  • How can you exclude pages from this recent posts widget? I only want to see recent posts, not recent pages.

Viewing 1 replies (of 1 total)
  • The default template tag excludes pages

    <?php mdv_recent_posts(); ?>

    but if you have other settings then

    <?php mdv_recent_posts(10, '', '<br />', true, 5, false, false); ?>

    that last ‘false’ is to NOT display pages.

Viewing 1 replies (of 1 total)
  • The topic ‘[Plugin: Recent Posts] How to exclude pages in recent posts?’ is closed to new replies.