Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

PHP is pissing me off.

Name: Anonymous 2012-08-13 7:54

Alright /prog/ I've been trying to figure out this problem for a while, and I'm not getting anywhere. I get and "unnexpected $End" error everytime and it always says on line 35/36/ (Where <?php get_footer(); ?> is) I need help. Thanks.

Also, I know that if I were to check this source in a checker by it self it would get the error because it doesn't know about the other files, but even on my site, I get the same error.

<?php get_header(); ?>

    <?php
    if(is_page(array('services','computer-repair','web-design','support','pricing'))) {
      wp_nav_menu(array( 'theme_location' => 'menu-2'));
    }
    elseif(is_page(array('about','staff'))) {
      wp_nav_menu(array('theme_location' => 'menu-3'));
    }
    elseif(is_page(array('contact','location'))) {
      wp_nav_menu(array( 'theme_location' => 'menu-4' ));
    }
    else {
      if(! is_page(array('home','front-page'))) {
        wp_nav_menu(array('theme_location' => 'menu-5'));
    }
    ?>
   
  <section id="primary">
    <?php if (have_posts()) : while (have_posts()) : the_post(); ?>
       
      <article class="page" id="post-<?php the_ID(); ?>">

        <div class="entry">

          <?php the_content(); ?>

          <?php wp_link_pages(array('before' => 'Pages: ', 'next_or_number' => 'number')); ?>

        </div>

      </article>

      <?php endwhile; endif; ?>
  </section>

<?php get_footer(); ?>

Name: Anonymous 2012-08-13 7:56


Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List