0 Replies Latest reply on Nov 15, 2011 2:47 PM by Ryan Dolan

    Cant edit syntax error, please help!

    Ryan Dolan

      New to dreamweaver and intergrating a wordpress blog into my site and I got a syntax error. The problem and question is how do i fix the error. Everytime i try to edit it or delete something the program dosent let me. Any help would be greatly appreciated. Below you will see i marked line 55 below.




      * The main template file.


      * This is the most generic template file in a WordPress theme

      * and one of the two required files for a theme (the other being style.css).

      * It is used to display a page when nothing more specific matches a query.

      * E.g., it puts together the home page when no home.php file exists.

      * Learn more: http://codex.wordpress.org/Template_Hierarchy


      * @package WordPress

      * @subpackage Twenty_Eleven



      get_header(); ?>


      <div id="wrapper">

        <div id="main_content"><!-- InstanceBeginEditable name="Page Title" -->

          <div id="maincontent_heading">

            <h2>Page Title</h2>


        <!-- InstanceEndEditable --><!-- InstanceBeginEditable name="content" -->

        <div id="content"><?php if (have_posts()) : ?>


      <?php while (have_posts()) : the_post(); ?>


      <div <?php post_class() ?> id="post-<?php the_ID(); ?>">

      <h2><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></a></h2>

      <small><?php the_time('F jS, Y') ?> <!– by <?php the_author() ?> –></small>



      <?php the_content('Read the rest of this entry &raquo;'); ?>



      <p><?php the_tags('Tags: ', ', ', '<br />'); ?> Posted in <?php the_category(', ') ?> | <?php edit_post_link('Edit', ", ' | '); ?> <?php comments_popup_link('No Comments &#187;', '1 Comment &#187;', '% Comments &#187;'); ?></p>



      <?php endwhile; ?>



      <div><?php next_posts_link('&laquo; Older Entries') ?></div>

      <div><?php previous_posts_link('Newer Entries &raquo;') ?></div>



      <?php else : ?>


      <h2>Not Found</h2>

      <p>Sorry, but you are looking for something that isn't here.</p>

      <?php get_search_form(); ?>


      <?php endif; ?>



        <!-- InstanceEndEditable --></div>

        <div id="sponsors_bar">      -----------------> this is the line its calling a syntax error

          <div id="sponsor_heading">



          Logos go here </div></div>


      <?php get_footer(); ?>