- This topic has 20 replies, 5 voices, and was last updated 3 years, 3 months ago by Elvin.
-
AuthorPosts
-
January 7, 2021 at 5:27 pm #1610231ElvinStaffCustomer Support
Hi Mr Calvert,
But have anyway to remove that with function? I was upload with newest update and I see it still have comment tag:
<!– #comment-## –>
<!– .children –>
<!– .comment-list –>
<!– #respond –>
<!– #comments –>
I have page with 100 comment and it was show still 105 tag like this. Do it increase DOM too much?I believe you’ve asked the same question here:
https://generatepress.com/forums/topic/how-to-remove-comment-tag-not-necessary-like-commen/#post-1609009While we don’t have something theme specific that removes these, you can always use PHP snippets like the ones provided on these articles:
https://wordpress.stackexchange.com/questions/292095/how-to-remove-html-comment-from-source
https://www.tutdepot.com/remove-html-comments-in-wordpress/But keep in mind: If the point of removing this was to gain performance, then you might as well just leave these alone as using snippets to remove them may actually be counter-productive because your actually adding extra work for the server.
It may be best to just wait and let Tom remove these on the future versions. 🙂
January 8, 2021 at 3:44 am #1610661Mr CalvertHello! I have see Tom talk “We have been removing these slowly in our recent releases.” What does it mean? I was upload new version but not see that remove! I see Tom talk “We have been removing”!!!
January 8, 2021 at 3:46 am #1610663Mr CalvertTom can help me explaind about that? That is mean new update remove function slowly (different function) or it was remove <!– #comment-## –>
<!– .children –>
<!– .comment-list –>
<!– #respond –>
<!– #comments –>
I want to know exactly because I was try upload but it still not remove!January 8, 2021 at 4:33 am #1610706ElvinStaffCustomer SupportHello! I have see Tom talk “We have been removing these slowly in our recent releases.” What does it mean? I was upload new version but not see that remove! I see Tom talk “We have been removing”!!!
It means Tom is in the process of removing them but he’s not done. Removing these tags have to be done manually. It can’t be simply done overnight.
The other ones will probably get removed on the future versions.
We kindly ask for your patience as we tackle these kinds of things. Thank you.
January 8, 2021 at 6:11 am #1610800Mr CalvertYes thanks you so much ^^! All best with you and team!!! Best support, thanks a lot you make my day!
January 10, 2021 at 4:56 pm #1613733ElvinStaffCustomer SupportYes thanks you so much ^^! All best with you and team!!! Best support, thanks a lot you make my day!
No problem. We’ll make sure to mention it on the changelog when we’ve fully removed all of them. Please bear with us. 🙂
-
AuthorPosts
- You must be logged in to reply to this topic.