tag:blogger.com,1999:blog-6465717140076516272.post9133189350897265639..comments2023-10-16T06:54:48.284-07:00Comments on Corvar's Technical Musings: Wordpress JetPack Carousel Comments Cause Loadtesthttp://www.blogger.com/profile/05835986147175194182noreply@blogger.comBlogger20125tag:blogger.com,1999:blog-6465717140076516272.post-59444558011070975892015-01-31T08:48:56.190-08:002015-01-31T08:48:56.190-08:00When the enemy is tearing down the walls, I have n...When the enemy is tearing down the walls, I have no issue resorting to barbary ;)testhttps://www.blogger.com/profile/05835986147175194182noreply@blogger.comtag:blogger.com,1999:blog-6465717140076516272.post-4534563856604673452015-01-30T01:38:28.939-08:002015-01-30T01:38:28.939-08:00Thank you! And this perhaps?
...plugins/jetpack/mo...Thank you! And this perhaps?<br />...plugins/jetpack/modules/carousel/jetpack-carousel.php<br /><br />Line 243 (or so) :<br /><br />$attr['data-comments-opened'] = $comments_opened; Change it to "closed"<br />$attr['data-comments-opened'] = $comments_closed;<br />Barbaric, but works... after closing ajax of course.<br /><br />Thank you!<br />Anonymoushttps://www.blogger.com/profile/12149082781126350641noreply@blogger.comtag:blogger.com,1999:blog-6465717140076516272.post-79666777306658276712014-04-05T05:31:40.112-07:002014-04-05T05:31:40.112-07:00This comment has been removed by a blog administrator.Eliaz Bethhttps://www.blogger.com/profile/01447163583250073212noreply@blogger.comtag:blogger.com,1999:blog-6465717140076516272.post-32421854873278472332014-01-02T06:25:02.973-08:002014-01-02T06:25:02.973-08:00I simply want to tell you that I am new to weblog ...I simply want to tell you that I am new to weblog and definitely liked this blog site. Very likely I’m going to bookmark your blog . You absolutely have wonderful stories. Cheers for sharing with us your blog. <a href="https://www.youtube.com/user/ForWPThemes" rel="nofollow">John</a><br /><br />David talpurhttps://www.blogger.com/profile/15600881829320806595noreply@blogger.comtag:blogger.com,1999:blog-6465717140076516272.post-13673095210353888302013-07-26T16:00:57.684-07:002013-07-26T16:00:57.684-07:00Great, thank you William!Great, thank you William!Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-6465717140076516272.post-76375248363041049542013-07-26T15:44:24.238-07:002013-07-26T15:44:24.238-07:00I have the following entries, not sure any of them...I have the following entries, not sure any of them do anything in our scenario:<br />.jp-carousel-image-meta {<br /> display: none;<br />}<br />.jp-carousel-info {<br />display: none;<br />}<br />#jp-carousel-comment-form {<br /> display:none;<br />}<br />testhttps://www.blogger.com/profile/05835986147175194182noreply@blogger.comtag:blogger.com,1999:blog-6465717140076516272.post-70000739256844089942013-07-26T15:07:54.018-07:002013-07-26T15:07:54.018-07:00Are you using this in your css?
.jp-carousel-inf...Are you using this in your css? <br /><br />.jp-carousel-info {<br />display: none;<br />}Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-6465717140076516272.post-83793626785645694462013-07-26T14:57:25.115-07:002013-07-26T14:57:25.115-07:00We are continuing to use the same solution, re-imp...We are continuing to use the same solution, re-implementing it each time after we update the jetpack plugin. We have the style bits in our themes style.css, and then the return mentioned above.testhttps://www.blogger.com/profile/05835986147175194182noreply@blogger.comtag:blogger.com,1999:blog-6465717140076516272.post-72418973139590167442013-07-26T14:30:27.600-07:002013-07-26T14:30:27.600-07:00Hi William, for some reason my comments are still ...Hi William, for some reason my comments are still showing up. Have there been any changes to the code?<br /><br />Thank you : )Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-6465717140076516272.post-7986166709826854752013-07-02T18:39:37.705-07:002013-07-02T18:39:37.705-07:00I had not used that particular bit before, but as ...I had not used that particular bit before, but as I suspected it does not actually disable the ajax calls, it just disables the display of the data retrieved from the ajax call. I want to disable asking the server for comments, because these ajax calls are dynamic requests that require PHP and Database interaction causing load. We have had pages using Carousel which get a substantial number of requests for a relatively short period of times and these Ajax calls are sufficient to crush the server which performs handily after the above "return;" is added.testhttps://www.blogger.com/profile/05835986147175194182noreply@blogger.comtag:blogger.com,1999:blog-6465717140076516272.post-33373571556606106382013-06-26T09:15:07.190-07:002013-06-26T09:15:07.190-07:00past this code in any loaded css file on your affe...past this code in any loaded css file on your affected site:<br /><br />.jp-carousel-info {<br /> display: none;<br />}<br /><br />evidence is on www.evopics.deHotel Lammhttps://www.blogger.com/profile/16888011433843306118noreply@blogger.comtag:blogger.com,1999:blog-6465717140076516272.post-16873746309004992102013-05-02T11:38:37.372-07:002013-05-02T11:38:37.372-07:00May I please ask the opposite question? On some p...May I please ask the opposite question? On some pages comments do not display - no text entry box - but I want them on all carousel pages. What is the difference that I can iron out? I see no obvious visual item in the dashboard.<br /><br />Thanks for allowing the question.muymalestadohttps://www.blogger.com/profile/12729898318401149255noreply@blogger.comtag:blogger.com,1999:blog-6465717140076516272.post-48578739860203698912013-03-23T10:27:54.819-07:002013-03-23T10:27:54.819-07:00Aahan, very nice. Both more thoroughly written an...Aahan, very nice. Both more thoroughly written and a more elegant solution. My concern was breaking carousel completely when another one of the WP Admins for my site updated jetpack. This way, worse case is that the update happens, we post a popular carousel, and the site slows to a crawl. <br /><br />In conjunction with this, I also wrote a short bash script that checks to make sure some of the edits I have put in place within Wordpress are still there and emails me daily if they are not.testhttps://www.blogger.com/profile/05835986147175194182noreply@blogger.comtag:blogger.com,1999:blog-6465717140076516272.post-44665509754981820532013-03-23T06:50:34.613-07:002013-03-23T06:50:34.613-07:00I think you'll like my solution. Give it a sho...I think you'll like my solution. Give it a shot when you get time: http://aahank.com/2013/disable-comments-jetpack-carousel/<br /><br />Of course, it wouldn't be possible without the help of your solution. So, thank you for that. :)Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-6465717140076516272.post-8336447735964337022013-03-16T09:08:05.322-07:002013-03-16T09:08:05.322-07:00Fixed it by taking out the form section section at...Fixed it by taking out the form section section at line 102 but this is not a very elegant solution.Anonymoushttps://www.blogger.com/profile/06815668967960541304noreply@blogger.comtag:blogger.com,1999:blog-6465717140076516272.post-6176986025528460182013-03-16T08:28:40.753-07:002013-03-16T08:28:40.753-07:00Hi, tried that and it turned off the comments link...Hi, tried that and it turned off the comments link but the comments box was still thereAnonymoushttps://www.blogger.com/profile/06815668967960541304noreply@blogger.comtag:blogger.com,1999:blog-6465717140076516272.post-76684333046771212142013-02-21T07:51:38.542-08:002013-02-21T07:51:38.542-08:00Nice work, thanksNice work, thanksmrneilsmithhttps://www.blogger.com/profile/12683334690476281137noreply@blogger.comtag:blogger.com,1999:blog-6465717140076516272.post-10860291256078133572013-02-19T17:30:40.002-08:002013-02-19T17:30:40.002-08:00Thanks!Thanks!tduhttps://www.blogger.com/profile/11109667615139866951noreply@blogger.comtag:blogger.com,1999:blog-6465717140076516272.post-89135635505304376062013-02-03T10:37:57.826-08:002013-02-03T10:37:57.826-08:00The big downside is that you have to re-do this af...The big downside is that you have to re-do this after every jetpack update. But the load from those ajax calls just killed my site.testhttps://www.blogger.com/profile/05835986147175194182noreply@blogger.comtag:blogger.com,1999:blog-6465717140076516272.post-4628849250682059772013-02-03T07:36:19.101-08:002013-02-03T07:36:19.101-08:00Hi William, You are Top Man :) just wanted say tha...Hi William, You are Top Man :) just wanted say thank you. Code works perfectly.xhttps://www.blogger.com/profile/16987775792656951352noreply@blogger.com