Community Forums › Forums › Archived Forums › General Discussion › Comment preview not showing for older posts created before Genesis…?
- This topic has 8 replies, 2 voices, and was last updated 10 years ago by paulietheboss.
May 15, 2013 at 1:57 pm #41063
Hi guys - I have updated my genesis theme functions to use a filter so that date, categories and comments all appear under the post in one line.
It all works - however in my older posts (imported from before I moved to the Genesis framework) the post_comments do not appear - how can I fix this?
You can see what I mean here - http://www.paulietheboss.com/blog/
The top 2 Nivoslider test posts were created after moving to Genesis, all the other posts are older and don't display a comments field. Comments still work within all posts, but the comment preview does not show on older posts.http://www.paulietheboss.com/blog/May 15, 2013 at 3:14 pm #41074
My first thought was whether the WordPress option to automatically close comments was enabled? Under Settings -> Discussion.
If that's not it, what happens when you add a comment to an older post from the backend? Does it show up? Can you point to an example post that has that? You said that comments still work but I wasn't sure what you meant by that.May 15, 2013 at 3:21 pm #41075
Also, were you always running Disqus? Are you sure the comments got imported to Disqus correctly?May 15, 2013 at 3:38 pm #41077
Thanks for your replies matey 🙂 The option to automatically close comments is disabled. You have made me realise that I am a huge dummy though! I could swear at one point I checked an older post and it had disqus showing but I just checked the backend and the old posts all had their comments disabled somehow - not sure how that happened.
So the 0 COMMENTS AND 0 REACTIONS shows on every post preview now, so thanks!
However I now have a new problem!
When you go to a post that I know have comments (Ace of spades slow acoustic version at the bottom) it says 0 COMMENTS AND 0 REACTIONS on the preview - but if you click the post and go to the bottom you can see comments flash up in an unstyled list as the page loads, but they disappear when Disqus kicks in and no comments show.
However under the post itself it says "6 comments"!
So it looks like WordPress is somehow seeing the comments now within the post, but Disqus isn't picking them up - and it's also somehow hiding them as soon as it loads.
I did not originally have Disqus installed when the old posts were up, but as far as I can tell my Disqus settings are setup as they should be - using Disqus comments "on all existing and future blog posts", "disable automated comment importing" is not checked and "Disable server-side rendering of comments" is not checked - can you advise anything else I need to do to get Disqus to recognise these old comments / import them properly?May 15, 2013 at 3:57 pm #41080
Ah - nevermind - I got it 🙂 thanks again for your help, really appreciate it!May 15, 2013 at 4:06 pm #41081
So you got it to work? Awesome!May 15, 2013 at 4:13 pm #41083
I did indeed, thanks again. If it wasn't for you I wouldn't have even thought to check in at the comments again because I was convinced I already had 🙂
All I had to do then was use the (confusingly named) Export Comments button under Disqus' advanced features in Settings - rather than exporting disqus' comments it exports wordpress' comments to disqus, d'oh!May 15, 2013 at 4:28 pm #41084
Excellent! I love helping when I don't even have to do anything. 😉
Your site looks really cool, BTW - love the header background where your slider is.May 16, 2013 at 1:55 am #41143This reply has been marked as private.
- The forum ‘General Discussion’ is closed to new topics and replies.