Parse Error

I tried to add an arrow to my call to action button and now its giving me the following error when i try to go to my site:

Parse error: syntax error, unexpected ‘.’ in /home/satyainc/public_html/site/wp-content/themes/sydney/inc/custom-header.php on line 116

I tried this:



Link to site:


THere did you add the code?

Did you add your code in a custom-css plugin or a child theme?

Oh…i added it to the actual code of the theme. I’m not really familiar with all this. But now I cant even log in to the site. But i removed everything i added and it still gave me the error.

I wrote that you have to add it to a custom css editor!!! But I supposed I could have been more specific.

You have to the code to a cusom css plugin or create a childtheme.

Here is one of many plugins:

So in the future I don’t recommend to add code directly into the theme.

Okay. Where did you put it in the first place??

I put it in the custom section. Or so i thought. I actually have a css plugin i just wasn’t thinking. It’s too early.

I’m locked out now and working on getting my FTP info so i can log into filezilla.


Im not really sure what you did but I guess you probably messed with the original code. I think that everybody done the same thing sometime. But you can fix it.

You have to enter the FTP I think. And from there restore the original code or delete the theme and then re-install it. Im not so good at this either.
But here is a tutorial I found.

Too early! It’s six in the evening there I live. hahahahah! :smiley:

I looked at the error message you got. And check my theme for that exact line. Line 116.

I didn’t have line 116. My ended at 114. here is the code for me and its starts on line 104.(inc/custom-header.php)

im not sure this is of any help …

<div id=“headimg”>
<h1 class=“displaying-header-text”> onclick=“return false;” href="<?php echo esc_url( home_url( ‘/’ ) ); ?>"><?php bloginfo( ‘name’ ); ?></h1>
<div class=“displaying-header-text” id=“desc”<?php echo $style; ?>><?php bloginfo( ‘description’ ); ?></div>
<?php if ( get_header_image() ) : ?>
" alt="">
<?php endif; ?>
endif; // sydney_admin_header_image