Forums

[resolved] Lesterchan WP-Email question (7 posts)

  1. Madcore
    Member
    Posted 6 years ago #

    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?

  2. Kafkaesqui
    Moderator
    Posted 6 years ago #

    Change

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

    to

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

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

  3. Madcore
    Member
    Posted 6 years ago #

    It work perfect!!! Thanks.

  4. Lester Chan
    Member
    Posted 6 years ago #

    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.

  5. Kafkaesqui
    Moderator
    Posted 6 years ago #

    "sorry about the messy structure of my plugins"

    Never be sorry about something that works. ;)

  6. Madcore
    Member
    Posted 6 years ago #

    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.

  7. Lester Chan
    Member
    Posted 6 years ago #

    thanks for the support =)

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.