Home › Forums › Newsletter Plugin Support › Custom Newsletter Theme Images
I’ve follwed the instructions to create my custom theme at:
I want to include some images (located at wp-content/extensions/newsletter/emails/themes/mine) on my theme.php.
I realized that there is a “plugins_url” php function. What is the php function to get the url of my custom theme folder?
That function is something different, you cannot use it. Just put the full URL of your images in the HTML.
So, I can’t have a full custom theme?
I still have to edit the HTML source by hand?
You can create your theme starting, if you need, from an already packaged theme, there is no problem. Just follow the instructions on my site.
When created the theme, you don’t need to edit the generated newsletter or you can do only small changes.
I’ve already did it.
But I need to include my wesite logo on the custom theme.
How can I accomplish this?
just add an img tag pointing to your logo, you can upload the logo in the theme folder.
I’m sorry but I’m not a php expert.
Could you please help me?
How can I modify the sentence bellow to accomplish this?
<tr style=”background: #fff; background-image: url(<?php echo plugins_url(‘site-logo.png’, __FILE__); ?>); height:80px;width:600px;” cellspacing=”0″ border=”0″ align=”center” cellpadding=”0″ width=”600″ height=”80″>
Hi background images are NOT shown by most of the email client. Anyway, put the images in your theme folder, for example:
and then refer to it as
Terms and Conditions
Sign up for latest news, important updates and special tutorials.
© 2022 Web Agile S.a.s. di Fietta Roberto - VAT IT-03809490240