• Resolved Harris O.

    (@hfort)


    Is there any function that I can use to set the metabox priority to low? I use ACF a lot and the SEO metabox is placing on top of them. On Yoast and All in one, there are functions that we can move the metabox to be the last one and I’m wondering if I can accomplish the same with this plugin.

    Here is a function that I use for all in one:

    
    function lower_aioseop_priority( $html ) {
        return 'low';
    }
    add_filter( 'aioseop_post_metabox_priority', 'lower_aioseop_priority' );
    

    Thanks

    • This topic was modified 4 years, 5 months ago by Harris O..
Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Anh Tran

    (@rilwis)

    Hi @hfort ,

    Yes, there’s a way to do that, please follow this tutorial.

    I’ll add a filter to make it easier in the next version.

    Thread Starter Harris O.

    (@hfort)

    Hi Anh, thanks for the quick reply and solution. That snippet does the trick but only for posts. Is there any way we can use an array to include pages and other CPTs? I’ve tried a few array variations but no luck from my end.

    Thank you again for your excellent support.

    Plugin Author Anh Tran

    (@rilwis)

    Hi @hfort,

    Thanks for your feedback. I’ve added 2 filters for changing meta box context and priority here. They’ll be available in the next version.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Set Metabox Priority to Low’ is closed to new replies.