• Hello,
    Please help me enable comments on our site.

    I’ve inherited a website with a custom wordpress design and I’ve spent hours combing the archives for help– no luck. All the settings are set for comments, but nothing shows up.

    http://www.vancouverfruittree.com

    Here’s the page.php info:

    <?php get_header(); ?>
    
    <!-- start page -->
    <div id="page">
    	<!-- start content -->
    	<div id="content">
    <!-- Start of  Blog Entry -->
    							<?php
    								if (have_posts())
    								{
    										 while (have_posts())
    										 {
    										 the_post();
    							?>
    	<	<div id="page-<?php echo the_ID();?>" class="<?php echo $alternate;?>">
    													<h2><a href="<?php the_permalink() ?>"><?php the_title(); ?></a></h2>
    													<!--
    													<h4><a href="<?php the_author_url(); ?>"><?php the_author() ?></a> at <?php the_date() ?> : <?php the_time() ?>  <?php edit_post_link(__('Edit This')); ?></h4>
    													-->
    													<?php if ( get_post_meta($post->ID, 'heading', true) )
    													{
    													?>
    														<h4><?php echo get_post_meta($post->ID, "heading", $single = true); ?></h4>
    													<?php
    													}
    													?>													
    
    													<div class="post-body">
    													<?php the_content('Read the rest of this entry &raquo;'); ?>
    													</div>
    										</div>
    							<?php
    										 }
    							?>
    
    							<?php
    								}else{
    								// No Post Found
    								?>
    
    								<div id="errobox" style="padding-left:10px">
    									<h2 class="center">404 Not Found</h2>
    									<p class="center">Sorry, but you are looking for something that isn't here.</p>
    								</div>	
    
    								<?php
    								}
    							?>
    	<!-- end of content -->
    	</div>
    	<?php get_sidebar(); ?>
    </div>
    <div class="postline"></div>
    
    <?php comments_template(); ?>
    
    <?php endwhile; endif; ?>
    
    <!-- end of start page -->
    <?php get_footer(); ?>
    <?php comments_template(); ?>

Viewing 1 replies (of 1 total)
  • Are there any other page template files with the the theme?

    The code you provided looks like it might be the default page template, but I don’t think that’s the one being used.

    The one provided has <div id="content"> near the top, but if I view source on the pages of http://www.vancouverfruittree.com, it has <div id="content_noSidebar"> instead.

Viewing 1 replies (of 1 total)

The topic ‘How to activate comments- custom design’ is closed to new replies.