• Resolved Mr. Alexander

    (@mr-alexander)


    Greetings,

    I have a theme file which is separated from the rest of the “pack” and I would like to enable all the usual WP functionality, which is, being able to use all the existing functions.

    The file is inside my theme folder.

    Thank you in advance for your help,

    Mr. Alexander

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter Mr. Alexander

    (@mr-alexander)

    To Clarify my question,

    What file do I need to include in order to have this capability ?

    Mr. Alexander

    deniseireland

    (@deniseireland)

    where is the /theme/xxxx folder

    deniseireland

    (@deniseireland)

    I think im in same position as Mr alexander

    Thread Starter Mr. Alexander

    (@mr-alexander)

    Greetings Denise,

    I actually found the solution to this and all you have to do is include the following the file:

    <?php require_once(‘../../../wp-config.php’); ?>

    Where wp-config.php is inside your root WP folder and your file is inside your current theme folder.

    This will enable you to use all the WP functionality inside this page.

    Hope it helps,

    Mr. Alexander

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Enablign WordPress Functionality from a separate theme file’ is closed to new replies.