该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的WordPress一起使用时,可能不再受到维护或支持,并且可能会存在兼容性问题。

WP Post Background

描述

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

屏幕截图

  • The background box for a post

安装

  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/wp-post-brackground directory now with wp-post-brackground.php in it.
  5. Activate the plugin through the ‘Plugins’ menu in WordPress. A box will be added to the page edition.

常见问题

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.

评价

此插件暂无评价。

贡献者及开发者

“WP Post Background” 是开源软件。 以下人员对此插件做出了贡献。

贡献者

将“WP Post Background”翻译成您的语言。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志

更新日志

  • 1.0.0 Initial release