Support » Plugin: WPtouch » [Plugin: WPtouch] Loading TEMPLATEPATH files

  • Resolved tvharms

    (@tvharms)


    To load reused files in my theme I like to use the following code:
    <?php include (TEMPLATEPATH . ‘/includes/my_file.php’); ?>

    Standard practice as far as I know, but wptouch does not load any included files that use this code.

    Any thoughts on possible fixes or has anyone run across this before?

    http://wordpress.org/extend/plugins/wptouch/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author BraveNewCode Inc.

    (@bravenewcode)

    WPtouch loads its own theme, so for it, TEMPLATEPATH is the path to the wptouch theme folder, not the desktop theme. You’ll need to add the files to WPtouch’s theme folder as well.

    Please note: this is unsupported. For support doing so please upgrade to WPtouch Pro, which supports child themes and copied themes that survive upgrades.

    Thanks

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Plugin: WPtouch] Loading TEMPLATEPATH files’ is closed to new replies.