Parse error
-
Hi there,
Trying to remove a sidebar for one particular page, I searched WP forums and got the following PHP code:
<?php if (is_page(‘235’)) : ?>
<?php else : ?>
<?php get_sidebar(); ?>
<?php endif; ?>Which I added to the functions php file in child theme. Now I can’t access site at all – I get this error:
Parse error: syntax error, unexpected ‘<‘ in /home/aaiautoco/public_html/wp-content/themes/carzine-child/functions.php on line 11
I did manage to go in and delete this code, update but still getting error on front and back ends. Please help!!! 🙁
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
The topic ‘Parse error’ is closed to new replies.
