[resolved] [Plugin: Excerpts Deluxe] Formatting the excerpt (1 post)

  1. bingorabbit
    Posted 8 years ago #

    Hello, this is just a simple hack to format the excerpt shown using the_excerpt() function after activating the Excerpt Deluxe Plugin.

    Search for $content = strip_tags($post->post_content); and replace it with $content = strip_tags(nl2br($post->post_content), "<b><ul><li><ol><dl><br /><u><i><strong><p><pre><a>");

    This is a simple hack but it really makes the excerpt generated looks the same like the content if generated with the_content() function


Topic Closed

This topic has been closed to new replies.

About this Topic