Page 2 of 2 FirstFirst 12
Results 11 to 18 of 18

Thread: Help to remove "Must be logged in to reply" link in comments

  1. #11
    chipbennett's Avatar
    chipbennett is offline WordPress Legend
    Join Date
    Feb 2009
    Location
    St. Louis, MO
    Posts
    1,997

    Default

    Quote Originally Posted by Karl1 View Post
    the comment form is in the comments.php, right?
    http://snipplr.com/view/59038/commentsphp/

    please have a look
    I assume this would be the line you're looking for (comments.php, line 45)?

    Code:
    <p>Tiene de estar identificado para dejar un comentário.</p>
    WP TurnKey - Turn-Key WordPress installation and maintenance services
    WordPress user since 2005 | @chip_bennett | chipbennett.net | cbnet Plugins

  2. #12
    Karl1's Avatar
    Karl1 is offline Hello World
    Join Date
    Jul 2011
    Location
    Seville, Spain
    Posts
    35

    Default

    Hi chipbennet

    no, that's the one in yellow in this screenshot, the one I need to remove the link is the one in red, the "reply to comment" that already exists

    thanks
    Discovering Wordpress

  3. #13
    kovshenin's Avatar
    kovshenin is offline Hello World
    Join Date
    Sep 2011
    Location
    Moscow
    Posts
    14

    Default

    Karl, as far as I can see it's right there on line 45 :)

  4. #14
    Karl1's Avatar
    Karl1 is offline Hello World
    Join Date
    Jul 2011
    Location
    Seville, Spain
    Posts
    35

    Default

    Quote Originally Posted by kovshenin View Post
    Karl, as far as I can see it's right there on line 45 :)
    really?!
    screen.jpg

  5. #15
    chipbennett's Avatar
    chipbennett is offline WordPress Legend
    Join Date
    Feb 2009
    Location
    St. Louis, MO
    Posts
    1,997

    Default

    Quote Originally Posted by Karl1 View Post
    Hi chipbennet

    no, that's the one in yellow in this screenshot, the one I need to remove the link is the one in red, the "reply to comment" that already exists

    thanks
    Okay, now we're there. That text is coming from this code:

    PHP Code:
    <div class="reply">
            <?php comment_reply_link(array_merge$args, array('depth' => $depth'max_depth' => $args['max_depth']))) ?>
    </div>
    Specifically, from the comment_reply_link() function.

    The comment_reply_link() argument for the login text is login_text. So, change the argument array accordingly; e.g.:

    PHP Code:
    <?php comment_reply_link(array_merge$args, array( 'login_text' => '''depth' => $depth'max_depth' => $args['max_depth']))) ?>
    WP TurnKey - Turn-Key WordPress installation and maintenance services
    WordPress user since 2005 | @chip_bennett | chipbennett.net | cbnet Plugins

  6. #16
    MiroslavGlavic is offline Here For The Peanuts
    Join Date
    May 2009
    Location
    Toronto, Canada
    Posts
    177

    Default

    you are correct Chip. His original request could of been read more than one way.

  7. #17
    Karl1's Avatar
    Karl1 is offline Hello World
    Join Date
    Jul 2011
    Location
    Seville, Spain
    Posts
    35

    Default

    thanks Chip, that was the idea.
    Thanks a lot for your time , really :)

  8. #18
    chipbennett's Avatar
    chipbennett is offline WordPress Legend
    Join Date
    Feb 2009
    Location
    St. Louis, MO
    Posts
    1,997

    Default

    Quote Originally Posted by Karl1 View Post
    thanks Chip, that was the idea.
    Thanks a lot for your time , really :)
    No hay de que ;)
    WP TurnKey - Turn-Key WordPress installation and maintenance services
    WordPress user since 2005 | @chip_bennett | chipbennett.net | cbnet Plugins

Page 2 of 2 FirstFirst 12

Posting Permissions

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