• Resolved carrieoke13

    (@carrieoke13)


    Hi all –

    I’m using a custom theme and I’ve completely deleted <?php comments_template(); ?> on my one column page template. For some reason, the comments are still showing up. Has anyone seen this before?

    that’s my template code:

    <?php /* Template Name: One Column Template
    */ ?>
    <?php get_header(); ?>
    <div id="contentwrapperonecolumn">
    <?php /*?><?php get_sidebar(); ?><?php */?>
        <div id="onecolumn">
    <div id="content">
    	<?php if ( have_posts() ) while ( have_posts() ) : the_post(); ?>
    		<div id="post-<?php the_ID(); ?>" <?php post_class('page'); ?>>
    			<article>
    				<h1><span><?php the_title(); ?></span></h1>
    				<?php edit_post_link('<small>Edit this entry</small>','',''); ?>
    				<?php if ( has_post_thumbnail() ) { /* loades the post's featured thumbnail, requires WordPress 3.0+ */ echo '<div class="featured-thumbnail">'; the_post_thumbnail(); echo '</div>'; } ?>
    
    				<div class="post-content page-content">
    					<?php the_content(); ?>
    					<?php wp_link_pages('before=<div class="pagination">&after=</div>'); ?>
    				</div><!--.post-content .page-content -->
    			</article>
    <?php /*?>
    			<div id="page-meta">
    				<h3>Written by <?php the_author_posts_link() ?></h3>
    				<p class="gravatar"><?php if(function_exists('get_avatar')) { echo get_avatar( get_the_author_email(), '80' ); } ?></p>
    				<p>Posted on <?php the_time('F j, Y'); ?> at <?php the_time() ?></p>
    			</div><!--#pageMeta--><?php */?>
    		</div><!--#post-# .post-->
    
    	<?php endwhile; ?>
    </div><!--#content-->
    </div>
    </div>
    
    <?php get_footer(); ?>

    and this is the page that I’m working on:

    https://www.amyherzogdesigns.com/f2f/

    any ideas?

    thank you!
    Carrie

Viewing 1 replies (of 1 total)
  • Thread Starter carrieoke13

    (@carrieoke13)

    As it happens pretty much every time I post in here, I solved the problem right after I posted my question. I copied the template file and renamed it something completely different, and deleted the old template, and that did the trick.

Viewing 1 replies (of 1 total)
  • The topic ‘Comments template won't go away!’ is closed to new replies.