Change comment link

Home Forums Jevelin Theme Change comment link

Home Forums Jevelin Theme Change comment link

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • robertobonfa
    Participant

    Hi Guys, hope You are well,

     

    I need your help: I would like to change #comments link in all blog pages (blog and single) to #disqus_thread to direct to disqus comments.

     

    I tried adding this (code belove) to functions.php, in child theme, but does not works.

     

    add_filter( ‘get_comments_link’, ‘tgm_io_change_comment_link’, 99 );
    function tgm_io_change_comment_link( $link ) {
    global $post;
    $hash = ‘#disqus_thread’; // This is what I need
    return get_permalink( $post->ID ) . $hash;

    }

    Thanks for your help.

    Attachments:
    You must be logged in to view attached files.

    Hi @robertobonfa,

     

    I hope you are well today and thank you for your question.

     

    To achieve this, you have to develop custom code in the child theme of Jevelin theme.

     

    Developing custom code for custom functionality is beyond the scope of support that we provide here. Please see https://themeforest.net/item/jevelin-multipurpose-premium-responsive-wordpress-theme/14728833/support

     

    If you are not a developer then you can consider hiring a developer to develop it for you. You can hire a developer from any freelance site. Shufflehound recommends the developer https://www.upwork.com/freelancers/~011652ffec8865c6d5

     

    Best regards,
    Shufflehound team

Viewing 2 posts - 1 through 2 (of 2 total)