Angel Costa
Forum Replies Created
-
Forum: Plugins
In reply to: [W3 Total Cache] Use a Content Delivery Network (CDN)If you use w3 total cache, there is an option for that.
Check Fred’s answer.
I supposed some plugins do that, as well as cloudflare.
Forum: Plugins
In reply to: [W3 Total Cache] Use a Content Delivery Network (CDN)This will take care of it:
function remove_query_string( $src ){ $parts = explode( '?ver', $src ); return $parts[0]; } add_filter( 'script_loader_src', 'remove_query_string', 15, 1 ); add_filter( 'style_loader_src', 'remove_query_string', 15, 1 );
Paste it on functions.php
Forum: Plugins
In reply to: [W3 Total Cache] Use a Content Delivery Network (CDN)Nope, as you cannot host these files or send it to a cdn because they are generated dynamically, Yslow “thinks” you just don’t want to do it.
It is says you are loading cdn for everything else BUT those files.
https://awesomescreenshot.com/08a1uwebf9To score better you could remove adsense and disable the jetpack statistics.
Btw, you score better without the www. Go figure. You should try a redirect.
Forum: Plugins
In reply to: [W3 Total Cache] Use a Content Delivery Network (CDN)Oh, nevermind…
It’s the infamous google js. Yslow is just saying that these files are not in your cdn:
https://www.nintendonews.com/?custom-css=1&csblog=1&cscache=6&csrev=6
https://pagead2.googlesyndication.com/pagead/show_ads.js
https://stats.wordpress.com/e-201343.js
https://pagead2.googlesyndication.com/pagead/js/r20131015/r20130906/show_ads_impl.js
https://edge.quantserve.com/quant.js
https://stats.wordpress.com/g.gif?host=www.nintendonews.com&rand=0.2745103336901076&v=ext&j=1%3A2.5&blog=56544969&post=0&tz=-4&ref=
https://pixel.quantserve.com/pixel;r=1286115029;a=p-18-mFEk4J448M;labels=type.wporg;fpan=1;fpa=P0-338586693-1382383143705;ns=0;ce=1;cm=;je=0;sr=1040x865x24;enc=n;dst=1;et=1382383143705;tzo=420;ref=;url=http%3A%2F%2Fwww.nintendonews.com%2F;ogl=type.blog%2Ctitle.Nintendo%20News%2Cdescription.Current%20Wii%20U%20and%203DS%20News%2Curl.http%3A%2F%2Fwww%252Enintendonews%252Ecom%2F%2Csite_name.Nintendo%20News
https://pagead2.googlesyndication.com/pagead/expansion_embed.js
https://pagead2.googlesyndication.com/pagead/osd.js
https://pagead2.googlesyndication.com/pagead/js/r20131015/r20110914/abg.js
https://pagead2.googlesyndication.com/pagead/images/ad_choices_i.png
https://pagead2.googlesyndication.com/pagead/images/ad_choices_en.pngI dont think there is a workaround for that. We cannot host those files generated by adsense…
You site is loading pretty fast, you do not need to get A/A score.
Forum: Plugins
In reply to: [W3 Total Cache] Use a Content Delivery Network (CDN)Check the source code to see if the images/css/js are indeed coming from the cdn.
Can you provide a link to your site?Forum: Plugins
In reply to: [W3 Total Cache] Use a Content Delivery Network (CDN)What cdn are you using?
Forum: Plugins
In reply to: [W3 Total Cache] Maxcdn errors.I am using nginx and it happens to me too. I just press control + f5 and the changes are there. I also had to delete the zone and create another one using the plugin API.
Plus, the plugin is not rewriting the css or any theme file modifications to the cdn. I just disabled these options.
I have no idea what is going on either, but the problems are indeed with total cache.
Forum: Plugins
In reply to: [Better WordPress Minify] How do I Enqueue style.cssSomething like this:
function angel_scripts() { wp_enqueue_style( 'angel-style', get_stylesheet_uri() ); } add_action( 'wp_enqueue_scripts', 'angel_scripts' );
Forum: Plugins
In reply to: [W3 Total Cache] Serving static files from a cookieless domain (w/ MaxCDN)Yeah, it worked for me. Go to maxcdn, settings of the zone and set “Override Cache-Control Header” to 7 days.
ALSO: go to the cdn option in w3 total cache and in the advanced section, check “set cookie domain to (your domain)”.Hi, DesignByAnita, here is what I did:
<? $idcoment = get_post_meta(get_the_id(), '_and_the_winner_is', true); if($idcoment) { echo 'This giveaway/contest is finished and the winner was: <a href="#comment-'.$idcoment.'">'.get_comment_author($idcoment).'</a>'; } ?>
I pasted the code above right before <?php the_content(); ?> tag in my single.php page.
Hope it helps.
Here is a workign example from my blog: https://cupcakes.blog.br/geral/sorteio-de-um-dominio-e-hospedagem-por-um-ano/Forum: Plugins
In reply to: Custom work on WP Directory Pro NeededWhat do you need? If you still need it of course…
Forum: Plugins
In reply to: WP Directory ProYes, mobile, here too.
I already got it working (kinda), as soon as I get it fully functional, i will post it here.
If anyone needs any help, contact me at [email protected]
Forum: Plugins
In reply to: WP Directory ProYeah, I have no replies either. So I’m gonna make it better and offer to everyone – in a legal way if it’s possible.
@borzoid, this is in no way related to what we are discussing here.
But…
[downloads query=”category=1″ format=”1″]For more check author’s page: https://blue-anvil.com/archives/wordpress-download-monitor-3-documentation/
OH, uncheck this option in the plugin permalink page: Redirect ugly URL’s to clean permalinks.
now it’s all good…