Shortcode Redirect

描述

Shortcode Redirect allows site owners to automatically redirect a user after a chosen amount of seconds when viewing a page or post on the site. The plugin instructions are very simple. Add a shortcode to the post/page that looks like the following [redirect url='http://somesite.com' sec='3'] the url= part is where you define the URL to redirect the user to and the sec= part is where you define how many seconds to wait before redirecting.

Donate

If you like this plugin please consider donating

Features

  • Works on pages and posts
  • NO settings or configurations to deal with
  • Define a URL to redirect the user to
  • Define how many seconds to wait before re-directing the user.

Note

Shortcode redirect should work with older versions of WordPress as well but was not tested with anything older than 2.7

安裝

  1. Upload ‘shortcode-redirect.zip’ to the ‘/wp-content/plugins/’ directory.

  2. Activate the plugin through the ‘Plugins’ menu in WordPress.

  3. Add the shortcode on the pages/posts that you want to redirect. Shortcodes should look like [redirect url='http://somesite.com' sec='5'] where the url= part is the URL to redirect to, and sec= is the seconds to wait before redirecting the page.

  4. Done!

常見問題

  • How do I get rid of the “Please wait while you are being re-directed…” line? – Later I will have an option for this, but for now, just edit the scr.php file and delete line 36 which contains that text then save the file.

評價

2020年8月19日
Using WordPress v5.5 As far as I can tell this plugin still works. Very easy to set up.
2019年11月2日
No need to look for other redirect plugins. Works well with Firefox as well. My search stopped here. No need for sophisticated plugins for redirect. Congratulation to Cartpauj
2019年9月2日
You can either use this plugin or use a few lines of html code with the advantage, that you can easily edit the text that is show before redirecting. So in the end its easier to use the original html code. Also what i dont like is, that it is not possible to go back once you have been redirected. But thats the same problem you are facing with the html code.
2019年8月24日
This plugin is really simple and clean. just few lines of code, really easy
閱讀全部28個評價

貢獻者及開發者

“Shortcode Redirect” 是一個開源的軟體。以下的人對這個外掛作出了貢獻。

貢獻者

將 Shortcode Redirect 外掛本地化為台灣繁體中文版。

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

修改日誌

1.0.02

  • Fixed a low risk security hole

1.0.01

  • Added output buffer to make text show up in the right place
  • Added license to main file
  • Fixed URL bug

1.0.00

  • Initial release