Coder Social home page Coder Social logo

shortcode-redirect's Introduction

=== Shortcode Redirect ===
Contributors: cartpauj
Donate link: http://cartpauj.icomnow.com/donate/
Tags: page redirect, re direct, redirect, post redirect, permanant, temporary, 307, 301, shortcode, cartpauj
Requires at least: 2.7
Tested up to: 4.2
Stable tag: 1.0.02

A super easy way to automatically redirect a user to another page when viewing a post/page on your site.

== Description ==
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](http://cartpauj.icomnow.com/donate)

= 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.

== Installation ==
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!

If you have any issues please post something here:
[Cartpauj Support Forums](http://cartpauj.icomnow.com/forum "Cartpauj Support Forums")

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

== Frequently Asked Questions ==
* 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.

== Upgrade Notice ==
n/a

== Changelog ==
= 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

== Screenshots ==
none

shortcode-redirect's People

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.