<?php /** * Jetpack Compatibility File * * @link https://jetpack.com/ * * @package bizberg */ /** * 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 bizberg_jetpack_setup() { // Add theme support for Infinite Scroll. add_theme_support( 'infinite-scroll', array( 'container' => 'main', 'render' => 'bizberg_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-details' => array( 'stylesheet' => 'bizberg-style', 'date' => '.posted-on', 'categories' => '.cat-links', 'tags' => '.tags-links', 'author' => '.byline', 'comment' => '.comments-link', ), ) ); } add_action( 'after_setup_theme', 'bizberg_jetpack_setup' ); /** * Custom render function for Infinite Scroll. */ function bizberg_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; } }
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
customizer | Folder | 0755 |
|
|
install-recommended-plugins | Folder | 0755 |
|
|
plugins | Folder | 0755 |
|
|
sections | Folder | 0755 |
|
|
woocommerce | Folder | 0755 |
|
|
class-tgm-plugin-activation.php | File | 119.89 KB | 0644 |
|
customizer.php | File | 9.29 KB | 0644 |
|
fontawesome-5-icons.php | File | 258.58 KB | 0644 |
|
jetpack.php | File | 1.31 KB | 0644 |
|
template-functions.php | File | 768 B | 0644 |
|
woocommerce.php | File | 30.82 KB | 0644 |
|
wptt-webfont-loader.php | File | 16.8 KB | 0644 |
|