Disable Attachment Pages
v2.0.0greatestview · 2017年6月23日 上架
Redirects attachment pages to the post, where they are placed, and hides backend option to link images to attachment page (if not default).
- 正在使用
- 300+
- 评分
- 5.0 / 5
- 累计下载
- 8,357
- 最近更新
- 2026年11月23日
2 条评价需要 WordPress 4.0+已测试到 7.1.5PHP 8.0+
This plugin redirects attachment pages to the post, where they are placed (via 301). If there is no parent page, it redirects back to the WordPress home URL (via 302).
Further, when editing a post, the option to link images to their attachment page is hidden via CSS (except it is selected by default).