C:\xampp\htdocs\landing\wp-content\plugins\penci-framework\shortcodes\popular_category\settings.php


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
<?php

$group_filter 
'Filter';
$group_color  'Color';

// Shortcode settings
return array(
    
'name'   => esc_html__'Popular Categories''penci-framework' ),
    
'weight' => 828,
    
'params' => array_merge(
        
Penci_Framework_Shortcode_Params::block_title( ),
        
Penci_Framework_Shortcode_Params::block_option_limit),
        array(
            array(
                
'type'       => 'dropdown',
                
'heading'    => __'Categories type''penci-framework' ),
                
'param_name' => 'cat_type',
                
'value'      => array(
                    
__'Popular categories by number posts''penci-framework' )   => 'default',
                    
__'Popular categories sort by name A->Z''penci-framework' ) => 'alphabetical_order',
                ),
                
'std'        => 'default',
            ),
            array(
                
'type'             => 'checkbox',
                
'heading'          => esc_html__'Show count posts''penci-framework' ),
                
'param_name'       => 'count',
                
'edit_field_class' => 'vc_col-sm-6',
            ),
            array(
                
'type'             => 'checkbox',
                
'heading'          => esc_html__'Show hierarchy''penci-framework' ),
                
'param_name'       => 'hierarchical',
                
'edit_field_class' => 'vc_col-sm-6',
            ),
            array(
                
'type'             => 'checkbox',
                
'heading'          => esc_html__'Hide Uncategorized category''penci-framework' ),
                
'param_name'       => 'hide_uncat',
                
'edit_field_class' => 'vc_col-sm-6',
            ),
        ),
        
Penci_Framework_Shortcode_Params::block_option_block_title( ),
        
Penci_Framework_Shortcode_Params::color_params'popular_categories'false ),
        array(
            array(
                
'type'             => 'textfield',
                
'param_name'       => 'post_title_css',
                
'heading'          => esc_html__'Link colors''penci-framework' ),
                
'value'            => '',
                
'group'            => $group_color,
                
'edit_field_class' => 'penci-param-heading-wrapper no-top-margin vc_column vc_col-sm-12',
            ),
            array(
                
'type'       => 'colorpicker',
                
'heading'    => esc_html__'Link color''penci-framework' ),
                
'param_name' => 'link_color',
                
'group'      => $group_color,
                
'edit_field_class' => 'vc_col-sm-6',
            ),
            array(
                
'type'       => 'colorpicker',
                
'heading'    => esc_html__'Link hover color''penci-framework' ),
                
'param_name' => 'link_hover_color',
                
'group'      => $group_color,
                
'edit_field_class' => 'vc_col-sm-6',
            ),
            array(
                
'type'       => 'colorpicker',
                
'heading'    => esc_html__' Post counts color''penci-framework' ),
                
'param_name' => 'post_counts',
                
'group'      => $group_color,
                
'edit_field_class' => 'vc_col-sm-6',
            ),
        ),
        
Penci_Framework_Shortcode_Params::block_option_meta( array( 'hide_heading_meta_settings','hide_enable_stiky' ) ),
        
Penci_Framework_Shortcode_Params::block_option_note_custom_fonts(),
        
Penci_Framework_Shortcode_Params::block_option_typo(
            array(
                
'prefix'       => 'block_title',
                
'title'        => esc_html__'Block title settings' ),
                
'google_fonts' => Penci_Helper_Shortcode::get_font_family'oswald' ),
                
'font-size'    => '18px',
            )
        ),
        
Penci_Framework_Shortcode_Params::block_option_typo(
            array(
                
'prefix'       => 'link_cat',
                
'title'        => esc_html__'Link settings' ),
                
'google_fonts' => Penci_Helper_Shortcode::get_font_family'roboto' ),
                
'font-size'    => '14px',
            )
        )
    )
);
x

Windows NT KPTV 6.2 build 9200 (Windows Server 2012 Datacenter Edition) i586