SET ARGUMENTS * All the possible arguments for Redux. * For full documentation on arguments, please refer to: https://github.com/ReduxFramework/ReduxFramework/wiki/Arguments * */ $theme = wp_get_theme(); // For use with some settings. Not necessary. $args = array( 'opt_name' => 'redux_builder_amp', 'display_name' => 'Accelerated Mobile Pages Options', //'display_version' => '0.7.1', 'page_slug' => 'amp_options', 'page_title' => 'Accelerated Mobile Pages Options', 'update_notice' => false, 'intro_text' => 'Need Help? Support Forum | FAQ | Change Log | Reviews| Donate', 'footer_text' => '', 'admin_bar' => TRUE, 'menu_type' => 'menu', 'menu_title' => 'AMP', 'allow_sub_menu' => TRUE, 'page_parent_post_type' => 'your_post_type', 'default_mark' => '', 'class' => 'amp_options_class', 'hints' => array( 'icon' => 'el el-adjust-alt', 'icon_position' => 'left', 'icon_size' => 'normal', 'tip_style' => array( 'color' => 'light', ), 'tip_position' => array( 'my' => 'top left', 'at' => 'bottom right', ), 'tip_effect' => array( 'show' => array( 'duration' => '500', 'event' => 'mouseover', ), 'hide' => array( 'duration' => '500', 'event' => 'mouseleave unfocus', ), ), ), 'output' => TRUE, 'output_tag' => TRUE, 'settings_api' => TRUE, 'cdn_check_time' => '1440', 'compiler' => TRUE, 'page_permissions' => 'manage_options', 'save_defaults' => TRUE, 'show_import_export' => TRUE, 'database' => 'options', 'transient_time' => '3600', 'network_sites' => TRUE, ); // SOCIAL ICONS -> Setup custom links in the footer for quick links in your panel footer icons. $args['share_icons'][] = array( 'url' => 'https://github.com/ahmedkaludi/Accelerated-Mobile-Pages', 'title' => 'Visit us on GitHub', 'icon' => 'el el-github' //'img' => '', // You can use icon OR img. IMG needs to be a full URL. ); Redux::setArgs( $opt_name, $args ); /* * ---> END ARGUMENTS */ /* * ---> START HELP TABS */ $tabs = array( array( 'id' => 'redux-help-tab-1', 'title' => __( 'Theme Information 1', 'admin_folder' ), 'content' => __( '
This is the tab content, HTML is allowed.
', 'admin_folder' ) ), array( 'id' => 'redux-help-tab-2', 'title' => __( 'Theme Information 2', 'admin_folder' ), 'content' => __( 'This is the tab content, HTML is allowed.
', 'admin_folder' ) ) ); Redux::setHelpTab( $opt_name, $tabs ); // Set the help sidebar $content = __( 'This is the sidebar content, HTML is allowed.
', 'admin_folder' ); Redux::setHelpSidebar( $opt_name, $content ); /* * <--- END HELP TABS */ /* * * ---> START SECTIONS * */ Redux::setSection( $opt_name, array( 'title' => __( 'Basic Field', 'redux-framework-demo' ), 'id' => 'basic', 'desc' => __( 'Basic field with no subsections.', 'redux-framework-demo' ), 'icon' => 'el el-home', 'fields' => array( array( 'id' => 'opt-blank', 'title' => __( 'Example Text', 'redux-framework-demo' ), 'desc' => __( 'Example description.', 'redux-framework-demo' ), 'subtitle' => __( 'Example subtitle.', 'redux-framework-demo' ), ) ) ) ); Redux::setSection( $opt_name, array( 'title' => __( 'Welcome', 'redux-framework-demo' ), 'id' => 'basic', 'desc' => __( '' . sprintf( __( 'We are actively working on updating the plugin. We have built user friendly options which allows you to make changes on your AMP version. I have put togeather some frequently asked questions below.', 'redux-framework-demo' ), 'redux-framework-demo' ) . '
' . '' . __( 'How to Setup Navigation Menu?', 'redux-framework-demo' ) . '
' . __( 'We have created a Seperate Navigation menu for AMP version which you can setup from the WordPress Menus, then navigate to Menu Locations, their you will notice AMP Menu. You can assign existing menus to this locations.', 'redux-framework-demo' ) . '
' . __( 'I added /?amp on the end of one of my URLs and a minimalist version of my page appeared. It looks just like on one of your screenshots, so I guess its installed properly. Okay what now? Is it just enough to install it and the plugin will do the rest?', 'redux-framework-demo' ) . '
' . __( 'After you see the minimalist view if you use the url with ?amp then it means that it has been installed properly. You dont need any extra steps to enable it.', 'redux-framework-demo' ) . '
' . __( 'The plugin supposed to redirect all mobile visitors to AMP version of site or not? ', 'redux-framework-demo' ) . '
' . __( 'When you view the website from the mobile, it is not supposed to redirect you to the amp version, amp version is always ready for google in the backend, if Google wants to serve to the people, then it will get the amp version and serve to the customers.
', 'redux-framework-demo' ) . '
' . __( 'I am worried that it will cause Duplicate content?', 'redux-framework-demo' ) . '
' . __( 'In the AMP version, we are using Canonical tag to solve this. I am 100% sure that using this plugin will not duplicate the content.
', 'redux-framework-demo' ) . '
' . __( 'How do I know that my site is AMP enabled?
', 'redux-framework-demo' ) . '
' . __( 'Add /?amp at the end of your website url and you will get amp version of your website.', 'redux-framework-demo' ) . '
' . sprintf( __( 'I have addded /?amp at the end of the url and still I am not able to see the AMP version of my site?
', 'redux-framework-demo' ), 'redux-framework-demo' ) . '
'
. sprintf( __( 'Please check if you have "Pretty Permalinks" enabled. If not then activate it.', 'redux-framework-demo' ), '' )
. '
' . sprintf( __( 'How do I report Bug reports?
', 'redux-framework-demo' ), 'redux-framework-demo' ) . '
'
. sprintf( __( 'Before you submit a new bug, please check if there already is an existing bug report for it. If so, it may be far more valuable to add to the existing one, than to create a new bug report. You can submit bug reports and feature requests at
%1$sGitHub Issues Page%2$s.
', 'redux-framework-demo' ), '', '' )
. '
';
}
// ADS SECTION
Redux::setSection( $opt_name, array(
'title' => __( 'Advertisement', 'redux-framework-demo' ),
'desc' => $desc,
'id' => 'amp-ads',
'subsection' => true,
'fields' => array(
// Ad 1 Starts
array(
'id' =>'enable-amp-ads-1',
'type' => 'switch',
'title' => __('AD #1', 'redux-framework-demo'),
'default' => 0,
'subtitle' => __('Below the Header (SiteWide)', 'redux-framework-demo'),
'true' => 'Enabled',
'false' => 'Disabled',
),
array(
'id' => 'enable-amp-ads-select-1',
'type' => 'select',
'title' => __('AD Size', 'redux-framework-demo'),
'required' => array('enable-amp-ads-1', '=' , '1'),
// Must provide key => value pairs for select options
'options' => array(
'1' => '300x250',
'2' => '336x280',
'3' => '728x90',
'4' => '300x600',
'5' => '320x100',
'6' => '200x50',
'7' => '320x50'
),
'default' => '2',
),
array(
'id' =>'enable-amp-ads-text-feild-client-1',
'type' => 'text',
'required' => array('enable-amp-ads-1', '=' , '1'),
'title' => __('Data AD Client', 'redux-framework-demo'),
'subtitle' => __('Enter the Data Ad Client (data-ad-client) from the adsense ad code.', 'redux-framework-demo'),
'default' => '',
'placeholder'=> 'ca-pub-2005XXXXXXXXX342'
),
array(
'id' => 'enable-amp-ads-text-feild-slot-1',
'type' => 'text',
'title' => __('Data AD Slot', 'redux-framework-demo'),
'subtitle' => __('Enter the Data Ad Slot (data-ad-slot) from the adsense ad code.', 'redux-framework-demo'),
'default' => '',
'required' => array('enable-amp-ads-1', '=' , '1'),
'placeholder'=> '70XXXXXX12'
),
// Ad 1 ends
// Ad 2 Starts
array(
'id'=>'enable-amp-ads-2',
'type' => 'switch',
'title' => __('AD #2', 'redux-framework-demo'),
'default' => 0,
'subtitle' => __('Below the Footer (SiteWide)', 'redux-framework-demo'),
'true' => 'Enabled',
'false' => 'Disabled',
),
array(
'id' => 'enable-amp-ads-select-2',
'type' => 'select',
'title' => __('AD Size', 'redux-framework-demo'),
'required' => array('enable-amp-ads-2', '=' , '1'),
// Must provide key => value pairs for select options
'options' => array(
'1' => '300x250',
'2' => '336x280',
'3' => '728x90',
'4' => '300x600',
'5' => '320x100',
'6' => '200x50',
'7' => '320x50'
),
'default' => '2',
),
array(
'id' =>'enable-amp-ads-text-feild-client-2',
'type' => 'text',
'required' => array('enable-amp-ads-2', '=' , '1'),
'title' => __('Data AD Client', 'redux-framework-demo'),
'subtitle' => __('Enter the Data Ad Client (data-ad-client) from the adsense ad code.', 'redux-framework-demo'),
'default' => '',
'placeholder'=> 'ca-pub-2005XXXXXXXXX342'
),
array(
'id' => 'enable-amp-ads-text-feild-slot-2',
'type' => 'text',
'title' => __('Data AD Slot', 'redux-framework-demo'),
'subtitle' => __('Enter the Data Ad Slot (data-ad-slot) from the adsense ad code.', 'redux-framework-demo'),
'default' => '',
'required' => array('enable-amp-ads-2', '=' , '1'),
'placeholder'=> '70XXXXXX12'
),
// Ad 2 ends
// Ad 3 starts
array(
'id' => 'enable-amp-ads-3',
'type' => 'switch',
'title' => __('AD #3', 'redux-framework-demo'),
'default' => 0,
'subtitle' => __('Above the Post Content (Single Post)', 'redux-framework-demo'),
'true' => 'Enabled',
'false' => 'Disabled',
),
array(
'id' => 'enable-amp-ads-select-3',
'type' => 'select',
'title' => __('AD Size', 'redux-framework-demo'),
'required' => array('enable-amp-ads-3', '=' , '1'),
// Must provide key => value pairs for select options
'options' => array(
'1' => '300x250',
'2' => '336x280',
'3' => '728x90',
'4' => '300x600',
'5' => '320x100',
'6' => '200x50',
'7' => '320x50'
),
'default' => '2',
),
array(
'id' =>'enable-amp-ads-text-feild-client-3',
'type' => 'text',
'required' => array('enable-amp-ads-3', '=' , '1'),
'title' => __('Data AD Client', 'redux-framework-demo'),
'subtitle' => __('Enter the Data Ad Client (data-ad-client) from the adsense ad code.', 'redux-framework-demo'),
'default' => '',
'placeholder'=> 'ca-pub-2005XXXXXXXXX342'
),
array(
'id' => 'enable-amp-ads-text-feild-slot-3',
'type' => 'text',
'title' => __('Data AD Slot', 'redux-framework-demo'),
'subtitle' => __('Enter the Data Ad Slot (data-ad-slot) from the adsense ad code.', 'redux-framework-demo'),
'default' => '',
'required' => array('enable-amp-ads-3', '=' , '1'),
'placeholder'=> '70XXXXXX12'
),
// Ad 3 ends
// Ad 4 Starts
array(
'id' => 'enable-amp-ads-4',
'type' => 'switch',
'title' => __('AD #4', 'redux-framework-demo'),
'default' => 0,
'subtitle' => __('Below the Post Content (Single Post)', 'redux-framework-demo'),
'true' => 'Enabled',
'false' => 'Disabled',
),
array(
'id' => 'enable-amp-ads-select-4',
'type' => 'select',
'title' => __('AD Size', 'redux-framework-demo'),
'required' => array('enable-amp-ads-4', '=' , '1'),
// Must provide key => value pairs for select options
'options' => array(
'1' => '300x250',
'2' => '336x280',
'3' => '728x90',
'4' => '300x600',
'5' => '320x100',
'6' => '200x50',
'7' => '320x50'
),
'default' => '2',
),
array(
'id' =>'enable-amp-ads-text-feild-client-4',
'type' => 'text',
'required' => array('enable-amp-ads-4', '=' , '1'),
'title' => __('Data AD Client', 'redux-framework-demo'),
'subtitle' => __('Enter the Data Ad Client (data-ad-client) from the adsense ad code.', 'redux-framework-demo'),
'default' => '',
'placeholder'=> 'ca-pub-2005XXXXXXXXX342'
),
array(
'id' => 'enable-amp-ads-text-feild-slot-4',
'type' => 'text',
'title' => __('Data AD Slot', 'redux-framework-demo'),
'subtitle' => __('Enter the Data Ad Slot (data-ad-slot) from the adsense ad code. ', 'redux-framework-demo'),
'default' => '',
'required' => array('enable-amp-ads-4', '=' , '1'),
'placeholder'=> '70XXXXXX12'
)
// Ad 4 ends
),
) );
// Single Section
Redux::setSection( $opt_name, array(
'title' => __( 'Single', 'redux-framework-demo' ),
'desc' => __( 'Additional Options to control the look of Single', 'redux-framework-demo' ),
'id' => 'amp-single',
'subsection' => true,
'fields' => array(
// Featured Image ON/OFF
// array(
// 'id' => 'enable-single-featured-image',
// 'type' => 'switch',
// 'title' => __('Featured Image Above Post Content', 'redux-framework-demo'),
// 'default' => 0,
// 'subtitle' => __('Enable Featured Image in the single post', 'redux-framework-demo'),
// 'true' => 'Enabled',
// 'false' => 'Disabled',
// ),
// Post Meta ON/OFF
array(
'id' => 'enable-single-post-meta',
'type' => 'switch',
'title' => __('Post Meta Above Post Content', 'redux-framework-demo'),
'default' => 1,
'subtitle' => __('Enable Post Meta in the single post', 'redux-framework-demo'),
'true' => 'Enabled',
'false' => 'Disabled',
),
// Single Featured ON/OFF
array(
'id' => 'enable-single-featured-img',
'type' => 'switch',
'title' => __('Featured Image', 'redux-framework-demo'),
'default' => 1,
'subtitle' => __('Enabling this will automatically display the featured image', 'redux-framework-demo'),
'true' => 'Enabled',
'false' => 'Disabled',
),
// Width and Height of Image
array(
'id' => 'enable-single-featured-img-width',
'type' => 'text',
'title' => __('Featured Image Width', 'redux-framework-demo'),
'default' => 512,
'subtitle' => __('Custom featured image width in Units : Px', 'redux-framework-demo'),
'placeholder'=>'Width here',
'required' => array('enable-single-featured-img', '=' , '1')
),
array(
'id' => 'enable-single-featured-img-height',
'type' => 'text',
'title' => __('Featured Image Height', 'redux-framework-demo'),
'default' => 300,
'subtitle' => __('Custom featured image height in Units : Px', 'redux-framework-demo'),
'placeholder'=>'Height here',
'required' => array('enable-single-featured-img', '=' , '1')
),
// Next/Previous Pagination ON/OFF
array(
'id' => 'enable-next-previous-pagination',
'type' => 'switch',
'title' => __('Post Pagination', 'redux-framework-demo'),
'default' => 1,
'subtitle' => __('Enable Next / Previous in the single post', 'redux-framework-demo'),
'true' => 'Enabled',
'false' => 'Disabled',
),
// Tags ON/OFF
array(
'id' => 'ampforwp-single-tags-on-off',
'type' => 'switch',
'title' => __('Tags', 'redux-framework-demo'),
'default' => 1,
'subtitle' => __('Enable / Disable Tags in the single post', 'redux-framework-demo'),
'true' => 'Enabled',
'false' => 'Disabled',
),
// Related Post
//new related type posts field
array(
'id' => 'ampforwp-single-select-type-of-related-switch',
'type' => 'switch',
'title' => __('Related Post', 'redux-framework-demo'),
'subtitle' => __('Enable / Disable Related Posts', 'redux-framework-demo'),
'default' => '1',
),
array(
'id' => 'ampforwp-single-select-type-of-related',
'type' => 'select',
'title' => __('Show Related Post from', 'redux-framework-demo'),
'data' => 'page',
'subtitle' => __('select the type of related posts', 'redux-framework-demo'),
'options' => array(
'1' => 'Tags',
'2' => 'Categories'
),
'args' => array(
'post_type' => 'page',
'posts_per_page' => 500
),// ampforwp-single-select-type-of-related-switch
'required' => array('ampforwp-single-select-type-of-related-switch', '=' , '1'),
'default' => '2',
),
// Comments Post
array(
'id' => 'ampforwp-single-comments-on-off',
'type' => 'switch',
'title' => __('Comments', 'redux-framework-demo'),
'default' => 1,
'subtitle' => __('Enable / Disable Comments in the single post', 'redux-framework-demo'),
'true' => 'Enabled',
'false' => 'Disabled',
),
// Social Icons ON/OFF
array(
'id' => 'enable-single-social-icons',
'type' => 'switch',
'title' => __('Social Icons', 'redux-framework-demo'),
'default' => 1,
'subtitle' => __('Enable Social Icons in single', 'redux-framework-demo'),
),
// Facebook ON/OFF
array(
'id' => 'enable-single-facebook-share',
'type' => 'switch',
'required' => array('enable-single-social-icons', '=' , '1'),
'title' => __('Facebook', 'redux-framework-demo'),
'default' => 0,
),
// Facebook app ID
array(
'id' => 'amp-facebook-app-id',
'title' => __('Facebook App ID', 'redux-framework-demo'),
'subtitle' => __('In order to use Facebook share you need to register an app ID.', 'redux-framework-demo'),
'type' => 'text',
'desc' =>__(' You can register one here: https://developers.facebook.com/apps.', 'redux-framework-demo'),
'required' => array('enable-single-facebook-share', '=' , '1'),
'placeholder' => 'Enter your facebook app id',
'default' => ''
),
// Twitter ON/OFF
array(
'id' => 'enable-single-twitter-share',
'type' => 'switch',
'required' => array('enable-single-social-icons', '=' , '1'),
'title' => __('Twitter', 'redux-framework-demo'),
'default' => 1,
),
// GooglePlus ON/OFF
array(
'id' => 'enable-single-gplus-share',
'type' => 'switch',
'required' => array('enable-single-social-icons', '=' , '1'),
'title' => __('GooglePlus', 'redux-framework-demo'),
'default' => 1,
),
// Email ON/OFF
array(
'id' => 'enable-single-email-share',
'type' => 'switch',
'required' => array('enable-single-social-icons', '=' , '1'),
'title' => __('Email', 'redux-framework-demo'),
'default' => 1,
),
// Pinterest ON/OFF
array(
'id' => 'enable-single-pinterest-share',
'type' => 'switch',
'required' => array('enable-single-social-icons', '=' , '1'),
'title' => __('Pinterest', 'redux-framework-demo'),
'default' => 1,
),
// LinkedIn ON/OFF
array(
'id' => 'enable-single-linkedin-share',
'type' => 'switch',
'required' => array('enable-single-social-icons', '=' , '1'),
'title' => __('LinkedIn', 'redux-framework-demo'),
'default' => 1,
),
array(
'id' => 'enable-single-whatsapp-share',
'type' => 'switch',
'required' => array('enable-single-social-icons', '=' , '1'),
'title' => __('WhatsApp', 'redux-framework-demo'),
'default' => 1,
),
),
) );
// Structured Data
Redux::setSection( $opt_name, array(
'title' => __( 'Structured Data', 'redux-framework-demo' ),
'id' => 'opt-structured-data',
'subsection' => true,
'fields' => array(
array(
'id' => 'amp-structured-data-logo',
'type' => 'media',
'url' => true,
'title' => __('Default Structured Data Logo', 'redux-framework-demo'),
'subtitle' => __('Upload the logo you want to show in Google Structured Data. ', 'redux-framework-demo'),
),
array(
'id' => 'amp-structured-data-placeholder-image',
'type' => 'media',
'url' => true,
'title' => __('Default Post Image', 'redux-framework-demo'),
'subtitle' => __('Upload the Image you want to show as Placeholder Image.', 'redux-framework-demo'),
'placeholder' => 'when there is no featured image set in the post',
),
array(
'id' => 'amp-structured-data-placeholder-image-width',
'title' => __('Default Post Image Width', 'redux-framework-demo'),
'type' => 'text',
'placeholder' => '550',
'subtitle' => 'Please don\'t add "PX" in the image size.',
'default' => ''
),
array(
'id' => 'amp-structured-data-placeholder-image-height',
'title' => __('Default Post Image Height', 'redux-framework-demo'),
'type' => 'text',
'placeholder' => '350',
'subtitle' => 'Please don\'t add "PX" in the image size.',
'default' => ''
),
)
) );
// Notifications SECTION
Redux::setSection( $opt_name, array(
'title' => __( 'Notifications', 'redux-framework-demo' ),
'desc' => __( 'Add notifications to your AMP pages'),
'id' => 'amp-notifications',
'subsection' => true,
'fields' => array(
array(
'id' =>'amp-enable-notifications',
'type' => 'switch',
'title' => __('Enable Notifications', 'redux-framework-demo'),
'default' => '',
'subtitle' => __('Show notifications on all of your AMP pages for cookie purposes, or anything else.', 'redux-framework-demo'),
'true' => 'Enabled',
'false' => 'Disabled',
),
array(
'id' => 'amp-notification-text',
'title' => __('Notification text', 'redux-framework-demo'),
'type' => 'text',
'required' => array('amp-enable-notifications', '=' , '1'),
'default' => 'This website uses cookies.',
'placeholder' => 'Enter Text here',
),
array(
'id' => 'amp-accept-button-text',
'title' => __('Notification accept button text', 'redux-framework-demo'),
'type' => 'text',
'required' => array('amp-enable-notifications', '=' , '1'),
'default' => 'Accept',
'placeholder' => 'Enter Text here',
),
),
) );
// Translation Panel
Redux::setSection( $opt_name, array(
'title' => __( 'Translation Panel', 'redux-framework-demo' ),
'desc' => __( 'Please translate the following words of page accordingly else default content is in English Language', 'redux-framework-demo' ),
'id' => 'amp-translator',
'subsection' => true,
'fields' => array(
array(
'id' => 'amp-translator-top-text',
'type' => 'text',
'title' => __('Top', 'redux-framework-demo'),
'default' => 'Top',
'placeholder'=>'write here'
),
array(
'id' => 'amp-translator-non-amp-page-text',
'type' => 'text',
'title' => __('View Non-AMP Version', 'redux-framework-demo'),
'default' => 'View Non-AMP Version',
'placeholder'=>'write here'
),
array(
'id' => 'amp-translator-related-text',
'type' => 'text',
'title' => __('Related Post', 'redux-framework-demo'),
'default' => 'Related Post',
'placeholder'=>'write here'
),
array(
'id' => 'amp-translator-navigate-text',
'type' => 'text',
'title' => __('Navigate', 'redux-framework-demo'),
'default' => 'Navigate',
'placeholder'=>'write here'
),
array(
'id' => 'amp-translator-on-text',
'type' => 'text',
'title' => __('On', 'redux-framework-demo'),
'default' => 'On',
'placeholder'=>'write here'
),
array(
'id' => 'amp-translator-next-text',
'type' => 'text',
'title' => __('Next', 'redux-framework-demo'),
'default' => 'Next',
'placeholder'=>'write here'
),
array(
'id' => 'amp-translator-previous-text',
'type' => 'text',
'title' => __('Previous', 'redux-framework-demo'),
'default' => 'Previous',
'placeholder'=>'write here'
),
array(
'id' => 'amp-translator-footer-text',
'type' => 'text',
'title' => __('Footer', 'redux-framework-demo'),
'default' => 'Footer',
'placeholder'=>'write here'
),
array(
'id' => 'amp-translator-categories-text',
'type' => 'text',
'title' => __('Categories', 'redux-framework-demo'),
'default' => 'Categories',
'placeholder'=>'write here'
),
array(
'id' => 'amp-translator-tags-text',
'type' => 'text',
'title' => __('Tags', 'redux-framework-demo'),
'default' => 'Tags',
'placeholder'=>'write here'
),
array(
'id' => 'amp-translator-by-text',
'type' => 'text',
'title' => __('By', 'redux-framework-demo'),
'default' => 'By',
'placeholder'=>'write here'
),
)
) );
// CSS
Redux::setSection( $opt_name, array(
'title' => __( 'Custom CSS Editor', 'redux-framework-demo' ),
// 'desc' => __( 'For full documentation on this field, visit: ', 'redux-framework-demo' ) . 'http://docs.reduxframework.com/core/fields/textarea/',
'id' => 'opt-css-editor',
'subsection' => true,
'fields' => array(
array(
'id' => 'css_editor',
'type' => 'ace_editor',
'title' => __('Custom CSS', 'redux-framework-demo'),
'subtitle' => __('You can customize the Stylesheet of the AMP version by using this option.', 'redux-framework-demo'),
'mode' => 'css',
'theme' => 'monokai',
'desc' => '',
'default' => "/******* Paste your Custom CSS in this Editor *******/"
),
)
) );
// Extension Section
Redux::setSection( $opt_name, array(
'title' => __( 'Extensions', 'redux-framework-demo' ),
// 'desc' => __( 'For full documentation on this field, visit: ', 'redux-framework-demo' ) . 'http://docs.reduxframework.com/core/fields/textarea/',
'id' => 'opt-go-premium',
'subsection' => false,
'desc' => '
',
'icon' => 'el el-info-circle',
) );
/*
* <--- END SECTIONS
*/