• Resolved iheartchopin

    (@iheartchopin)


    It’s my first time using WordPress and I’m having problems with making my own theme. When I uploaded it, WordPress keeps telling me that there is an error on my last line. Could anyone skim over my coding and tell me what could be causing the error?
    https://www.geocities.com/rubymoonss/header.txt

    The error I am getting is this:
    Parse error: syntax error, unexpected $end in /home/deutsch/public_html/wp-content/themes/1/header.php on line 67

    Thanks.

Viewing 2 replies - 1 through 2 (of 2 total)
  • 1) none of your <p>tags are closed with </p>

    2) there is no ending </table> tag

    3) down in the search section you start using <li> tags but there is no <ul></ul>surrounding that section

    4)
    this

    if ( is_home() || is_page() ) { ?>
    				<?php wp_list_bookmarks(); ?>

    is missing this at the end <?php } ?>

    5) this

    <?php 	/* Widgetized sidebar, if you have the plugin installed. */
    					if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar() ) : ?>
    			<li>
    				<?php get_search_form(); ?>
    			</li>

    needs something like this after it
    <?php endif; ?>

    Thread Starter iheartchopin

    (@iheartchopin)

    Thank you so much for your help! That definitely solved it, except my posts are showing on two places of the site:
    https://sachlichkeit.net/

    Do you know what could be causing this?

    Once again, thank you.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Header.php problem’ is closed to new replies.