- This topic has 1 reply, 2 voices, and was last updated 9 years, 9 months ago by .
- The forum ‘General Discussion’ is closed to new topics and replies.
These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.
I'm new to the forum. While attempting to add a favicon code snippet to my functions.php, I am receiving this error.
Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING in /home/classy4/public_html/wp-content/themes/blissful/functions.php on line 15
functions.php looks like this...
/** Start the engine **/
require_once( TEMPLATEPATH . '/lib/init.php' );
/** Child theme (do not remove) */
define( 'CHILD_THEME_NAME', 'Blissful Theme' );
define( 'CHILD_THEME_URL', 'http://www.studiopress.com/themes/blissful' );
/** Add support for custom background */
/** Add support for custom header */
add_theme_support( 'genesis-custom-header', array( 'width' => 960, 'height' => 120 ) );
/** Unregister 3-column site layouts */
genesis_unregister_layout( 'content-sidebar-sidebar' );
genesis_unregister_layout( 'sidebar-sidebar-content' );
genesis_unregister_layout( 'sidebar-content-sidebar' );
/** Add support for 3-column footer widgets */
add_theme_support( 'genesis-footer-widgets', 3 );
/** Add new image sizes */
add_image_size( 'mini-thumbnail', 75, 75, TRUE );
add_image_size( 'small-thumbnail', 110, 110, TRUE );
/** Reposition the Primary Navigation */
remove_action( 'genesis_after_header', 'genesis_do_nav' );
Can anyone please tell me what I'm missing? I have erased the code snippet I added and perhaps I erased something I shouldn't have. I am really new to all of this and still learning so any help would be greatly appreciated!
© 2023 WPEngine, Inc.