GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Webmaster Q & Fuckin' A (https://gfy.com/forumdisplay.php?f=27)
-   -   Detailed Wordpress Question (https://gfy.com/showthread.php?t=940053)

CPimp 11-24-2009 02:30 AM

Detailed Wordpress Question
 
I am using wp for http://www.seotextwriting.com and http://www.adult.seotextwriting.com and would like to know how to remove the {comments on this entry are closed} thing on the posts I am making. Should be a simple thing in functions.php or something but I am not sure. Thanks for any help in advance!

If you're a sponsor and can answer this question, I will give you 20k banner impressions on http://www.adult.seotextwriting.com

If you've got a mainstream site, I will give you 20k banner impressions on http://www.seotextwriting.com once I get the banner space added.

Hopefully this is enough?

Max_PuZcash 11-24-2009 08:23 AM

you simply use an advanced text editor or dreamweaver and search for '{comments on this entry are closed}' in all files in your wordpress folder... should work

AIbenjamink 11-24-2009 08:59 AM

Give this a try: http://websheila.com/removing-commen...osed-wordpress

phoqu 11-24-2009 09:44 AM

Looks like you're using a customized theme_16 theme for Wordpress; here's exactly what to do.
  1. Open up the file comments.php file either in via the Wordpress admin editor or in a text editor (the file's located in the wp-content/themes/thesis_16 directory).
  2. Search for the following code snippet:
    PHP Code:

    if (!comments_open()) {
    ?>
      <div class="comments_closed">
        <p><?php _e('Comments on this entry are closed.''thesis'); ?></p>
      </div>
    <?php
    }

  3. Either remove all of the above code, or just comment it out like so:
    PHP Code:

    if (!comments_open()) {
    ?>
      <div class="comments_closed">
        <p><?php // _e('Comments on this entry are closed.', 'thesis'); ?></p>
      </div>
    <?php
    }

  4. i.e.
    PHP Code:

    <?php  _e('Comments on this entry are closed.''thesis'); ?></p>

    becomes
    PHP Code:

    <?php // _e('Comments on this entry are closed.', 'thesis'); ?></p>

Let me know if that works for you and if it's worthy of 20k banner impressions :thumbsup

PS: If you're absolutely positive that you won't use comments again in the future just remove all of the above code completely - everything from if to } - this willl lead to slightly better performance.

CPimp 11-24-2009 09:59 AM

Hey phoqu... I am wanting to remove ONLY that text that I had stated above. I may want to use comments on samples or something as a discussion, especially when I do some work and the customer allows me to post an excerpt or a sample of something I did for him, then he can reg and leave a comment on the work so people know what I am doing is real.

If you can do that you've got the 20k buddy, thanks.

CPimp 11-25-2009 12:08 AM

Phoqu... I just re-read your post a few times and got exactly what you were saying. I want to use comments but hide the remark about comments being closed. Thanks. email me at the email in sig with the details for your 20k banner impressions. Will need your banner, link and email to deliver reports.

brassmonkey 11-25-2009 08:51 AM

just passing by


All times are GMT -7. The time now is 04:34 PM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc