Home Forums Backend Issues (wp-admin) How to reorder the fields from ACF


How to reorder the fields from ACF

  • Hi, please take a look this picture, how to move the ACF field(project galleries) to the bottom of Cover meta box. Cover is a custom featured image but I modified it.

    The priority already high but not working, here’s the custom featured image custom code

     * Rename and move Post Thumbnail Meta Box.
     * @since 1.0
    function my_portfolio_move_thumbnail_meta_box() {
    	remove_meta_box( 'postimagediv', 'portfolio', 'side' );
    	add_meta_box( 'postimagediv', __( 'Cover', 'tokokoo' ), 'post_thumbnail_meta_box', 'portfolio', 'normal', 'high' );
    add_action( 'do_meta_boxes', 'my_portfolio_move_thumbnail_meta_box' );
  • No, it not works. It’s weird, before I exported the code and put it in my theme the position is ok, below the Cover metabox. But when I used the exported code it switch the position :/

Viewing 3 posts - 1 through 3 (of 3 total)

The topic ‘How to reorder the fields from ACF’ is closed to new replies.

We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Cookie Policy. If you continue to use this site, you consent to our use of cookies.