From a2bcc6186a37411357f68ac3bdafe7229fa67265 Mon Sep 17 00:00:00 2001 From: Erick Hitter <git-contrib@ethitter.com> Date: Sun, 12 May 2019 18:32:03 -0700 Subject: [PATCH] Note new filters in README --- README.md | 10 ++++++++-- languages/eth-redirect-to-latest.pot | 2 +- readme.txt | 10 ++++++++-- 3 files changed, 17 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 9f02634..e00fb2d 100644 --- a/README.md +++ b/README.md @@ -8,11 +8,11 @@ **License:** GPLv2 or later **License URI:** http://www.gnu.org/licenses/gpl-2.0.html -Redirect a chosen slug, "latest" by default, to, well, the most-recently published post. +Redirect a chosen slug, "latest" by default, to, well, the most-recently-published post. ## Description ## -Once activated, a given slug will redirect to whatever is the most recently-published post on the site. By default, the slug is `latest`, but it can be changed from the Permalinks settings screen. +Once activated, a given slug will redirect to whatever is the most-recently-published post on the site. By default, the slug is `latest`, but it can be changed from the Permalinks settings screen. ## Installation ## @@ -20,6 +20,12 @@ Once activated, a given slug will redirect to whatever is the most recently-publ 1. Activate the plugin through the 'Plugins' screen in WordPress. 1. If desired, change the slug from the 'Permalinks' screen in WordPress. +## Frequently Asked Questions ## + +### Can I redirect to something other than a post? ### + +Yes, using the `eth_redirect_to_latest_post_query_args` or `eth_redirect_to_latest_post_redirection` filters introduced in v0.3. + ## Changelog ## ### 0.3 ### diff --git a/languages/eth-redirect-to-latest.pot b/languages/eth-redirect-to-latest.pot index 2276b2c..bd4bc29 100644 --- a/languages/eth-redirect-to-latest.pot +++ b/languages/eth-redirect-to-latest.pot @@ -5,7 +5,7 @@ msgstr "" "Project-Id-Version: ETH Redirect to Latest Post 0.3\n" "Report-Msgid-Bugs-To: " "https://wordpress.org/support/plugin/eth-redirect-to-latest\n" -"POT-Creation-Date: 2019-05-13 01:26:22+00:00\n" +"POT-Creation-Date: 2019-05-13 01:31:41+00:00\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" diff --git a/readme.txt b/readme.txt index cea528d..b51cf44 100644 --- a/readme.txt +++ b/readme.txt @@ -8,11 +8,11 @@ Stable tag: 0.3 License: GPLv2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html -Redirect a chosen slug, "latest" by default, to, well, the most-recently published post. +Redirect a chosen slug, "latest" by default, to, well, the most-recently-published post. == Description == -Once activated, a given slug will redirect to whatever is the most recently-published post on the site. By default, the slug is `latest`, but it can be changed from the Permalinks settings screen. +Once activated, a given slug will redirect to whatever is the most-recently-published post on the site. By default, the slug is `latest`, but it can be changed from the Permalinks settings screen. == Installation == @@ -20,6 +20,12 @@ Once activated, a given slug will redirect to whatever is the most recently-publ 1. Activate the plugin through the 'Plugins' screen in WordPress. 1. If desired, change the slug from the 'Permalinks' screen in WordPress. +== Frequently Asked Questions == + += Can I redirect to something other than a post? = + +Yes, using the `eth_redirect_to_latest_post_query_args` or `eth_redirect_to_latest_post_redirection` filters introduced in v0.3. + == Changelog == = 0.3 = -- GitLab