Page Title being added after each post?
-
I created a blog at: http://www.starfalling.ca/news-3/
My problem is the word “News” with the big background that is appearing after each post. I want to delete that. Here is the code:
<?php /* Template Name: Blog */ ?> <?php get_header(); $temp = $wp_query; $wp_query= null; $wp_query = new WP_Query(); $wp_query->query('showposts=3'.'&paged='.$paged); while ($wp_query->have_posts()) : $wp_query->the_post(); ?> <div id="secondaryPageTitle"> <h2>News</h2> </div> <div class="wrapper"> <div id="sidebar"> <?php get_sidebar(); ?> </div> <div id="blogBody"> <div <?php post_class() ?> id="post-<?php the_ID(); ?>"> <h2 class="postTitle"><a href="<?php the_permalink() ?>"><?php the_title(); ?></a></h2> <br /> <div class="postDetails"><?php include (TEMPLATEPATH . '/inc/meta.php' ); ?></div> <br /> <div class="entry"> <?php the_content(); ?> </div> </div> <?php endwhile; $wp_query = null; $wp_query = $temp;?> </div> </div> </div> </div><!-- wrapper --> </div><!-- main --> </div> <!-- cover --> <div class="wrapper"> <div id="contactForm"> <form method="POST" name="contactform" action="http://starfalling.ca/contact-form-handler.php"> <div> <label for='client'>Name:</label> <input type="text" name="name"> </div> <div> <label for='contact'>Email:</label> <input type="text" name="email"> </div> <div> <label for='message'>Message:</label> <textarea name="message"></textarea> </div> <p class="submitBtn"><input style="cursor: pointer;" type='submit' name='save' value=Send /></p> </form> </div> <div id="contact"> <h3>Contact</h3> <br /> <p>It's always nice to hear from visitors. Give us shout! <br /> (even if it's just to say hi.)</p> <br /> <p id="phoneEmail">email: starfalling@live.ca <br /><br /> phone: (780) 952-3402</p> </div> </div><!-- wrapper --> <script language="JavaScript"> // Code for validating the form // Visit http://www.javascript-coder.com/html-form/javascript-form-validation.phtml // for details var frmvalidator = new Validator("contactform"); frmvalidator.addValidation("name","req","Please provide your name"); frmvalidator.addValidation("email","req","Please provide your email"); frmvalidator.addValidation("message","req","Please write a message"); /*frmvalidator.addValidation("email","req","Please provide your email");*/ /*frmvalidator.addValidation("email","email","Please enter a valid email address");*/ </script> <div style="position: absolute; top: 100%; margin: 100% 0 0 0;" id="contactDestination"></div> </body> </html>
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Page Title being added after each post?’ is closed to new replies.