Resource & Documentation
- Download: https://redux.io/
- Documentation: https://docs.reduxframework.com/
- Version: redux-framework.php
- After download redux framework copy all folder and files. Paste them in theme folder like inc(lib)/redux custom directory.
Standard setup & connection
- functions.php
- require_once('inc/redux/ReduxCore/framework.php');
- require_once('inc/redux/sample/config.php'); // Rename sample-config.php to config.php.
Inside config.php or sample-config.php file (Redux tuning)
- Search 'Sample Options' and can change Menu title and page title.
- $args = array(… 'menu_title' => __( 'Sample Options', 'redux-framework-demo' ),
'page_title' => __( 'Sample Options', 'redux-framework-demo' ), …); - Place 'Sample Options' inside Appearance as a submenu.
- $args = array(… 'menu_type' => 'menu/submenu', …) ;
- Set developer mode false
- $args = array(… 'dev_mode' => false, …) ;
- Disable update notice
- $args = array(… 'update_notice' => false, …) ;
- Enable redux options inside Apparance->Customize menu when customizer is true or false when it's disable.
- $args = array(… 'customizer' => false, …) ;
- Page priority (null means in the end ) || Menu position
- $args = array(… 'page_priority' => null, …) ;
No comments:
Post a Comment