Google recommend migrate scripts from head to body. So embed jquery from head to after <body> can improve pagespeed? What do you think about that?
Sorry, I missed your point…
You can’t!
There is no hook on wordpress to move the header scripts to right after the body… you would have to dequeue jquery and then manually hardcode it to the theme… however, this will break other things because wordpress has dependencies.
Many plugins load their scripts “depending” on jquery being enqueued and detected. If you remove it, those scripts wouldn’t detect it being enqueued and they would not enqueue their own scripts.
You could use the preload feature and see if it makes a difference.
I add some success on pagespeed, having jquery render blocking and then having it with a preload header, which ended up downloading it before the browser had time to reach the html section where jquery is called.
But in short, google recommends it… sure, but the sites have to be made from scratch with that in mind. WordPress is a set of moving parts, themes, plugins, etc… it needs render blocking sometimes, in order to work… unless you are a developer and manually edit each theme and plugin to allow it to be deferred.