Descriere
Not all themes work the same way, and sometimes switching themes can lead to a lot of headaches. If you’ve previously used a theme that supports featured images and displays them on single post views, you probably want to ensure that these images are still shown if you switch to a theme that doesn’t show featured images here, without editing all of your old content.
This plugin automatically displays featured images at the top of the content area on single post views. It doesn’t check whether your theme displays them, so you’ll get double featured images if it does. It works via a filter, so if you ever switch themes again to one that does support featured images on single views, you can deactivate this plugin and things will go right back to normal. No information is saved in the database and no additional special image sizes are generated in this plugin.
Possible Core Material
This plugin may be material for WordPress core if it were to display featured images that exist when the current theme doesn’t support featured images. While this would reduce the potential for content loss, it would also have a significant affect on existing content.
Capturi ecran
Instalare
- Take the easy route and install through the WordPress plugin adder OR
- Download the .zip file and upload the unzipped folder to the
/wp-content/plugins/
directory - Activează modulul prin meniul ‘Module’ din WordPress
- Featured images that have been added will start showing up on single views immediately, at the top of the content.
Întrebări frecvente
-
Where’s the settings page?
-
For simplicity’s sake, no settings page is included. While there are a few potential options, I don’t feel that they would be worth the extra bloat of a settings page. If you would like to make adjustments, I suggest implementing your own plugin based on this one (feel free to copy/paste, then rename it) – the code is very simple and can be easily adjusted to related needs.
Recenzii
Contributori și dezvoltatori
„Featured Image in Content” este un software open-source. La acest modul au contribuit următoarele persoane.
ContributoriTradu „Featured Image in Content” în limba ta.
Te interesează dezvoltarea?
Răsfoiește codul, vezi depozitarul SVN, sau abonează-te la jurnalul de dezvoltare prin RSS.
Istoric modificări
1.0
- Versiunea inițială.