If you, like us, build WordPress templates using ACF, you may have found yourself wanting to move the Yoast SEO section all the way to the bottom. The plugin itself doesn’t provide an option for this, but this little snippet is all you need.
Just add this to the functions.php file inside your theme folder (or child theme if using a premium theme).
<?php
/*-------------------------------------
Move Yoast to the Bottom
---------------------------------------*/
function wpharvest_yoasttobottom() {
return 'low';
}
add_filter( 'wpseo_metabox_prio', 'wpharvest_yoasttobottom');
Code language: HTML, XML (xml)