C:\xampp\htdocs\landing\wp-content\plugins\penci-framework\shortcodes\wp_widget_posts\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
<?php

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

// Shortcode settings
return array(
    
'category'      => esc_html__'PenNews WP Widget''penci-framework' ),
    
'name'   => 'WP ' __'Recent Posts' ),
    
'params' => array_merge(
        
Penci_Framework_Shortcode_Params::block_title( array( 'block_title_default' => __'Recent Posts' ) ) ),
        array(
            array(
                
'type' => 'textfield',
                
'heading' => esc_html__'Number of posts''penci-framework' ),
                
'description' => esc_html__'Enter number of posts to display.''penci-framework' ),
                
'param_name' => 'number',
                
'value' => 5,
                
'admin_label' => true,
            ),
            array(
                
'type' => 'checkbox',
                
'heading' => esc_html__'Display post date?''penci-framework' ),
                
'param_name' => 'show_date',
                
'value' => array( esc_html__'Yes''penci-framework' ) => true ),
                
'description' => esc_html__'If checked, date will be displayed.''penci-framework' ),
            ),
        ),
        
Penci_Framework_Shortcode_Params::block_option_meta( array( 'hide_heading_meta_settings''hide_enable_stiky' ) ),
        
Penci_Framework_Shortcode_Params::block_option_block_title(),
        
Penci_Framework_Shortcode_Params::color_params$shotcode_id ),

        array(
            array(
                
'type'             => 'colorpicker',
                
'param_name'       => 'border_bottom_post_color',
                
'heading'          => esc_html__'Post title border bottom color''penci-framework' ),
                
'value'            => '',
                
'group'            => $group_color,
            ),
            array(
                
'type'             => 'colorpicker',
                
'heading'          => esc_html__'Post date color''penci-framework' ),
                
'param_name'       => 'post_date_color',
                
'group'            => $group_color,
                
'edit_field_class' => 'vc_col-sm-6',
            ),
        ),
        
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'       => 'post_title',
                
'title'        => esc_html__'Post title settings' ),
                
'google_fonts' => Penci_Helper_Shortcode::get_font_family'roboto' ),
                
'font-size'    => '14px',
            )
        ),
        
Penci_Framework_Shortcode_Params::block_option_typo(
            array(
                
'prefix'       => 'post_date',
                
'title'        => esc_html__'Post date settings' ),
                
'google_fonts' => Penci_Helper_Shortcode::get_font_family'roboto' ),
                
'font-size'    => '12px',
            )
        )
    )
);
x

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