Google+

Genesis Layout Extras

Plugin banner image

DOWNLOAD this Plugin NOW

 

Among the Top 7 most downloaded Genesis plugins ever :) Thank you!

With this lightweight plugin for the popular Genesis Framework you can very easily modify the (registered) default layouts for homepage, singular pages (for posts and pages), various archive sections, author pages, attachment pages, search results pages, the 404 page – all done via a new theme options page. Just look for it at the submenu: Genesis > Layout Extras.

Version 2.0.0 is a complete rewrite regarding code optimizations and also new features:
The plugin now optionally adds up to nine (9!) additional layouts. Also, you can optionally add Layouts meta box support for post types inpost screens which don’t have it yet. Plus, Genesis Archive Settings for post types could be enabled as well.

As a smart bonus the plugin also includes the layout setting for the bbPress 2.x forum plugin which itself is compatible to Genesis. Also added is the layout setting for other plugins from the Genesis ecosystem or other third-party authors: for example AgentPress Listings which includes the custom post type ‘listings’ and the taxonomy ‘features’. Just have a look on the below listings for full explanation.

Please note: The plugin requires the Genesis Theme Framework (GPL-2.0+), a paid premium product released by StudioPress/ Copyblogger Media LLC (via studiopress.com).

Video of Plugin’s Settings Walkthrough (v2.0.0):

original video link by plugin developer David Decker

Regular WordPress Sections for a Default Layout Setting

  • Home Page (works with home.php or static page as front page)
  • Search Results Page (if there are results)
  • Search not found Page (if there are NO results)
  • 404 Error Page
  • “Post” Page (singular post views)
  • “Page” Page (singular page views)
  • Attachment Page (singluar attachment views)
  • Author Page
  • Date Archive Page (optional with setting for Year, Month, Day)
  • Category Page
  • Tag Page
  • Taxonomy Page

Plugins: Supported Custom Post Types set by Plugins

  • Plugin: AgentPress Listings: Archive Page for Custom Post Type “Listings” – plus taxonomy “Features”
  • Plugin: Genesis Media Project: Archive Page for Custom Type “Video” – plus taxonomies “SlideShows”, “Video Categories”, “Video Tags”
  • Plugin: bbPress 2.x Forum (all areas) – plus “Topics” – Integration plugin recommended: bbPress Genesis Extend
  • Plugin: WooCommerce: for all taxonomy pages for “Product Categories” and “Product Tags” – Integration plugin recommended: Genesis Connect for WooCommerce
  • Plugin: Jigoshop: for all taxonomy pages for “Product Categories” and “Product Tags” – Integration plugin recommended: Genesis Connect for Jigoshop
  • Plugin: Easy Digital Downloads: Archive Page for Custom Type “Downloads” – plus taxonomies “Download Categories” and “Download Tags” – Integration plugin recommended: Genesis Connect for Easy Digital Downloads
  • Plugin: Sugar Events Calendar: Archive Page for Custom Type “Events” – plus taxonomy “Event Categories”

Child Themes: Supported Custom Post Types set by Child Themes

  • Child Theme: Minimum 2.0 by StudioPress: Archive Page for Custom Post Type “Portfolio”
  • Child Theme: Executive 2.0 by StudioPress: Archive Page for Custom Post Type “Portfolio”
  • These 10 Child Themes by ZigZagPress brand: Bijou, Engrave, Eshop, Megalithe, Neo, Prestige, Single, Solo, Tequila, Vanilla — Archive Page for Custom Post Type “Portfolio” – plus taxonomy “Portfolio Category” for all these.
  • Child Theme: Clip Cart by Themedy Themes: Archive Page for Custom Post Type “Products” – plus taxonomy “Product Categories”
  • Child Theme: Stage by Themedy Themes: Taxonomy “Photo Galleries”

*Translations: Internationalization (i18n) / Localization (L10n)

  • English (default) – always included
  • German (de_DE) – always included
  • French (fr_FR) – user-submitted, thanks to Grégoire Noyelle – 50% complete for v2.0.0 :)
  • Italian (it_IT) – user-submitted, thanks to Marco Rosselli – currently 36% complete for v2.0.0
  • Hindi (hi_IN – for India) – user-submitted, thanks to Love Chandel – currently 44% complete for v2.0.0
  • Spanish (es_ES) – user-submitted – currently 11% complete for v2.0.0
  • Swedish (sv_SE) – user-submitted – currently 11% complete for v2.0.0
  • .pot file (genesis-layout-extras.pot) for translators is also always included :)
  • Easy plugin translation platform with GlotPress tool: Translate “Genesis Layout Extras”…
  • Your translation? – Just send it in

Please note: The plugin requires the Genesis Theme Framework
The plugin has been tested with WordPress branches 3.6+ (and before with 3.5+, 3,4+, 3.3+…) without any issues. It also works within Multisite installs – single activated and also network activated. Running with latest versions of Genesis and WordPress is always recommended.

A plugin from deckerweb.de and GenesisThemes

Check out my other Genesis Plugins

Feedback

  • I am open for your suggestions and feedback – Thank you for using or trying out one of my plugins!
  • Drop me a line @deckerweb on Twitter
  • Follow me on +David Decker on Google Plus ;-)

More

Download Latest Version

DOWNLOAD Genesis Layout Extras

v2.0.0 [zip file] // Downloaded 88379 times yet.

 

Installation

NOTE: Only works with Genesis Framework (GPL-2.0+) as the parent theme. This is a paid premium product by StudioPress/ Copyblogger Media LLC, available via studiopress.com.

Installation Steps

  1. Installing alternatives:
    • via Admin Dashboard: Go to ‘Plugins > Add New’, search for “Genesis Layout Extras”, click “install”
    • OR via direct ZIP upload: Upload the ZIP package via ‘Plugins > Add New > Upload’ in your WP Admin
    • OR via FTP upload: Upload genesis-featured-page-extras folder to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. In your left-hand “Genesis Theme Settings” menu go to “Layout Extras”, setup your default layouts and you’re good to go :).
  4. General usage: Set layout options DIFFERENT from the Genesis default for special sections.

Note: The “Genesis Framework” is required for this plugin in order to work. If you don’t own a copy it yet, this premium parent theme has to be bought. More info about that you’ll find here: http://ddwb.me/getgenesis

Video of Plugin’s Settings Walkthrough (v2.0.0):

original video link by plugin developer David Decker

Choose from one of the following layouts

1) Up to 6 default layouts of Genesis – when registered:

  • Genesis Default (your default setting from Genesis Theme settings)
  • Content-Sidebar
  • Sidebar-Content
  • Content-Sidebar-Sidebar
  • Sidebar-Sidebar-Content
  • Sidebar-Content-Sidebar
  • Full Width Content

2) Currently up to 9 additional layouts of this plugin (Genesis Layout Extras):

  • Sidebars below Content *)
  • Primary below Content
  • Primary above Content
  • Header+Nav/Content/Sidebar (experimental!)
  • Content/Sidebar-Alt *)
  • Sidebar-Alt/Content *)
  • Content/Sidebar-Alt/Sidebar
  • Sidebar/Sidebar-Alt/Content
  • Sidebar/Content/Sidebar-Alt

*) = Not with my “Genesis Prose Extras” plugin – that brings those layouts on its own, but with more optimized CSS :)

Additional Post Type Support:

  • For public custom post types, enable Genesis Inpost Options (Layouts, SEO, Scripts)
  • For public custom post types with archive support, enable Genesis Archive Settings

Special Advise:

Note: This plugin has been tested with WordPress branches 3.6 and also 3.5 (and also before with 3.4+, 3.3+, 3.2+) without any issues. It also works within Multisite installs – single activated and network activated, too. Remember, running with latest versions of Genesis and WordPress is always recommended.

Also Note: Installed/ active Genesis Framework, AT LEAST version 1.8 or higher (1.9.2+ recommended!), is required for this plugin in order to work!

Own translation/wording: For custom and update-secure language files please upload them to /wp-content/languages/genesis-layout-extras/ (just create this folder) – This enables you to use fully custom translations that won’t be overridden on plugin updates. Also, complete custom English wording is possible with that, just use a language file like genesis-layout-extras-en_US.mo/.po to achieve that (for creating one see the tools on “Other Notes”).

· Minimum WordPress version required: 3.4 plus Genesis 1.8+
· Tested up to WordPress version: 3.8.3

FAQ

Q. Why up to 9 new layout options, aren’t the default one’s enough?
A. Good question, hehe :) — Since you are absolutely not forced to use the new options you can disable all and set the settings meta box to not display (via “Screen options” tab on top right corner), so you won’t even see them on the plugin’s settings page.

If, however, you want some new – simplyfied or tweaked – flavors of existing layouts, then you might try one of the new options. So for example, the “Primary below Content” layout option is perfect for minimalistic one-column sites. Or the “Sidebars below Content” is great for content-oriented blogs and/or sites that want to drop the bloat from the SIDEbar and only offer a bit more stuff below the main content – in a nice 2-column outfit.

Q. I don’t see the new layout options in the plugin settings, what’s up?
A. This could only be the case if your child theme (or another plugin or some code snippet…) has un-registered both Genesis default sidebars. Those two are needed for the layout options, so, if they are not there, you just cannot see and use my plugin’s layout options.

Q. Are the alternate layouts responsive?
A. Yes, they are! All is working like it should with minimal additions on CSS style rules (only what’s really needed).

Q. Help, the new layouts look not good on my site (CSS…), what can I do?
A. This may depend on the used CSS rules loaded via the plugin. Those rules are NOT based on specific child themes but use a “middle-of-the-road” general concept that is based on percentage CSS values. This way I can save a lot of (child theme specific) overhead.

This approach may work with a lot of the official child themes by StudioPress. Sure, not all! Just try, and if needed, add additional CSS rules to your child theme style sheet to tweak the plugin styles.

Also, you are free to not load the plugin styles at all (see plugin settings!). In that case you might add completely custom CSS styles to your child theme (or wherever, via another plugin or what…).

Q. You can modify the layout of the plugin’s AgentPress Listings post type. What does this mean?
A. Nothing spectacular, you just can set the layout option for the archive pages of the “listings” post type, plus for all terms of its built-in “features” taxonomy. – Of course, the plugin (and so the setting in there) could be used with the AgentPress child theme and also with any other Genesis child theme, so this setting might come in really handy ;-).

Q. I noticed that some (layout section) settings have no effect at all, what happens here?
A. This has to do with priorities. In general, if there’s a template for a specific page (archive) type, for example image.php for image attachment display, then Genesis & WordPress will always use that first for the content output AS LONG AS there’s an layout setting function or filter in there. Only if there are no templates with layout settings found, the layout option settings will take full effect. So, if our example image.php has a layout filter set in this then has the higher priority but if there’s no layout filter in there then the plugin’s layout setting will take effect! – Well, if you experience such cases just leave these fields on “Genesis Default” and you’re good to go :-). (You might call that a limitation of the plugin or whatever but that’s the intended behavior of WordPress & Genesis.)

Q. What does the Additional Post Type support do?
A. Nothing spectacular…

a) It just would add the inpost metaboxes of Genesis for layouts (whoa!), SEO (only if no SEO plugin is used) and Scripts (since Genesis 2.0+). — That only works for post types that are “public” which means, viewable on the frontend!

b) Also possible, is the activation of the new Genesis Archive Settings (for post types; since Genesis 2.0+). So you can for example, edit the Archive Page Title, SEO Options and Layout Options for a ‘download’ archive page (or a ‘books’ archive, ‘portfolio’ archive…). — That only works for post types that are “public” which means, viewable on the frontend AND have support enabled for 'has_archive' => true in their post type registration!

Note: The layout settings for archives done via these Genesis Archive settings and/or the content archive settings of THIS plugin do just the same. So you decide which one you use. Nothing could break, and it does no harm. So, enjoy your content archives (settings)!

Q. What means Reset of settings?
A. a) Layouts: Actually it just restores the default layout setting which is always defined in regular layout settings on the Genesis Theme Settings page.

b) All other settings are set to their default state.

Q. Which settings are effected when doing a reset?
A. ALL available options are resetted to their defaults!
So if you for example only want to reset one option and leave all other as they are then only change this one section and then click the SAVE button and you’re done.

Q. Is this plugin Multisite compatible?
A. Yes, it is! :) Works really fine in Multisite invironment – here I just recommend to activate on a per site basis so to load things only where and when needed.

Q. In Multisite, could I “network activate” this plugin?
A. Yes, you could. — Still, a per site use is recommended. — Network activation makes the most sense if all sub sites are using Genesis! On the other hand, if your Multisite install has 10 sites and only 3 may run with Genesis, network activation is not recommended!

Q. How could I add my own layout option to the select drop-down menu?
A. That’s possible since plugin version 2.0.0! Handy feature for custom child theme development as well as for plugin developers, hehe :)

Just use this sample code and modify/ enhance to your needs:

/**
 * Adding additional custom layouts to the layout select drop-down for plugin
 *    "Genesis Layout Extras".
 *
 * NOTE: This requires the Genesis Framework, plus the plugin "Genesis Layout
 *       Extras" (available via: http://wordpress.org/plugins/genesis-layout-extras/)
 *
 * @author David Decker - DECKERWEB.de
 * @link   http://genesisthemes.de/en/wp-plugins/genesis-layout-extras/
 * @link   http://deckerweb.de/twitter
 */
if ( defined( 'GLE_SETTINGS_FIELD' ) && function_exists( 'genesis_get_layout' ) ) {

    add_action( 'gle_layouts_drop_down', 'custom_gle_select_layout_option', 10, 1 );
    /**
     * Helper function to add additional <option> markup to select drop-down.
     *
     * @uses ddw_gle_layout_select_option()
     *
     * param string $gle_layout_option
     */
    function custom_gle_select_layout_option( $gle_layout_option ) {

        ddw_gle_layout_select_option(
            'my-custom-layout-type-id',                           // layout ID
            __( 'My Custom Layout Name', 'your-text-domain' ),  // layout label name
            '#990000',                                            // background color in drop-down
            $gle_layout_option                                  // internal variable - DO NOT delete!
        );

    }  // function

}  // if

Q. How can I remove the Export/ Import Info meta box?
A. Just add this line of code to your child theme’s functions.php file, a functionality plugin or snippet management plugin:

/** Genesis Layout Extras: Remove Export/ Import Info meta box */
define( 'GLE_NO_EXPORT_IMPORT_INFO', TRUE );

Q. How can I completely remove the ‘Header+Nav/Content/Sidebar’ layout option?
A. It’s possible, yes, just add this line of code to your child theme’s functions.php file, a functionality plugin or snippet management plugin:

/** Genesis Layout Extras: Remove HNCS layout option */
define( 'GLE_NO_HNCS_LAYOUT_OPTION', TRUE );

All the custom & branding stuff code above can also be found as a Gist on GitHub: https://gist.github.com/deckerweb/6151740 (you can also add your questions/ feedback there :)

Changelog

2.0.0 (2013-08-05)

  • The long-awaited, super-polished 2.0 plugin release with some new features also :)
  • NEW: Plugin now registers up to 9 (nine!) additional layout options! Requirement for this feature: Primary Sidebar (ID sidebar) and/or Secondary Sidebar (Sidebar-Alt, ID sidebar-alt) may not have been unregistered!
  • NEW: Additional post type support, so you can add Genesis Layout support (plus SEO, plus Scripts) to all public custom post types; as well as the new “Archive Settings” pages (since Genesis 2.0+) for all public custom post types with archive support!
  • NEW: Plugin detects the registered (official) layout options (from the child theme, or other plugins) and displays only those in the layout select drop-down!
  • NEW: Added even more hooks & filters within the plugin. So for example, developers can now easily add more layout options to the select drop-down if needed! (see FAQ here for more info)
  • NEW: Plugin now leverages the Genesis Admin Class for improved security, performance, maintenance.
  • CODE: Major code/ documentation updates & improvements.
  • INFO: Where needed, the plugin now supports HTML5 markup/CSS styles with Genesis 2.0+. For example, all optional frontend CSS style sheets load automatically their HTML5 version if HTML5 is supported by your child theme.
  • NEW: Added plugin support for “Genesis Prose Extras” for the layout select drop-down.
  • NEW: Added support for regular uninstall routine with WordPress standard. (So, if you delete the plugin via the button on the plugin listing page, then the plugin’s settings will be deletet from the options table!)
  • UPDATE: Improved translation loading, now only within the admin area, also improved for custom translations!
  • UPDATE: Reworked, improved and updated wording, help texts and overall user guidance.
  • UPDATE: Updated and improved readme.txt file here, especially with new FAQ entries and better installation instructions.
  • UPDATE: Updated all existing screenshots, added lots of new screenshots! :)
  • NEW: Added new – partly – Swedish (sv_SE) translation – user-submitted.
  • UPDATE: Updated all existing translations plus the .pot file for all translators! –> Please help updating all translations for version 2.0.0 too – THANKS!

1.7.0 (2013-03-22)

  • NEW: Added settings export (and therefore also import) to the Genesis Exporter/ Importer feature.
  • NEW: Added support for “Portfolio” Custom Post Type in these child themes by ZigZagPress brand: Bijou, Eshop, Single, Solo, Tequila.
  • NEW: Added new setting for all “Topics” for bbPress 2.x powered forums. Sometimes there are setups needed where a special layout for topics needs to be set. — Thanks to plugin user Romain for bringing this up! :)
  • UPDATE: Improved Genesis check on plugin activation and also added a version check to make sure, users run the latest versions of Genesis Framework and WordPress. — This just prepares for next major update of Genesis Layout Extras which will be a refactoring and make use of the ‘Genesis Admin’ class. I’ll just will make sure as many users as possible have updated their Genesis install :).
  • UPDATE: Improved check for single posts and page to improve custom post type support at the same time. — Thanks to plugin user Romain for bringing my attention to this issue! :)
  • CODE: Minor code/documentation updates & improvements.
  • UPDATE: Updated all existing translations plus the .pot file for all translators!
  • UPDATE: Moved screenshots to ‘assets’ folder in WP.org SVN to reduce plugin package size.

1.6.0 (2012-11-15)

  • Maintenance release
  • NEW: Added support for “Portfolio” Custom Post Type in “Minimum 2.0″ and “Executive 2.0″ child themes by StudioPress.
  • NEW: Added support for “Portfolio” Custom Post Type in child themes by ZigZagPress brand, “Megalithe”, “Engrave” and “Vanilla”.
  • CODE: Minor code/documentation updates & improvements.
  • UPDATE: Updated readme.txt file here.
  • UPDATE: Updated all existing translations plus the .pot file for all translators!
  • UPDATE: Initiated new three digits versioning, starting with this version.

1.5.0 (2012-09-05)

  • Maintenance release
  • NEW: Added plugin support for “Sugar Events Calendar” (premium, by Pippin Williamson).
  • CODE: Minor code/documentation updates & improvements.
  • UPDATE: Updated all existing translations plus the .pot file for all translators!

1.4.0 (2012-06-16)

  • Maintenance release
  • BUGFIX: Syntax errors – fixed option for general taxonomies layout option.
  • CODE: Minor code/documentation updates & improvements.
  • NEW: Added new Hindi translation by Love Chandel.
  • UPDATE: Updated all existing translations plus the .pot file for all translators!

1.3.0 (2012-05-01)

  • New plugin features:
    • NEW: Performance optimization – restructuring and splitting of code into several files, loading only where and if needed. Plugin support stuff only appears now if one of the supported plugins is active!
    • NEW: Added new option for ‘Search not found’ page – when there are NO search results (for example very handy to set a full-width layout for this case…).
    • NEW: Added support for more custom post type by plugins:
    • –> “Genesis Media Project” by Nick Croft (free)
    • –> “Easy Digital Downloads” by Pippins Williamson at PippinsPlugins.com (free)
    • –> “WooCommerce” by WooThemes (free)
    • –> “Jigoshop” by Jigowatt Ltd. (free)
    • NEW: Added support for custom post type by child themes: “Clip Cart” and “Stage” both by Themedy Themes brand.
    • NEW: Added support for “Features” taxonomy of the already supported AgentPress Listings plugin.
    • NEW: Up to three meta boxes on options page – draggable and settings via “Screen options”
    • NEW: Added “Save” button to each section in a meta box for easier handling – I guess this is much more user friendly :).
  • UPDATE: Simplified Genesis detection on installation, making it much more future-proof and user-friendly.
  • UPDATE: Improved the language files a lot, by optimizing and re-using a lot of strings and especially by removing almost all markup from the strings!
  • UPDATE: Completely deprecated old contextual help system (from prior WordPress 3.3) – in favor of supporting the help tabs system, in a more extended form :)
  • CODE: Beside new features, minor code/documentation tweaks and improvements.
  • CODE: Successfully tested against Genesis 1.8+ plus WordPress 3.3 branch and new 3.4 branch. Also successfully tested in WP_DEBUG mode (no notices or warnings).
  • UPDATE: Updated and optimized all screenshots, plus added some new ones.
  • UPDATE: Updated, corrected and improved readme.txt file, especially the FAQ section.
  • NEW: Added new French translation by Grégoire Noyelle
  • UPDATE: Updated German and Italian translations and also the .pot file for all translators!
  • UPDATE: Extended GPL License info in readme.txt as well as main plugin file.
  • NEW: Easy plugin translation platform with GlotPress tool: Translate “Genesis Layout Extras”…

1.2.0 (2011-12-22)

  • Added new help tab system for WordPress 3.3 — this time the plugin is also still compatible with old contextual help prior WP 3.3 but PLEASE NOT that I will remove this soon and then the plugin will require WordPress 3.3+ so please update now your WordPress installation!
  • Bugfix: Wrapped conditional around genesis_get_option function to allow error-free theme changing (from Genesis to a non-Genesis theme) — Please note: this also fixes the Multisite errors when plugin is network activated! — Props to WP.org user “greghile” for reporting the Multisite issue!
  • Minor code and code documentation improvements
  • Wording: Changed strings “bbPress 2.0″ to “bbPress 2.x” to reflect ongoing development & releases of that forum plugin
  • Added new Italian translation by Marco Rosselli
  • Updated German translation files
  • Updated included .pot file (genesis-layout-extras.pot) for translators
  • Added banner image on WordPress.org for better plugin branding :)

1.1.0 (2011-10-06)

  • Improved homepage layout setting with adding the conditional statement is_front_page() so also static pages set as homepage (in WordPress: Settings > Reading) are now supported!
  • Added new specific date layout options for Year, Month, Day – please note, that the general date setting will overwrite the other three settings (these have lower priority) – so, when in doubt, only use the general setting or leave on default
  • Updated help texts where needed
  • Added new user questions to FAQ section here
  • Updated German translation files
  • Updated included .pot file (genesis-layout-extras.pot) for translators
  • Some more minor code tweaks and cosmetic changes :)

1.0.0 (2011-10-01)

  • New and forked version of the plugin under new name and authorship by David Decker of deckerweb.de and GenesisThemes
  • Updated, improved and documented code
  • Added separate options page under the Genesis menu – no longer hooking in to regular Genesis settings – this is more user friendly and less confusing (See Genesis > Layout Extras)
  • Added new layout options for attachment page, bbPress Forum and AgentPress Listing custom post type
  • Added contextual help – tab on the top right corner of the options page
  • Added settings link to the plugin page section
  • Fully localized the plugin, working out of the box!
  • Added German translations (English included by default)
  • Improved and documented plugin code
  • Tested & proved compatibility with WordPress 3.3-aortic-dissection :-)