| Server IP : 54.36.91.62 / Your IP : 216.73.216.15 Web Server : Apache System : Linux webm021.cluster127.gra.hosting.ovh.net 6.18.39-ovh-vps-grsec-zfs+ #1 SMP PREEMPT_DYNAMIC Tue Jul 21 12:03:15 CEST 2026 x86_64 User : uxhactp ( 169076) PHP Version : 7.4.33 Disable Function : _dyuweyrj4,_dyuweyrj4r,dl MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/uxhactp/www/wp-content/plugins/js_composer/config/wp/ |
Upload File : |
<?php
if ( ! defined( 'ABSPATH' ) ) {
die( '-1' );
}
return array(
'name' => 'WP ' . __( 'Recent Posts' ),
'base' => 'vc_wp_posts',
'icon' => 'icon-wpb-wp',
'category' => __( 'WordPress Widgets', 'js_composer' ),
'class' => 'wpb_vc_wp_widget',
'weight' => - 50,
'description' => __( 'The most recent posts on your site', 'js_composer' ),
'params' => array(
array(
'type' => 'textfield',
'heading' => __( 'Widget title', 'js_composer' ),
'param_name' => 'title',
'description' => __( 'What text use as a widget title. Leave blank to use default widget title.', 'js_composer' ),
'value' => __( 'Recent Posts' ),
),
array(
'type' => 'textfield',
'heading' => __( 'Number of posts', 'js_composer' ),
'description' => __( 'Enter number of posts to display.', 'js_composer' ),
'param_name' => 'number',
'value' => 5,
'admin_label' => true,
),
array(
'type' => 'checkbox',
'heading' => __( 'Display post date?', 'js_composer' ),
'param_name' => 'show_date',
'value' => array( __( 'Yes', 'js_composer' ) => true ),
'description' => __( 'If checked, date will be displayed.', 'js_composer' ),
),
array(
'type' => 'textfield',
'heading' => __( 'Extra class name', 'js_composer' ),
'param_name' => 'el_class',
'description' => __( 'Style particular content element differently - add a class name and refer to it in custom CSS.', 'js_composer' ),
),
),
);