mathieu
Forum Replies Created
-
Is there any solutions / fix yet?
It’s Yoast.
I had to downgrade to this version for the time being.
https://github.com/Yoast/wordpress-seo/releases/download/10.0.1/wordpress-seo.zipAlso, define(‘AUTOMATIC_UPDATER_DISABLED’, true);
My load goes from < 2.0 to > 30.00 with the new YOAST. On 8 cores and 32GB ram.
I have the same problem.
I didn’t noticed it with 10.1.1 but since this morning with 10.1.2, I’m fighting very high load that is automatically reduced to normal when I remove Yoast SEO.
There seems to be a ton of update options or maybe something that is called on every page load.
Forum: Developing with WordPress
In reply to: I am trying to order posts using a few customs meta_keyThanks a lot guys
I’ve kind of make it works with this code :
$meta_query = array( 'meta_query' => array( 'relation' => 'AND', // OR is the default relation parameter, if this is excluded 'is_prime_now' => array( 'key' => 'is_prime_now', 'compare' => 'EXISTS', 'type' => 'NUMERIC', ), 'nombre_de_vue' => array( 'key' => 'nombre_de_vue', 'compare' => 'EXISTS', 'type' => 'NUMERIC', ), ) ); $query->set('meta_query', $meta_query); $query->set('orderby', 'is_prime_now DESC, nombre_de_vue DESC, post_date DESC');However, is there a way to make it LEFT JOIN instead of INNER JOIN?
I don’t want WordPress to discard a post because there’s a missing parameters?
Regards,
Forum: Plugins
In reply to: [WP YouTube Lyte] It’s not being triggered and I don’t know why.๐
I sure did.
Thanks again.
Forum: Plugins
In reply to: [WP YouTube Lyte] It’s not being triggered and I don’t know why.I don’t want to tell you how to manage your plugin but it seems like you are one if condition away from the fastest and more user-friendly solution.
If not, that leaves us with the choice of an extra dns + http + ssl negotiation which is kind-of costly or having mobile users confused as to why their video doesn’t start.
Maybe, I am just in an over-optimization phase.
Anyway, have a nice day off and congrats for your works.
Regards,
Forum: Plugins
In reply to: [WP YouTube Lyte] It’s not being triggered and I don’t know why.Hi Frank,
I’ve done the upgrade and it works very well on desktop, thanks a lot.
However, even if I have this code for mobile :
add_filter('lyte_do_mobile', 'desactiver_youtube_lyte_sur_mobile', 10, 0); if (!function_exists("desactiver_youtube_lyte_sur_mobile")) { function desactiver_youtube_lyte_sur_mobile() { return false; } }It’s still showing up as Lyte instead of just a late-loaded YouTube.
I wondered if it was because W3TotalCache has a desktop version on cache but I logged as an admin and I have the same result.
Any ideas?
Forum: Plugins
In reply to: [WP YouTube Lyte] It’s not being triggered and I don’t know why.1) I’ll wait for the new version and check it out next week then ๐
2) Awesome.
3) Well, that script has then been granted a special nginx bypass and it works.
Thanks a lot.
Forum: Plugins
In reply to: [WP YouTube Lyte] It’s not being triggered and I don’t know why.Well, yes and no. I understand your point and I might have found ยซ The One ยป but I am running WordPress since 2005 and I have seen plugins come and goes (don’t take that personally). I already used another video embedder and ended up with a bunch of useless shortcodes when the plugin went the way of the dodo.
I really prefer doing it the WordPress way with a plugin hooking on that.
There’s that and also I have multiples sites, writers, guest bloggers, etc. I would need to keep instructing people to use shortcode that is nowhere in the menu and that sounds like a pain.
Now that I have said that, I made it works with your filter example.
re-re (1); But it’s happening on desktop too. I’ve seen another thread that says to download from git. Is that still the solution?
Also, what’s the best way to handle lyte on mobile if I want single click? Return false on “lyte_do_mobile”? Will that totally stop Lyte from speeding things up or just fix the double-click issue?
re-re (2); Yeah, you’re right. In the end, I am pretty sure YouTube is serving it faster than me anyway ๐
Thanks a lot.
- This reply was modified 7 years, 3 months ago by mathieu.
Forum: Plugins
In reply to: [WP YouTube Lyte] It’s not being triggered and I don’t know why.The missing quote is really the HTML optimize function of Autoptimize who did it.
But you were right that adding https did trigger the YouTube Lyte succesfully.
It was my TinyMCE Advanced editor that was stripping the https, so I decided to remove it and go leaner with built-in WordPress function to embed media.
I ended up with this shortcode.
[embed]https://www.youtube.com/watch?v=shyFWU8pCjs[/embed]
And we are back to not being triggered again. Is there a tricks to make it works with simple embed?
Also, a few additional questions that was raised while it worked.
1) Is there a way to make it play on the first click? With the plugin, I have to click once on the fake arrow and once on the real one for the video to start. Maybe it should be embedded with autoplay on the first click?
2) I understand that’s probably my problem but I can’t use the cache locally function since it directly calls a php file inside the wp-content folder without going through WordPress (/wp-content/plugins/wp-youtube-lyte/lyteThumbs.php?origThumbUrl=xxxx). It is pretty much basic wordpress security to 403 those kind of scripts.
Best regards,
Forum: Your WordPress
In reply to: RSS2 feed <pubDate> is invalidHi,
I’ve finally found a way to fixed it by myself.
There’s an optional parameters to the function mysql2date. You need to set it to รยซ 0 รยป so that it use english dating.
<pubDate><?php echo mysql2date(‘D, d M Y H:i:s +0000’, get_the_time(‘Y-m-d H:i:s’), 0); ?></pubDate>
I hope, It ultimately help someone fix is problem.
Cheers,
MattForum: Your WordPress
In reply to: RSS2 feed <pubDate> is invalidAnyone ?