Redux Framework
Testing the New & Improved Icon Select Extension
The old Icon Select extension has been rewritten with a new popup interface and several new features, which are documented on its docs page.
Painstaking efforts were made to ensure backward compatibility with the previous standalone extension and Redux Pro version. However, the possibility exists we could have missed something as we have no themes that use the older version of Icon Select to test again. If you are a theme author and discover and issue, please post it to our issue tracker making sure to include a detailed description of your issue and a copy of your theme's options config for us to review. In fact, please read the instructions we provided within the issue tracker posting form and provide the required data.
If you are a theme user (that is, someone who purchased a theme that uses the Icon Select extension), we cannot offer support as you do not have permission from the theme author to send us a copy of their theme. You will need to report the issue to the author of your theme, ensure they are able to duplicate your issue, and ask them to file a report on our issue tracker. We are only able to work with theme authors to address issues within Redux, and changes may need to be made to the theme code, which is something we are unable to do.
New to Version 4.4
- USER PROFILE METABOXES!
- ICON SELECT Extension.
- The Extendify Templates and Patterns library has been unbundled from Redux. To continue using Extendify, please download the standalone plugin from the WordPress.org repository: https://wordpress.org/plugins/extendify
New to Version 4.3
- METABOXES!
- REPEATER EXTENSION!
- SOCIAL PROFILES EXTENSION!
- CUSTOM FONTS EXTENSION!
- Multi Media extension.
- DateTime extension.
- JS Button extension.
- Google Maps extension
- Widget Areas extension (applies to Classic Widgets only).
- Gutenberg Template Library updated to the new Extendify library. See more information here about this upgrade and how to access the legacy library: https://redux.io/gutenberg-template-library-upgrade.
New to Version 4.2
See the sample folder for examples for the new and improved fields.
- Additional Typography features: Top and bottom margins, text shadow.
- New Media Image Filters (greyscale, sepia, opacity, contrast, invert, blur, saturate, brightness, hue-rotate).
- New Gradient Field Filters (type, reach, angle), including output for autogenerated CSS.
- New Box Shadow field with output for autogenerated CSS.
- New Flyout Submenus:
flyout_submenus
global arg. - New Alpha color option for color field:
color_alpha
field arg for fields that support color pickers. - Removed:
async_typography
global arg. Google no longer supports it. Usefont_display
with one of the followingauto|block|swap|fallback|optional
. See: https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display - Automatic update option for Google Fonts without a Pro subscription.
Join us on Slack
Follow us on Social Media!
Changelog
See Changelog.md
Documentation
Need a little help with Redux? Come check out our brand-new documentation site at devs.redux.io, chock-full of tutorials and examples!
Help Us Translate Redux
Please head over to the plugin page to learn how you can help us translate Redux quickly. Any and all translations are welcome. We appreciate your help! https://translate.wordpress.org/projects/wp-plugins/redux-framework/
Features
- Uses the WordPress Settings API
- Multiple built in field types
- Multiple layout field types
- Fields can be overloaded with a callback function for custom field types
- Easily extendable by creating Field Classes
- Built in Validation Classes
- Easily extendable by creating Validation Classes
- Custom Validation error handling, including error counts for each section, and custom styling for error fields
- Custom Validation warning handling, including warning counts for each section, and custom styling for warning fields
- Multiple Hook Points for customization
- Import / Export Functionality — including cross-site importing of settings
- Easily add page help through the class
- Fully responsive options panel
- Much more
What's new in version 4?
Core Rewrite
Our code base has been rebuilt from the ground up. With compartmentalized code, autoload, and class inheritance, Redux is now faster and more efficient than its ever been!
Top of the Line Security!
Redux meets security standards laid out by WordPress Coding Standards, WordPress VIP Standards, and ThemeForest Guidelines. Focus includes escaping, sanitizing, and nonces verification, and database query prep/caching.
Automatic Google Font Updates.
This is one of the crown jewels of Redux v4! Your users will have the ability to update Google Fonts as updates are available or automatic ‘behind the scenes’ updates. No more waiting for updates and no API key required!
Field Sanitizing
Field sanitizing allows one to pass an array of function names as an argument to a field in which the return value will be the sanitizing string. This feature will only work with text based fields including text, textarea, and multi_text (ACE Editor and WP Editor not included).
One may use any existing function including PHP functions, WordPress functions, and custom written functions. The return value of any used function must be that of a string. Any other return value will be disregarded.
Please view the sample-config.php file for specific examples.
Select2 AJAX Loading
The AJAX loading routines for the select2 fields have been fixed/finished. See the 'capabilities' field in the demo panel for an example.
For the interim, this feature will only work when used in conjunction with the data
argument (that is, the one that fetches WordPress data).
To set AJAX loading, add the 'ajax' => true
argument to your select field. The min_input_length
argument may also be added to specify how many characters should be typed before results are shown. Default is 1
.
Field/Section Disabling
This feature has been requested quite a few times over the years. Fields and sections can now be disabled by adding the 'disabled' => true
argument to either a section or a field. The section or field will then appear 'greyed out' and not respond to input. This comes in handy in the event one may want to offer teasers for premium versions of their products.
Since those with a little CSS know-how could easily reactivate disabled fields with a little CSS, we took the added precaution of having Redux remove any name
attributes on disabled fields/sections. This way, even if a clever user reactivates the field, it will never save.
Updated Panel Interface
The option panel interface has been brought up to date with the current WordPress admin design. It is also now ‘theme aware’. Panel colors will now follow suit with the selected admin theme.
Improved Field Validation
Due to the need for multiple field validations, Redux now supports an array of validations versus the previously limiting single argument. Validation results now appear in real time after a save without the need for page refresh.
Full v3 Backward Compatibility
We take backward compatibility very seriously here and strive to maintain it. Redux v4 has been designed to act as a drop-in replacement to offer new functionality without breaking existing functionality.
FAQs
- Why should we use
require_once
instead ofget_template_part
?
- First, because
get_template_part
is for... you guessed it, themes! Redux is designed to work with both themes and plugins. - Second, read this.
- Why shouldn't we edit
sample-config.php
in the plugin directory?
- Because
sample-config.php
will be replaced at each update of the plugin. You will lose all your work.