Stuff appearing multiple times on static pages.
-
Something very weird is happening on my static pages. I’m working on editting a new theme for my wordpress but on one page, the stuff is appearing twice and on another, it’s appearing three times. Here is a look at the code i’m using for the static page…
<?php require('wp-blog-header.php'); ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="https://www.w3.org/1999/xhtml"> <head profile="https://gmpg.org/xfn/11"> <meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" /> <title><?php bloginfo('name'); ?> <?php if ( is_single() ) { ?> » Blog Archive <?php } ?> <?php wp_title(); ?></title> <?php wp_head(); ?> </head> <body> <?php get_header(); ?> <div class="narrow_column"> <?php if(have_posts()) : ?><?php while(have_posts()) : the_post(); ?> <div class="post" id="post-<?php the_ID(); ?>"> <div class="entry"> *****PAGE CONTENT HERE***** </div> </div> <?php endwhile; ?> <?php include (TEMPLATEPATH . '/browse.php'); ?> <?php else : ?> <?php endif; ?> </div> <?php get_footer(); ?> </body> </html>
does anyone know the problem. If you need to see a page doing it, try going to https://anth-net.com/reviews.php but don’t click on any other links because i’m still working on the other pages.
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘Stuff appearing multiple times on static pages.’ is closed to new replies.