The effects of alcohol on sustanon 250 leucine for – real weight loss & bodybuilding benefits?
Comments not displa...
 
Share:
Notifications
Clear all

Issue [Solved] Comments not displaying for some user roles

3 Posts
2 Users
0 Reactions
698 Views
Posts: 47
Topic starter
(@aaronmckeon)
Trusted Member
Joined: 3 years ago

When logged in as an admin, the following post says there are 39 comments but only shows 1:

https://peakprosperity.com/its-either-capitalism-or-failure/

When not logged in, it says there are 14 comments but there are 38 showing, none of which are the 1 that shows when logged in as an admin.

Can you please assist?  Something is not working here and I'm not sure how to fix it.  There have been no changes to the website in the past few weeks, so not sure what would prompt this.

more than 14 for guests
only 1 comment for admin
image

 

2 Replies
Asti
Posts: 7628
 Asti
Support
(@asti)
Illustrious Member
Joined: 7 years ago

Are the admin login details still available? Can we log in and check the issue?

1 Reply
(@aaronmckeon)
Joined: 3 years ago

Trusted Member
Posts: 47

@asti Thank you for following up on the issue.  I forgot to update the thread, but we were able to figure out what was causing the issue.  The following code that was in the body of one of the comments was causing the rest of the page not to load:

<a href="https://youtu.be/CDBJdQnjE2o" target="_blank" rel="noopener nofollow ugc"> https://youtu.be/CDBJdQnjE2o</a> 

In order to solve the problem, I took the following steps:

  1. Edited comment in native WordPress post editor and removed the problem code.
  2. Edited comment on front-end and added just the URL to the YouTube video.

After completing step 1, the page loaded fully again.  After completing step 2, the video also loaded and the page didn't have any problems.

Hope this helps you.

Share: