Filter get_comments_link
to change the URL. You get two arguments: the link and the post ID.
add_filter( 'get_comments_link', function( $link, $post_id )
{
return get_permalink( $post_id ) . '#disqus_thread';
}, 10, 2 );
Filter get_comments_link
to change the URL. You get two arguments: the link and the post ID.
add_filter( 'get_comments_link', function( $link, $post_id )
{
return get_permalink( $post_id ) . '#disqus_thread';
}, 10, 2 );