mirror of
https://ghproxy.net/https://github.com/AlxMedia/magaziner.git
synced 2025-08-27 14:52:28 +08:00
Remove responsive layout on/off option, regenerate .pot file
This commit is contained in:
parent
9e38f1cdb8
commit
71a7741757
3 changed files with 211 additions and 232 deletions
|
@ -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' );
|
||||
}
|
||||
|
||||
|
|
|
@ -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
Loading…
Add table
Add a link
Reference in a new issue