Title: Rotating Hero Image
Author: wsxplugindev
Published: <strong>2022 年 3 月 29 日</strong>
Last modified: 2023 年 2 月 10 日

---

搜索插件

![](https://ps.w.org/rotating-hero-image/assets/banner-772x250.gif?rev=2706898)

**该插件尚未通过WordPress的最新3个主要版本进行测试**。 当与较新版本的WordPress一起
使用时，可能不再受到维护或支持，并且可能会存在兼容性问题。

![](https://ps.w.org/rotating-hero-image/assets/icon-256x256.png?rev=2706100)

# Rotating Hero Image

 作者：[wsxplugindev](https://profiles.wordpress.org/wsxplugindev/)

[下载](https://downloads.wordpress.org/plugin/rotating-hero-image.zip)

 * [详情](https://cn.wordpress.org/plugins/rotating-hero-image/#description)
 * [评价](https://cn.wordpress.org/plugins/rotating-hero-image/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/rotating-hero-image/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/rotating-hero-image/#developers)

 [支持](https://wordpress.org/support/plugin/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:

    ```
    [wsx_hero_image]
    ```

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-1.png⌉[

screenshot-1.png

[⌊screenshot-2.png⌉⌊screenshot-2.png⌉[

screenshot-2.png

[⌊screenshot-3.png⌉⌊screenshot-3.png⌉[

screenshot-3.png

[⌊screenshot-4.png⌉⌊screenshot-4.png⌉[

screenshot-4.png

[⌊screenshot-5.png⌉⌊screenshot-5.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」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ wsxplugindev ](https://profiles.wordpress.org/wsxplugindev/)

[帮助将「Rotating Hero Image」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/rotating-hero-image)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/rotating-hero-image/)，
查看[SVN仓库](https://plugins.svn.wordpress.org/rotating-hero-image/)，或通过[RSS](https://plugins.trac.wordpress.org/log/rotating-hero-image/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/rotating-hero-image/)。

## 更新日志

#### 1.0.0

 * Initial Release — February 2022

#### 1.0.1

 * Setting link added in plugin page.

#### 1.0.2

 * Fixed loaded media file deleted issue.

#### 1.0.3

 * Updated the plugin to be compatible with 5.9.3

#### 1.0.4

 * Updated the plugin to be compatible with 6.0

#### 1.0.5

 * Updated the plugin to be compatible with 6.0.1

#### 1.0.6

 * Updated the plugin to be compatible with 6.0.2

#### 1.0.7

 * Updated the plugin to be compatible with 6.1.1

## 额外信息

 *  版本 **1.0.7**
 *  最后更新：**3 年前**
 *  活跃安装数量 **30+**
 *  WordPress 版本 ** 5.4 或更高版本 **
 *  已测试的最高版本为 **6.1.10**
 *  语言
 * [English (US)](https://wordpress.org/plugins/rotating-hero-image/)
 * 标签
 * [hero banner](https://cn.wordpress.org/plugins/tags/hero-banner/)[hero image](https://cn.wordpress.org/plugins/tags/hero-image/)
   [timer](https://cn.wordpress.org/plugins/tags/timer/)
 *  [高级视图](https://cn.wordpress.org/plugins/rotating-hero-image/advanced/)

## 评级

尚未提交反馈。

[Your review](https://wordpress.org/support/plugin/rotating-hero-image/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/rotating-hero-image/reviews/)

## 贡献者

 *   [ wsxplugindev ](https://profiles.wordpress.org/wsxplugindev/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/rotating-hero-image/)

## 捐助

您愿意支持这个插件的发展吗?

 [ 捐助此插件 ](https://www.webstix.com/payment)