Remove responsive layout on/off option, regenerate .pot file

This commit is contained in:
Alexander Agnarson 2020-03-23 21:32:33 +01:00
parent 9e38f1cdb8
commit 71a7741757
3 changed files with 211 additions and 232 deletions

View file

@ -208,7 +208,7 @@ if ( ! function_exists( 'magaziner_styles' ) ) {
function magaziner_styles() {
wp_enqueue_style( 'magaziner-style', get_stylesheet_uri() );
if ( get_theme_mod('responsive','on') =='on' ) { wp_enqueue_style( 'magaziner-responsive', get_template_directory_uri().'/responsive.css' ); }
wp_enqueue_style( 'magaziner-responsive', get_template_directory_uri().'/responsive.css' );
wp_enqueue_style( 'magaziner-font-awesome', get_template_directory_uri().'/fonts/all.min.css' );
}

View file

@ -63,15 +63,6 @@ Kirki::add_section( 'styling', array(
/* Add Fields
/* ------------------------------------ */
// General: Responsive Layout
Kirki::add_field( 'magaziner_theme', array(
'type' => 'switch',
'settings' => 'responsive',
'label' => esc_html__( 'Responsive Layout', 'magaziner' ),
'description' => esc_html__( 'Mobile and tablet optimizations (responsive.css)', 'magaziner' ),
'section' => 'general',
'default' => 'on',
) );
// General: Mobile Sidebar
Kirki::add_field( 'magaziner_theme', array(
'type' => 'radio',

File diff suppressed because it is too large Load diff