123456789101112131415161718192021222324252627282930313233343536 |
- <?php
- /**
- * Jetpack Compatibility File.
- *
- * @link https://jetpack.com/
- *
- * @package Elegant_Business
- */
- /**
- * Jetpack Setup
- */
- function elegant_business_jetpack_setup() {
- /*
- * The Parent theme alredy comes with Jetpack compatibility
- *
- * Tweaking the compatibility rules might be done here,
- * if even necessary at all.
- */
- }
- add_action( 'after_setup_theme', 'elegant_business_jetpack_setup' );
- /**
- * Enqueue Jetpack-specific styles
- *
- * We need to enqueue some additional CSS to override the
- * parent theme’s fonts which are pre-baked into JetPack.
- *
- * See `elegant-business/style-jetpack.scss`
- * Also see: https://github.com/Automattic/jetpack/blob/master/modules/theme-tools/compat/twentynineteen.css
- */
- function elegant_business_jetpack_styles() {
- wp_enqueue_style( 'elegant-business-jetpack', get_stylesheet_directory_uri() . '/style-jetpack.css', '20181218' );
- }
- add_action( 'wp_enqueue_scripts', 'elegant_business_jetpack_styles' );
|