| Server IP : 213.186.33.4 / Your IP : 216.73.216.146 Web Server : Apache System : Linux webm005.cluster103.gra.hosting.ovh.net 6.18.39-ovh-vps-grsec-zfs+ #1 SMP PREEMPT_DYNAMIC Tue Jul 21 12:03:15 CEST 2026 x86_64 User : karinebmkh ( 644538) PHP Version : 8.4.22 Disable Function : _dyuweyrj4,_dyuweyrj4r,dl MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/karinebmkh/www2/wp-content/plugins/jetpack/modules/theme-tools/compat/ |
Upload File : |
<?php
/**
* Jetpack Compatibility File
* See: http://jetpack.com/
*/
function twentyfifteen_jetpack_setup() {
/**
* Add theme support for Responsive Videos.
*/
add_theme_support( 'jetpack-responsive-videos' );
/**
* Add theme support for geo-location.
*/
add_theme_support( 'jetpack-geo-location' );
}
add_action( 'after_setup_theme', 'twentyfifteen_jetpack_setup' );
function twentyfifteen_init_jetpack() {
/**
* Add our compat CSS file for custom widget stylings and such.
* Set the version equal to filemtime for development builds, and the JETPACK__VERSION for production
* or skip it entirely for wpcom.
*/
if ( ! is_admin() ) {
$version = false;
if ( method_exists( 'Jetpack', 'is_development_version' ) ) {
$version = Jetpack::is_development_version() ? filemtime( plugin_dir_path( __FILE__ ) . 'twentyfifteen.css' ) : JETPACK__VERSION;
}
wp_enqueue_style( 'twentyfifteen-jetpack', plugins_url( 'twentyfifteen.css', __FILE__ ), array(), $version );
wp_style_add_data( 'twentyfifteen-jetpack', 'rtl', 'replace' );
}
}
add_action( 'init', 'twentyfifteen_init_jetpack' );