[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.
$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.