jayantkumar.iitr
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: How to exclude jetpack stats module from rocketloader of cloudflareMake sure to repeat the steps after the plugin update.
Forum: Fixing WordPress
In reply to: How to exclude jetpack stats module from rocketloader of cloudflareSolution for the problem if anyone looking for this:
Login to wordpress dashboard>Plugins>editor.
Now click drop down menu after “Select plugin to edit” and select “jetpack by wordpress”. click select.
Now, scroll down and click “jetpack/modules/stats.php”
Scroll down in the editor window and look for the function something like this:
<script src=”http://stats.wordpress.com/*****.js” type=”text/javascript”></script>
<script type=”text/javascript”>
{function here}
</script>Add “data-cfasync=”false” after script so that it would look something like this:
<script “data-cfasync=”false” src=”http://stats.wordpress.com/*****.js” type=”text/javascript”></script>
<script “data-cfasync=”false” type=”text/javascript”>
{function here}
</script>Click “update” to update the file and now, rocket loader is off for jetpack stats code.
Hope it helps someone.
Forum: Fixing WordPress
In reply to: How to exclude jetpack stats module from rocketloader of cloudflareThanks, i will try it out if i find it by any chance (trying since hours :))
Forum: Fixing WordPress
In reply to: How to exclude jetpack stats module from rocketloader of cloudflareI am using google analytics for stats but actually WPstats was an inbuilt function within the dashboard so it was quite handy.
Google analytics code too wasn’t working properly after activating rocket loader but i excluded it by adding this:
<script data-cfasync=”false” type=”text/javascript”>
—analytics code—
</script>so, if there is a way to change the wp stats code in a similar way?
Thanks 🙂
Forum: Fixing WordPress
In reply to: How to exclude jetpack stats module from rocketloader of cloudflareThanks, i tried that but i didn’t off the performance option. i inserted as
*jackguide.com/wp-contents/plugins/jetpack/*and turned off the rocket loader. Even after that there was a huge difference between analytics and WP stats. Normally, it is between 100-200. but with rocket loader, it is more than 1000.
I viewed the page source in chrome and i see this code:
view-source:http://jackguide.com/
Last function
Forum: Plugins
In reply to: [W3 Total Cache] Can i use W3 Total cache plugin with a child themeI tested one of my article post link instead of homepage and i am getting 0 score in redirects in pingdom. There are too many and i don’t know whats causing them. i think your report was correct. If you have any idea about that, please help.
ThanksForum: Plugins
In reply to: [W3 Total Cache] Can i use W3 Total cache plugin with a child themeI dont know how to combine multiple js and css files into 1. If you can throw up some light on this. Thanks 🙂
Forum: Plugins
In reply to: [W3 Total Cache] Can i use W3 Total cache plugin with a child themeI tested it on tools.pingdom.com, here is the report, it is showing only 3 redirects on homepage.
http://tools.pingdom.com/fpt/#!/cVDASR/jackguide.com/report for GTmetrix:
http://gtmetrix.com/reports/jackguide.com/pZl1UImeForum: Plugins
In reply to: [W3 Total Cache] Can i use W3 Total cache plugin with a child themeWhere i can know these parameter? I am not aware of any.
Forum: Plugins
In reply to: [W3 Total Cache] Can i use W3 Total cache plugin with a child themei have copied and pasted the functions.php in child theme. I am doing all the editing there. If I copy the above function in the head of functions.php and remove the @import line from style.css of child, will it work the same way without showing the “avoid css import” suggestion in pagespeed of GTmetrix? Actually, i am zero in php :(. Know a little bit html, css, js.
thanks 🙂
Forum: Plugins
In reply to: [W3 Total Cache] Can i use W3 Total cache plugin with a child themeYups, cloudflare shows the message “avoid CSS imports”. But i can’t as i have to modify the header of my theme which shouldn’t be done in parent theme.
Forum: Plugins
In reply to: [W3 Total Cache] Can i use W3 Total cache plugin with a child themeIn general settings, i put minify CSS to manual. Then, selected Bubble for Css minify. Now, site is loading fine. Thanks to all of you guys 🙂
Forum: Plugins
In reply to: [W3 Total Cache] Can i use W3 Total cache plugin with a child themeThat’s a good speed. Mine sucks. I usually get B grade in pagespeed (91 for home page but 80-89 on other pages) but C or D in Y slow (60-75) on GTmetrix. Tools.pingdom shows my website is slower than 90% of websites. Cloudflare doesn’t seem to improve anything. I am using just the CDN because on using rocketloader, my traffic goes down about 30% of actual.
Forum: Plugins
In reply to: [W3 Total Cache] Can i use W3 Total cache plugin with a child themeThanks but I have no idea how to do all that :(. Right now, i am using minify CSS by cloudflare , and minify html and js by W3 total cache. Its working fine for now.
Forum: Plugins
In reply to: [W3 Total Cache] Can i use W3 Total cache plugin with a child themeI have tried other browsers but css is not loading after enabling minify.