WordPress.org

Ready to get started?Download WordPress

Forums

How to remove logout link above comments (5 posts)

  1. mesalaam
    Member
    Posted 6 months ago #

    Hi

    How to remove logout link above comments that appear like this :

    Logged in as User . Log out?

    I would like to remove 2 links . opne which refers to user profile.php and which refers to log out link .
    could you please help me ?
    what shoul I do ?
    thanks a lot

  2. Gregg Banse
    Member
    Posted 6 months ago #

    You could use CSS to hide the link.

  3. mesalaam
    Member
    Posted 6 months ago #

    You could use CSS to hide the link.

    thanks
    but could you let me know how ?
    I`m not familiar to css and codes .

  4. alchymyth
    Forum Moderator
    Posted 6 months ago #

    bump moderated - http://codex.wordpress.org/Forum_Welcome#No_Bumping

    http://codex.wordpress.org/Forum_Welcome#Include_as_much_information_as_possible

    without a link to a post or page with the problem, suggesting any CSS fix won't be easy.

    a better way might be to edit comments.php of your theme, locate:
    <?php comment_form(); ?>
    change that to:
    <?php comment_form( array( 'logged_in_as' => '' ) ); ?>

    http://codex.wordpress.org/Function_Reference/comment_form

  5. mesalaam
    Member
    Posted 6 months ago #

    thanks a lot :)

Reply

You must log in to post.

About this Topic

Tags

No tags yet.