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

Genesis Simple Page Sections

外掛說明

Easily make full width page sections in Genesis via shortcode. Must be using the Genesis theme framework.

Notes:

  • If you use this shortcode on a page, you should enclose all of your content on the page within one or more instances of the shortcode. In order for this plugin to create a full width section, you must specify the page/post layout to be “full width content.”
  • Breadcrumbs and other sections dynamically inserted in the inner content section may also stretch to full width, but you can add custom CSS to your theme’s style.css (preferably your child theme’s style.css, or a custom CSS plugin) to accommodate it. You need to get the class or id of the section you do not want to stretch, and assign the properties “max-width: 1200px;” (or whatever width you want the section to be) and “margin: 0 auto;” to it.
  • The shortcode syntax [gsps] was added in version 1.2, and it is identical to the [genesis-simple-page-section] syntax. You can use either one, or both.

Basic shortcode syntax:

[gsps color=”orange” width=”960″ outer_class=”” outer_css=”” inner_class=”” inner_css=””]

[/gsps]

For more about the shortcode syntax, available parameters, and color presets, please visit the plugin page on EfficientWP.

Created by EfficientWP.

螢幕擷圖

安裝方式

  1. Upload genesis-simple-page-sections.zip into your plugin directory (typically /wp-content/plugins/).
  2. Unzip the genesis-simple-page-sections.zip file.
  3. Activate the plugin through the ‘Plugins’ menu in WordPress.

使用者評論

這個外掛目前沒有任何使用者評論。

參與者及開發者

以下人員參與了開源軟體〈Genesis Simple Page Sections〉的開發相關工作。

參與者

將〈Genesis Simple Page Sections〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

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

變更記錄

1.4

  • Confirmed compatibility up to WordPress 5.1
  • Rewritten in object-oriented format

1.3

  • Confirmed compatibility up to WordPress 5.0.2
  • Added specificity to CSS to apply full width only to single pages, posts, and custom post types (not archives and searches)

1.2

  • Confirmed compatibility up to WordPress 4.2.1
  • Added alternate shortcode syntax [gsps]

1.1

  • Improved instructions
  • Improved code standards to fix PHP notice
  • Removed call to deprecated force layout function
  • Moved CSS to enqueued file

1.0

  • Fixed CSS to make width 100% and be compatible with Genesis 2.0
  • Improved shortcode documentation

0.1

  • Initial release