WordPress.org

Ready to get started?Download WordPress

Forums

Blaskan
[resolved] Child-Syntax Error (8 posts)

  1. dacordaro
    Member
    Posted 1 year ago #

    I seem to having the same problem as sabradavis. I get:

    Parse error: syntax error, unexpected $end in /home/content/13/9569213/html/wp-content/themes/blaskandaniellecordaro/functions.php on line 1

    My site is hosted on GoDaddy--I'm new to using their file manager, and have some limited experience with CSS, but none with PHP. I followed PerSandstrom's advice in the Readme that he included with the boiler CSS and PHP, but no good. If someone could give me more specific directions than "you probably forgot the opening php tag" I'd be grateful. I opened the PHP file, and everything looks kosher in there: <?php

    Help is much appreciated!

  2. Andrew
    Forum Moderator
    Posted 1 year ago #

    Put your functions.php code in PasteBin and link us the pastebin page. It sounds as though you're missing a } character.

  3. dacordaro
    Member
    Posted 1 year ago #

  4. dacordaro
    Member
    Posted 1 year ago #

  5. Andrew
    Forum Moderator
    Posted 1 year ago #

    I don't think this is the right link, there's a lot of code missing.

  6. dacordaro
    Member
    Posted 1 year ago #

    That's all that was in the file that came with the child page--in the php file. Here's what came with the CSS file http://pastebin.com/T90uH7dh

  7. dacordaro
    Member
    Posted 1 year ago #

    That's all that was in the file that came with the child page--in the php file. Here's what came with the CSS file http://pastebin.com/T90uH7dh

  8. Andrew
    Forum Moderator
    Posted 1 year ago #

    Then in functions.php, on line 2, add this;

    ?>
  9. dacordaro
    Member
    Posted 1 year ago #

    It worked! Thank you so much!

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic