WP Manifestindependent plugin directory
manifest / media / wp-rotate-banner

WP Rotate Banner

★ 0stars

Install

Download source zip No release zip yet

This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.

Install straight from GitHub with WP-CLI:

wp plugin install https://github.com/ashishpatel1992/wp-rotate-banner/archive/refs/heads/main.zip
No built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.

Rotate banners by a fixed day interval or show banners during selected date ranges.

Description

WP Rotate Banner adds a Rotate Banners admin menu where you can create banner entries with an image, optional link, optional alt text, and optional start/end dates.

Use the Settings screen to choose:

  • Rotate all published banners every selected number of days.
  • Show only banners that are active inside their selected date ranges.

The current banner can be displayed with a widget or the [rotate_banner] shortcode.

Usage

  1. Upload and activate the plugin.
  2. Go to Rotate Banners > Add New.
  3. Add a title, select a banner image, and publish the banner.
  4. Repeat for each banner.
  5. Go to Rotate Banners > Settings and choose the display mode, interval, and rotation start date.
  6. Add the Rotate Banner widget or place [rotate_banner] in page content.

Shortcode examples:

[rotate_banner]

[rotate_banner width="100%" height="250px" class="homepage-banner"]

Notes

Banner order is controlled by the Order field in the Page Attributes box on each banner edit screen. Lower order values display earlier in the rotation.

If date-based display is enabled and more than one banner is active on the same day, the plugin rotates through those active banners using the configured interval.