__( 'General', 'acc-conditional-typo' ),
'icon' => 'fa fa-puzzle-piece',
'fields' => array(
array(
'type' => 'content',
'content' => '
',
),
array(
'id' => 'acc_wp_editor',
'type' => 'wp_editor',
'desc' => 'Here you can use this WP Editor with tinymce, if you can display a text formate.',
'tinymce' => true,
'quicktags' => true,
'media_buttons' => true,
'height' => '100px',
),
//
// Load Libraries.
//
array(
'type' => 'heading',
'content' => 'Load External Libraries',
),
array(
'id' => 'acc_library_bootstrap_load',
'type' => 'switcher',
'before' => __( 'Load Bootstrap
', 'acc-conditional-typo' ),
'class' => 'acc--inline-block-fields',
'text_on' => __( 'Load', 'acc-conditional-typo' ),
'text_off' => __( 'Unload', 'acc-conditional-typo' ),
'text_width' => 85,
'default' => false,
),
array(
'id' => 'acc_library_fontawesome_load',
'type' => 'switcher',
'before' => __( 'Load FontAwesome5
', 'acc-conditional-typo' ),
'class' => 'acc--inline-block-fields',
'text_on' => __( 'Load', 'acc-conditional-typo' ),
'text_off' => __( 'Unload', 'acc-conditional-typo' ),
'text_width' => 85,
'default' => false,
),
array(
'id' => 'acc_library_animatecss_load',
'type' => 'switcher',
'before' => __( 'Load Animate.css
', 'acc-conditional-typo' ),
'class' => 'acc--inline-block-fields',
'text_on' => __( 'Load', 'acc-conditional-typo' ),
'text_off' => __( 'Unload', 'acc-conditional-typo' ),
'text_width' => 85,
'default' => false,
),
array(
'id' => 'acc_library_vuejs_load',
'type' => 'switcher',
'before' => __( 'Load Vue.js
', 'acc-conditional-typo' ),
'class' => 'acc--inline-block-fields',
'text_on' => __( 'Load', 'acc-conditional-typo' ),
'text_off' => __( 'Unload', 'acc-conditional-typo' ),
'text_width' => 85,
'default' => false,
),
array(
'id' => 'acc_lib_load_repeater',
'type' => 'repeater',
'before' => 'Also you can enqueue google fonts. Checkout fonts.google.com',
'class' => 'acc--lib-load-repeater',
'fields' => array(
array(
'id' => 'acc_is_lib_cdn_load',
'type' => 'switcher',
'title' => __( 'Load This Link', 'acc-conditional-typo' ),
'text_on' => __( 'Load', 'acc-conditional-typo' ),
'text_off' => __( 'Unload', 'acc-conditional-typo' ),
'text_width' => 85,
'default' => false,
),
array(
'id' => 'acc_lib_load_cdn_link',
'type' => 'text',
'title' => 'CDN Link',
),
),
'default' => array(
array(
'acc_is_lib_cdn_load' => true,
'acc_lib_load_cdn_link' => '',
),
),
),
),
)
);