gone through the plugin settings and could not find anything that could be causing the comment count of the post page to not update, but I suspect it has something to do with it showing up as a <span> element instead of an <href>. I saw a question about a similar issue on stack overflow, but it involved changing the code.
Where would I be able to edit the comment count on the post page in the theme code?
I wanted to say thanks. I was able to make the change. Also, I wanted to point out that changing the code in soledad/content-single.php didn't change anything, however changing the code in soledad/content-single-full.php did. Not sure if this has to do with the fact that we are using the child theme.
This is not related to a child theme using. content-single.php & content-single-full.phpis a different layout display for a single post. The file content-single.php is a standard single post file. If you're using another single post layout (selected on the customizer settings), you should make a change on this layout file (in your case is content-single-full.php).
Hi,
This issue and all other problems about comment form/number/counting are related to the Disqus plugin.
So please check this plugin config carefully.
Regards,
PenciDesign.
gone through the plugin settings and could not find anything that could be causing the comment count of the post page to not update, but I suspect it has something to do with it showing up as a <span> element instead of an <href>. I saw a question about a similar issue on stack overflow, but it involved changing the code.
Where would I be able to edit the comment count on the post page in the theme code?
Thanks!
Hi,
If you want to change the HTML markup of comment number on a single post, please follow these steps:
1. Go to Appearance → Themes → Theme Editor:
- Select theme to edit: Soledad,
- Navigate to: soledad/content-single.php
- Find:
Replace with:
Repeat these steps when you update this theme to the latest version.
Regards,
PenciDesign.
I wanted to say thanks. I was able to make the change. Also, I wanted to point out that changing the code in soledad/content-single.php didn't change anything, however changing the code in soledad/content-single-full.php did. Not sure if this has to do with the fact that we are using the child theme.
Thanks!
Hi,
This is not related to a child theme using. content-single.php & content-single-full.php is a different layout display for a single post. The file content-single.php is a standard single post file. If you're using another single post layout (selected on the customizer settings), you should make a change on this layout file (in your case is content-single-full.php).
Regards,
PenciDesign.
Thank you. Your fix helped. Please close thread.