Last active
February 23, 2023 23:55
-
-
Save barbwiredmedia/8229619 to your computer and use it in GitHub Desktop.
Wordpress SEO Yoast Order meta box. This will change the priority of Yoasts meta box and move it to the bottom of all pages / posts.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Move Yoast Meta Box to bottom | |
function yoasttobottom() { | |
return 'low'; | |
} | |
add_filter( 'wpseo_metabox_prio', 'yoasttobottom'); |
Props for this! To make the experience even better and close that metabox by default (it never remembers the closed state for me), I just wrote this function.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thank fuck! 👍 Super helpful, I can't stand how this puts itself above our content based page builder on the back end.