mirror of
https://ghproxy.net/https://github.com/AlxMedia/featureon.git
synced 2025-08-26 05:49:06 +08:00
Remove responsive layout on/off option, regenerate .pot file
This commit is contained in:
parent
149bbd58fb
commit
c1dc8c9ba8
3 changed files with 202 additions and 219 deletions
|
@ -209,7 +209,7 @@ if ( ! function_exists( 'featureon_styles' ) ) {
|
|||
|
||||
function featureon_styles() {
|
||||
wp_enqueue_style( 'featureon-style', get_stylesheet_uri() );
|
||||
if ( get_theme_mod('responsive','on') =='on' ) { wp_enqueue_style( 'featureon-responsive', get_template_directory_uri().'/responsive.css' ); }
|
||||
wp_enqueue_style( 'featureon-responsive', get_template_directory_uri().'/responsive.css' );
|
||||
if ( get_theme_mod('dark','off') == 'on' ) { wp_enqueue_style( 'featureon-dark', get_template_directory_uri().'/dark.css' ); }
|
||||
wp_enqueue_style( 'featureon-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( 'featureon_theme', array(
|
||||
'type' => 'switch',
|
||||
'settings' => 'responsive',
|
||||
'label' => esc_html__( 'Responsive Layout', 'featureon' ),
|
||||
'description' => esc_html__( 'Mobile and tablet optimizations (responsive.css)', 'featureon' ),
|
||||
'section' => 'general',
|
||||
'default' => 'on',
|
||||
) );
|
||||
// General: Mobile Sidebar
|
||||
Kirki::add_field( 'featureon_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