- This topic has 7 replies, 2 voices, and was last updated 4 years, 2 months ago by David.
-
AuthorPosts
-
January 19, 2020 at 4:31 am #1136706cmw
Hi there,
I am using GP Premium with Elementor in all my websites and I just realized that I have an issue with duplicated comments (I can see it in the font code).
When I installed wpDiscuz in my website to enhance basic WP Comments I was told in this forum to use this codes:
.page.separate-containers .site-main > * {
margin-bottom: 0;
}article + .comments-area {
display: none;
}I had to use this because I was getting my comments duplicated for some reason and to hide spaces I had between comments and other blocks.
It it like this codes only hide the duplicated content but it is there?
How can I make my comments load only once? My site seems quite slow right now even after getting +90% in both GTMetrix tests for that.
Thanks !!!!
January 19, 2020 at 8:45 am #1137008DavidStaffCustomer SupportHi there,
are you using an Elementor Single Post template? If so what happens if you remove the Comments Widget from the template and the above CSS and just let the Theme Comments show ?
January 21, 2020 at 9:07 am #1139388cmwHey David,
Thanks for your answer.
I am not using Elementor Single Post, I am using a blank page I built from scratch using Elementor.
On my template I just drag and drop the “Post Comments” element from Elementor.
I think the theme is loading comments in addition to Elementor’s.
When I remove this code from my CSS I have the comments repeated twice:
article + .comments-area {
display: none;
}My issue comes from long ago in this post: https://generatepress.com/forums/topic/problem-with-comments-section-strange-gap/
I though it was solved until recently I realized the comments are loading twice so it makes my website go much slowly.
I hope I can fix that.
Thanks !!
CMW π
January 21, 2020 at 9:17 am #1139404DavidStaffCustomer SupportSo what is wrong with just displaying the Themes comment area ?
January 21, 2020 at 9:26 am #1139416cmwThe issue here is that my comments are being displayed twice.
What i do with the CSS is just hiding it but my website is loading the comments 2 times all the time, making it go quite slow to load a page.
I would just like to load the comments one time like it should be, that way my page is less heavy and loads much faster.
I hope I explained myself now sorry π
Thanks.
Cmw.
January 21, 2020 at 12:12 pm #1139565DavidStaffCustomer SupportI understand. What i mean is – Why don’t you remove the Elementor Post Comments Widget and just display the Theme Comments ?
January 21, 2020 at 12:35 pm #1139575cmwHey David,
It took me the whole day but I solved it in the end.
When I use Elementor’s shortcode I can customize it easier than the theme’s. Moreover I don’t really like WP comments and I use wpDiscuz.
I just had some pages that for some reason were set at Theme’s default instead of Elementor Full Width. That’s why I was getting my comments doubled.
I have had this for months until I realized right now.
Now it loads much faster.
Thanks for the help like always !
January 21, 2020 at 5:05 pm #1139763DavidStaffCustomer SupportGlad to hear that and thanks for sharing the solution π
-
AuthorPosts
- You must be logged in to reply to this topic.