__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
<?php
/**
* Jetpack Compatibility File
* See: https://jetpack.com/
*
* @package automattic/jetpack
*/
/**
* Add Jetpack extra functionality to Twenty Twenty One.
*/
function twentytwentyone_jetpack_setup() {
/**
* Add theme support for Infinite Scroll.
*/
add_theme_support(
'infinite-scroll',
array(
'type' => 'click',
'container' => 'main',
'render' => 'twentytwentyone_infinite_scroll_render',
'footer' => 'main',
)
);
/**
* Add theme support for geo-location.
*/
add_theme_support( 'jetpack-geo-location' );
/**
* Add theme support for Content Options.
*/
add_theme_support(
'jetpack-content-options',
array(
'blog-display' => array( 'content', 'excerpt' ),
'post-details' => array(
'stylesheet' => 'twenty-twenty-one-style',
'date' => '.posted-on',
'categories' => '.cat-links',
),
'featured-images' => array(
'archive' => true,
'post' => true,
'page' => true,
),
)
);
}
add_action( 'after_setup_theme', 'twentytwentyone_jetpack_setup' );
/**
* Custom render function for Infinite Scroll.
*/
function twentytwentyone_infinite_scroll_render() {
while ( have_posts() ) {
the_post();
get_template_part( 'template-parts/content/content', get_theme_mod( 'display_excerpt_or_full_post', 'excerpt' ) );
}
}
/**
* Add our compat CSS file for custom styles.
* Set the version equal to filemtime for development builds, and the JETPACK__VERSION for production
* or skip it entirely for wpcom.
*/
function twentytwentyone_enqueue_jetpack_style() {
$version = Jetpack::is_development_version()
? filemtime( JETPACK__PLUGIN_DIR . 'modules/theme-tools/compat/twentytwentyone.css' )
: JETPACK__VERSION;
wp_enqueue_style( 'twentytwentyone-jetpack', plugins_url( 'twentytwentyone.css', __FILE__ ), array(), $version );
wp_style_add_data( 'twentytwentyone-jetpack', 'rtl', 'replace' );
}
add_action( 'wp_enqueue_scripts', 'twentytwentyone_enqueue_jetpack_style' );
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| twentyfifteen-rtl.css | File | 13.25 KB | 0644 |
|
| twentyfifteen.css | File | 13.94 KB | 0644 |
|
| twentyfifteen.php | File | 1.24 KB | 0644 |
|
| twentyfourteen-rtl.css | File | 7.43 KB | 0644 |
|
| twentyfourteen.css | File | 7.5 KB | 0644 |
|
| twentyfourteen.php | File | 2.54 KB | 0644 |
|
| twentynineteen-rtl.css | File | 6.5 KB | 0644 |
|
| twentynineteen.css | File | 8.1 KB | 0644 |
|
| twentynineteen.php | File | 5.82 KB | 0644 |
|
| twentyseventeen.php | File | 377 B | 0644 |
|
| twentysixteen-rtl.css | File | 16.07 KB | 0644 |
|
| twentysixteen.css | File | 16 KB | 0644 |
|
| twentysixteen.php | File | 1.89 KB | 0644 |
|
| twentytwenty-rtl.css | File | 4.28 KB | 0644 |
|
| twentytwenty.css | File | 5.73 KB | 0644 |
|
| twentytwenty.php | File | 7.07 KB | 0644 |
|
| twentytwentyone-rtl.css | File | 1.87 KB | 0644 |
|
| twentytwentyone.css | File | 2.52 KB | 0644 |
|
| twentytwentyone.php | File | 1.95 KB | 0644 |
|