描述
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.
安装
- Upload the plugin files to the
/wp-content/plugins/eth-redirect-to-latest
directory, or install the plugin through the WordPress plugins screen directly. - Activate the plugin through the ‘Plugins’ screen in WordPress.
- If desired, change the slug from the ‘Permalinks’ screen in WordPress.
常见问题
-
Can I redirect to something other than a post?
-
Yes, using the
eth_redirect_to_latest_post_query_args
oreth_redirect_to_latest_post_redirection
filters introduced in v0.3.
评价
2020年3月1日
This is exactly what I was looking for. Direct link to the latest post on my blog, perfect for the "link in bio" on Instagram! 🙂
2021年5月5日
Thanks! Still works great!
2019年10月28日
Easy to install, easy to setup, and just works!
2019年1月4日
Thanks.
2018年11月26日
Thanks for the simple and great plugin! It does what it's supposed to do and works perfectly!
Best,
Jo
2018年7月6日
I am thrilled with this plugin! I wanted to create a link to my most-recent podcast episode, and this allows me to do just that! Very grateful to this developer 🙂
贡献者及开发者
更新日志
0.3.1
- Fix translation support.
0.3
- Introduce filters to make redirection more flexible.
- Add unit tests and conform to coding standards.
0.2.2
- Handle sites using slug-only permalinks
0.2.1
- Correct Composer path error
0.2
- Initial release