• Resolved madcore

    (@madcore)


    I´m using Lesterchan WP-Email plugin, but I want to put wp-email.php file in my theme folder, not in the root. Looking into the plugin code, I found the file call method:

    How can I change that code to put the file into the theme folder and not on the root?

Viewing 6 replies - 1 through 6 (of 6 total)
  • Change

    include(ABSPATH . '/wp-email.php');

    to

    include(TEMPLATEPATH . '/wp-email.php');

    Note to other members: This only deals with sites using custom permalinks.

    Thread Starter madcore

    (@madcore)

    It work perfect!!! Thanks.

    sorry about the messy structure of my plugins, I will update it soon to make it neater. But wp-email.php will still stay in the root because for those users that do not use nice permalink the link will be shorter.

    sorry about the messy structure of my plugins

    Never be sorry about something that works. ;)

    Thread Starter madcore

    (@madcore)

    The problem isn´t the plugin. It work perfect without modifications. Is my theme structure, and my need to make all theme-relationated to make possible when change from one theme to another, all blog things change.

    thanks for the support =)

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Lesterchan WP-Email question’ is closed to new replies.