Wordpress Themes - WP Forum at BFA
Click here to register or to donate.
Auto self-registration is not available here - far too many spammers. This forum has many, many backlinks and because of that there is an intense desire among spammers to drop their links here.

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme » Center area post/pages » Comments, trackbacks & pings »

How do I: Adding a disclaimer just above the comment section...


  #1  
Old Feb 12, 2009, 06:19 PM
Paleo Pat's Avatar
Paleo Pat
 
34 posts · Jan 2009
Detroit, Michigan
Send a message via ICQ to Paleo Pat Send a message via AIM to Paleo Pat Send a message via Yahoo to Paleo Pat
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
  #2  
Old Feb 12, 2009, 09:37 PM
Flynn's Avatar
Flynn
 
3,768 posts · Oct 2008
Munich, Germany
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>
  #3  
Old Feb 13, 2009, 02:52 PM
Paleo Pat's Avatar
Paleo Pat
 
34 posts · Jan 2009
Detroit, Michigan
Send a message via ICQ to Paleo Pat Send a message via AIM to Paleo Pat Send a message via Yahoo to Paleo Pat
Quote:
Originally Posted by Flynn
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.
  #4  
Old Feb 13, 2009, 03:01 PM
Flynn's Avatar
Flynn
 
3,768 posts · Oct 2008
Munich, Germany
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
  #5  
Old Feb 13, 2009, 05:24 PM
Paleo Pat's Avatar
Paleo Pat
 
34 posts · Jan 2009
Detroit, Michigan
Send a message via ICQ to Paleo Pat Send a message via AIM to Paleo Pat Send a message via Yahoo to Paleo Pat
Quote:
Originally Posted by Flynn
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.

Bookmarks

Tags
comments, disclaimer

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Date is all messed up in comment section using Dutch locale! Taquoriaan Languages & Translations 6 Feb 3, 2010 06:26 AM
Creating Contact Us, Privacy Policy, Disclaimer pages gradlebum Atahualpa 3 Wordpress theme 6 Aug 24, 2009 04:05 PM
Disclaimer on every post page possible? ldsmedia Installing & running WordPress 7 Jun 9, 2009 01:10 PM
Adding comment numbers nikkidev Comments, trackbacks & pings 2 Apr 20, 2009 04:17 AM
Problems with my comment section LisaNewton Comments, trackbacks & pings 0 Mar 12, 2009 01:29 PM


All times are GMT -6. The time now is 09:06 PM.


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