Home Forums Newsletter Plugin Support How to include custom social.php

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #12146
    rodrigo.caravaca
    Participant

    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,
    Rodrigo.

    #12155
    Stefano
    Keymaster

    It’s quicker to copy the social file content in your custom theme folder and then use

    include dirname(__FILE__) . ‘/social.php’;

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.