Rotating Hero Image


Hero images on websites are great, but having the same one appear all the time gets… really boring. And using a slideshow on a page can add too much bloat to your code, slowing things down way too much.

Here’s a plugin that rotates multiple hero images automatically – with no code bloat. Images can change hourly if you like or set it to daily (24 hours) – or whatever you want.

This is a plugin made by a website design company. We use this plugin on our clients’ sites all the time. Now you can, too.

Display a hero banner on a page using a background image, title, description, and action button.

Add a hero image to your website’s home page or inside page of your website that automatically changes after a set amount of time. Using this plugin, the image will change, but no extra code is necessary on the front side.

You can also create a hero image on category pages. Change any of them on an hourly basis.

How to use shortcodes on your homepage or other page/post:

Use this shortcode in the editor shortcode block and it will rotate all hero images:


Use this shortcode for a specific category using the category ID:

[wsx_hero_image catid="1"]

If you want to add this functionality to your template/PHP file, use the following code:

<?php echo do_shortcode('[wsx_hero_image catid="1"]'); ?>


  • screenshot-1.png
  • screenshot-2.png
  • screenshot-3.png
  • screenshot-4.png
  • screenshot-5.png


Option 1:

  1. Install the plugin in the Dashboard => Plugins menu => Add New => Upload => Select the zip file => Install Now
  2. Activate plugin in the Dashboard => Plugins menu
  3. After activating the plugin, go to Hero Image menu, add New category and hero image and save setting.

Option 2:

  1. Upload the ‘rotating-hero-image’ folder to the ‘/wp-content/plugins/’ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. After activating the plugin, go to Hero Image menu, add New category and hero image and save setting.

Часті питання

After activating the plugin what should I do?

  1. Add a new category.
  2. Add a new hero image to that category.
  3. Modify the plugin settings to what you want.
  4. Use the category shortcode wherever you want.


Для цього плагіна немає відгуків.

Учасники та розробники

“Rotating Hero Image” — проект з відкритим вихідним кодом. В розвиток плагіну внесли свій вклад наступні учасники:


Перекладіть “Rotating Hero Image” на вашу мову.

Цікавитесь розробкою?

Перегляньте код, перегляньте сховище SVN або підпишіться на журнал розробки за допомогою RSS.

Журнал змін


  • Initial Release — February 2022


  • Setting link added in plugin page.


  • Fixed loaded media file deleted issue.


  • Updated the plugin to be compatible with 5.9.3


  • Updated the plugin to be compatible with 6.0