@@ -220,7 +220,6 @@ function shapely_customizer( $wp_customize ) {
220220
221221 if ( class_exists ( 'Epsilon_Control_Toggle ' ) ) {
222222 $ wp_customize ->add_control ( new Epsilon_Control_Toggle ( $ wp_customize , 'top_callout ' , array (
223- 'type ' => 'mte-toggle ' ,
224223 'label ' => esc_html__ ( 'Show Blog Title ' , 'shapely ' ),
225224 'description ' => esc_html__ ( 'Show/hide the title from the Blog Page ' , 'shapely ' ),
226225 'section ' => 'shapely_blog_section ' ,
@@ -243,7 +242,6 @@ function shapely_customizer( $wp_customize ) {
243242
244243 if ( class_exists ( 'Epsilon_Control_Toggle ' ) ) {
245244 $ wp_customize ->add_control ( new Epsilon_Control_Toggle ( $ wp_customize , 'hide_post_title ' , array (
246- 'type ' => 'mte-toggle ' ,
247245 'label ' => esc_html__ ( 'Title in Blog Post ' , 'shapely ' ),
248246 'section ' => 'wpseo_breadcrumbs_customizer_section ' ,
249247 ) ) );
@@ -390,72 +388,61 @@ function shapely_customizer( $wp_customize ) {
390388 if ( class_exists ( 'Epsilon_Control_Toggle ' ) ) {
391389
392390 $ wp_customize ->add_control ( new Epsilon_Control_Toggle ( $ wp_customize , 'title_in_header ' , array (
393- 'type ' => 'mte-toggle ' ,
394391 'label ' => esc_html__ ( 'Show title in header ' , 'shapely ' ),
395392 'description ' => esc_html__ ( 'This will show/hide the post title from callout ' , 'shapely ' ),
396393 'section ' => 'shapely_single_post_section ' ,
397394 ) ) );
398395
399396 $ wp_customize ->add_control ( new Epsilon_Control_Toggle ( $ wp_customize , 'title_above_post ' , array (
400- 'type ' => 'mte-toggle ' ,
401397 'label ' => esc_html__ ( 'Show title above post ' , 'shapely ' ),
402398 'description ' => esc_html__ ( 'This will show/hide the post title above post content ' , 'shapely ' ),
403399 'section ' => 'shapely_single_post_section ' ,
404400 ) ) );
405401
406402 $ wp_customize ->add_control ( new Epsilon_Control_Toggle ( $ wp_customize , 'post_date ' , array (
407- 'type ' => 'mte-toggle ' ,
408403 'label ' => esc_html__ ( 'Show the date ' , 'shapely ' ),
409404 'description ' => esc_html__ ( 'This will show/hide the date when post was published ' , 'shapely ' ),
410405 'section ' => 'shapely_single_post_section ' ,
411406 ) ) );
412407
413408 $ wp_customize ->add_control ( new Epsilon_Control_Toggle ( $ wp_customize , 'post_author ' , array (
414- 'type ' => 'mte-toggle ' ,
415409 'label ' => esc_html__ ( 'Show the author ' , 'shapely ' ),
416410 'description ' => esc_html__ ( 'This will show/hide the author who written the post under the post title ' , 'shapely ' ),
417411 'section ' => 'shapely_single_post_section ' ,
418412 ) ) );
419413
420414 $ wp_customize ->add_control ( new Epsilon_Control_Toggle ( $ wp_customize , 'post_category ' , array (
421- 'type ' => 'mte-toggle ' ,
422415 'label ' => esc_html__ ( 'Show the category ' , 'shapely ' ),
423416 'description ' => esc_html__ ( 'This will show/hide the categories of post ' , 'shapely ' ),
424417 'section ' => 'shapely_single_post_section ' ,
425418 ) ) );
426419
427420 $ wp_customize ->add_control ( new Epsilon_Control_Toggle ( $ wp_customize , 'first_letter_caps ' , array (
428- 'type ' => 'mte-toggle ' ,
429421 'label ' => esc_html__ ( 'First Letter Caps ' , 'shapely ' ),
430422 'description ' => esc_html__ ( 'This will transform your first letter from a post into uppercase ' , 'shapely ' ),
431423 'section ' => 'shapely_single_post_section ' ,
432424 ) ) );
433425 $ wp_customize ->add_control ( new Epsilon_Control_Toggle ( $ wp_customize , 'tags_post_meta ' , array (
434- 'type ' => 'mte-toggle ' ,
435426 'label ' => esc_html__ ( 'Tags Post Meta ' , 'shapely ' ),
436427 'description ' => esc_html__ ( 'This will show/hide tags from the end of post ' , 'shapely ' ),
437428 'section ' => 'shapely_single_post_section ' ,
438429 ) ) );
439430 $ wp_customize ->add_control ( new Epsilon_Control_Toggle ( $ wp_customize , 'related_posts_area ' , array (
440- 'type ' => 'mte-toggle ' ,
441431 'label ' => esc_html__ ( 'Related Posts Area ' , 'shapely ' ),
442432 'description ' => esc_html__ ( 'This will enable/disable the related posts ' , 'shapely ' ),
443433 'section ' => 'shapely_single_post_section ' ,
444434 ) ) );
445435 $ wp_customize ->add_control ( new Epsilon_Control_Toggle ( $ wp_customize , 'post_author_area ' , array (
446- 'type ' => 'mte-toggle ' ,
447436 'label ' => esc_html__ ( 'Post Author Area ' , 'shapely ' ),
448437 'description ' => esc_html__ ( 'This will show/hide the author box ' , 'shapely ' ),
449438 'section ' => 'shapely_single_post_section ' ,
450439 ) ) );
451440 $ wp_customize ->add_control ( new Epsilon_Control_Toggle ( $ wp_customize , 'post_author_left_side ' , array (
452- 'type ' => 'mte-toggle ' ,
453441 'label ' => esc_html__ ( 'Post Author Left Side ' , 'shapely ' ),
454442 'description ' => esc_html__ ( 'This will move the author box from the bottom of the post on top on the left side ' , 'shapely ' ),
455443 'section ' => 'shapely_single_post_section ' ,
456444 ) ) );
457445 $ wp_customize ->add_control ( new Epsilon_Control_Toggle ( $ wp_customize , 'post_author_email ' , array (
458- 'type ' => 'mte-toggle ' ,
459446 'label ' => esc_html__ ( 'Show Author Email ' , 'shapely ' ),
460447 'description ' => esc_html__ ( 'This will show/hide the author \'s email from the author box ' , 'shapely ' ),
461448 'section ' => 'shapely_single_post_section ' ,
@@ -558,7 +545,6 @@ function shapely_customizer( $wp_customize ) {
558545 ) );
559546 if ( class_exists ( 'Epsilon_Control_Toggle ' ) ) {
560547 $ wp_customize ->add_control ( new Epsilon_Control_Toggle ( $ wp_customize , 'show_category_on_category_page ' , array (
561- 'type ' => 'mte-toggle ' ,
562548 'label ' => esc_html__ ( 'Show Category on Posts ' , 'shapely ' ),
563549 'description ' => esc_html__ ( 'Show/hide posts \' categories from the Category Page ' , 'shapely ' ),
564550 'section ' => 'shapely_blog_section ' ,
0 commit comments