Archives: Code Snippets

How to Remove Genesis TitleLogo Metabox from Customizer

How to Remove Genesis Title/Logo Metabox from Customizer

/* * Remove title/logo metabox from Genesis customizer * See https://developer.wordpress.org/themes/advanced-topics/customizer-api/ */ add_action( ‘customize_register’, ‘es_theme_customize_register’, 99 ); // Priority had to be last for this

How to Register Custom Featured Image Size for Page in Genesis

How to Register Custom Featured Image Size for Page in Genesis

// Register a custom image size for Singular Page Featured images add_image_size( ‘singular-page-featured-thumb’, 1277, 300, true ); // Display image before content-sidebar-wrap add_action( ‘genesis_before_content_sidebar_wrap’, ‘page_display_featured_image’