| @@ -2,14 +2,14 @@ | ||
| 2 | 2 | CSF::createSection( |
| 3 | 3 | $prefix, |
| 4 | 4 | [ |
| 5 | 5 | 'id' => 'bbpc_mini_profile', |
| 6 | - 'title' => esc_html__( 'Mini Profile', 'bbp-core' ), | |
| 6 | + 'title' => esc_html__( 'Mini Profile', 'forumax' ), | |
| 7 | 7 | 'icon' => 'dashicons dashicons-admin-users', |
| 8 | 8 | 'fields' => [ |
| 9 | 9 | [ |
| 10 | 10 | 'type' => 'subheading', |
| 11 | - 'content' => esc_html__( 'Mini Profile', 'bbp-core' ), | |
| 11 | + 'content' => esc_html__( 'Mini Profile', 'forumax' ), | |
| 12 | 12 | ], |
| 13 | 13 | |
| 14 | 14 | [ |
| 15 | 15 | 'id' => 'bbpc_mini_profile', |
| @@ -14,15 +14,15 @@ | ||
| 14 | 14 | [ |
| 15 | 15 | 'id' => 'bbpc_mini_profile', |
| 16 | 16 | 'type' => 'switcher', |
| 17 | 17 | 'default' => false, |
| 18 | - 'title' => esc_html__( 'Show / Hide', 'bbp-core' ), | |
| 18 | + 'title' => esc_html__( 'Show / Hide', 'forumax' ), | |
| 19 | 19 | 'class' => 'st-pro-notice' |
| 20 | 20 | ], |
| 21 | 21 | |
| 22 | 22 | [ |
| 23 | 23 | 'type' => 'subheading', |
| 24 | - 'content' => esc_html__( 'Avatar', 'bbp-core' ), | |
| 24 | + 'content' => esc_html__( 'Avatar', 'forumax' ), | |
| 25 | 25 | 'dependency' => [ 'bbpc_mini_profile', '==', true, ], |
| 26 | 26 | ], |
| 27 | 27 | |
| 28 | 28 | [ |
| @@ -27,10 +27,10 @@ | ||
| 27 | 27 | |
| 28 | 28 | [ |
| 29 | 29 | 'id' => 'bbpc_profile_location', |
| 30 | 30 | 'type' => 'fieldset', |
| 31 | - 'title' => esc_html__( 'Select Location', 'bbp-core' ), | |
| 32 | - 'subtitle' => esc_html__( 'Select the menu location to display the mini profile.', 'bbp-core' ), | |
| 31 | + 'title' => esc_html__( 'Select Location', 'forumax' ), | |
| 32 | + 'subtitle' => esc_html__( 'Select the menu location to display the mini profile.', 'forumax' ), | |
| 33 | 33 | 'dependency' => [ 'bbpc_mini_profile', '==', true, ], |
| 34 | 34 | 'class' => 'st-pro-notice', |
| 35 | 35 | 'fields' => [ |
| 36 | 36 | [ |
| @@ -35,18 +35,18 @@ | ||
| 35 | 35 | 'fields' => [ |
| 36 | 36 | [ |
| 37 | 37 | 'id' => 'location_option', |
| 38 | 38 | 'type' => 'select', |
| 39 | - 'title' => esc_html__( 'Menu Location', 'bbp-core' ), | |
| 40 | - 'options' => 'bbpc_get_registered_nav_menus', | |
| 41 | - 'after' => __( 'To insert the mini profile into this location.', 'bbp-core' ) | |
| 39 | + 'title' => esc_html__( 'Menu Location', 'forumax' ), | |
| 40 | + 'options' => 'forumax_get_registered_nav_menus', | |
| 41 | + 'after' => __( 'To insert the mini profile into this location.', 'forumax' ) | |
| 42 | 42 | ], |
| 43 | 43 | |
| 44 | 44 | [ |
| 45 | 45 | 'id' => 'location_selector', |
| 46 | 46 | 'type' => 'text', |
| 47 | - 'title' => esc_html__( '<b>Or</b> Selector', 'bbp-core' ), | |
| 48 | - 'after' => esc_html__( 'To insert end of this selector. Ex: <code>.parent_selector</code>', 'bbp-core' ) | |
| 47 | + 'title' => __( '<b>Or</b> Selector', 'forumax' ), | |
| 48 | + 'after' => __( 'To insert end of this selector. Ex: <code>.parent_selector</code>', 'forumax' ) | |
| 49 | 49 | ] |
| 50 | 50 | ] |
| 51 | 51 | ], |
| 52 | 52 | |
| @@ -52,11 +52,11 @@ | ||
| 52 | 52 | |
| 53 | 53 | [ |
| 54 | 54 | 'id' => 'bbpc_profile_user_pos', |
| 55 | 55 | 'type' => 'slider', |
| 56 | - 'title' => esc_html__( 'Gap', 'bbp-core' ), | |
| 56 | + 'title' => esc_html__( 'Gap', 'forumax' ), | |
| 57 | 57 | 'dependency' => [ 'bbpc_mini_profile', '==', true, ], |
| 58 | - 'subtitle' => esc_html__( 'Set the gap between the menu and the Mini Profile\'s avatar image. The gap will be applied to Left side of the Avatar image.', 'bbp-core' ), | |
| 58 | + 'subtitle' => esc_html__( 'Set the gap between the menu and the Mini Profile\'s avatar image. The gap will be applied to Left side of the Avatar image.', 'forumax' ), | |
| 59 | 59 | 'unit' => 'px', |
| 60 | 60 | 'output' => '.bbpc-mini-profile', |
| 61 | 61 | 'output_mode' => 'margin-left', |
| 62 | 62 | 'output_important' => true, |
| @@ -65,9 +65,9 @@ | ||
| 65 | 65 | ], |
| 66 | 66 | |
| 67 | 67 | [ |
| 68 | 68 | 'type' => 'subheading', |
| 69 | - 'content' => esc_html__( 'Dropdown Profile Box', 'bbp-core' ), | |
| 69 | + 'content' => esc_html__( 'Dropdown Profile Box', 'forumax' ), | |
| 70 | 70 | 'dependency' => [ 'bbpc_mini_profile', '==', true, ], |
| 71 | 71 | ], |
| 72 | 72 | |
| 73 | 73 | [ |
| @@ -72,9 +72,9 @@ | ||
| 72 | 72 | |
| 73 | 73 | [ |
| 74 | 74 | 'id' => 'bbpc-mini-profile-width', |
| 75 | 75 | 'type' => 'dimensions', |
| 76 | - 'title' => esc_html__( 'Width', 'bbp-core'), | |
| 76 | + 'title' => esc_html__( 'Width', 'forumax'), | |
| 77 | 77 | 'height' => false, |
| 78 | 78 | 'units' => array( 'px' ), |
| 79 | 79 | 'output' => '.bbpc-mini-profile-wrapper', |
| 80 | 80 | 'output_mode' => 'min-width', |
| @@ -85,10 +85,10 @@ | ||
| 85 | 85 | |
| 86 | 86 | [ |
| 87 | 87 | 'id' => 'bbpc_profile_data_pos', |
| 88 | 88 | 'type' => 'slider', |
| 89 | - 'title' => esc_html__( 'Gap', 'bbp-core' ), | |
| 90 | - 'subtitle' => esc_html__( 'Set the gap between the Avatar image and the Mini Profile\'s dropdwon box. This option is helpful to adjust the menu height with the Mini Profile\'s dropdwon box', 'bbp-core' ), | |
| 89 | + 'title' => esc_html__( 'Gap', 'forumax' ), | |
| 90 | + 'subtitle' => esc_html__( 'Set the gap between the Avatar image and the Mini Profile\'s dropdwon box. This option is helpful to adjust the menu height with the Mini Profile\'s dropdwon box', 'forumax' ), | |
| 91 | 91 | 'dependency' => [ 'bbpc_mini_profile', '==', true, ], |
| 92 | 92 | 'unit' => 'px', |
| 93 | 93 | 'output' => '.bbpc-mini-profile-wrapper', |
| 94 | 94 | 'output_mode' => 'top', |
| @@ -111,9 +111,9 @@ | ||
| 111 | 111 | |
| 112 | 112 | [ |
| 113 | 113 | 'id' => 'bbpc-mini-profile-border-radius', |
| 114 | 114 | 'type' => 'spacing', |
| 115 | - 'title' => esc_html__( 'Border Radius', 'bbp-core' ), | |
| 115 | + 'title' => esc_html__( 'Border Radius', 'forumax' ), | |
| 116 | 116 | 'output' => '.bbpc-mini-profile-wrapper', |
| 117 | 117 | 'output_mode' => 'border-radius', |
| 118 | 118 | 'units' => array( 'px' ), |
| 119 | 119 | 'output_important' => true, |
| @@ -122,9 +122,9 @@ | ||
| 122 | 122 | ], |
| 123 | 123 | |
| 124 | 124 | [ |
| 125 | 125 | 'type' => 'subheading', |
| 126 | - 'content' => esc_html__( 'Color Management', 'bbp-core' ), | |
| 126 | + 'content' => esc_html__( 'Color Management', 'forumax' ), | |
| 127 | 127 | 'dependency' => [ 'bbpc_mini_profile', '==', true, ], |
| 128 | 128 | ], |
| 129 | 129 | |
| 130 | 130 | [ |
| @@ -130,15 +130,15 @@ | ||
| 130 | 130 | [ |
| 131 | 131 | 'id' => 'bbpc-mini-profile-top', |
| 132 | 132 | 'type' => 'fieldset', |
| 133 | 133 | 'dependency' => [ 'bbpc_mini_profile', '==', true, ], |
| 134 | - 'title' => esc_html__( 'Content', 'bbp-core' ), | |
| 135 | - 'subtitle' => esc_html__( 'Change the color of the information at the top of the mini profile.', 'bbp-core' ), | |
| 134 | + 'title' => esc_html__( 'Content', 'forumax' ), | |
| 135 | + 'subtitle' => esc_html__( 'Change the color of the information at the top of the mini profile.', 'forumax' ), | |
| 136 | 136 | 'fields' => array( |
| 137 | 137 | [ |
| 138 | 138 | 'id' => 'bbpc-mini-profile-author', |
| 139 | 139 | 'type' => 'link_color', |
| 140 | - 'title' => esc_html__( 'Author name', 'bbp-core' ), | |
| 140 | + 'title' => esc_html__( 'Author name', 'forumax' ), | |
| 141 | 141 | 'default' => array( |
| 142 | 142 | 'color' => '#5088f7', |
| 143 | 143 | 'hover' => '#2067f4', |
| 144 | 144 | ), |
| @@ -150,9 +150,9 @@ | ||
| 150 | 150 | |
| 151 | 151 | [ |
| 152 | 152 | 'id' => 'bbpc-mini-profile-author-role', |
| 153 | 153 | 'type' => 'color', |
| 154 | - 'title' => esc_html__( 'Author Role', 'bbp-core' ), | |
| 154 | + 'title' => esc_html__( 'Author Role', 'forumax' ), | |
| 155 | 155 | 'output' => '.bbpc-mini-profile-head p', |
| 156 | 156 | 'output_mode' => 'color', |
| 157 | 157 | 'output_important' => true, |
| 158 | 158 | 'class' => 'st-pro-notice' |
| @@ -160,9 +160,9 @@ | ||
| 160 | 160 | |
| 161 | 161 | [ |
| 162 | 162 | 'id' => 'bbpc-mini-profile-info-color', |
| 163 | 163 | 'type' => 'color', |
| 164 | - 'title' => esc_html__( 'Summery', 'bbp-core' ), | |
| 164 | + 'title' => esc_html__( 'Summery', 'forumax' ), | |
| 165 | 165 | 'output' => '.bbpc-mini-middle p span', |
| 166 | 166 | 'output_mode' => 'color', |
| 167 | 167 | 'output_important' => true, |
| 168 | 168 | 'class' => 'st-pro-notice' |
| @@ -183,10 +183,10 @@ | ||
| 183 | 183 | [ |
| 184 | 184 | 'id' => 'bbpc-mini-profile-bottom', |
| 185 | 185 | 'type' => 'fieldset', |
| 186 | 186 | 'dependency' => [ 'bbpc_mini_profile', '==', true, ], |
| 187 | - 'title' => __( 'Links', 'bbp-core' ), | |
| 188 | - 'subtitle' => __( 'Change the color of the information at the bottom of the mini profile.', 'bbp-core' ), | |
| 187 | + 'title' => __( 'Links', 'forumax' ), | |
| 188 | + 'subtitle' => __( 'Change the color of the information at the bottom of the mini profile.', 'forumax' ), | |
| 189 | 189 | 'fields' => array( |
| 190 | 190 | [ |
| 191 | 191 | 'id' => 'bbpc-mini-profile-link', |
| 192 | 192 | 'type' => 'link_color', |