Changelog for Redirect URL to Post

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

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

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