at path:
ROOT
/
wp-content
/
themes
/
darknews
/
inc
/
jetpack.php
run:
R
W
Run
customizer
DIR
2025-05-31 10:48:44
R
W
Run
hooks
DIR
2025-05-31 10:48:44
R
W
Run
widgets
DIR
2025-05-31 10:48:39
R
W
Run
custom-header.php
2.89 KB
2025-05-31 10:41:26
R
W
Run
Delete
Rename
custom-style.php
17.2 KB
2025-05-31 10:41:27
R
W
Run
Delete
Rename
init.php
764 By
2025-05-31 10:41:27
R
W
Run
Delete
Rename
jetpack.php
1.43 KB
2025-05-31 10:41:27
R
W
Run
Delete
Rename
multi-author.php
3.47 KB
2025-05-31 10:41:27
R
W
Run
Delete
Rename
ocdi.php
1.18 KB
2025-05-31 10:41:27
R
W
Run
Delete
Rename
review.php
6.92 KB
2025-05-31 10:41:27
R
W
Run
Delete
Rename
template-functions.php
19.36 KB
2025-05-31 10:41:27
R
W
Run
Delete
Rename
template-images.php
2.46 KB
2025-05-31 10:41:27
R
W
Run
Delete
Rename
template-tags.php
6.77 KB
2025-05-31 10:41:26
R
W
Run
Delete
Rename
upgrade.php
8.33 KB
2025-05-31 10:41:27
R
W
Run
Delete
Rename
woocommerce.php
11.58 KB
2025-05-31 10:41:26
R
W
Run
Delete
Rename
error_log
up
📄
jetpack.php
Save
<?php /** * Jetpack Compatibility File * * @link https://jetpack.com/ * * @package DarkNews */ /** * Jetpack setup function. * * See: https://jetpack.com/support/infinite-scroll/ * See: https://jetpack.com/support/responsive-videos/ * See: https://jetpack.com/support/content-options/ */ function darknews_jetpack_setup() { // Add theme support for Infinite Scroll. add_theme_support( 'infinite-scroll', array( 'container' => 'main', 'render' => 'darknews_infinite_scroll_render', 'footer' => 'page', ) ); // Add theme support for Responsive Videos. add_theme_support( 'jetpack-responsive-videos' ); // Add theme support for Content Options. add_theme_support( 'jetpack-content-options', array( 'post-info' => array( 'stylesheet' => 'darknews-style', 'date' => '.posted-on', 'categories' => '.cat-links', 'tags' => '.tags-links', 'author' => '.byline', 'comment' => '.comments-link', ), 'featured-images' => array( 'archive' => true, 'post' => true, 'page' => true, ), ) ); } add_action( 'after_setup_theme', 'darknews_jetpack_setup' ); /** * Custom render function for Infinite Scroll. */ function darknews_infinite_scroll_render() { while ( have_posts() ) { the_post(); if ( is_search() ) : get_template_part( 'template-parts/content', 'search' ); else : get_template_part( 'template-parts/content', get_post_format() ); endif; } }