This plugin hasn’t been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

Post background

Description

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).

Screenshots

  • The background box for a post

Installation

  1. Download the plugin from here.
  2. Extract all the files.
  3. Upload everything (keeping the directory structure) to the /wp-content/plugins/ directory.
  4. There should be a /wp-content/plugins/post-brackground directory now with post-brackground.php in it.
  5. 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 the get_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.

Contributors & Developers

“Post background” is open source software. The following people have contributed to this plugin.

Changelog

  • 0.1 Initial release
  • 0.1.2 Fixed some bugs and added the parent background inheritance
  • 0.1.5 Added has_post_background function
  • 0.1.7 Fixed some bugs