[ Avaa Bypassed ]




Upload:

Command:

hmhc3928@18.117.104.6: ~ $
<?php
/**
 * Additional features to allow styling of the templates
 *
 * @subpackage Organic Farm
 * @since 1.0
 */

/**
 * Adds custom classes to the array of body classes.
 *
 * @param array $classes Classes for the body element.
 * @return array
 */
function organic_farm_body_classes( $classes ) {
	// Add class of group-blog to blogs with more than 1 published author.
	if ( is_multi_author() ) {
		$classes[] = 'group-blog';
	}

	// Add class of hfeed to non-singular pages.
	if ( ! is_singular() ) {
		$classes[] = 'hfeed';
	}

	// Add class if we're viewing the Customizer for easier styling of theme options.
	if ( is_customize_preview() ) {
		$classes[] = 'organic-farm-customizer';
	}

	// Add class on front page.
	if ( is_front_page() && 'posts' !== get_option( 'show_on_front' ) ) {
		$classes[] = 'organic-farm-front-page';
	}

	// Add a class if there is a custom header.
	if ( has_header_image() ) {
		$classes[] = 'has-header-image';
	}

	// Add class if sidebar is used.
	if ( is_active_sidebar( 'sidebar-1' ) && ! is_page() ) {
		$classes[] = 'has-sidebar';
	}

	// Add class for one or two column page layouts.
	if ( is_page() || is_archive() ) {
		if ( 'one-column' === get_theme_mod( 'page_layout' ) ) {
			$classes[] = 'page-one-column';
		} else {
			$classes[] = 'page-two-column';
		}
	}

	return $classes;
}
add_filter( 'body_class', 'organic_farm_body_classes' );

function organic_farm_is_frontpage() {
	return ( is_front_page() && ! is_home() );
}

Filemanager

Name Type Size Permission Actions
TGM Folder 0755
dashboard Folder 0755
sortable Folder 0755
switch Folder 0755
breadcrumb.php File 2 KB 0644
custom-control.php File 3.3 KB 0644
custom-header.php File 2.05 KB 0644
customizer-home-page.php File 30.92 KB 0644
customizer.php File 68.28 KB 0644
extra_customization.php File 14.53 KB 0644
icon-picker.php File 20.48 KB 0644
section-pro.php File 1.36 KB 0644
template-functions.php File 1.5 KB 0644
template-tags.php File 2.48 KB 0644
typofont.php File 2.61 KB 0644
wptt-webfont-loader.php File 17.09 KB 0644