• Hi

    I have been trying to integrate my html template into a WordPress installation.
    Most things seem to be working.
    However, I am somehow getting a duplicate footer appearing, and possibly a duplicate header. These were not written into my header.php or footer.php.
    I can see them visually and in the generated source code but I do not know how to find these duplicate items or how to delete them.
    Please can somebody help me?

    This is part of the source code to illustrate the duplicate header and footers:
    `
    <!– header –>
    <div id=”mainHeader” role=”banner”>
    <div class=”container”>
    <nav class=”navbar navbar-default scrollMenu” role=”navigation”>
    <div class=”navbar-header”>
    <!– responsive navigation –>
    <button type=”button” class=”navbar-toggle” data-toggle=”collapse” data-target=”.navbar-collapse”>
    <span class=”sr-only”>Toggle navigation</span>
    <span class=”icon-bar”></span>
    <span class=”icon-bar”></span>
    <span class=”icon-bar”></span>
    </button>
    <!– Logo –>

    <img src=”http://localhost:8888/QPR/wp-content/themes/starkers-html5-master/includes/images/logo.png&#8221; alt=”blah”>
    </div>

    <div class=”collapse navbar-collapse” id=”mainMenu”>
    <!– Main navigation –>
    <ul class=”nav navbar-nav pull-right”>

    • link 1
    • link 2
    • link 3
    • link 4
    • link 5
    • <!– End main navigation –>
      </div>
      </nav>
      </div>
      </div>
      </header>
      <!– header –>

      </div></header>

      <article id=”post-4″ class=”post-4 page type-page status-publish hentry”>
      <header>
      <h2 style=”display: none;”><span class=”hidepagetitles_toggle_title”>home</span></h2>
      </header>

      <div class=”container”>
      <h3>Title</h3>
      <p>sub title</p>
      <div class=”row”>
      <div class=”col-md-8″>
      <p>There are many variations of passages of Lorem Ipsum available, but the majority have suffered alteration in some form, by injected humour, or randomised words which don’t look even slightly believable. If you are going to use a passage of Lorem Ipsum, you need to be sure there isn’t anything embarrassing hidden in the middle of text. All the Lorem Ipsum generators on the Internet tend to repeat predefined chunks as necessary, making this the first true generator on the Internet. It uses a dictionary of over 200 Latin words, combined with a handful of model sentence structures, to generate Lorem Ipsum which looks reasonable. The generated Lorem Ipsum is therefore always free from repetition, injected humour, or non-characteristic words etc.</p>
      <p>There are many variations of passages of Lorem Ipsum available, but the majority have suffered alteration in some form, by injected humour, or randomised words which don’t look even slightly believable. If you are going to use a passage of Lorem Ipsum, you need to be sure there isn’t anything embarrassing hidden in the middle of text. All the Lorem Ipsum generators on the Internet tend to repeat predefined chunks as necessary, making this the first true generator on the Internet. It uses a dictionary of over 200 Latin words, combined with a handful of model sentence structures, to generate Lorem Ipsum which looks reasonable. The generated Lorem Ipsum is therefore always free from repetition, injected humour, or non-characteristic words etc.</p>
      <p>There are many variations of passages of Lorem Ipsum available, but the majority have suffered alteration in some form, by injected humour, or randomised words which don’t look even slightly believable. If you are going to use a passage of Lorem Ipsum, you need to be sure there isn’t anything embarrassing hidden in the middle of text. All the Lorem Ipsum generators on the Internet tend to repeat predefined chunks as necessary, making this the first true generator on the Internet. It uses a dictionary of over 200 Latin words, combined with a handful of model sentence structures, to generate Lorem Ipsum which looks reasonable. The generated Lorem Ipsum is therefore always free from repetition, injected humour, or non-characteristic words etc.</p>
      </div>
      <div class=”col-md-4″><img src=”http://placehold.it/700×300&#8243; alt=””></div>
      </div>
      </div>

      <footer>
      </footer>
      </article>

      <p></p>

      <!– footer –>

      <footer id=”footerWrapper”>
      <section id=”mainFooter”>
      <div class=”container”>
      <div class=”row”>
      <div class=”col-sm-6″>
      <div class=”footerWidget”>
      <img src=”http://localhost:8888/QPR/wp-content/themes/starkers-html5-master/includes/images/logo.png&#8221; alt=”blah blah” id=”footerLogo”>
      <p>blah blah blah blah blah blah blah blah blah blah blah blah blah</p>
      </div>
      </div>

      <div class=”col-sm-3″>
      <div class=”footerWidget”>

      <h3>Blah</h3>
      <address>
      <p>
      <i class=”icon-location”></i>  blah blah
      blah blah
      <i class=”icon-phone”></i>  blah blah
      <i class=”icon-mail-alt”></i>  blah blah
      </p>
      </address>
      </div>
      </div>
      <div class=”col-sm-3″>
      <div class=”footerWidget”>
      <h3>Follow us, we are social</h3>
      <ul class=”socialNetwork”>

    • <i class=”icon-facebook-1 iconRounded”></i>
    • <i class=”icon-twitter-bird iconRounded”></i>
    • <i class=”icon-gplus-1 iconRounded”></i>
    • <i class=”icon-linkedin-1 iconRounded”></i>
    • <i class=”icon-dribbble iconRounded”></i>
    • </div>
      </div>

      </div>
      </div>
      </section>

      <section id=”footerRights”>
      <div class=”container”>
      <div class=”row”>
      <div class=”col-md-12″>
      <p>Copyright � 2015
      QPR
      / All rights reserved.</p>

      </div>

      </div>
      </div>
      </section>
      </footer>

      <!– End footer –>
      Here is a link to the test site: http://test.3dhistory.co.uk/wp/index.php/home/

      Thank you

  • The topic ‘Custom WordPress is showing a duplicate footer’ is closed to new replies.