Banner Image for post and page

Description

Banner Image is a great plugin to implement custom banner Image for posts, pages, and custom post types (CPT). You can set images easily and later can manage CSS from your theme.

it’s totally free.

For more features Please contact us at Logicrays
If you like this plugin Please rate us 🙂

Plugin Features

  • All modern browser support
  • Works with any type of theme
  • Easy to customize for developers
  • Easy to configure
  • Supports Custom Post Types (CPT) via an admin settings page

Shortcode

[BANNER-IMG]

Screenshots

Installation

  1. Upload Zip file banner-image to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‚Plugins‘ menu in WordPress

FAQ

How do I add a banner image to my post or page?

Go to the WordPress editor for any post or page. Look for the «Banner Image» meta box in the sidebar. Click «Choose or Upload an Image» to select or upload your image from the Media Library.

How do I enable the banner image metabox on Custom Post Types (CPT)?

Go to the «Banner Image» settings menu in your WordPress admin dashboard, select the Custom Post Types where you want to show the metabox, and click «Save Settings».

How do I display the banner image on the frontend?

You can place the [BANNER-IMG] shortcode inside the content editor of the post or page. Alternatively, to display it directly in your theme templates (like header.php), use the PHP code: <?php echo do_shortcode('[BANNER-IMG]'); ?>.

Can I set a different banner image for each page?

Yes. The banner image is post/page-specific. The plugin retrieves the image assigned specifically to the post or page currently being viewed.

How can I customize the appearance of the banner image?

The plugin wraps the image in a div with the class banner-image. You can customize its look by adding CSS to your theme’s stylesheet. For example:
.banner-image img { width: 100%; height: auto; border-radius: 8px; }

What happens if a post or page doesn’t have a banner image?

If no image is uploaded or chosen for a post/page, the shortcode will output nothing, ensuring your page layout remains clean without displaying broken images.

Reviews

Read all 0 reviews

Contributors & Developers

“Banner Image for post and page” is open source software. The following people have contributed to this plugin.

Contributors

Changelog

1.3

  • Added support for Custom Post Types (CPT).
  • Added a settings menu page to configure metabox visibility across post types.

1.2

  • WordPress.org compliance and security improvements.
  • Updated text domain, readme headers, and asset versioning.

1.1

  • Added Remove Link.