Hello:
I hope that I am posting this in the correct forum. I am currently working on integrating a wordpress blog into a website. I am very new to PHP and slogging my way through but ran into a problem almost immediately. I am getting two error messages. I know that they are most likely something as simple as a semicolon that is not needed, I have no idea how to fix them. Hopefully someone here can help My code is:
[php]<?php
get_header(); ?>
<?php get_template_part( 'content', get_post_format() ); ?>
<?php endwhile; ?>
<?php twentyeleven_content_nav( 'nav-below' ); ?>
<?php else : ?>
<article id="post-0" class="post no-results not-found">
<header class="entry-header">
<h1 class="entry-title"><?php _e( 'Nothing Found', 'twentyeleven' ); ?></h1>
</header><!-- .entry-header -->
<div class="entry-content">
<p><?php _e( 'Apologies, but no results were found for the requested archive. Perhaps searching will help find a related post.', 'twentyeleven' ); ?></p>
<?php get_search_form(); ?>
</div><!-- .entry-content -->
</article><!-- #post-0 -->
<?php endif; ?>
</div>
</div>
<div class="row">
<?php get_footer(); ?>[/php]
My errors are on lines 12 and 25.
Any help is greatly appreciated.
Cheers,
Sarah