Support » Fixing WordPress » Homepage Comment form theme template integration?

  • Resolved littlecuriosity


    Hi I’m trying to integrat a comment form onto my homepage with comments appearing below it. I have next to no knowledge of php so I thought I’d try linking the standard <?php comments_template(); ?> in my index.

    But when I refreshed the website my comment the comment form did not appear. I can’t see the comment form on my homepage.

    Please could someone advise me where I’m going wrong.
    Thanks very much


    `<?php get_header(); ?>

    <div id=”maincontainer”>

    <div id=”page”>

    <div id=”id68logo”></div>
    <div id=”bglight”></div>
    <div id=”topbanner”></div>
    <div id=”id53lightbulb”></div>
    <div id=”beginquote”></div>
    <div id=”quotetext”>
    <p> <span style=”font-size:26px;”>     
    </span> <span class=”style4″>The world needs artificial light.</span><span style=”font-size:26px;”>
    <span class=”style1″>But we also need to reduce our energy consumption, lower greenhouse gases and generally decrease our carbon footprints. We need to reduce obsolescence and
    </span> <span class=”style1″>enhance re-use.</span></p>
    <p><span style=”line-height:16px;”><span class=”style1″>Technologies including Light Emitting Diodes (</span></span><span class=”style1″>LEDs</span><span class=”style1″>) and Organic Light Emitting Diodes (OLEDs) can help us do all this. They need less energy, tolerate being turned on only when needed, give exactly the right colour of light for particular applications, and are ‘light’ – in the other sense of the word – in their use of resources.       
    </span> <span style=”color:#8CAD4F;”>
    <span class=”style1″>BIS</span>

    <span class=”style2″>(Department for Business Innovation & Skills)</span>
    <br style=”text-align:center; font-size:12px;” />
    <div id=”endquote”></div>
    <div id=”id54beyonetcap”>
    <img alt=”beyonet” height=”200″ src=”” width=”243″ id=”beyonetfittingbig” /></div>
    <div id=”introducingrrect”><div class=”top”><div></div></div>
    <div class=”content”></div>
    <div class=”bottom”><div></div></div>
    <div id=”introducingsuperbulb”></div>
    <div id=”id56beyonetcap”>
    <img alt=”beyonet cap” height=”79″ src=”” width=”58″ id=”beyonetfitting” onmouseover=”FP_swapImg(1,0,/*id*/’beyonetfittingbig’,/*url*/’’,/*id*/’beyonetfitting’,/*url*/’’,/*id*/’img1′,/*url*/’’)” /></div>
    <div id=”screwcap” onclick=”FP_swapImg(1,1,/*id*/’beyonetfittingbig’,/*url*/’’,/*id*/’img1′,/*url*/’’)”>
    <img id=”img1″ alt=”screwcap” height=”80″ onmouseover=”FP_swapImg(1,0,/*id*/’beyonetfittingbig’,/*url*/’’,/*id*/’beyonetfitting’,/*url*/’’,/*id*/’img1′,/*url*/’’)” src=”sitegrindermedia/screwcap.gif” width=”59″ /></div>
    <div id=”price”></div>
    <div id=”ultraefficientlighting”></div>
    <div id=”ultralowenergy”></div>
    <div id=”ultralonglife”></div>
    <div id=”efficientbgrrect”><div class=”top”><div></div></div>
    <div class=”content”></div>
    <div class=”bottom”><div></div></div>
    <div id=”lowbgrrect”><div class=”top”><div></div></div>
    <div class=”content”></div>
    <div class=”bottom”><div></div></div>
    <div id=”longbgrrect”><div class=”top”><div></div></div>
    <div class=”content”></div>
    <div class=”bottom”><div></div></div>
    <div id=”id22lightbulb”></div>
    <div id=”energychart”></div>
    <div id=”tick1″></div>
    <div id=”lightingpointstext”>
    <p>SuperBULB uses up to 96% less electricity than a standard incandescent light bulb, and over 50% less electricity than a ‘low energy’ compact fluorescent. </p>
    <p>SuperBULB lasts up to 50,000 hours, up to 50 x longer than a standard bulb & up to 8 x longer than a compact fluorescent. </p>
    <p>SuperBULB directly replaces standard 230v bayonet & screw cap bulbs. It requires no extra wiring or transformers unlike other LED bulbs. </p>
    <p>SuperBULB lights up instantly providing full brightness with no flicker or fluorescent ‘warm up’ delay unlike a compact fluorescent. </p>
    <p>SuperBULB is 100% recyclable and does not contain mercury or other toxic materials unlike a compact fluorescent.</p>
    <div id=”ultralowenergyledtext”>
    <span style=”font-weight:Normal; ” class=”style2″>(Ultra Low Energy LED)</span></p>
    <div id=”tick2″></div>
    <div id=”compactfluorescenttext”>
    <p>Low Energy Lamp
    <span style=”font-weight:Normal; ” class=”style2″>(Compact Fluorescent)</span></p>
    <div id=”i8bulbs”></div>
    <div id=”tick3″></div>
    <div id=”i50bulbs”></div>
    <div id=”traditionalincandescenttext”>
    <p><span style=”font-weight:bold;”>Standard Bulb</span>
    <span class=”style2″>(Traditional Incandescent)</span></p>
    <div id=”tick4″></div>
    <div id=”dimmable”></div>
    <div id=”rohs”></div>
    <div id=”ce”></div>
    <div id=”tick5″></div>
    <div id=”enquiries”></div>

    <div id=”toprightcontainer”>
    <div id=”toprightbg”>

    <div id=”bottomcontainer”>
    <div id=”bottombg2″>
    <div id=”email”>

    <img id=”salesemail” alt=”email” src=”” />
    <div id=”bottombg1″>

    <?php comments_template(); ?>
    <div class=”wrapper clear”>

    <div id=”content”>

    <?php while(have_posts()) : the_post(); ?>
    <div class=”post”>
    <div class=”title”>
    <h2>“><?php the_title(); ?></h2>

    <div class=”info”>

    • <?php the_time(‘F dS, Y’) ?>
    • <?php the_category(‘, ‘); ?>
    • <?php the_author(); ?>


    <div class=”text”>
    <?php the_content(”); ?>
    <span class=”more”>“>Continue reading</span>


    <div class=”divider”></div>

    <?php endwhile; ?>

    <?php comments_template(); ?>

    <?php get_footer(); ?>

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Homepage Comment form theme template integration?’ is closed to new replies.