Hi.
Do you are testing it from Localhost? or a public domain?
Regards
hi its on a public domain
Hi.
Could you send a test email to alex [at] gonzalesc.org
Regards
Hi
The logo url that it send by email is :
/wp-content/uploads/2018/07/Fyne-Audio-Colour-RGB200PX.png
Without domain (is wrong).
In your customizer, does the logo appear with this url too?
Other question, in your Media Library, can you see if the url is complete? with domain?
Regards
Hi yes it appears that this is how it is in both the media library and in the customizer – they are both relative links.
Is there a way to resolve this issue?
thanks
Hi
This is a issue in your WordPress, you can deactivate email template plugin and you will see that the url in your media library still with relative url.
I suggest you review the site_url and home_url variables in your wp_options databases or in your setting -> general.
Regards
I have looked in the setting>general and cant see anything untoward. I will investigate the other database suggestions with the host and see what they say.
Is there a way to overide in the plug in code and either specify the image url or to add the domain into it?
Hi.
You can use a filter:
add_filter( 'mailtpl/templates/header_logo', 'custom_logo', 10, 1 );
function custom_logo($url_logo) {
$url_logo = 'https://www.youweb.com/wp-content/uploads/2018/07/Fyne-Audio-Colour-RGB200PX.png';
return $url_logo;
}
If you like the plugin / support please leave a short review. It’s a tremendous help for us!
Thanks
perfect that fixed it. Many thanks for the great plugin and support.