Disgrifiad
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.
Lluniau Sgrin
Gosod
- Upload
genesis-simple-page-sections.zip
into your plugin directory (typically/wp-content/plugins/
). - Unzip the
genesis-simple-page-sections.zip
file. - Activate the plugin through the ‘Plugins’ menu in WordPress.
Cwestiynau Cyffredin
Adolygiadau
There are no reviews for this plugin.
Contributors & Developers
“Genesis Simple Page Sections” is open source software. The following people have contributed to this plugin.
CyfranwyrTranslate “Genesis Simple Page Sections” into your language.
Interested in development?
Browse the code, check out the SVN repository, or subscribe to the development log by RSS.
Cofnod Newid
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