WPtouch Mobile Plugin
[resolved] [Plugin: WPtouch] Loading TEMPLATEPATH files (3 posts)

  1. tvharms
    Posted 4 years ago #

    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?


  2. BraveNewCode Inc.
    Plugin Author

    Posted 4 years ago #

    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.

  3. tvharms
    Posted 4 years ago #


Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WPtouch Mobile Plugin
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic