I clearly didn’t know how to google, as this page already explains how to do exactly what I wanted. Adapting it a bit, for it to work with different post types, I came up with the following:
add_action('do_meta_boxes', 'replace_featured_image_box');
function replace_featured_image_box()
{
$post_types = array('bwps', 'page', 'post');
foreach( $post_types as $post_type ) {
remove_meta_box( 'postimagediv', $post_type, 'side' );
add_meta_box('postimagediv', __('Featured Image <small style="opacity: .6">500*500</small>'), 'post_thumbnail_meta_box', $post_type, 'side', 'low');
}
}
Related Posts:
- How can I get the title attribute from get_the_post_thumbnail()?
- Set Featured Image for Archive templates
- How can I add a set featured image function to a theme that doesn’t already have it built in?
- Theme editor not showing correct index.php
- How do you get thumbnails to show up in the admin edit post?
- 100% width Featured Image Size
- Is it possible to create child themes using the WordPress Dashboard?
- Featured images, am I missing something?
- How can I manually activate my previous theme without browser access to dashboard?
- Change avatar on themed profile page
- Recommended Media Size for Twenty Fourteen
- get_the_post_thumbnail() produces different HTML on same arguments
- Widgets not showing on sidebars
- Migrating a website using custom image tags to use featured images instead
- remove theme’s name from dashboard .. How?
- Why does an ad page open when I browse my websites’s wp-admin page?
- WP Snippet to Hide Theme Editor In Dashboard Only Works On LocalHost Site
- How do I get the featured image to sit below the header in the twenty nineteen theme?
- Themes don’t show up in the dashboard -> Appearance -> Themes
- WordPress Dashboard Problem [closed]
- Featured images are cropped on index and post page
- Change theme’s thumbnail to cropped WP featured image
- Theme stops media uploader from working
- How to add/edit content Custom Content item in theme
- Link to specific Customizer section
- How do I change the header image height in Twenty Seventeen?
- When cropping a header image, retain meta data (i.e. name, description, etc.) from original image?
- How to create a new theme from scratch?
- What theme is good for posting code? [closed]
- How do you change the theme location?
- How to see files in directories in “Edit Themes” screen
- WordPress generating 404 on .mp4 file in theme folder
- How can I check for malware in a Theme? [closed]
- Editing theme files and access to the Code pages only to super-admin?
- Theme of codinghorror.com
- Weird post pagination url redirect
- Download WordPress.com theme: how?
- Can I rename a theme’s folder and still receive updates?
- Child theme not visible
- Custom theme folder
- How to load parent theme style.css?
- Help with WordPress Query
- Are theme .php files stored in the database?
- Inject widgets from one sidebar into another with PHP
- Where all are child themes recorded when they are created in WordPress
- I have some doubts regarding how to implement child theme
- Execute filter in theme as last
- Why style.css with ?ver=3.9.2 not updating as the one without ?ver=3.9.2?
- An unexpected error occurred. Something may be wrong with WordPress.org
- Incompatible Archive. PCLZIP_ERR_BAD_FORMAT (-10)
- how to remove category nav from Bueno (WordPress Theme) header [closed]
- Website redesign – New theme – Help needed
- ‘Add New’ button not present [closed]
- How to style the post previews/links without it affecting the main posts?
- How can we hide the parent’s theme url at the child themes details on a multisite?
- How to work on a new Theme for a site while still keeping the old Theme live
- Tips for managing code when developing a parent theme framework
- problem with my my theme “search.php”
- How can I show full text, not summary for the homepage and in categories?
- How to assign custom template to specific products in Woocommerce?
- How to make content area in full width in Twenty Twenty-One theme?
- The requested theme does not exist. Stylesheet is missing – error after changing style.css name to my-styles.css in wp child theme?
- Re-zipping or extracting theme from wordpress site files
- Can I easily switch themes on a fully built website? [closed]
- Why does wordpress add Theme not list a specific theme anymore?
- How to remove a large ugly space from my wordpress site?
- Moving the search bar to be in menu bar
- current_user_can(‘manage_options’) causes white screen of death?
- Does WP, php, or a current framework (woofoo / genesis, etc). Offer a way to schedule text / bg color changes?
- different theme in one website
- I made new theme directory, why won’t it show up in admin GUI?
- Editing Theme and Moving Servers
- CSS appears to not work on any WordPress theme
- setcookie on WordPress Page Template
- Is it a good idea to make WordPress theme repository public?
- How to validate new added field (Phone number) which is added to registration form?
- How do you remove the “The Link You Followed Has Expired” error for a subfolder website?
- Switching among theme customizations
- Will I still have my website wordpress theme if I transfer my website to sites like Namecheap?
- How to change wordpress gutenberg editor font to match default theme font?
- Facebook Icon on top of WordPress Site Header and Top Bar
- How to make wordpress theme option page in columns?
- 404 not working, going to homepage; how to fix?
- Local LAMP Stack on Linux Mint theme upload fails
- My theme is adding an unmatched end tag and outputting it to my screen
- How do WordPress themes work in relation to content?
- WordPress Customazation API section in section
- TwentyFourteen Theme : Changing grid layout
- How to allow users to switch to the child theme from front end without plugin?
- Change whole theme depending on resolution
- How to remove the option data of a theme when that theme is removed?
- Resetting Themes Folder to Default
- How to Hide Blog Post Author?
- Convert theme to be based on Bootstrap?
- Include root files into header files
- Static posts page is not working
- Cannot use some themes within Managed WordPress of Go Daddy [closed]
- How to track your theme usage on the internet?
- How to add Company Logo to Chosen Theme
- What security risk is not having “default” theme?