Greetings All,
I am THE ULTIMATE NEWBIE!! I was updating my word press document and received the following error:
Parse error: syntax error, unexpected T_STRING in /home/pqceo1/public_html/wp-content/themes/rev/home.php on line 38
I researched onlin (google - that's how I got here) and it appears to not be as difficult to fix as I thought. However, since I am new to this it is a bit challenging for me. I'm ready to learn!!
I would greatly appreciate it if someone could look at the following and help me locate the error. I thought it would be best to paste the entire code so you can see what I'm talking about. This is a time sensitive project.
I thank you in advance for your assistance.
<?php get_header(); ?>
<div id="content">
<div id="homepage">
<div id="homepageleft">
<div class="domtab">
<ul class="domtabs">
<li class="first"><a href="#featured">PQ Books</a></li>
<li><a href="#section1">PQ Films</a></li>
<li><a href="#section2">PQ People</a></li>
<li><a href="#section3">PQ Internet Radio</a></li>
</ul>
<div class="domstory">
<h3 id="featured">Black Fatherhood: Reconnecting with our Legacy</h3><a href="http://www.amazon.com/Black-Fatherhood-Reconnecting-Our-Legacy/dp/097299940X/ref=sr_1_2?ie=UTF8&s=books&qid=1197104403&sr=1-2">Purchase your copy here!</a>
<?php $recent = new WP_Query("cat=1&showposts=1"); while($recent->have_posts()) : $recent->the_post();?>
<b><a href="<?php the_permalink() ?>" rel="bookmark"><?php the_title(); ?></a></b>
<?php the_content(__('Read more »'));?><div style="clear:both;"></div>
<?php endwhile; ?>
</div>
<div class="domstory">
<h3 id="section1">Coming Soon! New short film "Cycle of Civil Insanity" Stay tuned!</h3>
<?php $recent = new WP_Query("cat=1&showposts=1"); while($recent->have_posts()) : $recent->the_post();?>
<b><a href="<?php the_permalink() ?>" rel="bookmark"><?php the_title(); ?></a></b>
<?php the_content(__('Read more »'));?><div style="clear:both;"></div>
<?php endwhile; ?>
</div>
<div class="domstory">
<h3 id="section2">"Know a Pure Quality Person? Contact us to appear on our site."</h3>
<?php $recent = new WP_Query("cat=1&showposts=1"); while($recent->have_posts()) : $recent->the_post();?>
<b><a href="<?php the_permalink() ?>" rel="bookmark"><?php the_title(); ?></a></b>
<?php the_content(__(Read more »'));?><div style="clear:both;"></div>
<?php endwhile; ?>
</div>
<div class="domstory">
<h3 id="section3">Listen to "Our Families, Our Communities" internet talk show LIVE starting January 2008!</h3><a href="http://www.blogtalkradio.com/PQInternetRadio">Listen to archives!</a>
<?php $recent = new WP_Query("cat=1&showposts=1"); while($recent->have_posts()) : $recent->the_post();?>
<b><a href="<?php the_permalink() ?>"rel="bookmark"><?php the_title(); ?></a></b>
<?php the_content(__('Read more »'));?><div style="clear:both;"></div>
<?php endwhile; ?>
</div>
</div>
<div class="video">
<h2>PQ Featured Film</h2>
<a href="http://myspacetv.com/index.cfm?fuseaction=vids.individual&videoid=649517">Black Fatherhood: Reconnecting With Our Legacy</a><br><embed src="http://lads.myspace.com/videos/vplayer.swf" flashvars="m=649517&v=2&type=video" type="application/x-shockwave-flash" width="300" height="300"></embed><br><a href="http://myspacetv.com/index.cfm?fuseaction=vids.addToProfileConfirm&videoid=649517&title=Black Fatherhood: Reconnecting With Our Legacy"></a>
</div>
</div>
<div id="homepageright">
<h2>purEquality Entertainment, LLC</h2>
<?php $recent = new WP_Query("cat=1&showposts=1"); while($recent->have_posts()) : $recent->the_post();?>
<b><a href="<?php the_permalink() ?>" rel="bookmark"><?php the_title(); ?></a></b>
<?php the_content_limit(160, "Read more »"); ?>
<div class="hppostmeta">
<p><?php the_time('F j, Y'); ?> | <?php comments_popup_link('Leave a Comment', '1 Comment', '% Comments'); ?></p>
</div>
<?php endwhile; ?><br />
<h2>Pure Quality Film Works</h2>
<?php $recent = new WP_Query("cat=1&showposts=1"); while($recent->have_posts()) : $recent->the_post();?>
<b><a href="<?php the_permalink() ?>" rel="bookmark"><?php the_title(); ?></a></b>
<?php the_content_limit(160, "Read more »"); ?>
<div class="hppostmeta">
<p><?php the_time('F j, Y'); ?> | <?php comments_popup_link('Leave a Comment', '1 Comment', '% Comments'); ?></p>
</div>
<?php endwhile; ?><br />
<h2>Pure Quality Publishing</h2>
<?php $recent = new WP_Query("cat=1&showposts=1"); while($recent->have_posts()) : $recent->the_post();?>
<b><a href="<?php the_permalink() ?>" rel="bookmark"><?php the_title(); ?></a></b>
<?php the_content_limit(160, " Read more »"); ?>
<div class="hppostmeta">
<p><?php the_time('F j, Y'); ?> | <?php comments_popup_link('Leave a Comment', '1 Comment', '% Comments'); ?></p>
</div>
<?php endwhile; ?><br />
<h2>PQ People</h2>
<?php $recent = new WP_Query("cat=1&showposts=1"); while($recent->have_posts()) : $recent->the_post();?>
<b><a href="<?php the_permalink() ?>" rel="bookmark"><?php the_title(); ?></a></b>
<?php the_content_limit(160, "Read more »"); ?>
<div class="hppostmeta">
<p><?php the_time('F j, Y'); ?> | <?php comments_popup_link('Leave a Comment', '1 Comment', '% Comments'); ?></p>
</div>
<?php endwhile; ?><br />
<h2>PQ Internet Talk Radio</h2>
<?php $recent = new WP_Query("cat=1&showposts=1"); while($recent->have_posts()) : $recent->the_post();?>
<b><a href="<?php the_permalink() ?>" rel="bookmark"><?php the_title(); ?></a></b>
<?php the_content_limit(160, "Read more »"); ?>
<div class="hppostmeta">
<p><?php the_time('F j, Y'); ?> | <?php comments_popup_link('Leave a Comment', '1 Comment', '% Comments'); ?></p>
</div>
<?php endwhile; ?><br />
</div>
</div>
<?php include(TEMPLATEPATH."/sidebar.php");?>
</div>
<!-- The main column ends -->
<?php get_footer(); ?>