這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 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. Activate the plugin through the ‘Plugins’ menu in 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. Activate the plugin through the ‘Plugins’ menu in 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