• Hello,

    Can someone provide me with a simple php code that will allow all html tags in my excerpt. I tried a simple “The_content” tag but it’s screwing up my site. What’s a basic code I can put in my theme editor that will allow HTML in my excerpt?

    I’m using the current code:
    <p><?php echo dp_clean($post->post_excerpt, 1000000); ?></p>

    It will not allow HTML in my excerpts. Please help. Thanks

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Php help with excerpt’ is closed to new replies.