| Server IP : 68.178.247.200 / Your IP : 216.73.216.14 Web Server : Apache System : Linux p3plzcpnl489463.prod.phx3.secureserver.net 4.18.0-553.54.1.lve.el8.x86_64 #1 SMP Wed Jun 4 13:01:13 UTC 2025 x86_64 User : x9dppmxs4rgd ( 8559391) PHP Version : 7.4.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/x9dppmxs4rgd/public_html/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' => 'el_id',
'heading' => __( 'Element ID', 'js_composer' ),
'param_name' => 'el_id',
'description' => sprintf( __( 'Enter element ID (Note: make sure it is unique and valid according to <a href="%s" target="_blank">w3c specification</a>).', 'js_composer' ), 'http://www.w3schools.com/tags/att_global_id.asp' ),
),
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' ),
),
),
);