Import legacy nurinda.co.id website

This commit is contained in:
dirga committed 2026-10-01 14:27:19 +07:00
1 parent 3f59bb9038
commit 6e21646ac4
13389 files changed
+3246690

No files matched your search

@@ -0,0 +1,45 @@
<?php
if ( ! defined( 'ABSPATH' ) ) {
die( '-1' );
}
return array(
'name' => 'WP ' . __( 'Archives' ),
'base' => 'vc_wp_archives',
'icon' => 'icon-wpb-wp',
'category' => __( 'WordPress Widgets', 'js_composer' ),
'class' => 'wpb_vc_wp_widget',
'weight' => - 50,
'description' => __( 'A monthly archive of your sites posts', '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' => __( 'Archives' ),
),
array(
'type' => 'checkbox',
'heading' => __( 'Display options', 'js_composer' ),
'param_name' => 'options',
'value' => array(
__( 'Dropdown', 'js_composer' ) => 'dropdown',
__( 'Show post counts', 'js_composer' ) => 'count',
),
'description' => __( 'Select display options for archives.', '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' ),
),
),
);
@@ -0,0 +1,34 @@
<?php
if ( ! defined( 'ABSPATH' ) ) {
die( '-1' );
}
return array(
'name' => 'WP ' . __( 'Calendar' ),
'base' => 'vc_wp_calendar',
'icon' => 'icon-wpb-wp',
'category' => __( 'WordPress Widgets', 'js_composer' ),
'class' => 'wpb_vc_wp_widget',
'weight' => - 50,
'description' => __( 'A calendar of your sites posts', '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' => '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' ),
),
),
);
@@ -0,0 +1,46 @@
<?php
if ( ! defined( 'ABSPATH' ) ) {
die( '-1' );
}
return array(
'name' => 'WP ' . __( 'Categories' ),
'base' => 'vc_wp_categories',
'icon' => 'icon-wpb-wp',
'category' => __( 'WordPress Widgets', 'js_composer' ),
'class' => 'wpb_vc_wp_widget',
'weight' => - 50,
'description' => __( 'A list or dropdown of categories', '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' => __( 'Categories' ),
),
array(
'type' => 'checkbox',
'heading' => __( 'Display options', 'js_composer' ),
'param_name' => 'options',
'value' => array(
__( 'Dropdown', 'js_composer' ) => 'dropdown',
__( 'Show post counts', 'js_composer' ) => 'count',
__( 'Show hierarchy', 'js_composer' ) => 'hierarchical',
),
'description' => __( 'Select display options for categories.', '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' ),
),
),
);
@@ -0,0 +1,55 @@
<?php
if ( ! defined( 'ABSPATH' ) ) {
die( '-1' );
}
$custom_menus = array();
if ( 'vc_edit_form' === vc_post_param( 'action' ) && vc_verify_admin_nonce() ) {
$menus = get_terms( 'nav_menu', array( 'hide_empty' => 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 ' . __( 'Custom Menu' ),
'base' => 'vc_wp_custommenu',
'icon' => 'icon-wpb-wp',
'category' => __( 'WordPress Widgets', 'js_composer' ),
'class' => 'wpb_vc_wp_widget',
'weight' => - 50,
'description' => __( 'Use this widget to add one of your custom menus as a widget', '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' => 'dropdown',
'heading' => __( 'Menu', 'js_composer' ),
'param_name' => 'nav_menu',
'value' => $custom_menus,
'description' => empty( $custom_menus ) ? __( 'Custom menus not found. Please visit <b>Appearance > Menus</b> page to create new menu.', 'js_composer' ) : __( 'Select menu to display.', 'js_composer' ),
'admin_label' => true,
'save_always' => true,
),
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' ),
),
),
);
@@ -0,0 +1,78 @@
<?php
if ( ! defined( 'ABSPATH' ) ) {
die( '-1' );
}
if ( 'vc_edit_form' === vc_post_param( 'action' ) && vc_verify_admin_nonce() ) {
$link_category = array( __( 'All Links', 'js_composer' ) => '' );
$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 ' . __( 'Links' ),
'base' => 'vc_wp_links',
'icon' => 'icon-wpb-wp',
'category' => __( 'WordPress Widgets', 'js_composer' ),
'class' => 'wpb_vc_wp_widget',
'content_element' => (bool) get_option( 'link_manager_enabled' ),
'weight' => - 50,
'description' => __( 'Your blogroll', 'js_composer' ),
'params' => array(
array(
'type' => 'dropdown',
'heading' => __( 'Link Category', 'js_composer' ),
'param_name' => 'category',
'value' => $link_category,
'admin_label' => true,
),
array(
'type' => 'dropdown',
'heading' => __( 'Order by', 'js_composer' ),
'param_name' => 'orderby',
'value' => array(
__( 'Link title', 'js_composer' ) => 'name',
__( 'Link rating', 'js_composer' ) => 'rating',
__( 'Link ID', 'js_composer' ) => 'id',
__( 'Random', 'js_composer' ) => 'rand',
),
),
array(
'type' => 'checkbox',
'heading' => __( 'Options', 'js_composer' ),
'param_name' => 'options',
'value' => array(
__( 'Show Link Image', 'js_composer' ) => 'images',
__( 'Show Link Name', 'js_composer' ) => 'name',
__( 'Show Link Description', 'js_composer' ) => 'description',
__( 'Show Link Rating', 'js_composer' ) => 'rating',
),
),
array(
'type' => 'textfield',
'heading' => __( 'Number of links to show', 'js_composer' ),
'param_name' => 'limit',
'value' => - 1,
),
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' ),
),
),
);
@@ -0,0 +1,35 @@
<?php
if ( ! defined( 'ABSPATH' ) ) {
die( '-1' );
}
return array(
'name' => 'WP ' . __( 'Meta' ),
'base' => 'vc_wp_meta',
'icon' => 'icon-wpb-wp',
'category' => __( 'WordPress Widgets', 'js_composer' ),
'class' => 'wpb_vc_wp_widget',
'weight' => - 50,
'description' => __( 'Log in/out, admin, feed and WordPress links', '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' => __( 'Meta' ),
),
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' ),
),
),
);
@@ -0,0 +1,54 @@
<?php
if ( ! defined( 'ABSPATH' ) ) {
die( '-1' );
}
return array(
'name' => 'WP ' . __( 'Pages' ),
'base' => 'vc_wp_pages',
'icon' => 'icon-wpb-wp',
'category' => __( 'WordPress Widgets', 'js_composer' ),
'class' => 'wpb_vc_wp_widget',
'weight' => - 50,
'description' => __( 'Your sites WordPress Pages', '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' => __( 'Pages' ),
),
array(
'type' => 'dropdown',
'heading' => __( 'Order by', 'js_composer' ),
'param_name' => 'sortby',
'value' => array(
__( 'Page title', 'js_composer' ) => 'post_title',
__( 'Page order', 'js_composer' ) => 'menu_order',
__( 'Page ID', 'js_composer' ) => 'ID',
),
'description' => __( 'Select how to sort pages.', 'js_composer' ),
'admin_label' => true,
),
array(
'type' => 'textfield',
'heading' => __( 'Exclude', 'js_composer' ),
'param_name' => 'exclude',
'description' => __( 'Enter page IDs to be excluded (Note: separate values by commas (,)).', 'js_composer' ),
'admin_label' => true,
),
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' ),
),
),
);
@@ -0,0 +1,50 @@
<?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' ),
),
),
);
@@ -0,0 +1,43 @@
<?php
if ( ! defined( 'ABSPATH' ) ) {
die( '-1' );
}
return array(
'name' => 'WP ' . __( 'Recent Comments' ),
'base' => 'vc_wp_recentcomments',
'icon' => 'icon-wpb-wp',
'category' => __( 'WordPress Widgets', 'js_composer' ),
'class' => 'wpb_vc_wp_widget',
'weight' => - 50,
'description' => __( 'The most recent comments', '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 Comments' ),
),
array(
'type' => 'textfield',
'heading' => __( 'Number of comments', 'js_composer' ),
'description' => __( 'Enter number of comments to display.', 'js_composer' ),
'param_name' => 'number',
'value' => 5,
'admin_label' => true,
),
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' ),
),
),
);
@@ -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' ),
),
),
);
@@ -0,0 +1,34 @@
<?php
if ( ! defined( 'ABSPATH' ) ) {
die( '-1' );
}
return array(
'name' => 'WP ' . __( 'Search' ),
'base' => 'vc_wp_search',
'icon' => 'icon-wpb-wp',
'category' => __( 'WordPress Widgets', 'js_composer' ),
'class' => 'wpb_vc_wp_widget',
'weight' => - 50,
'description' => __( 'A search form for 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' ),
),
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' ),
),
),
);
@@ -0,0 +1,57 @@
<?php
if ( ! defined( 'ABSPATH' ) ) {
die( '-1' );
}
$tag_taxonomies = array();
if ( 'vc_edit_form' === vc_post_param( 'action' ) && vc_verify_admin_nonce() ) {
$taxonomies = get_taxonomies();
if ( is_array( $taxonomies ) && ! empty( $taxonomies ) ) {
foreach ( $taxonomies as $taxonomy ) {
$tax = get_taxonomy( $taxonomy );
if ( ( is_object( $tax ) && ( ! $tax->show_tagcloud || empty( $tax->labels->name ) ) ) || ! is_object( $tax ) ) {
continue;
}
$tag_taxonomies[ $tax->labels->name ] = esc_attr( $taxonomy );
}
}
}
return array(
'name' => 'WP ' . __( 'Tag Cloud' ),
'base' => 'vc_wp_tagcloud',
'icon' => 'icon-wpb-wp',
'category' => __( 'WordPress Widgets', 'js_composer' ),
'class' => 'wpb_vc_wp_widget',
'weight' => - 50,
'description' => __( 'Your most used tags in cloud format', 'js_composer' ),
'params' => array(
array(
'type' => 'textfield',
'heading' => __( 'Widget title', 'js_composer' ),
'param_name' => 'title',
'value' => __( 'Tags', 'js_composer' ),
'description' => __( 'What text use as a widget title. Leave blank to use default widget title.', 'js_composer' ),
),
array(
'type' => 'dropdown',
'heading' => __( 'Taxonomy', 'js_composer' ),
'param_name' => 'taxonomy',
'value' => $tag_taxonomies,
'description' => __( 'Select source for tag cloud.', 'js_composer' ),
'admin_label' => true,
'save_always' => true,
),
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' ),
),
),
);
@@ -0,0 +1,40 @@
<?php
if ( ! defined( 'ABSPATH' ) ) {
die( '-1' );
}
return array(
'name' => 'WP ' . __( 'Text' ),
'base' => 'vc_wp_text',
'icon' => 'icon-wpb-wp',
'category' => __( 'WordPress Widgets', 'js_composer' ),
'class' => 'wpb_vc_wp_widget',
'weight' => - 50,
'description' => __( 'Arbitrary text or HTML', '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' => 'textarea_html',
'holder' => 'div',
'heading' => __( 'Text', 'js_composer' ),
'param_name' => 'content',
),
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' ),
),
),
);