• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 288
  • Last Modified:

Wordpress Question

My wordpress front page blog excerpts don't seem to show the spaces between paragraphs (I have the excerpt length set to 200).  And I'd like to show the images from the post in the excerpt too.  Is this a code change I need to make or maybe a plugin will help.  How can I do this?  wp 3.5
0
tf2012
Asked:
tf2012
  • 2
1 Solution
 
Jason C. LevineNo oneCommented:
Excerpts have all HTML stripped out by default so that's why no line breaks or images show up.

If you want that back, you can do it by adding code to functions.php but be aware that it can play heck with archive listings that also have a Featured Image.
0
 
tf2012Author Commented:
actually I found the 'advanced excerpt plugin'  does all of it... very cool.  thanks anyway!
0
 
Jason C. LevineNo oneCommented:
Yep, that does it too.  I prefer a function-based solution for this particular task due to the overhead involved though.
0

Featured Post

[Webinar] Cloud and Mobile-First Strategy

Maybe you’ve fully adopted the cloud since the beginning. Or maybe you started with on-prem resources but are pursuing a “cloud and mobile first” strategy. Getting to that end state has its challenges. Discover how to build out a 100% cloud and mobile IT strategy in this webinar.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now