Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   Comments, trackbacks & pings (http://forum.bytesforall.com/forumdisplay.php?f=19)
-   -   How do I: Adding a disclaimer just above the comment section... (http://forum.bytesforall.com/showthread.php?t=363)

Paleo Pat Feb 12, 2009 06:19 PM

How do I: Adding a disclaimer just above the comment section...
 
Hi Flynn and all...

As you know, I am using your fantastic theme..

I want to add the following disclaimer:

Quote:

Disclaimer: The opinions expressed on this Blog; entries and in the comments section, are not necessarily those of my host, advertisers, or anyone else displayed on this Blog.
just above where the comments section begins.

My question is, where do i put it?

Thanks,

-Pat

Flynn Feb 12, 2009 09:37 PM

See comments.php line 21-24 and add it after this

PHP Code:

    <h3 id="comments"><?php // Comment Area Title 
    
comments_number(__('No comments yet to ''atahualpa'), __('1 comment to ''atahualpa'), __('% comments to ''atahualpa')); echo get_the_title();
    
?>
    </h3>


Paleo Pat Feb 13, 2009 02:52 PM

Quote:

Originally Posted by Flynn (Post 1361)
See comments.php line 21-24 and add it after this

PHP Code:

    <h3 id="comments"><?php // Comment Area Title 
    
comments_number(__('No comments yet to ''atahualpa'), __('1 comment to ''atahualpa'), __('% comments to ''atahualpa')); echo get_the_title();
    
?>
    </h3>


tried that... didn't work... didn't see it.

any other ideas? Yes, I have paged comments and the reply to comments feature enabled.

Flynn Feb 13, 2009 03:01 PM

Sorry, I just saw that the location I gave you would only be displayed after there's at least 1 comment

Put it above this instead
PHP Code:

<?php // If there are any comments
if ( have_comments() ) : ?>


And both codes (this post and the earlier post) were for WP 2.7+, for WP 2.6 and older you'd have to edit legacy.comments.php instead of comments.php

Paleo Pat Feb 13, 2009 05:24 PM

Quote:

Originally Posted by Flynn (Post 1400)
Sorry, I just saw that the location I gave you would only be displayed after there's at least 1 comment

Put it above this instead
PHP Code:

<?php // If there are any comments
if ( have_comments() ) : ?>


And both codes (this post and the earlier post) were for WP 2.7+, for WP 2.6 and older you'd have to edit legacy.comments.php instead of comments.php

Thank you kindly sir. that worked just nice like. :)


All times are GMT -6. The time now is 05:37 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.