• wouterdoorn

    (@wouterdoorn)


    Hi,

    I use Noptin in a multisite setup with subfolders for different languages. The Dutch website has a main theme and the English website is made using a child-theme. I made custom email-templates using your documentation. The emails are send to the subscribers of each seperate website. Somehow the email-body.php of the child-theme is ignored for subscribers that register on that site. Any ideas how to fix this?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Brian Mutende

    (@picocodes)

    Hi @wouterdoorn,

    Send us the relative paths to the overridden template files in the child theme.

    For example,

    your-child-theme/noptin/email-templates/default/email-body.php
    Thread Starter wouterdoorn

    (@wouterdoorn)

    buddho-child/noptin/email-templates/plain/email-body.php
    Plugin Author Brian Mutende

    (@picocodes)

    I’m unable to reproduce this on a multisite setup where one site has a child theme and the other uses a parent theme. The overridden template works in both cases.

    Here’s the path I’m using in the child theme.

    wp-content/themes/basewp-child/noptin/email-templates/plain/email-body.php

    Try deleting the email-body.php files from both your child theme and parent theme then only override the email-header.php and email-footer.php files.

    Thread Starter wouterdoorn

    (@wouterdoorn)

    Strange… I copied the code for the body in to the email-header.php. The test emails seem to work correctly, hopefully this will also be the case for the newsletter (the test emails worked before as wel, but the actual newsletter had the aforementioned issue).

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Custom email template not working for site with child-theme’ is closed to new replies.