• I use the “Recent Posts” included sidebar widget to post feeds that I get from the feedwordpress plugin.

    My question is if there is a way here, or another plugin to include an excerpt from the post itself instead of just the title which is all I see now.

    Thanks!

Viewing 1 replies (of 1 total)
  • Yep,

    In the PHP code for the sidebar (or the widget) underneath the title code for the posts, which looks something like this:

    <?php the_title(); ?>

    Add this:

    <?php the_excerpt(); ?>

    If you have an excerpt set, it’ll use that, if not, it’ll use the first 55 characters of your post. You can wrap the tag in whatever CSS you have to format the look.

    Hope this helps,

    KK

Viewing 1 replies (of 1 total)
  • The topic ‘How to show snippets of recent posts in sidebar’ is closed to new replies.