• 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?

    https://www.ads-software.com/extend/plugins/wptouch/

Viewing 2 replies - 1 through 2 (of 2 total)
  • 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.

    Thread Starter tvharms

    (@tvharms)

    Thanks

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