开发者 |
daveshine
deckerweb wpautobahn |
---|---|
更新时间 | 2019年11月13日 07:42 |
捐献地址: | 去捐款 |
PHP版本: | 5.6 及以上 |
WordPress版本: | 5.3 |
版权: | GPL-2.0-or-later |
版权网址: | 版权信息 |
home.php
or static page as front page)en_US
= default, always includedde_DE
de_DE_formal
.pot
file (genesis-layout-extras.pot
) for translators is also always included :)toolbar extras
in the plugin installer ;-)manage_options
and edit_theme_options
who is logged-ingenesis layout extras
), or extract the ZIP file and drop the contents in the wp-content/plugins/
directory of your WordPress installation.PLEASE NOTE: These 9 additional layouts were added in 2013 under a different situation of the overall market and Genesis. Looking back, it was a mistake to do that, as the whole CSS for Child Themes is just unmanageable! Therefore the support for these layouts cannot and will not be given any longer after December 18th, 2018 (which is the release date of v2.1.0 the "back to life" version)! But rest assured: for backwards compatibility and for the users that somehow used them, I will keep their registering functions and their CSS in the plugin for as long as possible. However, I might be hide the options from the settings page at some point in the future (again this will not affect your usage!). To be clear: I will NOT remove features that were in it for 5 years and of course are used in the wild. I serve my users and the community. But please understand that I cannot longer offer support in any way for THESE ADDITIONAL layout options. You can always register your own options and maintain the CSS for your special use case. No problem at all! :-) --- Thanks for your support!
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.
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.
Yes, they are! All is working like it should with minimal additions on CSS style rules (only what's really needed).
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...).
This means that your current active Child Theme or a plugin (or even some code snippet...) has unregistered some layouts. The select drop-down field of this plugin only represents what was registered before - this being the case via Genesis itself or a Child Theme or plugins. Note: The most recent "Sample" Child Theme from StudioPress, and many other newer Child Themes, only come with three (or even 2 only) layout options.
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 ;-).
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.)
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)!
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.
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.
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.
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!
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: ` /**
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 );
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 :)
/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 as well, just use a language file like genesis-layout-extras-en_US.mo/.po
to achieve that (for creating one see the following tools).
Easy plugin translation platform with GlotPress platform: Translate "Genesis Layout Extras"...Stay in the Loop: Join our thriving community of Site Builders - My Newsletter will bring you insider infos for Genesis Layout Extras plugin, as well as my other Genesis/ WordPress plugins, plus tutorials and other useful stuff. Security: The plugin uses the Genesis Sanitization class for checking and filtering all custom inputs. Further, the plugin uses WordPress and Genesis Framework APIs and coding standards to the highest possible extend. Just to make sure you get a quality, future-proof product. Idea Behind / Philosophy: I had liked the general approach of the former plugin (I forked from) - which provided a simple and great way to set a few needed options. Since it seemed no longer to be developed and updated I just decided to make a fork of it and add some additional functionality like setting the layout setting for the (awesome!) bbPress 2.x forum plugin in Genesis. And, I wanted this all on an extra options page, divided from the general Genesis settings because that is much more user friendly IMHO. In addition I added full inline documentation including the contextual help function provided by WordPress itself to create a more seamless user experience.
Among the Top 7 most downloaded Genesis plugins ever :) (For many years it was even in the Top 7!) Thank you all users for using it over all these years and all translators to make the plugin accessible for a bigger audience! Thanks for all user feedback that led to improvements in the plugin! Big thanks to all Genesis users, developers and bloggers who reviewed the plugin on their websites/ blogs! Credit where credit is due: This plugin here was first based on the work of WPChildThemes for the great "Genesis Layout Manager" plugin (licensed under GPLv2 or later). Now, more than seven (7!) and a dozen updates later the basic function is still there but the code totally refactored...! :) Last but not least, Special Thanks go out to my family for allowing me to do such spare time projects (aka free plugins) and supporting me in every possible way!
.pot
file plus all German translations (formal, informal) and language packscomposer.json
file to the plugin's root folder - this is great for developers using ComposerREADME.md
file for plugin's GitHub.com repository to make it more readable there.pot
file plus all German translations (formal, informal) and German language packssidebar
) and/or Secondary Sidebar (Sidebar-Alt, ID sidebar-alt
) may not have been unregistered!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!genesis-layout-extras.pot
) for translatorsis_front_page()
so also static pages set as homepage (in WordPress: Settings > Reading) are now supported!genesis-layout-extras.pot
) for translators