Please Read First
Troubleshooting Tips
Frequently Asked Questions
Before Posting Please Disable Wp Super Cache Plugin
When Posting Please Include Your URL.
Search Forum Using Google Search Box Above
Forum Video

Page 1 of 3 123 LastLast
Results 1 to 10 of 21
  1. #1
    Join Date
    Mar 2011
    Posts
    3
    Rep Power
    0

    Default The line: Comments Off on a page

    Hi There,

    How can I remove "Comments Off" from a page? Specifically my homepage?

    Thank you,

    BigAlClub

  2. #2
    Join Date
    Jun 2010
    Location
    Maine
    Posts
    7,043
    Rep Power
    11

    Default

    Check the Socrates > Language tab in 2.2 It's now an option.

  3. #3
    Join Date
    Jun 2010
    Location
    Maine
    Posts
    7,043
    Rep Power
    11

    Default

    Actually, that's for comments are closed sorry.

    You can edit it out of index.php


    Remove this line

    | <?php comments_popup_link('No Comments', '1 Comment', '% Comments'); ?>

  4. #4
    Join Date
    Nov 2010
    Posts
    5
    Rep Power
    0

    Default

    I removed the line "| <?php comments_popup_link('No Comments', '1 Comment', '% Comments'); ?>" from index.php, but the words "Comments Off" still appear at the bottom of the page. Do I also need to do something else? Thanks.

  5. #5
    Join Date
    Jun 2010
    Location
    Maine
    Posts
    7,043
    Rep Power
    11

    Default

    Can you share a link?
    Do you have a caching program running?

  6. #6
    Join Date
    Nov 2010
    Posts
    5
    Rep Power
    0

    Default

    The page is http://thepensioncoach.com/about-us/.
    I'm not a programmer, but as far as I know, there is no caching program running. After I deleted the text you recommended from Index.php, this is what remained before and after the deleted text: <div class="postAuthor">By <?php the_author_posts_link(); ?> on <?php the_time('l, F jS, Y') ?> *** </div>. The *** shows the location of the deleted text. Hopefully I deleted the right text and not too much or too little. Thanks.

  7. #7
    Join Date
    Jun 2010
    Location
    Maine
    Posts
    7,043
    Rep Power
    11

    Default

    Forgive me.. we've had some confusion over this.

    This is the line you need to remove.

    <span class="comments-link"><?php comments_popup_link( __( 'Leave a comment', 'socrates' ), __( '1 Comment', 'socrates' ), __( '% Comments', 'socrates' ) ); ?></span>

  8. #8
    Join Date
    Nov 2010
    Posts
    5
    Rep Power
    0

    Default

    That worked. Thanks.

  9. #9
    Join Date
    Feb 2011
    Location
    presently Phoenix
    Posts
    39
    Rep Power
    0

    Default Still confused on Comments link settings....

    Hey Dan: Thanks for all the hard work on the new version- which I downloaded... but I was under the impression that comments link could be controlled separately for each posts and pages. I would like to turn off comments on pages and went to Socrates/layout and unchecked the box that says: Show author, date and comments link below title on all pages.... to no avail -still showing comments below title and/or the entire page content.( only installed WP super cache and is not enabled yet)
    Would this then become a WP issue if can't resolve this within the Socrates panel?? I went to Settings/discussion and kept the box checked where it says: Allow people to post comments on new articles.. but I would think this would relate to posts only. If this still has to be handled by going into index.php to edit I would like to suggest a button on the next version to address this(which I thought you guys did in this last version).
    Most people will want to NOT have comments enabled on pages and HAVE comments enabled on post- but ultimately have control in all cases how comments links are displayed.
    I really the way Discus displays 'see comments' link for posts.. it shows it at the top right below the title (Socrates will move the comment link down the page as content fills in on pages) and also the bottom of the post as well....
    I think most want the look of a html for pages and blog for post... that would probably be a safe bet.
    Here is a great Discus blog example:
    http://www.sovereignman.com/expat/mo...ratch#comments
    Please advise on the best way to put to rest this issue( or maybe it already has been put to rest- and I just don't what I'm talking about....)
    Thanks
    PS_ If I do edit the php will this make it so that comment will not show up at all in either posts or pages?
    Get to know the world like it's in your backyard
    http://ZeroFrictionwealth.com
    http://MobileLocalPlanet.com

  10. #10
    Join Date
    Jun 2011
    Posts
    25
    Rep Power
    0

    Default

    Can someone help me locate the index.php area to delete the code dan refers to. I would also like to eliminate the comments box.

    Thank you.

Similar Threads

  1. Remove By line from page
    By srowen in forum Official Support
    Replies: 4
    Last Post: 09-26-2010, 02:56 AM
  2. Replies: 12
    Last Post: 08-31-2010, 08:36 AM
  3. At Comments Function On Sale Page Template
    By teddywu in forum Custom Mods
    Replies: 1
    Last Post: 07-28-2010, 03:03 PM
  4. Soc Logo/ bottom page line cut across 1st post
    By insource1 in forum Community Support
    Replies: 4
    Last Post: 07-19-2010, 09:01 PM
  5. Line Breaks Magically Appear
    By Ralph in forum Graphics and Design
    Replies: 4
    Last Post: 06-21-2010, 10:45 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •