Skip to content

Commit

Permalink
v2.1.2 of the plugin
Browse files Browse the repository at this point in the history
maintenance release
  • Loading branch information
deckerweb committed May 4, 2019
1 parent 198bb80 commit 3e6c4eb
Show file tree
Hide file tree
Showing 16 changed files with 1,033 additions and 333 deletions.
12 changes: 11 additions & 1 deletion CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

* [Plugin page on WordPress.org: wordpress.org/plugins/genesis-layout-extras/](https://wordpress.org/plugins/genesis-layout-extras/)
* [Translate the plugin](https://translate.wordpress.org/projects/wp-plugins/genesis-layout-extras)
* [**Join plugin's newsletter for insider info, tutorials and more**](https://eepurl.com/gbAUUn)
* [**Donate** for the further development & support of the plugin](https://www.paypal.me/deckerweb)
* [Plugin's documentation & FAQ](https://wordpress.org/plugins/genesis-layout-extras/#faq)
* [Facebook Community User Group](https://www.facebook.com/groups/deckerweb.wordpress.plugins/)
Expand All @@ -12,6 +13,15 @@

## Changelog of the Plugin

### ⚡️ 2.1.2 - 2019-05-03

* *New: Successfully tested with WordPress 5.2*
* New: Integrated with WordPress 5.2+ new Site Health feature: Genesis Layout Extras now has an extra section on the Debug Info tab - this is especially helpful for support requests
* Tweak: Updated bundled library DDWlib Plugin Installer Recommendations to latest version (v1.4.0) - feature updates
* Tweak: Updated `.pot` file plus all German translations (formal, informal) and language packs
* New: [Join my newsletter for DECKERWEB WordPress Plugins](https://eepurl.com/gbAUUn) - insider info, plus tutorials and more useful stuff


### 🔧 2.1.1 - 2018-12-19

* Tweak: Fixed Fatal error caused from setting field creation function - thanks to user Pete for reporting it!
Expand Down Expand Up @@ -169,4 +179,4 @@ NEW: Added support for more custom post type by plugins:
* 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 :-)
* Tested & proved compatibility with WordPress 3.3-aortic-dissection :-)
39 changes: 28 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
**Donate link:** https://www.paypal.me/deckerweb
**Tags:** genesis, genesiswp, genesis framework, layout, layouts, layout manager, post, page, singular, attachment, search, taxonomoy, 404 error, 404 page, bbPress, CPT, AgentPress Listings, agentpress, deckerweb
**Requires at least:** 3.4 plus Genesis 1.8+
**Tested up to:** 5.0
**Tested up to:** 5.2
**Requires PHP:** 5.6
**Stable tag:** 2.1.1
**Stable tag:** 2.1.2
**License:** GPL-2.0-or-later
**License URI:** https://opensource.org/licenses/GPL-2.0

Expand Down Expand Up @@ -71,10 +71,10 @@ As a smart bonus the plugin also includes the layout setting for the *bbPress 2.
* Child Theme: **Stage** by Themedy Themes: Taxonomy "Photo Galleries"


### ⚡️ Translations
* English (United States) - `en_US` = default, always included
* [German (informal, default)](https://translate.wordpress.org/locale/de/default/wp-plugins/genesis-layout-extras) - `de_DE`
* [German (formal)](https://translate.wordpress.org/locale/de/formal/wp-plugins/genesis-layout-extras) - `de_DE_formal`
### 🌎 Translations
* 🇺🇸 English (United States) - `en_US` = default, always included
* 🇩🇪 [German (informal, default)](https://translate.wordpress.org/locale/de/default/wp-plugins/genesis-layout-extras) - `de_DE`
* 🇩🇪 [German (formal)](https://translate.wordpress.org/locale/de/formal/wp-plugins/genesis-layout-extras) - `de_DE_formal`
* All other user-submitted translation see at [language packs overview page](https://translate.wordpress.org/projects/wp-plugins/genesis-layout-extras)
* `.pot` file (`genesis-layout-extras.pot`) for translators is also always included :)
* Easy plugin translation platform with GlotPress tool: [Translate "Genesis Layout Extras"...](https://translate.wordpress.org/projects/wp-plugins/genesis-layout-extras)
Expand All @@ -93,9 +93,10 @@ You can also contribute code-wise via our [Genesis Layout Extras GitHub Reposito


### 😁 Liked Genesis Layout Extras Plugin?
* [**Join our Newsletter for Site Builders**](https://eepurl.com/gbAUUn) - *get plugin insider info, and more interesting stuff for Genesis WordPress users*
* Engage in our [Facebook Community User Group]((https://www.facebook.com/groups/deckerweb.wordpress.plugins/).
* Rate us [5 stars on WordPress](https://wordpress.org/support/plugin/genesis-layout-extras/reviews/?filter=5/#new-post) :)
* [**Rate us 5 ⭐ stars on WordPress.org**](https://wordpress.org/support/plugin/genesis-layout-extras/reviews/?filter=5/#new-post) :)
* [**Join our Newsletter for Site Builders** 💯](https://eepurl.com/gbAUUn) - *get plugin insider info, and more interesting stuff for Genesis WordPress users*
* Engage in our [Facebook Community User Group 💬]((https://www.facebook.com/groups/deckerweb.wordpress.plugins/).
* [**Become a Patron** 💜](https://www.patreon.com/deckerweb) and support ongoing development, maintenance and support of this plugin


### ♥ This Plugin ...
Expand All @@ -112,7 +113,7 @@ Try [**Toolbar Extras for Genesis**](https://toolbarextras.com/) my other great
* In your WordPress admin dashboard search for `toolbar extras` in the plugin installer ;-)


### 🔌 Check out my other Genesis Plugins
## 🔌 Check out my other Genesis Plugins
* [**Genesis Widgetized Not Found & 404**](https://wordpress.org/plugins/genesis-widgetized-notfound/) - be prepared for the edge cases
* [**Genesis What's New Info**](https://wordpress.org/plugins/genesis-whats-new-info/) - show the what's new overview page via left-hand admin menu
* [**Genesis Extra Settings Transporter**](https://wordpress.org/plugins/genesis-extra-settings-transporter/) - addionally export Genesis specific plugin & child theme settings
Expand All @@ -124,14 +125,18 @@ Try [**Toolbar Extras for Genesis**](https://toolbarextras.com/) my other great
* [Genesis Widgetized Archive](https://wordpress.org/plugins/genesis-widgetized-archive/) - easily set up content for your Archive page (template)
* [Genesis Widgetized Footer](https://wordpress.org/plugins/genesis-widgetized-footer/) - easily set up your copyright/ credits/ back to top
* [Genesis Connect for Easy Digital Downloads](https://wordpress.org/plugins/genesis-connect-edd/) - plugin for easy & elegant integration
* [*My Genesis plugins newsletter*](https://eepurl.com/gbAUUn)


## 🔌 My Other WordPress Plugins
* [**Toolbar Extras for Genesis & Elementor - WordPress Admin Bar Enhanced**](https://wordpress.org/plugins/toolbar-extras/)
* [**Toolbar Extras for Oxygen Builder - Add-On plugin**](https://wordpress.org/plugins/toolbar-extras-oxygen/)
* [**Builder Template Categories - for WordPress Page Builders**](https://wordpress.org/plugins/builder-template-categories/)
* [**Polylang Connect for Elementor – Language Switcher & Template Tweaks**](https://wordpress.org/plugins/connect-polylang-elementor/)
* [**Simple Download Manager for WP Document Revisions**](https://wordpress.org/plugins/wpdr-simple-downloads/)
* [Multisite Toolbar Additions](https://wordpress.org/plugins/multisite-toolbar-additions/)
* [Cleaner Plugin Installer](https://wordpress.org/plugins/cleaner-plugin-installer/)
* [*My plugins newsletter*](https://eepurl.com/gbAUUn)


## Installation
Expand All @@ -148,7 +153,7 @@ Try [**Toolbar Extras for Genesis**](https://toolbarextras.com/) my other great

### 🚀 We Recommend Your Host Supports at least:

* PHP version 7.0 or higher
* PHP version 7.2 or higher
* MySQL version 5.6 or higher / or MariaDB 10 or higher


Expand Down Expand Up @@ -443,6 +448,14 @@ Last but not least, **Special Thanks go out to my family** for allowing me to do
**NOTE for the extra Layouts** The up to nine *additional* layouts added with version 2.0.0 of the plugin back in 2013 are now deprecated as of December 2018. That means, they will NOT receive any more updates and also NO SUPPORT. You can still use them if you want but you need to care for the proper styling, displaying etc. yourself. Therefore it would make more sense for you to not use these option from the plugin but rather register custom layouts yourself and make use of our filters to bring them also into the settings drop-down field. Thanks for your understanding! - This note only regards the *additional layouts*, NOT the plugin itself of course, the plugin is alive and kickin', hehe :-).


### ⚡️ 2.1.2 - 2019-05-03
* *New: Successfully tested with WordPress 5.2*
* New: Integrated with WordPress 5.2+ new Site Health feature: Genesis Layout Extras now has an extra section on the Debug Info tab - this is especially helpful for support requests
* Tweak: Updated bundled library DDWlib Plugin Installer Recommendations to latest version (v1.4.0) - feature updates
* Tweak: Updated `.pot` file plus all German translations (formal, informal) and language packs
* New: [Join my newsletter for DECKERWEB WordPress Plugins](https://eepurl.com/gbAUUn) - insider info, plus tutorials and more useful stuff


### 🔧 2.1.1 - 2018-12-19
* Tweak: Fixed Fatal error caused from setting field creation function - thanks to user Pete for reporting it!
* Tweak: Fixed Admin styling glitches with Ninja Forms builder (and most likely other plugins) - Thanks to user feedback ([Topic](https://wordpress.org/support/topic/css-error-when-combined-with-ninja-forms/))
Expand Down Expand Up @@ -604,6 +617,10 @@ NEW: Added support for more custom post type by plugins:
## Upgrade Notice


### 2.1.2
Now with WordPress 5.2 Site Health integration first pass. - **Update highly recommended!**


### 2.1.1
Major release: **Back in life :-)** - 3 new Genesis-plugins supported. Lots of improvements, tweaks and fixes. - **Update highly recommended!**

Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"authors": [
{
"name": "David Decker",
"homepage": "https://deckerweb.de/",
"homepage": "https://deckerweb-plugins.com/",
"role": "Developer"
}
],
Expand Down
26 changes: 13 additions & 13 deletions genesis-layout-extras.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* Plugin Name: Genesis Layout Extras
* Plugin URI: https://github.com/deckerweb/genesis-layout-extras/
* Description: For Genesis Framework: Allows modifying of default layouts for homepage, various archive, attachment, search, 404 and even bbPress 2.x pages via plugin settings page. Plus: up to 9 alternate layout options as well as additional post type support!
* Version: 2.1.1
* Version: 2.1.2
* Author: David Decker - DECKERWEB
* Author URI: https://deckerweb.de/
* License: GPL-2.0-or-later
Expand Down Expand Up @@ -60,8 +60,8 @@
* @since 1.0.0
*/
/** Plugin version */
define( 'GLE_PLUGIN_VERSION', '2.1.1' );
define( 'GLE_RELEASE_DATE', strtotime( '19 December 2018' ) );
define( 'GLE_PLUGIN_VERSION', '2.1.2' );
define( 'GLE_RELEASE_DATE', strtotime( '3 May 2019' ) );

/** Plugin directory */
define( 'GLE_PLUGIN_DIR', trailingslashit( dirname( __FILE__ ) ) );
Expand Down Expand Up @@ -232,27 +232,27 @@ function ddw_genesis_layout_extras_init() {
}

/** Conditionals functions */
require_once( GLE_PLUGIN_DIR . 'includes/gle-functions-conditionals.php' );
require_once GLE_PLUGIN_DIR . 'includes/gle-functions-conditionals.php';

/** Global functions */
require_once( GLE_PLUGIN_DIR . 'includes/gle-functions-global.php' );
require_once GLE_PLUGIN_DIR . 'includes/gle-functions-global.php';

/** Layout extras */
require_once( GLE_PLUGIN_DIR . 'includes/gle-layout-extras.php' );
require_once GLE_PLUGIN_DIR . 'includes/gle-layout-extras.php';

/** Load admin and frontend functions only when needed */
if ( is_admin() && ddw_gle_is_genesis_active() ) {

/** Include plugin code parts */
require_once( GLE_PLUGIN_DIR . 'includes/admin/gle-admin-functions.php' );
//require_once( GLE_PLUGIN_DIR . '/includes/gle-admin-functions-dropdown.php' );
require_once( GLE_PLUGIN_DIR . 'includes/admin/gle-admin-extras.php' );
require_once( GLE_PLUGIN_DIR . 'includes/admin/views/gle-admin-help.php' );
require_once GLE_PLUGIN_DIR . 'includes/admin/gle-admin-functions.php';
//require_once GLE_PLUGIN_DIR . '/includes/gle-admin-functions-dropdown.php';
require_once GLE_PLUGIN_DIR . 'includes/admin/gle-admin-extras.php';
require_once GLE_PLUGIN_DIR . 'includes/admin/views/gle-admin-help.php';

} elseif ( ddw_gle_is_genesis_active() ) {

/** This executes our settings visually */
require_once( GLE_PLUGIN_DIR . 'includes/gle-frontend.php' );
require_once GLE_PLUGIN_DIR . 'includes/gle-frontend.php';

} // end if

Expand Down Expand Up @@ -286,7 +286,7 @@ function ddw_gle_admin_init() {

/** Load the settings & help stuff */
if ( is_admin() ) {
require_once( GLE_PLUGIN_DIR . 'includes/admin/gle-admin-options.php' );
require_once GLE_PLUGIN_DIR . 'includes/admin/gle-admin-options.php';
}

} // end function
Expand All @@ -299,4 +299,4 @@ function ddw_gle_admin_init() {
*
* @since 2.1.0
*/
require_once( GLE_PLUGIN_DIR . 'includes/gle-unload-translations.php' );
require_once GLE_PLUGIN_DIR . 'includes/gle-unload-translations.php';
175 changes: 175 additions & 0 deletions includes/admin/classes/ddwlib-plir/ddwlib-plir-styles.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,175 @@
/**
* @package DDWlib Plugin Installer Recommendations - Assets
* @since 1.1.0
* @since 1.2.0 Added more styles for plugin cards. Dark mode support.
* @since 1.3.0 Moved CSS into own stylesheet. WP Enqueue declaration.
*/

/** Plugin cards */

.plugin-card:hover {
background: #ffffd9;
border: 1px solid #bbb;
}

.plugin-card-bottom {
background: #f2f2f2;
}

.plugin-card:hover > .plugin-card-bottom {
background: #e1e1e1;
}

.plugin-install-php .tablenav .tablenav-pages {
margin-top: 15px;
margin-bottom: 15px;
}

.plugin-action-buttons div small {
margin-left: 10px;
}

.dark-mode .plugin-card:hover {
background: #404C58 !important;
border-color: #090909 !important;
}

.dark-mode .plugin-card:hover > .plugin-card-bottom {
background: #111921 !important;
}

.dark-mode .plugin-action-buttons div small {
color: #bbc8d4;
}


/** Plugin cards: buttons */

#wpwrap .plugin-action-buttons .button-disabled {
background-color: #d9edc2 !important;
border-color: #b2ce96 !important;
color: #555 !important;
}

.plugin-action-buttons .update-now,
.plugin-action-buttons .install-now.updating-message {
background-color: #fef5c4;
}

.plugin-action-buttons .activate-now,
.plugin-action-buttons .activate-now:focus,
.dark-mode .plugin-action-buttons .activate-now,
.dark-mode .plugin-action-buttons .activate-now:focus {
background-color: #e2e2f9;
border-color: #bebde9;
color: #333;
text-shadow: none;
}

.plugin-action-buttons a.activate-now:before {
color: #999; /* #f56e28; */
content: "\f106";
display: inline-block;
font: 400 20px/1 dashicons;
margin: 3px 5px 0 -2px;
speak: none;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
vertical-align: top;
}


/** Plugin cards: compatibility */

.plugin-card .compatibility-compatible:before,
.plugin-card .compatibility-compatible strong {
color: #0b0 !important;
}

.plugin-card .compatibility-incompatible:before,
.plugin-card .compatibility-incompatible strong {
color: #f00 !important;
}


/** Plugin & Theme uploaders */

.upload-plugin .wp-upload-form,
.upload-theme .wp-upload-form {
padding: 20px;
margin: 20px auto;
max-width: 80%;
text-align: center;
}

input#pluginzip,
input#themezip {
background-color: #ffffe8;
border: 4px dashed #b4b9be;
display: inline-block;
font-size: 135%;
padding: 20px;
width: 100% !important;
}

input#pluginzip:hover,
input#themezip:hover {
background-color: #ffffd9;
}

input#install-plugin-submit,
input#install-theme-submit {
display: inline-block;
font-size: 120%;
margin-top: 20px;
}

.dark-mode input#pluginzip,
.dark-mode input#themezip {
background-color: #404C58;
border-color: #23282d;
}

.dark-mode input#pluginzip:hover,
.dark-mode input#themezip:hover {
background-color: #50626f;
}


/** Tab: deckerweb Plugins */

.ddwplugins-preface {
padding: 10px 20px 0;
}

.ddwplugins-logo {
border: 1px solid #fafafa;
float: left;
margin: 20px 20px 0;
}

.ddwplugins-text {
display: inline-block;
padding-top: 5px;
}

.ddwplugins-text h3,
.ddwplugins-text h4,
.ddwplugins-text p {
display: block;
}

.ddwplugins-text h3 {
color: #7e49c2;
font-size: 1.5em;
margin-top: 1.2em;
}

.ddwplugins-text h4 {
color: #c56cd7;
font-size: 1.1em;
}

.ddwplugins-text p {
font-size: 107%;
}
Loading

0 comments on commit 3e6c4eb

Please sign in to comment.