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

randomPost

描述

Keep visitors on your website longer and get more traffic on your website by inviting your visitors to read random posts! It’s easy! Just install the randomPost plugin, and select the random URL slug you want to use. This URL slug will redirect your users to a random post of yours! We recommend using the word “random” as your URL slug, but the option exists to use any slug you’d like. Once configured, add the new URL with the slug to your menu as a custom link. That alone will invite visitors to stick around.

To add on top of that, we’ve added a configurable hotkey! If a visitor presses R on their keyboard, it’ll automatically load a random post! You can change the hotkey to be any key you’d like. To add a little more fun to your website, put a notice telling visitors to “Press R to read a random post”.

Features:

  • Easily change the URL for the random post redirect.
  • Easily change the hotkey for the keyboard shortcut to read a random post.
  • Easily enable or disable the hotkey function.
  • Uninstalling the plugin will clean up all data it has stored in the WordPress database.

屏幕截图

  • randomPost settings page.

安装

Install

Installing randomPost can be done from inside your WordPress admin panel by going to Plugins > Add New and searching for “randomPost”.

  1. You can also manually install it by downloading the plugin from wordpress.org/plugins
  2. Upload the entire randompost folder to the /wp-content/plugins/ directory
  3. 通过WordPress的“插件”菜单激活插件
  4. Customize the plugin from the menu by selecting Settings > randomPost Settings.

Uninstall

  1. Deactivate the plugin from the Plugins menu
  2. Select “randomPost” from the list and select “Delete”
  3. This will delete all files from the server and all settings from the WordPress database.

常见问题

Installation Instructions

Install

Installing randomPost can be done from inside your WordPress admin panel by going to Plugins > Add New and searching for “randomPost”.

  1. You can also manually install it by downloading the plugin from wordpress.org/plugins
  2. Upload the entire randompost folder to the /wp-content/plugins/ directory
  3. 通过WordPress的“插件”菜单激活插件
  4. Customize the plugin from the menu by selecting Settings > randomPost Settings.

Uninstall

  1. Deactivate the plugin from the Plugins menu
  2. Select “randomPost” from the list and select “Delete”
  3. This will delete all files from the server and all settings from the WordPress database.
How do I change the URL for my random posts?

It’s easy. Just go into the plugin settings. Most of the settings are there for you to customize.

My /random URL slug isn’t working.

Go into WordPress Settings > Permalinks and click save to refresh your permalinks. You should also make sure your .htaccess is writable. Those are the most common fixes.

Are there certain URL slugs I should avoid?

There are certain slugs you should avoid as having your random post slug. Words like “post”, “category”, “tags”, etc. are built in WordPress slugs, so avoid them. Your best bet is to use the word “random”!

评价

2016年9月3日
A random post plugin is a great way to increase traffic. This plugin is easy to install, easy to set-up and implement. The instructions are very clear. This is a must have for any blogger. I would love it if you could create different rules for specific categories and use the feature more than once, but even without that feature, this plugin is awesome. In the past, I've only been able to implement the random post feature by altering my code on the backend or purchasing a premium theme that includes this function.
阅读所有1条评价

贡献者及开发者

“randomPost” 是开源软件。 以下人员对此插件做出了贡献。

贡献者

将“randomPost”翻译成您的语言。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志

更新日志

1.1.1

  • Small administrative update which adds code for future plugin update handling.

1.1

  • Updated for 4.4 and fixed a small permalinks rewrite bug.

1.0

  • Initial release