Viewing 3 reply threads
  • Author
    Posts
    • #2074
      Jason
      Keymaster

      Hello!

      I’ve run into this a couple times now, and would love to see if there’s a simple solution. Basically, if the install is using WordPress SEO, it adds the “WordPress SEO by Yoast” meta-box. This box has a way of fighting for the top, since it’s apparently in High Priority. If I apply the Order field to any of the meta-boxes on the page, the SEO box immediately goes to the top. I’ve tried using High and Core Priority.

      So this ends up meaning that if I want the meta-boxes above the SEO meta-box, I can’t order them manually. Otherwise they’ll all be below it.

      Any thoughts on how to get around this? Possibly change the SEO meta-box to the Advanced Context?

    • #2075
      Jason
      Keymaster

      This works:

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

      That’s a filter that was added by Yoast for exactly this purpose, so it’s safe to use.

      Enjoy! 🙂

    • #2076
      Steve
      Keymaster

      @jason– Nice! Going to use this on Piklist.com. Thanks

    • #2077
      Jason
      Keymaster

      🙂

Viewing 3 reply threads
  • You must be logged in to reply to this topic.