Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
A GOOD and versatile news manager needed
#35
mikeh Wrote:1. Open up the following file,
     plugins/news_manager/inc/functions.php
2. Look for the following function (should be around line 150 or so):
     nm_create_excerpt($content)
3. Inside that function delete the following line:
     $content = strip_tags($content);
4. Save the file and you see images in excerpts now.
When I do this some of the posts where there may be an image overlapping the excerpt length then my template breaks. Is there a way of avoiding that or ensuring that if an image is overlapping the text excerpt length then it should either be included or excluded from the excerpt?
Reply


Messages In This Thread
A GOOD and versatile news manager needed - by andyash - 2011-11-22, 02:18:18



Users browsing this thread: 1 Guest(s)