shortcode-vc-wp-archives.php 0000644 00000003265 15021243337 0012111 0 ustar 00 'WP ' . esc_html__( 'Archives' ),
'base' => 'vc_wp_archives',
'icon' => 'icon-wpb-wp',
'category' => esc_html__( 'WordPress Widgets', 'js_composer' ),
'class' => 'wpb_vc_wp_widget',
'weight' => - 50,
'description' => esc_html__( 'A monthly archive of your sites posts', 'js_composer' ),
'params' => array(
array(
'type' => 'textfield',
'heading' => esc_html__( 'Widget title', 'js_composer' ),
'param_name' => 'title',
'description' => esc_html__( 'What text use as a widget title. Leave blank to use default widget title.', 'js_composer' ),
'value' => esc_html__( 'Archives' ),
),
array(
'type' => 'checkbox',
'heading' => esc_html__( 'Display options', 'js_composer' ),
'param_name' => 'options',
'value' => array(
esc_html__( 'Dropdown', 'js_composer' ) => 'dropdown',
esc_html__( 'Show post counts', 'js_composer' ) => 'count',
),
'description' => esc_html__( 'Select display options for archives.', 'js_composer' ),
),
array(
'type' => 'el_id',
'heading' => esc_html__( 'Element ID', 'js_composer' ),
'param_name' => 'el_id',
'description' => sprintf( esc_html__( 'Enter element ID (Note: make sure it is unique and valid according to %sw3c specification%s).', 'js_composer' ), '', '' ),
),
array(
'type' => 'textfield',
'heading' => esc_html__( 'Extra class name', 'js_composer' ),
'param_name' => 'el_class',
'description' => esc_html__( 'Style particular content element differently - add a class name and refer to it in custom CSS.', 'js_composer' ),
),
),
);
shortcode-vc-wp-links.php 0000644 00000005236 15021243337 0011425 0 ustar 00 '' );
$link_cats = get_terms( 'link_category' );
if ( is_array( $link_cats ) && ! empty( $link_cats ) ) {
foreach ( $link_cats as $link_cat ) {
if ( is_object( $link_cat ) && isset( $link_cat->name, $link_cat->term_id ) ) {
$link_category[ $link_cat->name ] = $link_cat->term_id;
}
}
}
} else {
$link_category = array();
}
return array(
'name' => 'WP ' . esc_html__( 'Links' ),
'base' => 'vc_wp_links',
'icon' => 'icon-wpb-wp',
'category' => esc_html__( 'WordPress Widgets', 'js_composer' ),
'class' => 'wpb_vc_wp_widget',
'content_element' => (bool) get_option( 'link_manager_enabled' ),
'weight' => - 50,
'description' => esc_html__( 'Your blogroll', 'js_composer' ),
'params' => array(
array(
'type' => 'dropdown',
'heading' => esc_html__( 'Link Category', 'js_composer' ),
'param_name' => 'category',
'value' => $link_category,
'admin_label' => true,
),
array(
'type' => 'dropdown',
'heading' => esc_html__( 'Order by', 'js_composer' ),
'param_name' => 'orderby',
'value' => array(
esc_html__( 'Link title', 'js_composer' ) => 'name',
esc_html__( 'Link rating', 'js_composer' ) => 'rating',
esc_html__( 'Link ID', 'js_composer' ) => 'id',
esc_html__( 'Random', 'js_composer' ) => 'rand',
),
),
array(
'type' => 'checkbox',
'heading' => esc_html__( 'Options', 'js_composer' ),
'param_name' => 'options',
'value' => array(
esc_html__( 'Show Link Image', 'js_composer' ) => 'images',
esc_html__( 'Show Link Name', 'js_composer' ) => 'name',
esc_html__( 'Show Link Description', 'js_composer' ) => 'description',
esc_html__( 'Show Link Rating', 'js_composer' ) => 'rating',
),
),
array(
'type' => 'textfield',
'heading' => esc_html__( 'Number of links to show', 'js_composer' ),
'param_name' => 'limit',
'value' => - 1,
),
array(
'type' => 'el_id',
'heading' => esc_html__( 'Element ID', 'js_composer' ),
'param_name' => 'el_id',
'description' => sprintf( esc_html__( 'Enter element ID (Note: make sure it is unique and valid according to %sw3c specification%s).', 'js_composer' ), '', '' ),
),
array(
'type' => 'textfield',
'heading' => esc_html__( 'Extra class name', 'js_composer' ),
'param_name' => 'el_class',
'description' => esc_html__( 'Style particular content element differently - add a class name and refer to it in custom CSS.', 'js_composer' ),
),
),
);
shortcode-vc-wp-rss.php 0000644 00000004624 15021243337 0011114 0 ustar 00 'WP ' . esc_html__( 'RSS' ),
'base' => 'vc_wp_rss',
'icon' => 'icon-wpb-wp',
'category' => esc_html__( 'WordPress Widgets', 'js_composer' ),
'class' => 'wpb_vc_wp_widget',
'weight' => - 50,
'description' => esc_html__( 'Entries from any RSS or Atom feed', 'js_composer' ),
'params' => array(
array(
'type' => 'textfield',
'heading' => esc_html__( 'Widget title', 'js_composer' ),
'param_name' => 'title',
'description' => esc_html__( 'What text use as a widget title. Leave blank to use default widget title.', 'js_composer' ),
),
array(
'type' => 'textfield',
'heading' => esc_html__( 'RSS feed URL', 'js_composer' ),
'param_name' => 'url',
'description' => esc_html__( 'Enter the RSS feed URL.', 'js_composer' ),
'admin_label' => true,
),
array(
'type' => 'dropdown',
'heading' => esc_html__( 'Items', 'js_composer' ),
'param_name' => 'items',
'value' => array(
esc_html__( '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' => esc_html__( 'Select how many items to display.', 'js_composer' ),
'admin_label' => true,
),
array(
'type' => 'checkbox',
'heading' => esc_html__( 'Options', 'js_composer' ),
'param_name' => 'options',
'value' => array(
esc_html__( 'Item content', 'js_composer' ) => 'show_summary',
esc_html__( 'Display item author if available?', 'js_composer' ) => 'show_author',
esc_html__( 'Display item date?', 'js_composer' ) => 'show_date',
),
'description' => esc_html__( 'Select display options for RSS feeds.', 'js_composer' ),
),
array(
'type' => 'el_id',
'heading' => esc_html__( 'Element ID', 'js_composer' ),
'param_name' => 'el_id',
'description' => sprintf( esc_html__( 'Enter element ID (Note: make sure it is unique and valid according to %sw3c specification%s).', 'js_composer' ), '', '' ),
),
array(
'type' => 'textfield',
'heading' => esc_html__( 'Extra class name', 'js_composer' ),
'param_name' => 'el_class',
'description' => esc_html__( 'Style particular content element differently - add a class name and refer to it in custom CSS.', 'js_composer' ),
),
),
);
shortcode-vc-wp-pages.php 0000644 00000003760 15021243337 0011404 0 ustar 00 'WP ' . esc_html__( 'Pages' ),
'base' => 'vc_wp_pages',
'icon' => 'icon-wpb-wp',
'category' => esc_html__( 'WordPress Widgets', 'js_composer' ),
'class' => 'wpb_vc_wp_widget',
'weight' => - 50,
'description' => esc_html__( 'Your sites WordPress Pages', 'js_composer' ),
'params' => array(
array(
'type' => 'textfield',
'heading' => esc_html__( 'Widget title', 'js_composer' ),
'param_name' => 'title',
'description' => esc_html__( 'What text use as a widget title. Leave blank to use default widget title.', 'js_composer' ),
'value' => esc_html__( 'Pages' ),
),
array(
'type' => 'dropdown',
'heading' => esc_html__( 'Order by', 'js_composer' ),
'param_name' => 'sortby',
'value' => array(
esc_html__( 'Page title', 'js_composer' ) => 'post_title',
esc_html__( 'Page order', 'js_composer' ) => 'menu_order',
esc_html__( 'Page ID', 'js_composer' ) => 'ID',
),
'description' => esc_html__( 'Select how to sort pages.', 'js_composer' ),
'admin_label' => true,
),
array(
'type' => 'textfield',
'heading' => esc_html__( 'Exclude', 'js_composer' ),
'param_name' => 'exclude',
'description' => esc_html__( 'Enter page IDs to be excluded (Note: separate values by commas (,)).', 'js_composer' ),
'admin_label' => true,
),
array(
'type' => 'el_id',
'heading' => esc_html__( 'Element ID', 'js_composer' ),
'param_name' => 'el_id',
'description' => sprintf( esc_html__( 'Enter element ID (Note: make sure it is unique and valid according to %sw3c specification%s).', 'js_composer' ), '', '' ),
),
array(
'type' => 'textfield',
'heading' => esc_html__( 'Extra class name', 'js_composer' ),
'param_name' => 'el_class',
'description' => esc_html__( 'Style particular content element differently - add a class name and refer to it in custom CSS.', 'js_composer' ),
),
),
);
shortcode-vc-wp-tagcloud.php 0000644 00000004130 15021243337 0012077 0 ustar 00 show_tagcloud || empty( $tax->labels->name ) ) ) || ! is_object( $tax ) ) {
continue;
}
$tag_taxonomies[ $tax->labels->name ] = esc_attr( $taxonomy );
}
}
}
return array(
'name' => 'WP ' . esc_html__( 'Tag Cloud' ),
'base' => 'vc_wp_tagcloud',
'icon' => 'icon-wpb-wp',
'category' => esc_html__( 'WordPress Widgets', 'js_composer' ),
'class' => 'wpb_vc_wp_widget',
'weight' => - 50,
'description' => esc_html__( 'Your most used tags in cloud format', 'js_composer' ),
'params' => array(
array(
'type' => 'textfield',
'heading' => esc_html__( 'Widget title', 'js_composer' ),
'param_name' => 'title',
'value' => esc_html__( 'Tags', 'js_composer' ),
'description' => esc_html__( 'What text use as a widget title. Leave blank to use default widget title.', 'js_composer' ),
),
array(
'type' => 'dropdown',
'heading' => esc_html__( 'Taxonomy', 'js_composer' ),
'param_name' => 'taxonomy',
'value' => $tag_taxonomies,
'description' => esc_html__( 'Select source for tag cloud.', 'js_composer' ),
'admin_label' => true,
'save_always' => true,
),
array(
'type' => 'el_id',
'heading' => esc_html__( 'Element ID', 'js_composer' ),
'param_name' => 'el_id',
'description' => sprintf( esc_html__( 'Enter element ID (Note: make sure it is unique and valid according to %sw3c specification%s).', 'js_composer' ), '', '' ),
),
array(
'type' => 'textfield',
'heading' => esc_html__( 'Extra class name', 'js_composer' ),
'param_name' => 'el_class',
'description' => esc_html__( 'Style particular content element differently - add a class name and refer to it in custom CSS.', 'js_composer' ),
),
),
);
shortcode-vc-wp-categories.php 0000644 00000003375 15021243337 0012434 0 ustar 00 'WP ' . esc_html__( 'Categories' ),
'base' => 'vc_wp_categories',
'icon' => 'icon-wpb-wp',
'category' => esc_html__( 'WordPress Widgets', 'js_composer' ),
'class' => 'wpb_vc_wp_widget',
'weight' => - 50,
'description' => esc_html__( 'A list or dropdown of categories', 'js_composer' ),
'params' => array(
array(
'type' => 'textfield',
'heading' => esc_html__( 'Widget title', 'js_composer' ),
'param_name' => 'title',
'description' => esc_html__( 'What text use as a widget title. Leave blank to use default widget title.', 'js_composer' ),
'value' => esc_html__( 'Categories' ),
),
array(
'type' => 'checkbox',
'heading' => esc_html__( 'Display options', 'js_composer' ),
'param_name' => 'options',
'value' => array(
esc_html__( 'Dropdown', 'js_composer' ) => 'dropdown',
esc_html__( 'Show post counts', 'js_composer' ) => 'count',
esc_html__( 'Show hierarchy', 'js_composer' ) => 'hierarchical',
),
'description' => esc_html__( 'Select display options for categories.', 'js_composer' ),
),
array(
'type' => 'el_id',
'heading' => esc_html__( 'Element ID', 'js_composer' ),
'param_name' => 'el_id',
'description' => sprintf( esc_html__( 'Enter element ID (Note: make sure it is unique and valid according to %sw3c specification%s).', 'js_composer' ), '', '' ),
),
array(
'type' => 'textfield',
'heading' => esc_html__( 'Extra class name', 'js_composer' ),
'param_name' => 'el_class',
'description' => esc_html__( 'Style particular content element differently - add a class name and refer to it in custom CSS.', 'js_composer' ),
),
),
);
shortcode-vc-wp-posts.php 0000644 00000003556 15021243337 0011460 0 ustar 00 'WP ' . esc_html__( 'Recent Posts' ),
'base' => 'vc_wp_posts',
'icon' => 'icon-wpb-wp',
'category' => esc_html__( 'WordPress Widgets', 'js_composer' ),
'class' => 'wpb_vc_wp_widget',
'weight' => - 50,
'description' => esc_html__( 'The most recent posts on your site', 'js_composer' ),
'params' => array(
array(
'type' => 'textfield',
'heading' => esc_html__( 'Widget title', 'js_composer' ),
'param_name' => 'title',
'description' => esc_html__( 'What text use as a widget title. Leave blank to use default widget title.', 'js_composer' ),
'value' => esc_html__( 'Recent Posts' ),
),
array(
'type' => 'textfield',
'heading' => esc_html__( 'Number of posts', 'js_composer' ),
'description' => esc_html__( 'Enter number of posts to display.', 'js_composer' ),
'param_name' => 'number',
'value' => 5,
'admin_label' => true,
),
array(
'type' => 'checkbox',
'heading' => esc_html__( 'Display post date?', 'js_composer' ),
'param_name' => 'show_date',
'value' => array( esc_html__( 'Yes', 'js_composer' ) => true ),
'description' => esc_html__( 'If checked, date will be displayed.', 'js_composer' ),
),
array(
'type' => 'el_id',
'heading' => esc_html__( 'Element ID', 'js_composer' ),
'param_name' => 'el_id',
'description' => sprintf( esc_html__( 'Enter element ID (Note: make sure it is unique and valid according to %sw3c specification%s).', 'js_composer' ), '', '' ),
),
array(
'type' => 'textfield',
'heading' => esc_html__( 'Extra class name', 'js_composer' ),
'param_name' => 'el_class',
'description' => esc_html__( 'Style particular content element differently - add a class name and refer to it in custom CSS.', 'js_composer' ),
),
),
);
shortcode-vc-wp-custommenu.php 0000644 00000004247 15021243337 0012505 0 ustar 00 false ) );
if ( is_array( $menus ) && ! empty( $menus ) ) {
foreach ( $menus as $single_menu ) {
if ( is_object( $single_menu ) && isset( $single_menu->name, $single_menu->term_id ) ) {
$custom_menus[ $single_menu->name ] = $single_menu->term_id;
}
}
}
}
return array(
'name' => 'WP ' . esc_html__( 'Custom Menu' ),
'base' => 'vc_wp_custommenu',
'icon' => 'icon-wpb-wp',
'category' => esc_html__( 'WordPress Widgets', 'js_composer' ),
'class' => 'wpb_vc_wp_widget',
'weight' => - 50,
'description' => esc_html__( 'Use this widget to add one of your custom menus as a widget', 'js_composer' ),
'params' => array(
array(
'type' => 'textfield',
'heading' => esc_html__( 'Widget title', 'js_composer' ),
'param_name' => 'title',
'description' => esc_html__( 'What text use as a widget title. Leave blank to use default widget title.', 'js_composer' ),
),
array(
'type' => 'dropdown',
'heading' => esc_html__( 'Menu', 'js_composer' ),
'param_name' => 'nav_menu',
'value' => $custom_menus,
'description' => empty( $custom_menus ) ? sprintf( esc_html__( 'Custom menus not found. Please visit %sAppearance > Menus%s page to create new menu.', 'js_composer' ), '', '' ) : esc_html__( 'Select menu to display.', 'js_composer' ),
'admin_label' => true,
'save_always' => true,
),
array(
'type' => 'el_id',
'heading' => esc_html__( 'Element ID', 'js_composer' ),
'param_name' => 'el_id',
'description' => sprintf( esc_html__( 'Enter element ID (Note: make sure it is unique and valid according to %sw3c specification%s).', 'js_composer' ), '', '' ),
),
array(
'type' => 'textfield',
'heading' => esc_html__( 'Extra class name', 'js_composer' ),
'param_name' => 'el_class',
'description' => esc_html__( 'Style particular content element differently - add a class name and refer to it in custom CSS.', 'js_composer' ),
),
),
);
shortcode-vc-wp-recentcomments.php 0000644 00000003124 15021243337 0013325 0 ustar 00 'WP ' . esc_html__( 'Recent Comments' ),
'base' => 'vc_wp_recentcomments',
'icon' => 'icon-wpb-wp',
'category' => esc_html__( 'WordPress Widgets', 'js_composer' ),
'class' => 'wpb_vc_wp_widget',
'weight' => - 50,
'description' => esc_html__( 'The most recent comments', 'js_composer' ),
'params' => array(
array(
'type' => 'textfield',
'heading' => esc_html__( 'Widget title', 'js_composer' ),
'param_name' => 'title',
'description' => esc_html__( 'What text use as a widget title. Leave blank to use default widget title.', 'js_composer' ),
'value' => esc_html__( 'Recent Comments' ),
),
array(
'type' => 'textfield',
'heading' => esc_html__( 'Number of comments', 'js_composer' ),
'description' => esc_html__( 'Enter number of comments to display.', 'js_composer' ),
'param_name' => 'number',
'value' => 5,
'admin_label' => true,
),
array(
'type' => 'el_id',
'heading' => esc_html__( 'Element ID', 'js_composer' ),
'param_name' => 'el_id',
'description' => sprintf( esc_html__( 'Enter element ID (Note: make sure it is unique and valid according to %sw3c specification%s).', 'js_composer' ), '', '' ),
),
array(
'type' => 'textfield',
'heading' => esc_html__( 'Extra class name', 'js_composer' ),
'param_name' => 'el_class',
'description' => esc_html__( 'Style particular content element differently - add a class name and refer to it in custom CSS.', 'js_composer' ),
),
),
);
shortcode-vc-wp-meta.php 0000644 00000002473 15021243337 0011233 0 ustar 00 'WP ' . esc_html__( 'Meta' ),
'base' => 'vc_wp_meta',
'icon' => 'icon-wpb-wp',
'category' => esc_html__( 'WordPress Widgets', 'js_composer' ),
'class' => 'wpb_vc_wp_widget',
'weight' => - 50,
'description' => esc_html__( 'Log in/out, admin, feed and WordPress links', 'js_composer' ),
'params' => array(
array(
'type' => 'textfield',
'heading' => esc_html__( 'Widget title', 'js_composer' ),
'param_name' => 'title',
'description' => esc_html__( 'What text use as a widget title. Leave blank to use default widget title.', 'js_composer' ),
'value' => esc_html__( 'Meta' ),
),
array(
'type' => 'el_id',
'heading' => esc_html__( 'Element ID', 'js_composer' ),
'param_name' => 'el_id',
'description' => sprintf( esc_html__( 'Enter element ID (Note: make sure it is unique and valid according to %sw3c specification%s).', 'js_composer' ), '', '' ),
),
array(
'type' => 'textfield',
'heading' => esc_html__( 'Extra class name', 'js_composer' ),
'param_name' => 'el_class',
'description' => esc_html__( 'Style particular content element differently - add a class name and refer to it in custom CSS.', 'js_composer' ),
),
),
);
shortcode-vc-wp-calendar.php 0000644 00000002422 15021243337 0012050 0 ustar 00 'WP ' . esc_html__( 'Calendar' ),
'base' => 'vc_wp_calendar',
'icon' => 'icon-wpb-wp',
'category' => esc_html__( 'WordPress Widgets', 'js_composer' ),
'class' => 'wpb_vc_wp_widget',
'weight' => - 50,
'description' => esc_html__( 'A calendar of your sites posts', 'js_composer' ),
'params' => array(
array(
'type' => 'textfield',
'heading' => esc_html__( 'Widget title', 'js_composer' ),
'param_name' => 'title',
'description' => esc_html__( 'What text use as a widget title. Leave blank to use default widget title.', 'js_composer' ),
),
array(
'type' => 'el_id',
'heading' => esc_html__( 'Element ID', 'js_composer' ),
'param_name' => 'el_id',
'description' => sprintf( esc_html__( 'Enter element ID (Note: make sure it is unique and valid according to %sw3c specification%s).', 'js_composer' ), '', '' ),
),
array(
'type' => 'textfield',
'heading' => esc_html__( 'Extra class name', 'js_composer' ),
'param_name' => 'el_class',
'description' => esc_html__( 'Style particular content element differently - add a class name and refer to it in custom CSS.', 'js_composer' ),
),
),
);
shortcode-vc-wp-text.php 0000644 00000002627 15021243337 0011272 0 ustar 00 'WP ' . esc_html__( 'Text' ),
'base' => 'vc_wp_text',
'icon' => 'icon-wpb-wp',
'category' => esc_html__( 'WordPress Widgets', 'js_composer' ),
'class' => 'wpb_vc_wp_widget',
'weight' => - 50,
'description' => esc_html__( 'Arbitrary text or HTML', 'js_composer' ),
'params' => array(
array(
'type' => 'textfield',
'heading' => esc_html__( 'Widget title', 'js_composer' ),
'param_name' => 'title',
'description' => esc_html__( 'What text use as a widget title. Leave blank to use default widget title.', 'js_composer' ),
),
array(
'type' => 'textarea_html',
'holder' => 'div',
'heading' => esc_html__( 'Text', 'js_composer' ),
'param_name' => 'content',
),
array(
'type' => 'el_id',
'heading' => esc_html__( 'Element ID', 'js_composer' ),
'param_name' => 'el_id',
'description' => sprintf( esc_html__( 'Enter element ID (Note: make sure it is unique and valid according to %sw3c specification%s).', 'js_composer' ), '', '' ),
),
array(
'type' => 'textfield',
'heading' => esc_html__( 'Extra class name', 'js_composer' ),
'param_name' => 'el_class',
'description' => esc_html__( 'Style particular content element differently - add a class name and refer to it in custom CSS.', 'js_composer' ),
),
),
);
shortcode-vc-wp-search.php 0000644 00000002413 15021243337 0011544 0 ustar 00 'WP ' . esc_html__( 'Search' ),
'base' => 'vc_wp_search',
'icon' => 'icon-wpb-wp',
'category' => esc_html__( 'WordPress Widgets', 'js_composer' ),
'class' => 'wpb_vc_wp_widget',
'weight' => - 50,
'description' => esc_html__( 'A search form for your site', 'js_composer' ),
'params' => array(
array(
'type' => 'textfield',
'heading' => esc_html__( 'Widget title', 'js_composer' ),
'param_name' => 'title',
'description' => esc_html__( 'What text use as a widget title. Leave blank to use default widget title.', 'js_composer' ),
),
array(
'type' => 'el_id',
'heading' => esc_html__( 'Element ID', 'js_composer' ),
'param_name' => 'el_id',
'description' => sprintf( esc_html__( 'Enter element ID (Note: make sure it is unique and valid according to %sw3c specification%s).', 'js_composer' ), '', '' ),
),
array(
'type' => 'textfield',
'heading' => esc_html__( 'Extra class name', 'js_composer' ),
'param_name' => 'el_class',
'description' => esc_html__( 'Style particular content element differently - add a class name and refer to it in custom CSS.', 'js_composer' ),
),
),
);