Parse error: syntax error, unexpected T_STRING
-
I’m fairly new to wordpress and php.
I tried to edit some code and add a custom widget after <?php
this backfired and I got the error code
Parse error: syntax error, unexpected T_STRING on line 2I then removed all the code i pasted in and copied the original Brick Yard themes functions and definitions.
I’m still getting the same error! Help!
<?php
/**
* Brickyard functions and definitions.
* @package BrickYard
*@since BrickYard 1.0.0
*//**
* BrickYard theme variables.
*
*/
$brickyard_themename = “BrickYard”; //Theme Name
$brickyard_themever = “1.2.5”; //Theme version
$brickyard_shortname = “brickyard”; //Shortname
$brickyard_manualurl = get_template_directory_uri() . ‘/docs/documentation.html’; //Manual Url
// Set path to BrickYard Framework and theme specific functions
$brickyard_be_path = get_template_directory() . ‘/functions/be/’; //BackEnd Path
$brickyard_fe_path = get_template_directory() . ‘/functions/fe/’; //FrontEnd Path
$brickyard_be_pathimages = get_template_directory_uri() . ‘/functions/be/images’; //BackEnd Path
$brickyard_fe_pathimages = get_template_directory_uri() . ”; //FrontEnd Path
//Include Framework [BE]
require_once ($brickyard_be_path . ‘fw-options.php’); // Framework Init
// Include Theme specific functionality [FE]
require_once ($brickyard_fe_path . ‘headerdata.php’); // Include css and js
require_once ($brickyard_fe_path . ‘library.php’); // Include library, functions
require_once ($brickyard_fe_path . ‘widget-posts-default.php’);// Posts-Default Widget/**
* BrickYard theme basic setup.
*
*/
- The topic ‘Parse error: syntax error, unexpected T_STRING’ is closed to new replies.