Beschrijving
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. *
Schermafdrukken
Installatie
- 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-brackground
directory now withwp-post-brackground.php
in it. - Activate the plugin through the ‘Plugins’ menu in WordPress. A box will be added to the page edition.
FAQ
- How it works?
-
Exactly in the same way that thumbnails works. It includes the
get_the_post_background_src
function which return the url of the background and theget_the_post_background_id
function 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_src
function.
Beoordelingen
Er zijn geen beoordelingen voor deze plugin.
Bijdragers & ontwikkelaars
“WP Post Background” is open source software. De volgende personen hebben bijgedragen aan deze plugin.
BijdragersVertaal “WP Post Background” naar jouw taal.
Interesse in ontwikkeling?
Bekijk de code, haal de SVN repository op, of abonneer je op het ontwikkellog via RSS.
Changelog
- 1.0.0 Initial release