403Webshell
Server IP : 198.71.58.22  /  Your IP : 216.73.216.72
Web Server : Apache/2.4.62 (AlmaLinux) OpenSSL/3.2.2
System : Linux localhost 5.14.0-570.33.2.el9_6.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Aug 14 07:37:35 EDT 2025 x86_64
User : root ( 0)
PHP Version : 8.3.24
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /var/www/html/kayebaumgardnerslp.com/wp-content/themes/siteorigin-north/inc/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/html/kayebaumgardnerslp.com/wp-content/themes/siteorigin-north/inc/jetpack.php
<?php
/**
 * Jetpack Compatibility File
 * See: https://jetpack.me/
 *
 * @license GPL 2.0
 */
if ( ! function_exists( 'siteorigin_north_jetpack_setup' ) ) {
	/**
	 * Jetpack setup function.
	 */
	function siteorigin_north_jetpack_setup() {
		/*
		 * Enable support for Jetpack Infinite Scroll.
		 * See: https://jetpack.com/support/infinite-scroll/
		 */
		add_theme_support(
			'infinite-scroll',
			array(
				'container' => 'main',
				'render'    => 'siteorigin_north_infinite_scroll_render',
				'footer'    => 'page',
				'posts_per_page' => 9,
			)
		);
	} // end function siteorigin_north_jetpack_setup
}
add_action( 'after_setup_theme', 'siteorigin_north_jetpack_setup' );

if ( ! function_exists( 'siteorigin_north_infinite_scroll_render' ) ) {
	/**
	 * Custom render function for Infinite Scroll.
	 */
	function siteorigin_north_infinite_scroll_render() {
		if ( function_exists( 'is_woocommerce' ) && ( is_shop() || is_woocommerce() ) ) {
			echo '<ul class="products">';

			while ( have_posts() ) {
				the_post();
				wc_get_template_part( 'content', 'product' );
			}
			echo '</ul>';
		} else {
			while ( have_posts() ) {
				the_post();
				get_template_part( 'template-parts/content', get_post_format() );
			}
		}
	} // end function siteorigin_north_infinite_scroll_render
}

Youez - 2016 - github.com/yon3zu
LinuXploit