Search
  • Software by
  • Christoph Amthor
Search Menu

Redirect URL to Post – Changelog

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)

0.6.2

Bug Fixes

  • improved prevention of caching the redirection in the browser (Cache-Control header)

0.6.1

Bug Fixes

  • improved prevention of caching the redirection in the browser (redirection code)

0.6

Features

  • Added filter query parameters ‘date_query_before’ and ‘date_query_after’. Values can be any string that can be understood by strtotime(). For more details see the documentation.
  • More intuitive new shortcode for the button: “redirect_to_post_button”. The previous code “redirect_to_random_button” will continue working for some time.

0.5.2

Bug Fixes

  • error message for wrongly formatted parameters

0.5.1

Bug Fixes

  • button text not displayed correctly

0.5

Features

  • added shortcode ‘redirect_to_random_button’ (with optional parameters ‘div_class’, ‘button_class’, ‘text’, ‘redirect_to’ and ‘params’ – documentation)
  • added parameters ‘utm_source’, ‘utm_campaign’, ‘utm_medium’, ‘pk_campaign’ and ‘pk_kwd’ to support tracking redirects
  • more robust against interference from themes through filter hook (effective only if redirect_to is called)

Other

  • switched to the more flexible ‘WP_Query’ class
  • confirmed to work with WP 4.5

0.4

Features

  • added option ‘exclude’ to exclude posts and pages by IDs

0.3.3

Bug Fixes

  • parameter not reliably processed on some sites

0.3.2

Bug Fixes

  • parameters with upper-case values not working

0.3.1

Bug Fixes

  • fixed warnings on plugins page

0.3

Features

  • added option ‘default_redirect_to’
  • enabled criteria ‘has_password’ and ‘tag_id’
  • added a “Help” link on the plugins page

Bug Fixes

  • improved compatibility with other plugins

0.2.1

Bug Fixes

  • collision with other plugins using the same query parameter

0.2

Bug Fixes

  • incorrect processing of orderby and order for redirect_to=custom

Other

  • sorry, inconsistent version numbering…

0.1

  • initial release
Share