450,
'single_image_width' => 600,
)
);
}
/**
* Open the Twenty Twenty One wrapper.
*/
public static function output_content_wrapper() {
echo '';
echo '';
}
/**
* Close the Twenty Twenty One wrapper.
*/
public static function output_content_wrapper_end() {
echo '';
echo '';
}
/**
* Enqueue CSS for this theme.
*
* @param array $styles Array of registered styles.
* @return array
*/
public static function enqueue_styles( $styles ) {
unset( $styles['kkart-general'] );
$styles['kkart-general'] = array(
'src' => str_replace( array( 'http:', 'https:' ), '', KKART()->plugin_url() ) . '/assets/css/twenty-twenty-one.css',
'deps' => '',
'version' => Constants::get_constant( 'KKART_VERSION' ),
'media' => 'all',
'has_rtl' => true,
);
return apply_filters( 'kkart_twenty_twenty_one_styles', $styles );
}
/**
* Enqueue the wp-admin CSS overrides for this theme.
*/
public static function enqueue_admin_styles() {
wp_enqueue_style(
'kkart-twenty-twenty-one-admin',
str_replace( array( 'http:', 'https:' ), '', KKART()->plugin_url() ) . '/assets/css/twenty-twenty-one-admin.css',
'',
Constants::get_constant( 'KKART_VERSION' ),
'all'
);
}
}
KKART_Twenty_Twenty_One::init();