该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的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」是开源软件。 以下人员对此插件做出了贡献。

贡献者

更新日志

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