Changelog for Redirect URL to Post

0.11.1

Other

  • Button parameter ‘params’ now formatted as: “key1=value1|key2=value2| …” (Old format will continue working.)

0.11.0

Features

  • New parameter ‘bias’, to be used together with ‘?redirect_to=random’ and ‘count’. The value of this parameter is a percentage that determines how much the posts determined by ‘count’ will be preferred over the rest. Example: www.example.com/?redirect_to=random&count=10&bias=80 -> The most recent 10 posts will be preferred with an 80% probability. Can be used together with ‘offset’.

0.10.0

Features

  • New parameter “count” that can be used together with “random” to limit the pool of posts to the most recent (count has positive number) or first (count has negative number). Can be used together with “offset”.

Other

  • Changed default for cache to 60 seconds (Override it with cache=0)
  • Random posts are now always determined by PHP, not the database

0.9.0

Features

  • New parameter “offset” to retrieve the 2nd, 3rd, (integer > 3)th post. Default is 0 (i.e. 1st). For example “offset=1” means 2nd post. An offset too high will trigger the procedure for the case when no post was found.
  • New parameter “suppress_filters” . Default is 1 (on). Turn off (“suppress_filters=0”) when you use WPML so that WPML can filter by language.

Bug Fixes

  • fixed problem when latest post was not published

0.8.1

Other

  • added aliases “before” and “after” for “date_query_before” and “date_query_after”

0.8.0

Features

  • New parameter “cache” to cache the result retrieved from the database. Used with a number in seconds. Caches the total amount of posts when used with “random”. Can be enforced with constant “CHATTY_MANGO_RUTP_CACHE” (in wp-config.php).

0.7.0

Features

  • by default ignore the stickiness of posts. You can turn it off with 'ignore_sticky_posts=0'

0.6.5

Other

  • try to improve localization

0.6.4

Other

  • show some help with examples after plugin installation

0.6.3

Bug Fixes

  • fixed link for button generated with [[redirect_to_post_button]]

Other

  • better resistance against interference with other plugins (through actions and filters)