Title: Random Quote &#8211; Daily Inspirational Quotes for WordPress
Author: Huzaifa Al Mesbah
Published: <strong>2024 年 8 月 23 日</strong>
Last modified: 2025 年 3 月 13 日

---

搜索插件

![](https://ps.w.org/random-quote/assets/banner-772x250.png?rev=3140084)

![](https://ps.w.org/random-quote/assets/icon-256x256.png?rev=3140084)

# Random Quote – Daily Inspirational Quotes for WordPress

 作者：[Huzaifa Al Mesbah](https://profiles.wordpress.org/huzaifaalmesbah/)

[下载](https://downloads.wordpress.org/plugin/random-quote.1.1.0.zip)

[实时预览](https://cn.wordpress.org/plugins/random-quote/?preview=1)

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

 [支持](https://wordpress.org/support/plugin/random-quote/)

## 描述

Random Quote is a powerful yet lightweight WordPress plugin that brings daily inspiration
to your website through carefully curated quotes from the ZenQuotes API. Perfect
for blogs, business websites, or any platform seeking to engage visitors with meaningful
content.

#### Key Features

 * **Daily Fresh Quotes** – Automatically fetches and displays new inspirational
   quotes every 24 hours
 * **Multiple Integration Options**:
    - Modern Gutenberg Block for visual integration
    - Classic [wpprq_quote] shortcode support
 * **Performance Optimized**:
    - Smart 24-hour quote caching
    - Minimal API requests
    - Lightweight and fast loading

### Check out our other Plugins

Enhance your WordPress site with our other powerful plugins:

 * **[Smart Password Protect](https://wordpress.org/plugins/smart-password-protect/)**–
   Secure your WordPress site with password protection and IP whitelisting.
 * **[Redirect After Logout](https://wordpress.org/plugins/redirect-after-logout/)**–
   Redirect users to a custom page after logging out for enhanced user experience.
 * **[Access Defender](https://wordpress.org/plugins/access-defender/)** – Advanced
   security plugin to protect your WordPress site from unauthorized access and malicious
   attacks.
 * **[Contributors Gallery](https://wordpress.org/plugins/contributors-gallery/)**–
   Showcase your WordPress contributors in a beautiful and customizable gallery 
   layout.
 * **[Product Spotlight Badge](https://wordpress.org/plugins/product-spotlight-badge/)**–
   Highlight your WooCommerce products with eye-catching badges to boost sales.

**Please Note:** This plugin relies on the ZenQuotes API to fetch the daily quotes.
By using this plugin, you agree to the [ZenQuotes API Terms and Conditions](https://docs.zenquotes.io/terms-and-conditions/)
and [Privacy Policy](https://docs.zenquotes.io/privacy-policy/). Your website will
send a request to the ZenQuotes API to retrieve a quote, and the API’s servers may
log certain data such as IP addresses as part of their normal operations.

### Privacy Policy

Random Quote uses [Appsero](https://appsero.com) SDK to collect some telemetry data
upon user’s confirmation. This helps us to troubleshoot problems faster & make product
improvements.

Appsero SDK **does not gather any data by default.** The SDK only starts gathering
basic telemetry data **when a user allows it via the admin notice**. We collect 
the data to ensure a great user experience for all our users.

Integrating Appsero SDK **DOES NOT IMMEDIATELY** start gathering data, **without
confirmation from users in any case.**

Learn more about how [Appsero collects and uses this data](https://appsero.com/privacy-policy/).

### API Credits

The plugin uses the ZenQuotes API (https://zenquotes.io/) to fetch daily inspirational
quotes.

### License

This plugin is licensed under the GNU General Public License v2 or later.

## 屏幕截图

 * [[
 * Screenshot of the daily inspirational quote displayed on a website.

## 区块

该插件提供了 1 个区块.

 *   Random Quote Display a random inspirational quote from ZenQuotes API on your
   website.

## 安装

#### Via WordPress Repository (Recommended):

 1. Log in to your WordPress Dashboard
 2. Navigate to Plugins > Add New
 3. Search for “Random Quote”
 4. Click “Install Now” and wait for the installation to complete
 5. Click “Activate” to enable the plugin
 6. Start using the plugin by adding the Gutenberg block or shortcode

#### Manual Installation:

 1. Download the plugin zip file from WordPress.org
 2. Log in to your WordPress Dashboard
 3. Navigate to Plugins > Add New > Upload Plugin
 4. Choose the downloaded zip file and click “Install Now”
 5. After installation, click “Activate”
 6. Begin using the plugin’s features

#### How to Use

**Using Gutenberg Block (Recommended):**
 1. Create or edit a post/page 2. Click
the ‘+’ button to add a new block 3. Search for “Random Quote” 4. Select the Random
Quote block 5. The quote will automatically appear in the editor 6. Customize the
appearance using block settings

**Using Shortcode:**
 1. Edit any post, page, or widget 2. Add the shortcode [wpprq_quote]
where you want the quote to appear 3. Save your changes 4. The quote will be displayed
on your page

## 常见问题

### How often does the quote update?

The plugin fetches a new quote daily from the ZenQuotes API. The quote is cached
for 24 hours to optimize performance and reduce API calls.

### Can I customize the quote’s appearance?

Yes! The Gutenberg block provides basic styling options. For advanced customization,
you can use custom CSS to style the quote container.

### Does the plugin work with page builders?

Yes, you can use the shortcode [wpprq_quote] with any page builder that supports
shortcodes.

### Does the plugin store any user data?

The plugin itself does not store any user data. However, when fetching a quote from
the ZenQuotes API, certain data such as IP addresses may be logged by the API provider.

### Is the plugin GDPR compliant?

Yes, the plugin is GDPR compliant. It only processes the minimum data necessary 
for functionality and clearly discloses any data collection through Appsero SDK (
which is opt-in only).

## 评价

此插件暂无评价。

## 贡献者及开发者

「Random Quote – Daily Inspirational Quotes for WordPress」是开源软件。 以下人员
对此插件做出了贡献。

贡献者

 *   [ Huzaifa Al Mesbah ](https://profiles.wordpress.org/huzaifaalmesbah/)
 *   [ WPPure ](https://profiles.wordpress.org/wppure/)

[帮助将「Random Quote – Daily Inspirational Quotes for WordPress」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/random-quote)

### 对开发感兴趣吗?

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

## 更新日志

#### 1.1.0

 * Added Gutenberg block support for easier quote integration
 * Improved code organization with PSR-4 autoloading
 * Optimized API calls with 24-hour quote caching
 * Enhanced performance by minimizing API requests

#### 1.0.2

 * Added integration with AppSero for tracking plugin usage and updates.

#### 1.0.1

 * Update Description.

#### 1.0.0

 * Initial release.

## 额外信息

 *  版本 **1.1.0**
 *  最后更新：**1 年前**
 *  活跃安装数量 **80+**
 *  WordPress 版本 ** 5.6 或更高版本 **
 *  已测试的最高版本为 **6.7.5**
 *  PHP 版本 ** 7.0 或更高版本 **
 *  语言
 * [English (US)](https://wordpress.org/plugins/random-quote/)
 * 标签
 * [quote](https://cn.wordpress.org/plugins/tags/quote/)[random quote](https://cn.wordpress.org/plugins/tags/random-quote/)
   [shortcode](https://cn.wordpress.org/plugins/tags/shortcode/)
 *  [高级视图](https://cn.wordpress.org/plugins/random-quote/advanced/)

## 评级

尚未提交反馈。

[Your review](https://wordpress.org/support/plugin/random-quote/reviews/#new-post)

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

## 贡献者

 *   [ Huzaifa Al Mesbah ](https://profiles.wordpress.org/huzaifaalmesbah/)
 *   [ WPPure ](https://profiles.wordpress.org/wppure/)

## 支持

最近两个月解决的问题：

     总计 1，已解决 0

 [查看支持论坛](https://wordpress.org/support/plugin/random-quote/)