• Resolved dconsorte

    (@dconsorte)


    I need to be able to include a full HTML template for the “email” field so that I can create a responsive design for mobile. Your plugin strips out any <html> and <head> tags, and puts <p> tags around any <style> or other tags I add before the design code.

    How do I disable auto-adding <p> tags and removing <html> and <head> tags so that I can make my emails responsive? I tried an html shortcode generator to insert the HTML/CSS I needed, but your plugin still added <p></p> around the shortcode text.

    Please advise.

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author ays-pro

    (@ays-pro)

    Dear @dconsorte,

    Thank you for the topic.

    It is one of the rules of the HTML that you don’t have the right to type the html tag in HTML, like the head and body tags.

    We sanitize the Email HTML via the WordPress Default wp_kses_post() function.
    WordPress removes the odd tags while sanitizing, at the moment, html, head, body.

    As to the p tag, that is being added automatically, from the beginning, the plugin is designed in the way to add that tags while saving.

    In order to achieve your desired scenario and make your preferred changes, you need to customize the plugin on your own.

    By the way, please contact us via this form for premium support. Our customer care specialists will always be happy to help you.

    Commercial products are not supported in these forums. ?

    Thank you.

    Thread Starter dconsorte

    (@dconsorte)

    Yeah, the tags are necessary for email to format correctly. It’s the only way to allow for responsive, designed layouts that I know of. You must include doctype, HTML, and HEAD tags in an email template in order to embed fluid layout & css styles. Here are a few helpful links:
    https://webdesign.tutsplus.com/articles/creating-a-simple-responsive-html-email–webdesign-12978
    https://www.copernica.com/en/documentation/how-to-create-a-responsive-html-email-from-scratch

    I’ll go to your site for premium support, thank you for such a prompt response. Your plugin is great and with some tweaks it will be even better.

    Plugin Support Jasmine

    (@hyenokian)

    Dear @dconsorte,

    Thank you for your reply and kind words.
    Customer satisfaction is the highest priority for us and we always do our best to satisfy the needs of our customers.

    Please contact us via this form for further investigation and premium support. Our customer care specialists will do their best to find the solution to your question special for you.

    Commercial products are not supported in these forums. ?

    Thank you.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘how to stop adding & removing email tags’ is closed to new replies.