I have u-design theme activated and it isn’t working with it out the box.
Warning: require_once(..themes/twentyfourteen/scripts/portfolio-item-thumbnail.php): failed to open stream: No such file or directory in .../themes/u-design/functions.php on line 1565 Fatal error: require_once(): Failed opening required '.../themes/twentyfourteen/scripts/portfolio-item-thumbnail.php' (include_path='.:/usr/lib/php5.4') in .../themes/u-design/functions.php on line 1565
that’s because line 1565 is
require_once( get_template_directory() . '/scripts/portfolio-item-thumbnail.php' );
well duh…there is no script folder in twentyfourteen
obviously the problem is checking if the file exists
if(file_exists(get_template_directory() . '/scripts/portfolio-item-thumbnail.php' ))
But why is it even accessing the udesign theme at all let alone its functions?
- The topic ‘Not working with udesign’ is closed to new replies.