Support » Plugins and Hacks » [Resolved] [Plugin: Excerpts Deluxe] Formatting the excerpt

[Resolved] [Plugin: Excerpts Deluxe] Formatting the excerpt

  • 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


  • The topic ‘[Resolved] [Plugin: Excerpts Deluxe] Formatting the excerpt’ is closed to new replies.
Skip to toolbar