WordPress.org

Support

Support » How-To and Troubleshooting » [Resolved] Parse error: syntax error, unexpected '}'

[Resolved] Parse error: syntax error, unexpected '}'

Viewing 15 replies - 1 through 15 (of 19 total)
  • kjodle
    Participant

    @kjodle

    The first link you provided asks us to login. We can’t see that code from your theme editor. You’ll need to paste small sections here (between backticks, please) or larger portions in pastebin.

    Your problem is most likely that you simply have an extra “}” or you are missing an opening “{“.

    You can just replace the file in question via ftp.

    in that case, the the issue could lie in the following paragraphs, because without them, my site can actually be seen, but with a broken design—>

    [ Moderator Note: Please post code or markup snippets between backticks or use the code button. As it stands, your code may now have been permanently damaged/corrupted by the forum’s parser. Or use pastebin.com instead. ]

    <?php }  else {  ?>
              <h2><a href="#"><?php _e(  'Single Click Install WordPress Theme', 'cloriato'); ?></a></h2>
          <?php } ?>
          <?php if ( inkthemes_get_option('inkthemes_slidedescription1') !='' ) {  ?>
          <p><?php echo stripslashes( inkthemes_get_option('inkthemes_slidedescription1')); ?></p>
          <?php }  else {  ?>
          <p><?php _e( 'Get Your Whole Site ready in an Instant. Just Upload the Theme and Press the Activate Button, Your whole site would be loaded with all the Dummy Content and all.', 'cloriato'); ?></p>
          <?php } ?>
    <?php }  else {  ?>
              <h2><a href="#"><?php _e( 'Single Click Install WordPress Theme', 'cloriato'); ?></a></h2>
          <?php } ?>
          <?php if ( inkthemes_get_option('inkthemes_slidedescription1') !='' ) {  ?>
          <p><?php echo stripslashes(inkthemes_get_option('inkthemes_slidedescription1')); ?></p>
          <?php }  else {  ?>
              <p><?php _e( 'Get Your Whole Site ready in an Instant. Just Upload the Theme and Press the Activate Button, Your whole site would be loaded with all the Dummy Content and all.', 'cloriato'); ?></p>
          <?php } ?>

    I need to get rid of the dummy text and the box it is in, without messing with the header pic, can it be done?

    Which code is line 32?

    my page:
    http://sunset-comfort.com/

    the current error message:
    “Parse error: syntax error, unexpected ‘}’ in /home/sunsetco/public_html/wp-content/themes/cloriato-lite/front-page.php on line 31”

    … where ‘line 31’ is where </h2> is :

    <h2><a>"><?php echo stripslashes(inkthemes_get_option('inkthemes_slideheading1')); ?></a></h2>

    …does it make any sense? Please advise.

    Can you re-post that using backslashes surrounding your code?
    E.g

    This is your code

    Alternatively, use the (code) button above your post.

    my page:
    http://sunset-comfort.com/

    the current error message:
    “Parse error: syntax error, unexpected ‘}’ in /home/sunsetco/public_html/wp-content/themes/cloriato-lite/front-page.php on line 31”

    … where ‘line 31’ is where </h2> is :

    <h2>"><?php echo stripslashes(inkthemes_get_option('inkthemes_slideheading1')); ?></h2>

    …does it make any sense? Please advise.

    issue not resolved yet, please help!

    Samuel Wood (Otto)
    WordPress.org Tech Dude

    @otto42

    Clearly, your theme was created by InkThemes. Have you tried asking on their support forums? They’d be best equipped to help you with their non-free theme.

    sunsetco – Please stop bumping.

    As Otto mentioned, that theme was created by InkThemes. It happens to be a premium theme (i.e. one you purchased) – http://www.inkthemes.com/wp-themes/cloriato-wordpress-theme/ – which comes with “Lifetime support”

    Please go ask them 🙂 We encourage you to utilize the services you purchase, in part because they’re the best resource, but also in order to allow them to keep working! Taking away their money by undercutting with free support is a little rude of us, and we don’t support purchased themes/plugins here because of that.

    Please do not consider this as bumping, but I do have to tell you that I actually was not aware that Cloriato “Lite” was a paid for theme, since I just installed it and activated it without having to pay any prior fee of any kind. I think that Cloriato (bear) is the premium one, so I am not getting support for my Lite version from InkThemes… coukd you help me please?

    esmi
    Forum Moderator

    @esmi

    The wordpress.org support forums are meant for the core application, themes and plugins that are distributed on wordpress.org.

    OK my bad then… I started looking at the WordPress themes, but since I am looking for a static website format not so bloggish, odds are that I got drifted away. Could you advise how can I get a static looking theme from WordPress and replace the current one, please?

    esmi
    Forum Moderator

    @esmi

    Most recent themes in http://wordpress.org/extend/themes/ should work with a static front page.

Viewing 15 replies - 1 through 15 (of 19 total)
  • The topic ‘[Resolved] Parse error: syntax error, unexpected '}'’ is closed to new replies.