Email Templates

By default, emails you send with Noptin will look something like this:-

default email template

It’s simple and works well on all devices. Here is the default template used to render your email.

Noptin provides a few hooks that you can use to change sections of this email or entirely change the template.

Template Filters

You can use the following filters to change certain aspects of the default template.

noptin_email_logo_url

Filters the logo to include in the email. By default, no logo is added to your emails. You can, however, use this filter to specify a URL to your logo as shown below.

function noptin_docs_filter_logo_url( $url ){
        return 'https://example.com/path/to/logo.jpg';
}
add_filter( 'noptin_email_logo_url', 'noptin_docs_filter_logo_url' );

noptin_email_logo

Filters the entire logo markup. Here is the markup used by the default template.

noptin_email_content

Filters the main email content.

noptin_email_footer

Filters the email footer.

Still Stuck?   How can we Help?
Updated on

Leave a Reply

Your email address will not be published. Required fields are marked *

Stop Losing Customers
Learn how to grow and monetize your email list like a pro!
Custom CSS Slide Example
Custom Animation Example
Default Animation