Home › Forums › Newsletter Plugin Support › How to include custom social.php
Hi, i´m trying to include a custom social.php file in a custom theme. Right now, i only get the social.php file that´s in the default theme.
I’ve tried to modify the “include theme_url” to point to /web/htdocs/www.myweb.com/home/wp-content/extensions/newsletter/emails/themes/custom/social.php
But i have no luck, it shows an error or just loads the default/social.php.
What´s the correct sentence to include the extra custom files?
Thanks in advance,
It’s quicker to copy the social file content in your custom theme folder and then use
include dirname(__FILE__) . ‘/social.php’;
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