Beskrivning
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).
Installation
- Upload
disable-attachment-pages.zip
to the/wp-content/plugins/
directory. - Activate the plugin through the ’Plugins’ menu in WordPress.
- You’re done! Try following an attachment link, the browser should redirect back to the post, where this link is placed.
Recensioner
Bidragsgivare och utvecklare
”Disable Attachment Pages” är programvara med öppen källkod. Följande personer har bidragit till detta tillägg.
Bidragande personerÖversätt ”Disable Attachment Pages” till ditt språk.
Intresserad av programutveckling?
Läs programkoden, kika på SVN-filförvaret eller prenumerera på utvecklarloggen via RSS.
Ändringslogg
1.1
- Added Gutenberg support.
1.0
- First release