WordPress.org

Support

Support » Requests and Feedback » Parse error: syntax error, unexpected ‘<‘

Parse error: syntax error, unexpected ‘<‘

  • My blog, http://www.triadwholesaledeals.com has an error in the sidebar php on line 17. Here is a copy of it:

    <div id=”allsidebars”>
    <?include”translate.php”?>
    <div class=”sidebarswrapper”><div class=”sidebars”>

    <?php if (get_option(‘greeting’) || get_option(‘welcomemessage’)) {
    echo “<div id=’welcome’>”;
    if (get_option(‘greeting’)) {
    echo “<h2>” . get_option(‘greeting’) . “</h2>”;
    }
    if (get_option(‘welcomemessage’)) {
    echo “<p>” . get_option(‘welcomemessage’) . “</p>”;
    }
    echo “</div>”;
    } else {
    echo “<div id=’welcome’><h2>Welcome!</h2><p>To customize this message, please go to your Admin panel and find Presentation->Theme Options. Modify at will!</p></div>”;
    }
    <div class=”sidebarsbottom”></div>
    </div> <!– Closes Sidebars –>
    </div> <!– Closes SidebarsWrapper –>

    Any assistance would be greatly appreciated. Thanks

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Parse error: syntax error, unexpected ‘<‘’ is closed to new replies.