[Theme: Genesis] Need Functions.php code
-
Hi – I’m new to Genesis, new to WordPress – was trying to add a search bar to my secondary nav menu and tried to paste some code into the functions.php section. It didn’t work, so I deleted the pasted code, but now I get this message:
Parse error: syntax error, unexpected ‘.’ in /home/jkrlaw/public_html/wp-content/themes/genesis/functions.php on line 27
There is no unexpected ‘.’ in line 27 and now my whole website is down.
Can someone please just respond with the stock code that should be in Genesis Functions.php so I can get my site back up?
Many thanks
-
You’re in the wrong forum, here is for WordPress.com blogs.
Ask for help at WordPress.org please:
http://wordpress.org/support/ -
This is what I have: <?php
/*
WARNING: This file is part of the core Genesis Framework. DO NOT edit
this file under any circumstances. Please do all modifications
in the form of a child theme.
*//**
* This file calls the init.php file, but only
* if the child theme hasn’t called it first.
*
* This method allows the child theme to load
* the framework so it can use the framework
* components immediately.
*
* This file is a core Genesis file and should not be edited.
*
* @category Genesis
* @package Templates
* @author StudioPress
* @license GPL-2.0+
* @link http://my.studiopress.com/themes/genesis
*/require_once( dirname( __FILE__ ) . ‘/lib/init.php’ );
-
-
- The topic ‘[Theme: Genesis] Need Functions.php code’ is closed to new replies.