Back to Troubleshooting Guides

This guide applies to:

  • Basic
  • Professional


The Draw Attention plugin uses a WordPress function called wpautop, it automatically adds paragraph tags to help you format your content.

If you would like to have total control over the HTML in your more info or description fields, you can disable the wpautop filter.

Learn how to add PHP snippets to your website.

How to Disable wpautop

Disabling wpautop to stop getting paragraph tags from being added between your HTML tags in the description or more info fields.

One thing to keep in mind – this will automatically remove all of the extra paragraph tags from every more info field on every Draw Attention image.

function my_da_unautop() {
	remove_filter( 'da_description', 'wpautop' );
add_action( 'template_redirect', 'my_da_unautop' );

Still stuck?

File a support ticket with our five-star support team to get more help.

File a ticket

  • Please provide any information that will be helpful in helping you get your issue fixed. What have you tried already? What results did you expect? What did you get instead?
  • This field is for validation purposes and should be left unchanged.

Related Guides