Import legacy nurinda.co.id website
This commit is contained in:
1 parent
3f59bb9038
commit
6e21646ac4
13389 files changed
+3246690
No files matched your search
@@ -0,0 +1,82 @@
|
||||
<?php
|
||||
if ( ! defined( 'ABSPATH' ) ) {
|
||||
die( '-1' );
|
||||
}
|
||||
|
||||
return array(
|
||||
'name' => 'WP ' . __( 'RSS' ),
|
||||
'base' => 'vc_wp_rss',
|
||||
'icon' => 'icon-wpb-wp',
|
||||
'category' => __( 'WordPress Widgets', 'js_composer' ),
|
||||
'class' => 'wpb_vc_wp_widget',
|
||||
'weight' => - 50,
|
||||
'description' => __( 'Entries from any RSS or Atom feed', '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' ),
|
||||
),
|
||||
array(
|
||||
'type' => 'textfield',
|
||||
'heading' => __( 'RSS feed URL', 'js_composer' ),
|
||||
'param_name' => 'url',
|
||||
'description' => __( 'Enter the RSS feed URL.', 'js_composer' ),
|
||||
'admin_label' => true,
|
||||
),
|
||||
array(
|
||||
'type' => 'dropdown',
|
||||
'heading' => __( 'Items', 'js_composer' ),
|
||||
'param_name' => 'items',
|
||||
'value' => array(
|
||||
__( '10 - Default', 'js_composer' ) => 10,
|
||||
1,
|
||||
2,
|
||||
3,
|
||||
4,
|
||||
5,
|
||||
6,
|
||||
7,
|
||||
8,
|
||||
9,
|
||||
10,
|
||||
11,
|
||||
12,
|
||||
13,
|
||||
14,
|
||||
15,
|
||||
16,
|
||||
17,
|
||||
18,
|
||||
19,
|
||||
20,
|
||||
),
|
||||
'description' => __( 'Select how many items to display.', 'js_composer' ),
|
||||
'admin_label' => true,
|
||||
),
|
||||
array(
|
||||
'type' => 'checkbox',
|
||||
'heading' => __( 'Options', 'js_composer' ),
|
||||
'param_name' => 'options',
|
||||
'value' => array(
|
||||
__( 'Item content', 'js_composer' ) => 'show_summary',
|
||||
__( 'Display item author if available?', 'js_composer' ) => 'show_author',
|
||||
__( 'Display item date?', 'js_composer' ) => 'show_date',
|
||||
),
|
||||
'description' => __( 'Select display options for RSS feeds.', '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' ),
|
||||
),
|
||||
),
|
||||
);
|
||||
Reference in new issue
Block a user