WordPress.org

Ready to get started?Download WordPress

Forums

Not able to include files in functions.php (1 post)

  1. spstieng
    Member
    Posted 3 years ago #

    Hi.

    I want to include a php file in my solution, and try this:
    require_once(TEMPLATEPATH.'/include/fileBrowser.php');

    But I get this error:
    Parse error: parse error, expecting `T_FUNCTION' in I:\Development\wamp\www\norwegianfashion\wp-content\themes\norwegianfashion\include\fileBrowser.php on line 14

    Now, it doesn't how many lines I add before of after line 14, it always says the same thing.

    Currently line 14 is a text that is commented out.

Topic Closed

This topic has been closed to new replies.

About this Topic