Jump to content

deltamike

New Members
  • Posts

    1
  • Joined

  • Last visited

Everything posted by deltamike

  1. Hi, I tried to edit a website that was created a few years ago by a developer. This is done through wordpress. I changed an image address in the code, and on posting got the following: Parse error : syntax error, unexpected T_STRING, expecting ‘,’ or ‘;’ in /homepages/1/d191432458/htdocs/ShropshireHypnobirthing/wp-content/themes/shropshire-hypnobirthing/header.php on line 155 The change I made was on line 194 (highlighed in bold) - and the only change was to change the file from “shropshire-hypnobirthing.png” to “shropshire-hypnobirthing-new.png” When it threw up this error, I immediately changed it back. What is confusing me is that it shows up as line 155 being the error, which was not touched: The line that was changed: <img src="<?php bloginfo('template_directory'); ?>/images/shropshire-hypnobirthing.png" alt="<?php bloginfo('name'); ?> - <?php bloginfo('description'); ?>" /> And the line that is throwing up the error (plus the line before and after): case is_home() || is_page(‘4’): echo “class=“home””; break; If anyone could shine any light on this, I’d be massively appreciative, as the whole website is currently inaccessible! Thanks, Tom
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.