• I use iNove.
    Default is comments area on all pages and posts. If I dont want it on one page, then Ill need to uncheck in the editor on each page.

    But is it possible to make it the other way, so I have to check if I comments on those (very few) pages I want to have the comment function?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter kjagen

    (@kjagen)

    Anyone?

    Only thing I can think of:

    1. duplicate (make a copy of) this file: inove/templates/page.php

    2. give it the name page_comments, so you end up with

    page.php
    and
    page_comments.php
    (and some other files)

    3. open the original page.php and replace it with this text:

    <?php if (have_posts()) : the_post(); update_post_caches($posts); ?>
    
    	<div class="post" id="post-<?php the_ID(); ?>">
    		<h2><?php the_title(); ?></h2>
    		<div class="info">
    			<span class="date"><?php the_modified_time(__('F jS, Y', 'inove')); ?></span>
    			<?php edit_post_link(__('Edit', 'inove'), '<span class="editpost">', '</span>'); ?>
    
    			<div class="fixed"></div>
    		</div>
    		<div class="content">
    			<?php the_content(); ?>
    			<div class="fixed"></div>
    		</div>
    	</div>
    
    <?php else : ?>
    	<div class="errorbox">
    		<?php _e('Sorry, no posts matched your criteria.', 'inove'); ?>
    	</div>
    <?php endif; ?>

    it is a guess, I don’t use inove, but I make my themes myself, so I fell like it should be this result.

    Now all your existing pages you have posted earlier on should be without comments, even if you enabled them (the standard template doesn’t look for enabled (open) comments, neither will it look for existing comments to publish)

    What you then do:

    4: edit the existing (few) pages you wish to have comments: change their page template to page_comments

    5: typing new pages: choose the appropriate page template: the standard one or the one with comments

    *N.B. keep the templates when you update inove – save both files I have been talking about, and replace them after each upgrade.

    ** report any feedback, I didn’t test it, and I don’t use inove myself. You just got lucky that I post an answer to your question.

    *** So many people I don’t know myself have helped me so often. I thought of them when I read your question, and knew I could answer it… ??

    Good Luck!

    Thread Starter kjagen

    (@kjagen)

    Yes thanks a lot. I`ll look into this.
    it seems reasonable

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Comments. How to turn it around?’ is closed to new replies.