Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter Crozon1

    (@crozon1)

    If anyone out there can help me out I would really appreciate it. This issue has been driving me mad.

    Thread Starter Crozon1

    (@crozon1)

    Just wondering if anyone out there can point to me to any resources that will help resolve this issue. Thanks in advance.

    Thread Starter Crozon1

    (@crozon1)

    Does anyone have any questions? Maybe I’m not being clear with my explanation.

    the html is a bit in a mess at the end of your single post:

    <div id="footer" role="contentinfo">
    	<p>
    		 				<!-- 30 queries. 4.968 seconds. -->
    	</p>
    </div>
    
    </div>
    		<script type='text/javascript' src='https://crozon.ca/wordpress/wp-content/plugins/contact-form-7/jquery.form.js?ver=2.47'></script>
    <script type='text/javascript' src='https://crozon.ca/wordpress/wp-content/plugins/contact-form-7/scripts.js?ver=2.4.1'></script>
    </body>
    </html></div>
    </div>
    <div class="postfooter"></div>

    your <div class="postfooter"></div> should be somewhere further up in the code, not after the closing body and html tags.

    see also https://validator.w3.org/check?uri=http%3A%2F%2Fwww.crozon.ca%2Fblog%2Ftest-post&charset=%28detect+automatically%29&doctype=Inline&group=0

    this bit at the end of single.php:

    <?php get_sidebar(); ?>
    <?php get_footer(); ?>
    </div>
    </div>
    <div class="postfooter"></div>

    might need resorting –
    probably remove all code after the ‘get_footer’ line;
    and re-insert the <div class="postfooter"></div>
    into comments.php(?) after the
    </div><!-- #comments -->

    if you have problems sorting this, you could paste the code of comments.php into a https://wordpress.pastebin.com/ and post the link to it here.

    Thread Starter Crozon1

    (@crozon1)

    Hi alchymyth,

    Thanks so much for the response – the weirdest thing is I just checked the site, albeit on a different computer, and the issue has some how resolved itself…. I’ll keep this in mind if it ends up reverting back to the problem I was having for the last week.

    Thread Starter Crozon1

    (@crozon1)

    Okay, I was wrong – it seems the problem only exists on my home computer – so it must have something to do with the resolution, or it was just a fluke that it didn’t exist on my laptop…

    So I used alchymyth’s suggestions and did the following:

    1) Removed from my single.php:

    </div>
    </div>
    <div class="postfooter"></div>

    2) Added to my comments.php:

    </div><!-- #comments -->
    <div class="postfooter"></div>

    Everything looks good now. Thanks so much!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘RE: single.php – class=postfooter – Issue’ is closed to new replies.