這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

WPXP Background Media

描述

Lets you to set background images or a background videos on static pages.
The background image/video can apply to whole page or just a specific section in that document. You can set as many background images/videos to a various sections of any given page.

Responsiveness is baked in to ensure the right media size is used at each layout breakpoint matching your active theme.

The background image/video can fill the entire screen if applied to the body tag, the wrapper or any HTML element of the current page that covers the viewport.

An overlay is applied to the background image/video to give enough contrast to the content over that background.

This plugin gives you more control and flexibility than the Gutenberg editor’s “Cover” and “Media & Text” blocks.

Install and try it then write a review to help us improve this plugin. We appreciate your feedback.

Settings

  1. From the left sidebar navigation of your WordPress control panel, look for the menu item labeled “WPXP BG Media” then click on it to open.

  2. The information under the “Dashboard” tab of the opened page gives you enough details on how to define settings in the “Settings” and “Overlay” tabs.

  3. The “Settings” tab is where you specify your active theme’s layout breakpoints. This allows the plugins to generate CSS media queries to match those breakpoints. Then for each breakpoint, a copy of the background image will be created with a width matching that layout breakpoint. All you have to do is upload to your WordPress media library an original image that is large enough for use at fullscreen on large displays (e.g. 4K).

  4. In the “Overlay” tab, you define the background color and opacity of the “Background Media Overlay” and the “Content Overlay”.

螢幕截圖

  • Dashboard Tab of WPXP BG Media
  • Settings Tab of WPXP BG Media
  • Overlay Tab of WPXP BG Media
  • Code editor
  • Fieldset of Background Media Metabox under page editor.
  • Background Image that covers 50% of container on large screens.
  • Background video with CSS style for responsive display.
  • Multiple fieldsets on Background Media Metabox
  • Background image applied to "#home .intro" section. It covers web browser Viewport and has overlay on it. Then a second overlay named "Content overlay" of 1200px width for contrast between the background image and the copy.
  • Background image covers the right half of section while copy is displayed on the left half of that section.

安裝

  1. Install the plugin to your WordPress website

  2. Activate the plugin

  3. Locate the “WPXP BG Media” on the left sidebar navigation of your WordPress control panel then click on it. The “Dashboard” section gives you more details about each item inside the other two tab. The “Settings” tag lets you fill out your active theme’s layout breakpoints. Those settings are use to generate a stylesheet with all the media queries for each background image you later created. The “Overlay” tab is for setting the background and content overlay.

評價

There are no reviews for this plugin.

貢獻者及開發者

“WPXP Background Media” 是一個開源的軟體。以下的人對這個外掛作出了貢獻。

貢獻者

將 WPXP Background Media 外掛本地化為台灣繁體中文版。

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄