• Resolved dave789

    (@dave789)


    Hi,
    Whenever any reader posts a comment on my blog it is visible as below :-
    ——————————————————————-
    Sam
    March 12,2016 at 2:31 am
    Permalink

    Liked your post. Keep it up Reply
    ——————————————————————-

    I want to remove this ‘Permalink’ option, which shows up on the blog, once I moderate the comment. Please help and guide me step by step in removing this as I am relatively new to the wordpress. Thanks!

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hi dave,

    What theme are you using?

    Thread Starter dave789

    (@dave789)

    Hi Ncej,
    I am using Spacious theme.

    hi dave there is a easy way and a not so easy way

    1) Easy way . add the following at the end of the style.css file which is located in the root of your theme folder.

    .comment-permalink{
    	display: none !important;
    }

    2) Not so easy way. Make changes to the functions.php file which is located in the inc folder of your theme

    change from this on line 422

    printf( __( '<a class="comment-permalink" href="%1$s">Permalink</a>', 'spacious'), esc_url( get_comment_link( $comment->comment_ID ) ) );

    to this:

    //printf( __( '<a class="comment-permalink" href="%1$s">Permalink</a>', 'spacious'), esc_url( get_comment_link( $comment->comment_ID ) ) );
    Thread Starter dave789

    (@dave789)

    Hi bkdimri,

    I tried the easier way and it worked for me. Thank you very much. ??

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘I want to remove 'Permalink' option from comment section of my blog’ is closed to new replies.