• Skip to main content
  • Skip to forum navigation

StudioPress

  • Shop for Themes
  • My StudioPress

Forum navigation

  • Home
  • General Genesis Discussions
  • StudioPress Themes
  • Genesis Blocks
    • Genesis Blocks
    • Genesis Custom Blocks
  • Retired Themes
  • FAQs
  • Forum Rules
  • Internationalization and Translations
  • Forum Bugs and Suggestions
  • Forum Log In

Are You Using The WordPress Block Editor?

Genesis now offers plugins that help you build better sites faster with the WordPress block editor (Gutenberg). Try the feature-rich free versions of each plugin for yourself!

Genesis Blocks Genesis Custom Blocks

rgentile

Welcome!

These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.

Log In
Register Lost Password
  • Profile
  • Topics Started
  • Replies Created
  • Engagements
  • Favorites

Forum Replies Created

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • September 13, 2016 at 4:05 pm in reply to: How position Theme SEO Settings below custom meta boxes on entry screen? #193119
    rgentile
    Member

    I recreated the plugin file and the metaboxes are now displaying in the order I need them to appear. I am not sure why this resolved the problem but it did so perhaps I made a noob error or fat fingered something.

    Thanks.

    September 13, 2016 at 8:47 am in reply to: How position Theme SEO Settings below custom meta boxes on entry screen? #193086
    rgentile
    Member

    Thank you for your time and reply Brad.

    I am using CMB2 to create the metaboxes and the priority there is set to 'high':

    add_action( 'cmb2_admin_init', 'cmb2_locations_metaboxes' );
    function cmb2_locations_metaboxes() {
      $prefix = '_bzka_';
      $cmb = new_cmb2_box( array(
        'id'            => 'location_metabox',
        'title'         => __( 'Location Information', 'cmb2' ),
        'object_types'  => array( 'bzka_locations' ), // Post type
        'context'       => 'normal',
        'priority'      => 'high',
        'show_names'    => true, // Show field names on the left
        'cmb_styles' => false, // false to disable the CMB stylesheet
      ) );
    }
    

    I tried changing the priority of my add_action but that had no effect.
    add_action( 'cmb2_admin_init', 'cmb2_locations_metaboxes', 9 );
    add_action( 'cmb2_admin_init', 'cmb2_locations_metaboxes', 25 );

    So I then tried adding the code from http://www.billerickson.net/code/move-genesis-metaboxes/

    It moves the Theme SEO Settings metabox down on the entry page for a Page but not for my custom post type.

    I am creating my custom post type and custom metaboxes in a plugin added to the mu-plugins directory. However, I also tried deleting that plugin and moving the code to my functions.php but nothing changed.

    So I am guessing the issue is related to my custom post type but I am not really sure how to continue troubleshooting.

    Do you have any suggestions on where to focus my troubleshooting/learning?

    Thanks again for your time,

    robertg

  • Author
    Posts
Viewing 2 posts - 1 through 2 (of 2 total)

CTA

Ready to get started? Create a site or shop for themes.

Create a site with WP EngineShop for Themes

Footer

StudioPress

© 2026 WPEngine, Inc.

Products
  • Create a Site with WP Engine
  • Shop for Themes
  • Theme Features
  • Get Started
  • Showcase
Company
  • Brand Assets
  • Terms of Service
  • Accptable Usse Policy
  • Privacy Policy
  • Refund Policy
  • Contact Us
Community
  • Find Developers
  • Forums
  • Facebook Group
  • #GenesisWP
  • Showcase
Resources
  • StudioPress Blog
  • Help & Documentation
  • FAQs
  • Code Snippets
  • Affiliates
Connect
  • StudioPress Live
  • StudioPress FM
  • Facebook
  • Twitter
  • Dribbble