403Webshell
Server IP : 192.158.238.246  /  Your IP : 3.139.240.192
Web Server : LiteSpeed
System : Linux uniform.iwebfusion.net 4.18.0-553.27.1.lve.1.el8.x86_64 #1 SMP Wed Nov 20 15:58:00 UTC 2024 x86_64
User : jenniferflocom ( 1321)
PHP Version : 8.1.32
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/jenniferflocom/public_html/wp-content/themes/open-shop/customizer/section/woo/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/jenniferflocom/public_html/wp-content/themes/open-shop/customizer/section/woo/shop.php
<?php
$wp_customize->add_setting('open_shop_prd_view', array(
        'default'        => 'grid-view',
        'capability'     => 'edit_theme_options',
        'sanitize_callback' => 'open_shop_sanitize_select',
    ));
    $wp_customize->add_control('open_shop_prd_view', array(
        'settings' => 'open_shop_prd_view',
        'label'   => __('Display Product View','open-shop'),
        'description' => __('(Select layout to display products at shop page.)','open-shop'),
        'section' => 'open-shop-woo-shop-page',
        'type'    => 'select',
        'choices' => array(
        'grid-view'   => __('Grid','open-shop'), 
        'list-view'     => __('List','open-shop'),
        
        )
    )); 
/************************/
//Shop product pagination
/************************/
   $wp_customize->add_setting('open_shop_pagination', array(
        'default'        => 'num',
        'capability'     => 'edit_theme_options',
        'sanitize_callback' => 'open_shop_sanitize_select',
    ));
    $wp_customize->add_control('open_shop_pagination', array(
        'settings' => 'open_shop_pagination',
        'label'   => __('Post Pagination','open-shop'),
        'section' => 'open-shop-woo-shop-page',
        'type'    => 'select',
        'choices' => array(
        'num'     => __('Numbered','open-shop'),
        'click'   => __('Load More (Pro)','open-shop'), 
        'scroll'  => __('Infinite Scroll (Pro)','open-shop'), 
        )
    ));

/****************/
// doc link
/****************/
$wp_customize->add_setting('open_shop_shop_page_more', array(
    'sanitize_callback' => 'open_shop_sanitize_text',
    ));
$wp_customize->add_control(new Open_Shop_Misc_Control( $wp_customize, 'open_shop_shop_page_more',
            array(
        'section'     => 'open-shop-woo-shop-page',
        'type'        => 'doc-link',
        'url'         => 'https://themehunk.com/docs/open-shop/#shop-page',
        'description' => esc_html__( 'To know more go with this', 'open-shop' ),
        'priority'   =>  100,
    )));

Youez - 2016 - github.com/yon3zu
LinuXploit