Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING
-
Hello everyone,
being quite new to php and wordpress I am having trouble figuring out how to fix this error and I would be very grateful if someone could point me in the right direction:Parse error: syntax error, unexpected ”; // text for the ” (T_CONSTANT_ENCAPSED_STRING) in /home/u647571369/public_html/v1/wp-content/themes/moviegue/framework/breadcrumbs.php on line 3
Here is the default breadcumb code:
<?php function wk_breadcrumbs() {
$delimiter = ‘>’;
$home = ‘Home’; // text for the ‘Home’ link
$before = ‘<span class=”current”>’; // tag before the current crumb
$after = ‘</span>’; // tag after the current crumbecho ‘<div xmlns:v=”https://rdf.data-vocabulary.org/#” class=”Breadcrumb”>’;
global $post;
$kategori = get_the_category();
$homeLink = get_bloginfo(‘url’);
echo ‘<span typeof=”v:Breadcrumb”>‘ . $home . ‘</span> ‘ . $delimiter . ‘ ‘;
echo ‘<span typeof=”v:Breadcrumb”>term_id ) . ‘” rel=”v:url” property=”v:title”>’.$kategori[0]->name.’</span>’;
echo ‘</div>’;
} // end wk_breadcrumbs() ?>
- The topic ‘Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING’ is closed to new replies.