Beskrivning
This plugin allows you to add and image as background of posts, pages or custom post type in general (in the same way as a thumbnail).
- This is a rewrite of my old plugin Post Background which I do not have access anymore. *
Installation
- Download the plugin from here.
- Extract all the files.
- Upload everything (keeping the directory structure) to the
/wp-content/plugins/directory. - There should be a
/wp-content/plugins/wp-post-brackgrounddirectory now withwp-post-brackground.phpin it. - Activate the plugin through the ’Plugins’ menu in WordPress. A box will be added to the page edition.
Vanliga frågor
- How it works?
-
Exactly in the same way that thumbnails works. It includes the
get_the_post_background_srcfunction which return the url of the background and theget_the_post_background_idfunction which return the id of the attachment. - Do I have embed the same background if I a page inherits its parent background?
-
No. You can pass true as second parameter on
get_the_post_background_srcfunction.
Recensioner
Detta tillägg har inga recensioner.
Bidragsgivare och utvecklare
”WP Post Background” är programvara med öppen källkod. Följande personer har bidragit till detta tillägg.
Bidragande personerÖversätt ”WP Post Background” till ditt språk.
Intresserad av programutveckling?
Läs programkoden, kika på SVN-filförvaret eller prenumerera på utvecklarloggen via RSS.
Ändringslogg
- 1.0.0 Initial release
