Title: infoway
Last modified: August 20, 2016

---

# infoway

 *  Resolved [jonwainwright](https://wordpress.org/support/users/jonwainwright/)
 * (@jonwainwright)
 * [13 years ago](https://wordpress.org/support/topic/infoway/)
 * Hi guys im trying to create a child theme for the infoway theme but it keeps 
   coming up with the following error
    “ Warning: require_once(/home/content/24/
   9351424/html/websites/Motortrade/wp-content/themes/infoway-child/functions/theme-
   options.php) [function.require-once]: failed to open stream: No such file or 
   directory in /home/content/24/9351424/html/websites/Motortrade/wp-content/themes/
   infoway-child/functions.php on line 8
 * Fatal error: require_once() [function.require]: Failed opening required ‘/home/
   content/24/9351424/html/websites/Motortrade/wp-content/themes/infoway-child/functions/
   theme-options.php’ (include_path=’.:/usr/local/php5_3/lib/php’) in /home/content/
   24/9351424/html/websites/Motortrade/wp-content/themes/infoway-child/functions.
   php on line 8″
 * any ideas guys im sure what its looking for is there and ive tried moving the
   2 php files to the child theme folder that didnt work????????

Viewing 14 replies - 1 through 14 (of 14 total)

 *  [WPyogi](https://wordpress.org/support/users/wpyogi/)
 * (@wpyogi)
 * [13 years ago](https://wordpress.org/support/topic/infoway/#post-3608959)
 * Did you move the functions.php file to the child theme? If so, that’s the problem—
   please review [http://codex.wordpress.org/Child_Themes#Using_functions.php](http://codex.wordpress.org/Child_Themes#Using_functions.php)
 * Initially, the only file you need in a child theme is style.css.
 *  Thread Starter [jonwainwright](https://wordpress.org/support/users/jonwainwright/)
 * (@jonwainwright)
 * [13 years ago](https://wordpress.org/support/topic/infoway/#post-3608964)
 * so do i need to put a functions.php file in the child theme or not im confused(
   sorry)
 * i read it and i think i need a new file in the child directory but what do i 
   have to include in the file??
 *  [WPyogi](https://wordpress.org/support/users/wpyogi/)
 * (@wpyogi)
 * [13 years ago](https://wordpress.org/support/topic/infoway/#post-3608965)
 * No, not unless you are trying to change something in the functions file – are
   you?
 *  Thread Starter [jonwainwright](https://wordpress.org/support/users/jonwainwright/)
 * (@jonwainwright)
 * [13 years ago](https://wordpress.org/support/topic/infoway/#post-3608968)
 * no i just made a stylesheet in my theme like i useualy do and when i tried to
   preview the theme that was the error that i got?
 *  [WPyogi](https://wordpress.org/support/users/wpyogi/)
 * (@wpyogi)
 * [13 years ago](https://wordpress.org/support/topic/infoway/#post-3608969)
 * Yep, so then just take out that copy of the functions file – you don’t need it
   in there and it’s causing the errors.
 *  Thread Starter [jonwainwright](https://wordpress.org/support/users/jonwainwright/)
 * (@jonwainwright)
 * [13 years ago](https://wordpress.org/support/topic/infoway/#post-3608971)
 * i havent got one in there?
 *  Thread Starter [jonwainwright](https://wordpress.org/support/users/jonwainwright/)
 * (@jonwainwright)
 * [13 years ago](https://wordpress.org/support/topic/infoway/#post-3608976)
 * i think ink theme have made it this way so you have to pay for the theme
 *  [WPyogi](https://wordpress.org/support/users/wpyogi/)
 * (@wpyogi)
 * [13 years ago](https://wordpress.org/support/topic/infoway/#post-3608978)
 * Hmm, that’s weird then. And since there is a free version on the repository on
   this site, it should be okay. But some themes won’t work with child themes – 
   so that MIGHT be the case here. Let me download and look at the theme for a minute…
 * In the meantime, what do you have in the child theme stylesheet and is the file
   structure correct? i.e. the child theme is NOT inside the parent theme folder–
   it’s next to it.
 *  Thread Starter [jonwainwright](https://wordpress.org/support/users/jonwainwright/)
 * (@jonwainwright)
 * [13 years ago](https://wordpress.org/support/topic/infoway/#post-3608985)
 * no its in the following folder /wp-content/themes/infoway-child
 * in the folder i have the following.
    footer.php header.php style.css
 * style.css has the follwoing
    /* Theme Name: Infoway Child Theme URI: http: //
   motortrader-insurance.com/ Description: My Infoway child theme. Author: Jon Wainwright
   Author URI: http: //onebear.co.uk/ Template: infoway Version: 0.1 */
 * [@import](https://wordpress.org/support/users/import/) url(“../infoway/style.
   css”);
 *  [WPyogi](https://wordpress.org/support/users/wpyogi/)
 * (@wpyogi)
 * [13 years ago](https://wordpress.org/support/topic/infoway/#post-3608986)
 * That all looks perfect – so I’m thinking maybe this theme is not child friendly
   🙁 or there is a problem with the parent theme functions.php file. Do you have
   the current version of the theme and of WP? Can you try replacing the parent 
   theme functions file with a new copy of it – just download the theme to your 
   computer and use FTP to replace it.
 *  Thread Starter [jonwainwright](https://wordpress.org/support/users/jonwainwright/)
 * (@jonwainwright)
 * [13 years ago](https://wordpress.org/support/topic/infoway/#post-3608990)
 * ive got the most recent updates of both wordpress and the theme i have re installed
   the theme a couple of times but it seems that it wants the functions folder to
   be in the child folder so i might try copying the whole think in to the child
   folder do you think that would work?
 *  [WPyogi](https://wordpress.org/support/users/wpyogi/)
 * (@wpyogi)
 * [13 years ago](https://wordpress.org/support/topic/infoway/#post-3608991)
 * Yeah, I think the way the theme files are structured precludes a child theme 
   from working right. It’s not ideal, but yes, you can generally change the name
   on a theme folder – which will keep it from getting overwritten when updated 
   but it also won’t get updates that might be important… So that’s really up to
   you 🙂 .
 *  Thread Starter [jonwainwright](https://wordpress.org/support/users/jonwainwright/)
 * (@jonwainwright)
 * [13 years ago](https://wordpress.org/support/topic/infoway/#post-3609002)
 * i aint got time today i think that will be a bank holiday monday job lol!
 * Thanks for all your help i really appreciate it
 *  Thread Starter [jonwainwright](https://wordpress.org/support/users/jonwainwright/)
 * (@jonwainwright)
 * [13 years ago](https://wordpress.org/support/topic/infoway/#post-3609215)
 * i managed to sort this out now thank you mate for your help

Viewing 14 replies - 1 through 14 (of 14 total)

The topic ‘infoway’ is closed to new replies.

 * 14 replies
 * 2 participants
 * Last reply from: [jonwainwright](https://wordpress.org/support/users/jonwainwright/)
 * Last activity: [13 years ago](https://wordpress.org/support/topic/infoway/#post-3609215)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
