Skip to content

Instantly share code, notes, and snippets.

@barbwiredmedia
Last active February 23, 2023 23:55
Show Gist options
  • Star 11 You must be signed in to star a gist
  • Fork 2 You must be signed in to fork a gist
  • Save barbwiredmedia/8229619 to your computer and use it in GitHub Desktop.
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.
// Move Yoast Meta Box to bottom
function yoasttobottom() {
return 'low';
}
add_filter( 'wpseo_metabox_prio', 'yoasttobottom');
@usm-interactive
Copy link

usm-interactive commented Jun 30, 2021

Thank fuck! 👍 Super helpful, I can't stand how this puts itself above our content based page builder on the back end.

@mikeott
Copy link

mikeott commented Aug 3, 2021

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