I have two problems with elements template tags I hope you can help with.
I use this function made by tom to display number of comments in the header:
add_shortcode( 'comment_number', 'tu_comment_number_sc' );
function tu_comment_number_sc() {
ob_start();
comments_popup_link( __( 'Leave a comment', 'generatepress' ), __( '1 Comment', 'generatepress' ), __( '% Comments', 'generatepress' ) );
return ob_get_clean();
}
The problem is that it links to #respond or #comments, and when I click the link nothing happens. It does not go to the comment section. I am using Disqus with Disqus Conditional Load plugin, I am not sure if this is why or if it is possible to fix. Even after making sure comments are loaded it doesn’t work.
Next thing is when I use {{post_author}}
, it will link to the Author archive. Is it possible to disable this?
Thank you so much, I really love this theme and the support I get here