EasyWP Mobile Featured Image is a mobile-optimized WordPress plugin that solves the inconsistency between desktop and mobile featured image display. It allows administrators to set separate featured images for mobile devices, enhancing the browsing experience for mobile users.
Adds a "Mobile Featured Image" meta box to the sidebar of post/page edit screens – supports upload, preview, and removal.
Detects mobile visits via wp_is_mobile() – replaces thumbnail IDs, metadata, HTML output, and post list images.
Automatically returns mobile featured image data for mobile API requests – compatible with headless WordPress setups.
Flexible extension for developers – shortcode with custom parameters and 4 template helper functions.
Works with all public post types (posts, pages, custom post types) – no extra configuration needed.
Basic usage: [mobile_featured_image]
Custom usage: [mobile_featured_image id="123" size="medium" class="custom-class" alt="Custom alt text"]
has_mobile_featured_image( $post_id ) – Checks if a post has a mobile featured imagethe_mobile_featured_image( $size, $attr ) – Outputs the mobile featured image (falls back to default)get_mobile_featured_image_url( $post_id, $size ) – Retrieves the image URLget_mobile_featured_image_id( $post_id ) – Retrieves the image ID