Detailed Wordpress Question

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • CPimp
    Confirmed User
    • Aug 2009
    • 2346

    #1

    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?
    three 997 three 55 three 1 ← That's my ICQ. Contact me there. Thanks.
  • Max_PuZcash
    Confirmed User
    • Nov 2009
    • 575

    #2
    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

    ---------------------------------------------------------
    www.puZcash.com
    ICQ: 575610973
    Max

    Comment

    • AIbenjamink
      Confirmed User
      • Jan 2009
      • 420

      #3
      Give this a try: http://websheila.com/removing-commen...osed-wordpress
      Benjamin : [email protected] : 405-243-447 : www.AdultInterface.com

      Comment

      • phoqu
        Registered User
        • Sep 2009
        • 58

        #4
        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

        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.

        www.PHOQU.com

        Web Developer/Engineer/Hacker ::Expert Wordpress, PHP, MySQL, Ruby on Rails Support. Sub-contracting gigs accepted too.

        Code:
        <?php $skills->include('php', 'ruby', 'java', 'javascript', 'wordpress', 'joomla', 'drupal', 'rails', 'html', 'css', 'xml', 'mysql', 'oracle', 'postgres'); ?>

        Comment

        • CPimp
          Confirmed User
          • Aug 2009
          • 2346

          #5
          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.
          three 997 three 55 three 1 ← That's my ICQ. Contact me there. Thanks.

          Comment

          • CPimp
            Confirmed User
            • Aug 2009
            • 2346

            #6
            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.
            three 997 three 55 three 1 ← That's my ICQ. Contact me there. Thanks.

            Comment

            • brassmonkey
              Pay It Forward
              • Sep 2005
              • 77396

              #7
              just passing by
              TRUMP 2026 KEKAW!!! - The Laken Riley Act Is Law!
              DACA ENDED - SUPPORT AZ HCR 2060 52R - email: brassballz-at-techie.com

              Comment

              Working...