403Webshell
Server IP : 172.67.158.161  /  Your IP : 3.146.221.152
Web Server : LiteSpeed
System : Linux business53.web-hosting.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64
User : giankuin ( 1871)
PHP Version : 7.4.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/giankuin/dangky.bnnagency.com/wp-content/themes/flatsome/inc/admin/options/blog/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/giankuin/dangky.bnnagency.com/wp-content/themes/flatsome/inc/admin/options/blog/options-blog.php
<?php

Flatsome_Option::add_panel( 'blog', array(
	'title'       => __( 'Blog', 'flatsome-admin' ),
) );

include_once( dirname( __FILE__ ) . '/options-blog-global.php' );
include_once(dirname( __FILE__ ).'/options-blog-layout.php');
include_once(dirname( __FILE__ ).'/options-blog-archive.php');
include_once(dirname( __FILE__ ).'/options-blog-single.php');
include_once(dirname( __FILE__ ).'/options-blog-featured.php');


function flatsome_refresh_blog_partials( WP_Customize_Manager $wp_customize ) {

  // Abort if selective refresh is not available.
  if ( ! isset( $wp_customize->selective_refresh ) ) {
      return;
  }

	$wp_customize->selective_refresh->add_partial( 'blog-layout', array(
	    'selector' => '.blog-wrapper.blog-archive',
	    'settings' => array('blog_posts_depth_hover','blog_posts_depth','blog_layout','blog_layout_divider','blog_show_excerpt'),
	    'render_callback' => function() {
	        get_template_part( 'template-parts/posts/layout', get_theme_mod('blog_layout','right-sidebar') );
	    },
	) );

	$wp_customize->selective_refresh->add_partial( 'blog-layout-single', array(
	    'selector' => '.blog-wrapper.blog-single',
	    'settings' => array('blog_posts_depth_hover','blog_posts_depth','blog_post_layout','blog_post_style','blog_single_header_category','blog_single_header_title','blog_single_header_meta','blog_single_footer_meta','blog_single_featured_image','blog_share','blog_author_box','blog_single_next_prev_nav'),
	    'render_callback' => function() {
	        get_template_part( 'template-parts/posts/layout', get_theme_mod('blog_post_layout','right-sidebar') );
	    },
	) );

	$wp_customize->selective_refresh->add_partial( 'blog-featured-posts', array(
	    'selector' => '.featured-posts',
	    'container_inclusive' => true,
	    'settings' => array('blog_featured_height'),
	    'render_callback' => function() {
	        get_template_part('template-parts/posts/featured-posts');
	    },
	) );

}
add_action( 'customize_register', 'flatsome_refresh_blog_partials' );

Youez - 2016 - github.com/yon3zu
LinuXploit