C:\xampp\htdocs\landing\wp-content\plugins\penci-framework\shortcodes\news_ticker\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
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
<?php
$group_filter 
'Filter';
$group_color  'Color';

$shotcode_id 'grid_3';

$block_general_array = array(
    array(
        
'type'        => 'textfield',
        
'heading'     => esc_html__'Custom "Trending now" Text:''penci-framework' ),
        
'param_name'  => 'title',
        
'std'         => esc_html__'Trending now''penci-framework' ),
        
'admin_label' => true,
        
'description' => esc_html__'If you want hide Trending now text, let empty this''penci-framework' ),
    ),
    array(
        
'type'        => 'iconpicker',
        
'heading'     => esc_html__'Custom icon after title for this block''penci-framework' ),
        
'param_name'  => 'icon_fontawesome',
        
'value'       => 'fa fa-bolt',
        
'settings'    => array(
            
'emptyIcon'    => true,
            
'iconsPerPage' => 4000,
        ),
        
'description' => esc_html__'Select icon from library.''penci-framework' ),
    ),
    array(
        
'type'       => 'dropdown',
        
'heading'    => esc_html__'Type''penci-framework' ),
        
'param_name' => 'sort',
        
'std'        => 'latest-posts',
        
'value' => array(
            
esc_html__'Show Popular Posts in Once Week''penci-framework' )   => 'popular7',
            
esc_html__'Show Popular Posts in Once Month ''penci-framework' ) => 'popular_month',
            
esc_html__'Show Popular Posts in All Times''penci-framework' )   => 'popular',
            
esc_html__'Show Latest Posts''penci-framework' )                 => 'latest-posts',
        ),
    ),
    array(
        
'type'       => 'checkbox',
        
'heading'    => esc_html__'Disable Auto Play Slider ''penci-framework' ),
        
'param_name' => 'auto_play',
    ),
    array(
        
'type'        => 'textfield',
        
'heading'     => esc_html__'Slider Auto Time (at x seconds)''penci-framework' ),
        
'param_name'  => 'auto_time',
        
'std'         => 4000
    
),
    array(
        
'type'        => 'textfield',
        
'heading'     => esc_html__'Slider Speed (at x seconds)''penci-framework' ),
        
'param_name'  => 'speed',
        
'std'         => 400,
    ),
    array(
        
'type'       => 'checkbox',
        
'heading'    => esc_html__'Show next/prev buttons''penci-framework' ),
        
'param_name' => 'hide_nav',
    ),
);

$block_color_array = array(
    
// Colors
    
array(
        
'type'       => 'colorpicker',
        
'heading'    => esc_html__'Background color''penci-framework' ),
        
'param_name' => 'bg_title_color',
        
'group'      => $group_color,
    ),
    array(
        
'type'       => 'colorpicker',
        
'heading'    => esc_html__'Title text color''penci-framework' ),
        
'param_name' => 'title_color',
        
'group'      => $group_color,
    ),
    array(
        
'type'       => 'colorpicker',
        
'heading'    => esc_html__'Post title color''penci-framework' ),
        
'param_name' => 'post_title_color',
        
'group'      => $group_color,
    ),
    array(
        
'type'       => 'colorpicker',
        
'heading'    => esc_html__'Post title hover color''penci-framework' ),
        
'param_name' => 'post_title_hover_color',
        
'group'      => $group_color,
    ),
);


// Shortcode settings
return array(
    
'name'   => esc_html__'News Ticker''penci-framework' ),
    
'weight' => 814,
    
'params' =>  array_merge(
        
Penci_Framework_Shortcode_Params::block_build_query(),
        
$block_general_array,
        
Penci_Framework_Shortcode_Params::block_option_trim_word( array( 'standard' => ) ),
        
Penci_Framework_Shortcode_Params::filter_params$shotcode_id ),
        
$block_color_array,
        
Penci_Framework_Shortcode_Params::block_option_note_custom_fonts(),
        
Penci_Framework_Shortcode_Params::block_option_typo(
            array(
                
'prefix'       => 'block_title',
                
'title'        => esc_html__'Text "Trending now" settings' ),
                
'google_fonts' => Penci_Helper_Shortcode::get_font_family'roboto' ),
                
'font-size'    => '14px',
            )
        ),
        
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'muktavaani' ),
                
'font-size'    => '18px',
            )
        )
    )
);
x

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