info.php (4414B)
1 <?php 2 /** 3 * Redux Framework info config. 4 * For full documentation, please visit: http://devs.redux.io/ 5 * 6 * @package Redux Framework 7 */ 8 9 defined( 'ABSPATH' ) || exit; 10 11 Redux::set_section( 12 $opt_name, 13 array( 14 'title' => esc_html__( 'Info', 'your-textdomain-here' ), 15 'id' => 'presentation-info', 16 'desc' => esc_html__( 'For full documentation on this field, visit: ', 'your-textdomain-here' ) . '<a href="https://devs.redux.io/core-fields/info.html" target="_blank">https://devs.redux.io/core-fields/info.html</a>', 17 'subsection' => true, 18 'fields' => array( 19 array( 20 'id' => 'opt-info-field', 21 'type' => 'info', 22 'desc' => esc_html__( 'This is the info field, if you want to break sections up.', 'your-textdomain-here' ), 23 ), 24 array( 25 'id' => 'opt-notice-info1', 26 'type' => 'info', 27 'style' => 'info', 28 'title' => esc_html__( 'This is a title.', 'your-textdomain-here' ), 29 'desc' => wp_kses_post( __( 'This is an info field with the <strong>info</strong> style applied. By default the <strong>normal</strong> style is applied.', 'your-textdomain-here' ) ), 30 ), 31 array( 32 'id' => 'opt-info-warning', 33 'type' => 'info', 34 'style' => 'warning', 35 'title' => esc_html__( 'This is a title.', 'your-textdomain-here' ), 36 'desc' => wp_kses_post( __( 'This is an info field with the <strong>warning</strong> style applied.', 'your-textdomain-here' ) ), 37 ), 38 array( 39 'id' => 'opt-info-success', 40 'type' => 'info', 41 'style' => 'success', 42 'icon' => 'el el-info-circle', 43 'title' => esc_html__( 'This is a title.', 'your-textdomain-here' ), 44 'desc' => wp_kses_post( __( 'This is an info field with the <strong>success</strong> style applied and an icon.', 'your-textdomain-here' ) ), 45 ), 46 array( 47 'id' => 'opt-info-critical', 48 'type' => 'info', 49 'style' => 'critical', 50 'icon' => 'el el-info-circle', 51 'title' => esc_html__( 'This is a title.', 'your-textdomain-here' ), 52 'desc' => wp_kses_post( __( 'This is an info field with the <strong>critical</strong> style applied and an icon.', 'your-textdomain-here' ) ), 53 ), 54 array( 55 'id' => 'opt-info-custom', 56 'type' => 'info', 57 'style' => 'custom', 58 'color' => 'purple', 59 'icon' => 'el el-info-circle', 60 'title' => esc_html__( 'This is a title.', 'your-textdomain-here' ), 61 'desc' => wp_kses_post( __( 'This is an info field with the <strong>custom</strong> style applied, color arg passed, and an icon.', 'your-textdomain-here' ) ), 62 ), 63 array( 64 'id' => 'opt-info-normal', 65 'type' => 'info', 66 'notice' => false, 67 'title' => esc_html__( 'This is a title.', 'your-textdomain-here' ), 68 'desc' => wp_kses_post( __( 'This is an info non-notice field with the <strong>normal</strong> style applied.', 'your-textdomain-here' ) ), 69 ), 70 array( 71 'id' => 'opt-notice-info', 72 'type' => 'info', 73 'notice' => false, 74 'style' => 'info', 75 'title' => esc_html__( 'This is a title.', 'your-textdomain-here' ), 76 'desc' => wp_kses_post( __( 'This is an info non-notice field with the <strong>info</strong> style applied.', 'your-textdomain-here' ) ), 77 ), 78 array( 79 'id' => 'opt-notice-warning', 80 'type' => 'info', 81 'notice' => false, 82 'style' => 'warning', 83 'icon' => 'el el-info-circle', 84 'title' => esc_html__( 'This is a title.', 'your-textdomain-here' ), 85 'desc' => wp_kses_post( __( 'This is an info non-notice field with the <strong>warning</strong> style applied and an icon.', 'your-textdomain-here' ) ), 86 ), 87 array( 88 'id' => 'opt-notice-success', 89 'type' => 'info', 90 'notice' => false, 91 'style' => 'success', 92 'icon' => 'el el-info-circle', 93 'title' => esc_html__( 'This is a title.', 'your-textdomain-here' ), 94 'desc' => wp_kses_post( __( 'This is an info non-notice field with the <strong>success</strong> style applied and an icon.', 'your-textdomain-here' ) ), 95 ), 96 array( 97 'id' => 'opt-notice-critical', 98 'type' => 'info', 99 'notice' => false, 100 'style' => 'critical', 101 'icon' => 'el el-info-circle', 102 'title' => esc_html__( 'This is a title.', 'your-textdomain-here' ), 103 'desc' => wp_kses_post( __( 'This is an non-notice field with the <strong>critical</strong> style applied and an icon.', 'your-textdomain-here' ) ), 104 ), 105 ), 106 ) 107 );