Skip to content

Instantly share code, notes, and snippets.

@aderaaij
Last active April 3, 2024 20:11
Show Gist options
  • Star 49 You must be signed in to star a gist
  • Fork 8 You must be signed in to fork a gist
  • Save aderaaij/6767503 to your computer and use it in GitHub Desktop.
Save aderaaij/6767503 to your computer and use it in GitHub Desktop.
Wordpress - Move yoast seo boxes to bottom of post/page
// Move Yoast to bottom
function yoasttobottom() {
return 'low';
}
add_filter( 'wpseo_metabox_prio', 'yoasttobottom');
@David-Foley
Copy link

Works and easy to add, A++

@narekmal
Copy link

Thanks

@gavin310
Copy link

Thanks! If you want to make this even more simple, you can just do add_filter( 'wpseo_metabox_prio', function() { return 'low'; } );

@jshrssll
Copy link

Thank you!

@CapWebSolutions
Copy link

Nice. Thanks!

@edkf
Copy link

edkf commented May 4, 2018

Thanks =)

@oliviercay
Copy link

Thanks !

@amacrae
Copy link

amacrae commented Jun 23, 2018

Perfect thanks!

@geoclaps
Copy link

geoclaps commented Nov 5, 2018

Works like a charm. Hope it will be update proof for a while :) Thanx a lot.

@artneo7
Copy link

artneo7 commented Nov 12, 2018

This code doesn't work for Editor's role on page. Can anyone confirm that or share a solution? Thanks!

@Pangolino91
Copy link

should I add this code in functions.php?

@jnaklaas
Copy link

Doesn't seem to be working since wordpress 5...

@Interinactive
Copy link

I can confirm it works in Wordpress 5

@BenQuirk
Copy link

BenQuirk commented May 7, 2019

Confirming that this snippet worked to move yoast to the bottom for all users:

add_filter( 'wpseo_metabox_prio', function() { return 'low'; } );

@Anna-Cantrell
Copy link

slow clap

@steroyle
Copy link

Working fine in WordPress 5.3

@itsmattsoria
Copy link

Thank you! 👍

@chithract
Copy link

Thank you (y)

@IntrepidRealist
Copy link

Hallelujah!! Works for me!

@brrrm
Copy link

brrrm commented Jun 23, 2020

working great in WP 5.4

@smallcolin
Copy link

Great stuff!

@geoclaps
Copy link

geoclaps commented Sep 4, 2020

Still works fine, thank you.

@davidhyland
Copy link

Yup, perfect hack. Thank you!

@nater-media
Copy link

Is it still working in 5.8 for anyone? I seem to be having troubles.

@IntrepidRealist
Copy link

I'm running 5.8 and it's still working for me.

@webermori
Copy link

Thank you! 👍

@ajaxthemestudios
Copy link

Thank you very much!

@arun369
Copy link

arun369 commented Apr 8, 2022

Works very well, thanks a lot. 👍👍

@dieppon
Copy link

dieppon commented Aug 22, 2022

using on WP 6.0.1 with Yoast 19.5.1.

Moving the meta from the content area, will break the primary term feature:

An error occurred loading the Yoast SEO primary taxonomy picker.

@ceccaHF
Copy link

ceccaHF commented Aug 25, 2022

Great, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment