Bad move, I fear! Changed one line of CSS, and then reset and the site is shot!
-
Hi,
I went to the Custom Code section of the parent theme (Genesis), and changed one line, and now the whole site is affected, and I am getting this error message…
Parse error: syntax error, unexpected ‘/’ in /homepages/39/d353228821/htdocs/eqwp/wp-content/uploads/prose/custom.php on line 10
Here is the line after I changed the name of the designer…
I just replaced the previous designer’s line with mine. The first Parse error message said the problem was on line 10, and now I am all freaked that I have completely messed the site up. I tried to reverse my mistake, by modifying a different line(echo date(‘Y’);
echo ‘Marketing By (Web)Design·
echo ‘</p></div>’;), and I got this…Parse error: syntax error, unexpected ‘href’ (T_STRING), expecting ‘,’ or ‘;’ in /homepages/39/d353228821/htdocs/eqwp/wp-content/uploads/prose/custom.php on line 10
I would really appreciate any help I can get from this forum, though I have not had great luck resolving other problems here.
Fingers crossed!
Steve
ps -here is the whole CSS Custom Functions bit of code…
<?php
/** Do not remove this line. Edit functions below. */
/** Customize the credits */
add_filter(‘genesis_footer_creds_text’, ‘custom_footer_creds_text’);
function custom_footer_creds_text() {
echo ‘<div class=”creds”><p>’;
echo ‘Copyright © ‘;
echo date(‘Y’);
echo ‘Marketing By (Web)Design·
echo ‘</p></div>’;
/** Customize the entire footer */
remove_action( ‘genesis_footer’, ‘genesis_do_footer’ );
add_action( ‘genesis_footer’, ‘child_do_footer’ );
function child_do_footer() {
?>
<p>© Copyright 2014 Equinox Acupuncture & Massage · All Rights Reserved</p>
<?php
}/** Remove Header */
remove_action( ‘genesis_header’, ‘genesis_do_header’ );
}
- The topic ‘Bad move, I fear! Changed one line of CSS, and then reset and the site is shot!’ is closed to new replies.