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,10 @@
|
||||
<?php
|
||||
if ( ! defined( 'ABSPATH' ) ) {
|
||||
die( '-1' );
|
||||
}
|
||||
|
||||
function vc_add_ie9_degradation() {
|
||||
echo '<!--[if lte IE 9]><link rel="stylesheet" type="text/css" href="' . vc_asset_url( 'css/vc_lte_ie9.min.css' ) . '" media="screen"><![endif]-->';
|
||||
}
|
||||
|
||||
add_action( 'vc_backend_editor_footer_render', 'vc_add_ie9_degradation' );
|
||||
@@ -0,0 +1,177 @@
|
||||
<?php
|
||||
if ( ! defined( 'ABSPATH' ) ) {
|
||||
die( '-1' );
|
||||
}
|
||||
// Part BC: Post types
|
||||
// =========================
|
||||
|
||||
function vc_bc_access_rule_48_post_type_get_state( $state ) {
|
||||
if ( null === $state ) {
|
||||
$content_types = vc_settings()->get( 'content_types' );
|
||||
if ( empty( $content_types ) ) {
|
||||
$state = true;
|
||||
} else {
|
||||
$state = 'custom';
|
||||
}
|
||||
}
|
||||
|
||||
return $state;
|
||||
}
|
||||
|
||||
function vc_bc_access_rule_48_post_type_rule( $value, $role, $rule ) {
|
||||
if ( ! $role ) {
|
||||
return $value;
|
||||
}
|
||||
global $vc_bc_access_rule_48_editor_post_types;
|
||||
$part = vc_role_access()->who( $role->name )->part( 'post_types' );
|
||||
if ( ! isset( $part->getRole()->capabilities[ $part->getStateKey() ] ) ) {
|
||||
if ( is_null( $vc_bc_access_rule_48_editor_post_types ) ) {
|
||||
$pt_array = vc_settings()->get( 'content_types' );
|
||||
$vc_bc_access_rule_48_editor_post_types = $pt_array ? $pt_array : vc_default_editor_post_types();
|
||||
}
|
||||
|
||||
return in_array( $rule, $vc_bc_access_rule_48_editor_post_types );
|
||||
}
|
||||
|
||||
return $value;
|
||||
}
|
||||
|
||||
// Part BC: shortcodes
|
||||
// =========================
|
||||
|
||||
function vc_bc_access_rule_48_shortcodes_get_state( $state, $role ) {
|
||||
if ( ! $role ) {
|
||||
return $state;
|
||||
}
|
||||
if ( null === $state ) {
|
||||
$group_access_settings = vc_settings()->get( 'groups_access_rules' );
|
||||
if ( ! isset( $group_access_settings[ $role->name ]['shortcodes'] ) ) {
|
||||
$state = true;
|
||||
} else {
|
||||
$state = 'custom';
|
||||
}
|
||||
}
|
||||
|
||||
return $state;
|
||||
}
|
||||
|
||||
function vc_bc_access_rule_48_shortcodes_rule( $value, $role, $rule ) {
|
||||
if ( ! $role ) {
|
||||
return $value;
|
||||
}
|
||||
if ( ! vc_bc_access_get_shortcodes_state_is_set( $role ) ) {
|
||||
if ( preg_match( '/_edit$/', $rule ) ) {
|
||||
return false;
|
||||
}
|
||||
$group_access_settings = vc_settings()->get( 'groups_access_rules' );
|
||||
if ( isset( $group_access_settings[ $role->name ]['shortcodes'] ) && ! empty( $group_access_settings[ $role->name ]['shortcodes'] ) ) {
|
||||
$rule = preg_replace( '/_all$/', '', $rule );
|
||||
|
||||
return 'vc_row' === $rule || ( isset( $group_access_settings[ $role->name ]['shortcodes'][ $rule ] ) && 1 === (int) $group_access_settings[ $role->name ]['shortcodes'][ $rule ] );
|
||||
} else {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
return $value;
|
||||
}
|
||||
|
||||
/**
|
||||
* Check is state set
|
||||
*
|
||||
* @param $role
|
||||
*
|
||||
* @return bool
|
||||
*/
|
||||
function vc_bc_access_get_shortcodes_state_is_set( $role ) {
|
||||
if ( ! $role ) {
|
||||
return false;
|
||||
}
|
||||
$part = vc_role_access()->who( $role->name )->part( 'shortcodes' );
|
||||
|
||||
return isset( $part->getRole()->capabilities[ $part->getStateKey() ] );
|
||||
}
|
||||
|
||||
// Part BC: backened editor
|
||||
// ===========================
|
||||
function vc_bc_access_rule_48_backend_editor_get_state( $state, $role ) {
|
||||
if ( ! $role ) {
|
||||
return $state;
|
||||
}
|
||||
if ( null === $state ) {
|
||||
$group_access_settings = vc_settings()->get( 'groups_access_rules' );
|
||||
if ( ! isset( $group_access_settings[ $role->name ]['show'] ) || 'all' === $group_access_settings[ $role->name ]['show'] ) {
|
||||
$state = true;
|
||||
} elseif ( 'no' === $group_access_settings[ $role->name ]['show'] ) {
|
||||
$state = false;
|
||||
} else {
|
||||
$state = 'default';
|
||||
}
|
||||
}
|
||||
|
||||
return $state;
|
||||
}
|
||||
|
||||
function vc_bc_access_rule_48_frontend_editor_get_state( $state, $role ) {
|
||||
if ( ! $role ) {
|
||||
return $state;
|
||||
}
|
||||
if ( null === $state ) {
|
||||
$group_access_settings = vc_settings()->get( 'groups_access_rules' );
|
||||
|
||||
if ( isset( $group_access_settings[ $role->name ]['show'] ) && 'no' === $group_access_settings[ $role->name ]['show'] ) {
|
||||
$state = false;
|
||||
} else {
|
||||
$state = true;
|
||||
}
|
||||
}
|
||||
|
||||
return $state;
|
||||
}
|
||||
|
||||
function vc_bc_access_rule_48_backend_editor_can_disabled_ce_editor_rule( $value, $role ) {
|
||||
if ( ! $role ) {
|
||||
return $value;
|
||||
}
|
||||
$part = vc_role_access()->who( $role->name )->part( 'backend_editor' );
|
||||
if ( ! isset( $part->getRole()->capabilities[ $part->getStateKey() ] ) ) {
|
||||
$group_access_settings = vc_settings()->get( 'groups_access_rules' );
|
||||
|
||||
return isset( $group_access_settings[ $role->name ]['show'] ) && 'only' === $group_access_settings[ $role->name ]['show'];
|
||||
}
|
||||
|
||||
return $value;
|
||||
}
|
||||
|
||||
function vc_bc_access_rule_48_backend_editor_add_cap_disabled_ce_editor( $role ) {
|
||||
if ( ! $role ) {
|
||||
return $role;
|
||||
}
|
||||
$part = vc_role_access()->who( $role->name )->part( 'backend_editor' );
|
||||
if ( ! isset( $part->getRole()->capabilities[ $part->getStateKey() ] ) ) {
|
||||
$group_access_settings = vc_settings()->get( 'groups_access_rules' );
|
||||
if ( isset( $group_access_settings[ $role->name ]['show'] ) && 'only' === $group_access_settings[ $role->name ]['show'] ) {
|
||||
$role->capabilities[ $part->getStateKey() . '/disabled_ce_editor' ] = true;
|
||||
}
|
||||
}
|
||||
|
||||
return $role;
|
||||
}
|
||||
|
||||
function vc_bc_access_rule_48() {
|
||||
add_filter( 'vc_role_access_with_post_types_get_state', 'vc_bc_access_rule_48_post_type_get_state' );
|
||||
add_filter( 'vc_role_access_with_post_types_can', 'vc_bc_access_rule_48_post_type_rule', 10, 3 );
|
||||
|
||||
add_filter( 'vc_role_access_with_shortcodes_get_state', 'vc_bc_access_rule_48_shortcodes_get_state', 10, 3 );
|
||||
add_filter( 'vc_role_access_with_shortcodes_can', 'vc_bc_access_rule_48_shortcodes_rule', 10, 3 );
|
||||
|
||||
add_filter( 'vc_role_access_with_backend_editor_get_state', 'vc_bc_access_rule_48_backend_editor_get_state', 10, 3 );
|
||||
add_filter( 'vc_role_access_with_backend_editor_can_disabled_ce_editor', 'vc_bc_access_rule_48_backend_editor_can_disabled_ce_editor_rule', 10, 2 );
|
||||
|
||||
add_filter( 'vc_role_access_with_frontend_editor_get_state', 'vc_bc_access_rule_48_frontend_editor_get_state', 10, 3 );
|
||||
|
||||
add_filter( 'vc_role_access_all_caps_role', 'vc_bc_access_rule_48_backend_editor_add_cap_disabled_ce_editor' );
|
||||
}
|
||||
|
||||
// BC function for shortcode
|
||||
add_action( 'vc_before_init', 'vc_bc_access_rule_48' );
|
||||
@@ -0,0 +1,19 @@
|
||||
<?php
|
||||
if ( ! defined( 'ABSPATH' ) ) {
|
||||
die( '-1' );
|
||||
}
|
||||
|
||||
add_action( 'vc_activation_hook', 'vc_bc_multisite_options', 9 );
|
||||
|
||||
function vc_bc_multisite_options( $networkWide ) {
|
||||
global $current_site;
|
||||
if ( ! is_multisite() || empty( $current_site ) || ! $networkWide || get_site_option( 'vc_bc_options_called', false ) || get_site_option( 'wpb_js_js_composer_purchase_code', false ) ) {
|
||||
return;
|
||||
}
|
||||
// Now we need to check BC with license keys
|
||||
$is_main_blog_activated = get_blog_option( (int) $current_site->id, 'wpb_js_js_composer_purchase_code' );
|
||||
if ( $is_main_blog_activated ) {
|
||||
update_site_option( 'wpb_js_js_composer_purchase_code', $is_main_blog_activated );
|
||||
}
|
||||
update_site_option( 'vc_bc_options_called', true );
|
||||
}
|
||||
@@ -0,0 +1,423 @@
|
||||
<?php
|
||||
if ( ! defined( 'ABSPATH' ) ) {
|
||||
die( '-1' );
|
||||
}
|
||||
|
||||
/**
|
||||
* Collection of static methods for work with settings presets
|
||||
*
|
||||
* @since 4.8
|
||||
*/
|
||||
class Vc_Settings_Preset {
|
||||
|
||||
/**
|
||||
* Get default preset id for specific shortcode
|
||||
*
|
||||
* @since 4.7
|
||||
*
|
||||
* @param string $shortcode_name
|
||||
*
|
||||
* @return mixed int|null
|
||||
*/
|
||||
public static function getDefaultSettingsPresetId( $shortcode_name = null ) {
|
||||
if ( ! $shortcode_name ) {
|
||||
return null;
|
||||
}
|
||||
|
||||
$args = array(
|
||||
'post_type' => 'vc_settings_preset',
|
||||
'post_mime_type' => self::constructShortcodeMimeType( $shortcode_name ),
|
||||
'posts_per_page' => - 1,
|
||||
'meta_key' => '_vc_default',
|
||||
'meta_value' => true,
|
||||
);
|
||||
|
||||
$posts = get_posts( $args );
|
||||
|
||||
if ( $posts ) {
|
||||
$default_id = $posts[0]->ID;
|
||||
} else {
|
||||
// check for vendor presets
|
||||
$default_id = vc_vendor_preset()->getDefaultId( $shortcode_name );
|
||||
}
|
||||
|
||||
return $default_id;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set existing preset as default
|
||||
*
|
||||
* If this is vendor preset, clone it and set new one as default
|
||||
*
|
||||
* @param int $id If falsy, no default will be set
|
||||
* @param string $shortcode_name
|
||||
*
|
||||
* @return boolean
|
||||
*
|
||||
* @since 4.7
|
||||
*/
|
||||
public static function setAsDefaultSettingsPreset( $id, $shortcode_name ) {
|
||||
$post_id = self::getDefaultSettingsPresetId( $shortcode_name );
|
||||
if ( $post_id ) {
|
||||
delete_post_meta( $post_id, '_vc_default' );
|
||||
}
|
||||
|
||||
if ( $id ) {
|
||||
if ( is_numeric( $id ) ) {
|
||||
// user preset
|
||||
|
||||
update_post_meta( $id, '_vc_default', true );
|
||||
} else {
|
||||
// vendor preset
|
||||
|
||||
$preset = vc_vendor_preset()->get( $id );
|
||||
|
||||
if ( ! $preset || $shortcode_name !== $preset['shortcode'] ) {
|
||||
return false;
|
||||
}
|
||||
|
||||
self::saveSettingsPreset( $preset['shortcode'], $preset['title'], json_encode( $preset['params'] ), true );
|
||||
}
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get mime type for specific shortcode
|
||||
*
|
||||
* @since 4.7
|
||||
*
|
||||
* @param $shortcode_name
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public static function constructShortcodeMimeType( $shortcode_name ) {
|
||||
return 'vc-settings-preset/' . str_replace( '_', '-', $shortcode_name );
|
||||
}
|
||||
|
||||
/**
|
||||
* Get shortcode name from post's mime type
|
||||
*
|
||||
* @since 4.7
|
||||
*
|
||||
* @param string $post_mime_type
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public static function extractShortcodeMimeType( $post_mime_type ) {
|
||||
$chunks = explode( '/', $post_mime_type );
|
||||
|
||||
if ( 2 !== count( $chunks ) ) {
|
||||
return '';
|
||||
}
|
||||
|
||||
return str_replace( '-', '_', $chunks[1] );
|
||||
}
|
||||
|
||||
/**
|
||||
* Get all presets
|
||||
*
|
||||
* @since 5.2
|
||||
*
|
||||
* @return array E.g. array(preset_id => value, preset_id => value, ...)
|
||||
*/
|
||||
public static function listAllPresets() {
|
||||
$list = array();
|
||||
|
||||
$args = array(
|
||||
'post_type' => 'vc_settings_preset',
|
||||
'posts_per_page' => - 1,
|
||||
);
|
||||
|
||||
// user presets
|
||||
$posts = get_posts( $args );
|
||||
foreach ( $posts as $post ) {
|
||||
$shortcode_name = self::extractShortcodeMimeType( $post->post_mime_type );
|
||||
$list[ $post->ID ] = (array) json_decode( $post->post_content );
|
||||
}
|
||||
|
||||
// vendor presets
|
||||
$presets = self::listDefaultVendorSettingsPresets();
|
||||
foreach ( $presets as $shortcode => $params ) {
|
||||
if ( ! isset( $list[ $shortcode ] ) ) {
|
||||
$list[ $shortcode ] = $params;
|
||||
}
|
||||
}
|
||||
|
||||
return $list;
|
||||
}
|
||||
/**
|
||||
* Get all default presets
|
||||
*
|
||||
* @since 4.7
|
||||
*
|
||||
* @return array E.g. array(shortcode_name => value, shortcode_name => value, ...)
|
||||
*/
|
||||
public static function listDefaultSettingsPresets() {
|
||||
$list = array();
|
||||
|
||||
$args = array(
|
||||
'post_type' => 'vc_settings_preset',
|
||||
'posts_per_page' => - 1,
|
||||
'meta_key' => '_vc_default',
|
||||
'meta_value' => true,
|
||||
);
|
||||
|
||||
// user presets
|
||||
$posts = get_posts( $args );
|
||||
foreach ( $posts as $post ) {
|
||||
$shortcode_name = self::extractShortcodeMimeType( $post->post_mime_type );
|
||||
$list[ $shortcode_name ] = (array) json_decode( $post->post_content );
|
||||
}
|
||||
|
||||
// vendor presets
|
||||
$presets = self::listDefaultVendorSettingsPresets();
|
||||
foreach ( $presets as $shortcode => $params ) {
|
||||
if ( ! isset( $list[ $shortcode ] ) ) {
|
||||
$list[ $shortcode ] = $params;
|
||||
}
|
||||
}
|
||||
|
||||
return $list;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get all default vendor presets
|
||||
*
|
||||
* @since 4.8
|
||||
*
|
||||
* @return array E.g. array(shortcode_name => value, shortcode_name => value, ...)
|
||||
*/
|
||||
public static function listDefaultVendorSettingsPresets() {
|
||||
$list = array();
|
||||
|
||||
$presets = vc_vendor_preset()->getDefaults();
|
||||
foreach ( $presets as $id => $preset ) {
|
||||
$list[ $preset['shortcode'] ] = $preset['params'];
|
||||
}
|
||||
|
||||
return $list;
|
||||
}
|
||||
|
||||
/**
|
||||
* Save shortcode preset
|
||||
*
|
||||
* @since 4.7
|
||||
*
|
||||
* @param string $shortcode_name
|
||||
* @param string $title
|
||||
* @param string $content
|
||||
* @param boolean $is_default
|
||||
*
|
||||
* @return mixed int|false Post ID
|
||||
*/
|
||||
public static function saveSettingsPreset( $shortcode_name, $title, $content, $is_default = false ) {
|
||||
$post_id = wp_insert_post( array(
|
||||
'post_title' => $title,
|
||||
'post_content' => $content,
|
||||
'post_status' => 'publish',
|
||||
'post_type' => 'vc_settings_preset',
|
||||
'post_mime_type' => self::constructShortcodeMimeType( $shortcode_name ),
|
||||
), false );
|
||||
|
||||
if ( $post_id && $is_default ) {
|
||||
self::setAsDefaultSettingsPreset( $post_id, $shortcode_name );
|
||||
}
|
||||
|
||||
return $post_id;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get list of all presets for specific shortcode
|
||||
*
|
||||
* @since 4.7
|
||||
*
|
||||
* @param string $shortcode_name
|
||||
*
|
||||
* @return array E.g. array(id1 => title1, id2 => title2, ...)
|
||||
*/
|
||||
public static function listSettingsPresets( $shortcode_name = null ) {
|
||||
$list = array();
|
||||
|
||||
if ( ! $shortcode_name ) {
|
||||
return $list;
|
||||
}
|
||||
|
||||
$args = array(
|
||||
'post_type' => 'vc_settings_preset',
|
||||
'orderby' => array( 'post_date' => 'DESC' ),
|
||||
'posts_per_page' => - 1,
|
||||
'post_mime_type' => self::constructShortcodeMimeType( $shortcode_name ),
|
||||
);
|
||||
|
||||
$posts = get_posts( $args );
|
||||
foreach ( $posts as $post ) {
|
||||
$list[ $post->ID ] = $post->post_title;
|
||||
}
|
||||
|
||||
return $list;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get list of all vendor presets for specific shortcode
|
||||
*
|
||||
* @since 4.8
|
||||
*
|
||||
* @param string $shortcode_name
|
||||
*
|
||||
* @return array E.g. array(id1 => title1, id2 => title2, ...)
|
||||
*/
|
||||
public static function listVendorSettingsPresets( $shortcode_name = null ) {
|
||||
$list = array();
|
||||
|
||||
if ( ! $shortcode_name ) {
|
||||
return $list;
|
||||
}
|
||||
|
||||
$presets = vc_vendor_preset()->getAll( $shortcode_name );
|
||||
|
||||
foreach ( $presets as $id => $preset ) {
|
||||
$list[ $id ] = $preset['title'];
|
||||
}
|
||||
|
||||
return $list;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get specific shortcode preset
|
||||
*
|
||||
* @since 4.7
|
||||
*
|
||||
* @param mixed $id Can be int (user preset) or string (vendor preset)
|
||||
* @param bool $array If true, return array instead of string
|
||||
*
|
||||
* @return mixed string?array Post content
|
||||
*/
|
||||
public static function getSettingsPreset( $id, $array = false ) {
|
||||
if ( is_numeric( $id ) ) {
|
||||
// user preset
|
||||
|
||||
$post = get_post( $id );
|
||||
|
||||
if ( ! $post ) {
|
||||
return false;
|
||||
}
|
||||
|
||||
$params = $array ? (array) json_decode( $post->post_content ) : $post->post_content;
|
||||
} else {
|
||||
// vendor preset
|
||||
|
||||
$preset = vc_vendor_preset()->get( $id );
|
||||
|
||||
if ( ! $preset ) {
|
||||
return false;
|
||||
}
|
||||
|
||||
$params = $preset['params'];
|
||||
}
|
||||
|
||||
return $params;
|
||||
}
|
||||
|
||||
/**
|
||||
* Delete shortcode preset
|
||||
*
|
||||
* @since 4.7
|
||||
*
|
||||
* @param int $post_id Post must be of type 'vc_settings_preset'
|
||||
*
|
||||
* @return bool
|
||||
*/
|
||||
public static function deleteSettingsPreset( $post_id ) {
|
||||
$post = get_post( $post_id );
|
||||
|
||||
if ( ! $post || 'vc_settings_preset' !== $post->post_type ) {
|
||||
return false;
|
||||
}
|
||||
|
||||
return (bool) wp_delete_post( $post_id, true );
|
||||
}
|
||||
|
||||
/**
|
||||
* Return rendered popup menu
|
||||
*
|
||||
* @since 4.7
|
||||
*
|
||||
* @param string $shortcode_name
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public static function getRenderedSettingsPresetPopup( $shortcode_name ) {
|
||||
$list_vendor_presets = self::listVendorSettingsPresets( $shortcode_name );
|
||||
$list_presets = self::listSettingsPresets( $shortcode_name );
|
||||
|
||||
$default_id = self::getDefaultSettingsPresetId( $shortcode_name );
|
||||
|
||||
if ( ! $default_id ) {
|
||||
$default_id = vc_vendor_preset()->getDefaultId( $shortcode_name );
|
||||
}
|
||||
|
||||
ob_start();
|
||||
vc_include_template( apply_filters( 'vc_render_settings_preset_popup', 'editors/partials/settings_presets_popup.tpl.php' ), array(
|
||||
'list_presets' => array(
|
||||
$list_presets,
|
||||
$list_vendor_presets,
|
||||
),
|
||||
'default_id' => $default_id,
|
||||
'shortcode_name' => $shortcode_name,
|
||||
) );
|
||||
|
||||
$html = ob_get_clean();
|
||||
|
||||
return $html;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param $shortcodes
|
||||
*
|
||||
* @return array
|
||||
*/
|
||||
public static function addVcPresetsToShortcodes( $shortcodes ) {
|
||||
if ( vc_user_access()->part( 'presets' )->can()->get() ) {
|
||||
$shortcodesAndPresets = array();
|
||||
|
||||
foreach ( $shortcodes as $shortcode ) {
|
||||
$presets = self::listSettingsPresets( $shortcode['base'] );
|
||||
$shortcodesAndPresets[ $shortcode['base'] ] = $shortcode;
|
||||
if ( ! empty( $presets ) ) {
|
||||
foreach ( $presets as $presetId => $preset ) {
|
||||
$params = self::getSettingsPreset( $presetId );
|
||||
$shortcodesAndPresets[ $presetId ] = array(
|
||||
'name' => $preset,
|
||||
'base' => $shortcode['base'],
|
||||
'description' => $shortcode['description'],
|
||||
'presetId' => $presetId,
|
||||
'_category_ids' => array( '_my_elements_' ),
|
||||
);
|
||||
|
||||
if ( isset( $shortcode['icon'] ) ) {
|
||||
$shortcodesAndPresets[ $presetId ]['icon'] = $shortcode['icon'];
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
return $shortcodesAndPresets;
|
||||
}
|
||||
|
||||
return $shortcodes;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param $category
|
||||
*
|
||||
* @return array
|
||||
*/
|
||||
public static function addPresetCategory( $category ) {
|
||||
$presetCategory = (array) '_my_elements_';
|
||||
$category = array_merge( $presetCategory, $category );
|
||||
|
||||
return $category;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,140 @@
|
||||
<?php
|
||||
if ( ! defined( 'ABSPATH' ) ) {
|
||||
die( '-1' );
|
||||
}
|
||||
|
||||
/**
|
||||
* Singleton to hold all vendor presets
|
||||
*
|
||||
* @since 4.8
|
||||
*/
|
||||
class Vc_Vendor_Preset {
|
||||
|
||||
private static $_instance;
|
||||
private static $presets = array();
|
||||
|
||||
public static function getInstance() {
|
||||
if ( ! self::$_instance ) {
|
||||
self::$_instance = new self();
|
||||
}
|
||||
|
||||
return self::$_instance;
|
||||
}
|
||||
|
||||
protected function __construct() {
|
||||
}
|
||||
|
||||
/**
|
||||
* Add vendor preset to collection
|
||||
*
|
||||
* @since 4.8
|
||||
*
|
||||
* @param string $title
|
||||
* @param string $shortcode
|
||||
* @param array $params
|
||||
* @param bool $default
|
||||
*
|
||||
* @return bool
|
||||
*/
|
||||
public function add( $title, $shortcode, $params, $default = false ) {
|
||||
if ( ! $title || ! is_string( $title ) || ! $shortcode || ! is_string( $shortcode ) || ! $params || ! is_array( $params ) ) {
|
||||
return false;
|
||||
}
|
||||
|
||||
$preset = array(
|
||||
'shortcode' => $shortcode,
|
||||
'default' => $default,
|
||||
'params' => $params,
|
||||
'title' => $title,
|
||||
);
|
||||
|
||||
$id = md5( serialize( $preset ) );
|
||||
|
||||
self::$presets[ $id ] = $preset;
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get specific vendor preset
|
||||
*
|
||||
* @since 4.8
|
||||
*
|
||||
* @param string $id
|
||||
*
|
||||
* @return mixed array|false
|
||||
*/
|
||||
public function get( $id ) {
|
||||
if ( isset( self::$presets[ $id ] ) ) {
|
||||
return self::$presets[ $id ];
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get all vendor presets for specific shortcode
|
||||
*
|
||||
* @since 4.8
|
||||
*
|
||||
* @param string $shortcode
|
||||
*
|
||||
* @return array
|
||||
*/
|
||||
public function getAll( $shortcode ) {
|
||||
$list = array();
|
||||
|
||||
foreach ( self::$presets as $id => $preset ) {
|
||||
if ( $shortcode === $preset['shortcode'] ) {
|
||||
$list[ $id ] = $preset;
|
||||
}
|
||||
}
|
||||
|
||||
return $list;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get all default vendor presets
|
||||
*
|
||||
* Include only one default preset per shortcode
|
||||
*
|
||||
* @since 4.8
|
||||
*
|
||||
* @return array
|
||||
*/
|
||||
public function getDefaults() {
|
||||
$list = array();
|
||||
|
||||
$added = array();
|
||||
|
||||
foreach ( self::$presets as $id => $preset ) {
|
||||
if ( $preset['default'] && ! in_array( $preset['shortcode'], $added ) ) {
|
||||
$added[] = $preset['shortcode'];
|
||||
$list[ $id ] = $preset;
|
||||
}
|
||||
}
|
||||
|
||||
return $list;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get ID of default preset for specific shortcode
|
||||
*
|
||||
* If multiple presets are default, return first
|
||||
*
|
||||
* @since 4.8
|
||||
*
|
||||
* @param string $shortcode
|
||||
*
|
||||
* @return string|null
|
||||
*/
|
||||
public function getDefaultId( $shortcode ) {
|
||||
foreach ( self::$presets as $id => $preset ) {
|
||||
if ( $shortcode === $preset['shortcode'] && $preset['default'] ) {
|
||||
return $id;
|
||||
}
|
||||
}
|
||||
|
||||
return null;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,46 @@
|
||||
{
|
||||
"params/hidden.php": "",
|
||||
"params/vc_grid_item.php": "",
|
||||
"vendors/acf.php": "",
|
||||
"vendors/cf7.php": "",
|
||||
"vendors/gravity_forms.php": "",
|
||||
"vendors/jwplayer.php": "",
|
||||
"vendors/layerslider.php": "",
|
||||
"vendors/mqtranslate.php": "",
|
||||
"vendors/ninja_forms.php": "",
|
||||
"vendors/qtranslate.php": "",
|
||||
"vendors/qtranslate-x.php": "",
|
||||
"vendors/revslider.php": "",
|
||||
"vendors/woocommerce.php": "",
|
||||
"vendors/wp_customize.php": "",
|
||||
"vendors/yoast_seo.php": "",
|
||||
"vendors/wpml.php": "",
|
||||
"vendors/gutenberg.php": "",
|
||||
"hook-vc-grid.php": "Logic for shortcode vc_grid",
|
||||
"hook-vc-iconpicker-param.php": "Logic for shortcode param iconpicker",
|
||||
"hook-vc-message.php": "Logic for shortcode vc_message",
|
||||
"hook-vc-progress-bar.php": "Logic for shortcode vc_progress_bar",
|
||||
"hook-vc-wp-text.php": "Logic for shortcode vc_wp_text fix",
|
||||
"hook-vc-pie.php": "Logic for shortcode vc_pie",
|
||||
"vc-grid-item-editor.php": "Create new post type vc_grid_item or Grid item",
|
||||
"ui-vc-pointers.php": "Integrating With WordPress’ UI: Admin Pointers",
|
||||
"vc-pages/automapper.php": "",
|
||||
"vc-pages/page-custom-css.php": "Vc Special pages.",
|
||||
"vc-pages/page-design-options.php": "Vc Special pages.",
|
||||
"vc-pages/page-role-manager.php": "Vc Special pages.",
|
||||
"vc-pages/pages.php": "Vc Special pages.",
|
||||
"vc-pages/settings-tabs.php": "Vc Special pages.",
|
||||
"vc-pages/welcome-screen.php": "Vc Special pages.",
|
||||
"vc-pointers-backend-editor.php": "Backend editor VC Pointers",
|
||||
"vc-pointers-frontend-editor.php": "Frontend editor VC Pointers",
|
||||
"vc-image-filters.php": "PHP class for photo effects like Instagram",
|
||||
"vc-settings-presets.php": "Logic for settings presets",
|
||||
"vc-single-image.php": "add bc for single image",
|
||||
"backend-editor-ie.php": "add ie9 degradation",
|
||||
"frontend-editor-ie.php": "add ie9 degradation",
|
||||
"params-to-init.php": "add required init params",
|
||||
"bc-access-rules-4.8.php": "BC for roles via filters >= VC 4.8",
|
||||
"post-type-default-template.php": "Load default templates",
|
||||
"bc-multisite-options.php": "BC for multisite options",
|
||||
"vc-undoredo.php": "Undo Redo logic"
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
<?php
|
||||
if ( ! defined( 'ABSPATH' ) ) {
|
||||
die( '-1' );
|
||||
}
|
||||
|
||||
add_action( 'vc_frontend_editor_render_template', 'vc_add_ie9_degradation' );
|
||||
@@ -0,0 +1,260 @@
|
||||
<?php
|
||||
if ( ! defined( 'ABSPATH' ) ) {
|
||||
die( '-1' );
|
||||
}
|
||||
|
||||
/**
|
||||
* Class Vc_Hooks_Vc_Grid
|
||||
* @since 4.4
|
||||
*/
|
||||
class Vc_Hooks_Vc_Grid implements Vc_Vendor_Interface {
|
||||
protected $grid_id_unique_name = 'vc_gid'; // if you change this also change in vc-basic-grid.php
|
||||
|
||||
/**
|
||||
* Initializing hooks for grid element,
|
||||
* Add actions to save appended shortcodes to post meta (for rendering in preview with shortcode id)
|
||||
* And add action to hook request for grid data, to output it.
|
||||
* @since 4.4
|
||||
*/
|
||||
public function load() {
|
||||
|
||||
// Hook for set post settings meta with shortcodes data
|
||||
/**
|
||||
* @since 4.4.3
|
||||
*/
|
||||
add_filter( 'vc_hooks_vc_post_settings', array(
|
||||
$this,
|
||||
'gridSavePostSettingsId',
|
||||
), 10, 3 );
|
||||
/**
|
||||
* Used to output shortcode data for ajax request. called on any page request.
|
||||
*/
|
||||
add_action( 'wp_ajax_vc_get_vc_grid_data', array(
|
||||
$this,
|
||||
'getGridDataForAjax',
|
||||
) );
|
||||
add_action( 'wp_ajax_nopriv_vc_get_vc_grid_data', array(
|
||||
$this,
|
||||
'getGridDataForAjax',
|
||||
) );
|
||||
}
|
||||
|
||||
/**
|
||||
* @since 4.4
|
||||
* @deprecated and should not be used and will be removed in future! since 4.4.3
|
||||
* @return string
|
||||
*/
|
||||
private function getShortcodeRegexForHash() {
|
||||
// _deprecated_function( 'Vc_Hooks_Vc_Grid: getShortcodeRegexForHash method', '4.4.3', 'getShortcodeRegexForId' );
|
||||
$tagnames = apply_filters( 'vc_grid_shortcodes_tags', array(
|
||||
'vc_basic_grid',
|
||||
'vc_masonry_grid',
|
||||
'vc_media_grid',
|
||||
'vc_masonry_media_grid',
|
||||
) ); // return only grid shortcodes
|
||||
$tagregexp = implode( '|', array_map( 'preg_quote', $tagnames ) );
|
||||
|
||||
// WARNING! Do not change this regex without changing do_shortcode_tag() and strip_shortcode_tag()
|
||||
// Also, see shortcode_unautop() and shortcode.js.
|
||||
return '\\[' // Opening bracket
|
||||
. '(\\[?)' // 1: Optional second opening bracket for escaping shortcodes: [[tag]]
|
||||
. "($tagregexp)" // 2: Shortcode name
|
||||
. '(?![\\w-])' // Not followed by word character or hyphen
|
||||
. '(' // 3: Unroll the loop: Inside the opening shortcode tag
|
||||
. '[^\\]\\/]*' // Not a closing bracket or forward slash
|
||||
. '(?:' . '\\/(?!\\])' // A forward slash not followed by a closing bracket
|
||||
. '[^\\]\\/]*' // Not a closing bracket or forward slash
|
||||
. ')*?' . ')' . '(?:' . '(\\/)' // 4: Self closing tag ...
|
||||
. '\\]' // ... and closing bracket
|
||||
. '|' . '\\]' // Closing bracket
|
||||
. '(?:' . '(' // 5: Unroll the loop: Optionally, anything between the opening and closing shortcode tags
|
||||
. '[^\\[]*+' // Not an opening bracket
|
||||
. '(?:' . '\\[(?!\\/\\2\\])' // An opening bracket not followed by the closing shortcode tag
|
||||
. '[^\\[]*+' // Not an opening bracket
|
||||
. ')*+' . ')' . '\\[\\/\\2\\]' // Closing shortcode tag
|
||||
. ')?' . ')' . '(\\]?)'; // 6: Optional second closing brocket for escaping shortcodes: [[tag]]
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* @since 4.4.3
|
||||
* @return string
|
||||
*/
|
||||
private function getShortcodeRegexForId() {
|
||||
return '\\[' // Opening bracket
|
||||
. '(\\[?)' // 1: Optional second opening bracket for escaping shortcodes: [[tag]]
|
||||
. '([\\w\-_]+)' // 2: Shortcode name
|
||||
. '(?![\\w-])' // Not followed by word character or hyphen
|
||||
. '(' // 3: Unroll the loop: Inside the opening shortcode tag
|
||||
. '[^\\]\\/]*' // Not a closing bracket or forward slash
|
||||
. '(?:' . '\\/(?!\\])' // A forward slash not followed by a closing bracket
|
||||
. '[^\\]\\/]*' // Not a closing bracket or forward slash
|
||||
. ')*?'
|
||||
|
||||
. '(?:' . '(' . $this->grid_id_unique_name // 4: GridId must exist
|
||||
. '[^\\]\\/]*' // Not a closing bracket or forward slash
|
||||
. ')+' . ')'
|
||||
|
||||
. ')' . '(?:' . '(\\/)' // 5: Self closing tag ...
|
||||
. '\\]' // ... and closing bracket
|
||||
. '|' . '\\]' // Closing bracket
|
||||
. '(?:' . '(' // 6: Unroll the loop: Optionally, anything between the opening and closing shortcode tags
|
||||
. '[^\\[]*+' // Not an opening bracket
|
||||
. '(?:' . '\\[(?!\\/\\2\\])' // An opening bracket not followed by the closing shortcode tag
|
||||
. '[^\\[]*+' // Not an opening bracket
|
||||
. ')*+' . ')' . '\\[\\/\\2\\]' // Closing shortcode tag
|
||||
. ')?' . ')' . '(\\]?)'; // 7: Optional second closing brocket for escaping shortcodes: [[tag]]
|
||||
}
|
||||
|
||||
/**
|
||||
* Set page meta box values with vc_adv_pager shortcodes data
|
||||
* @since 4.4
|
||||
* @deprecated 4.4.3
|
||||
*
|
||||
* @param array $settings
|
||||
* @param $post_id
|
||||
* @param $post
|
||||
*
|
||||
* @return array - shortcode settings to save.
|
||||
*/
|
||||
public function gridSavePostSettings( array $settings, $post_id, $post ) {
|
||||
_deprecated_function( 'Vc_Hooks_Vc_Grid: gridSavePostSettings method', '4.4.3 (will be removed in 5.3)', 'gridSavePostSettingsId' );
|
||||
|
||||
$pattern = $this->getShortcodeRegexForHash();
|
||||
preg_match_all( "/$pattern/", $post->post_content, $found ); // fetch only needed shortcodes
|
||||
$settings['vc_grid'] = array();
|
||||
if ( is_array( $found ) && ! empty( $found[0] ) ) {
|
||||
$to_save = array();
|
||||
if ( isset( $found[3] ) && is_array( $found[3] ) ) {
|
||||
foreach ( $found[3] as $key => $shortcode_atts ) {
|
||||
if ( false !== strpos( $shortcode_atts, 'vc_gid:' ) ) {
|
||||
continue;
|
||||
}
|
||||
$atts = shortcode_parse_atts( $shortcode_atts );
|
||||
$data = array(
|
||||
'tag' => $found[2][ $key ],
|
||||
'atts' => $atts,
|
||||
'content' => $found[5][ $key ],
|
||||
);
|
||||
$hash = sha1( serialize( $data ) );
|
||||
$to_save[ $hash ] = $data;
|
||||
}
|
||||
}
|
||||
if ( ! empty( $to_save ) ) {
|
||||
$settings['vc_grid'] = array( 'shortcodes' => $to_save );
|
||||
}
|
||||
}
|
||||
|
||||
return $settings;
|
||||
}
|
||||
|
||||
/**
|
||||
* @since 4.4.3
|
||||
*
|
||||
* @param array $settings
|
||||
* @param $post_id
|
||||
* @param $post
|
||||
*
|
||||
* @return array
|
||||
*/
|
||||
public function gridSavePostSettingsId( array $settings, $post_id, $post ) {
|
||||
$pattern = $this->getShortcodeRegexForId();
|
||||
$content = stripslashes( $post->post_content );
|
||||
preg_match_all( "/$pattern/", $content, $found ); // fetch only needed shortcodes
|
||||
if ( is_array( $found ) && ! empty( $found[0] ) ) {
|
||||
$to_save = array();
|
||||
if ( isset( $found[1] ) && is_array( $found[1] ) ) {
|
||||
foreach ( $found[1] as $key => $parse_able ) {
|
||||
if ( empty( $parse_able ) || '[' !== $parse_able ) {
|
||||
$id_pattern = '/' . $this->grid_id_unique_name . '\:([\w\-_]+)/';
|
||||
$id_value = $found[4][ $key ];
|
||||
|
||||
preg_match( $id_pattern, $id_value, $id_matches );
|
||||
|
||||
if ( ! empty( $id_matches ) ) {
|
||||
$id_to_save = $id_matches[1];
|
||||
|
||||
// why we need to check if shortcode is parse able?
|
||||
// 1: if it is escaped it must not be displayed (parsed)
|
||||
// 2: so if 1 is true it must not be saved in database meta
|
||||
$shortcode_tag = $found[2][ $key ];
|
||||
$shortcode_atts_string = $found[3][ $key ];
|
||||
/** @var $atts array */
|
||||
$atts = shortcode_parse_atts( $shortcode_atts_string );
|
||||
$content = $found[6][ $key ];
|
||||
$data = array(
|
||||
'tag' => $shortcode_tag,
|
||||
'atts' => $atts,
|
||||
'content' => $content,
|
||||
);
|
||||
|
||||
$to_save[ $id_to_save ] = $data;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
if ( ! empty( $to_save ) ) {
|
||||
$settings['vc_grid_id'] = array( 'shortcodes' => $to_save );
|
||||
}
|
||||
}
|
||||
|
||||
return $settings;
|
||||
}
|
||||
|
||||
/**
|
||||
* @since 4.4
|
||||
*
|
||||
* @output/@return string - grid data for ajax request.
|
||||
*/
|
||||
public function getGridDataForAjax() {
|
||||
$tag = str_replace( '.', '', vc_request_param( 'tag' ) );
|
||||
$allowed = apply_filters( 'vc_grid_get_grid_data_access', vc_verify_public_nonce() && $tag, $tag );
|
||||
if ( $allowed ) {
|
||||
$shortcode_fishbone = visual_composer()->getShortCode( $tag );
|
||||
if ( is_object( $shortcode_fishbone ) && vc_get_shortcode( $tag ) ) {
|
||||
/** @var $vc_grid WPBakeryShortcode_Vc_Basic_Grid */
|
||||
$vc_grid = $shortcode_fishbone->shortcodeClass();
|
||||
if ( method_exists( $vc_grid, 'isObjectPageable' ) && $vc_grid->isObjectPageable() && method_exists( $vc_grid, 'renderAjax' ) ) {
|
||||
echo $vc_grid->renderAjax( vc_request_param( 'data' ) );
|
||||
die();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* @since 4.4
|
||||
* @var Vc_Hooks_Vc_Grid $hook
|
||||
*/
|
||||
$hook = new Vc_Hooks_Vc_Grid();
|
||||
|
||||
// when WPBakery Page Builder initialized let's trigger Vc_Grid hooks.
|
||||
add_action( 'vc_after_init', array(
|
||||
$hook,
|
||||
'load',
|
||||
) );
|
||||
|
||||
if ( 'vc_edit_form' === vc_post_param( 'action' ) ) {
|
||||
VcShortcodeAutoloader::getInstance()->includeClass( 'WPBakeryShortCode_VC_Basic_Grid' );
|
||||
|
||||
add_filter( 'vc_edit_form_fields_attributes_vc_basic_grid', array(
|
||||
'WPBakeryShortCode_VC_Basic_Grid',
|
||||
'convertButton2ToButton3',
|
||||
) );
|
||||
|
||||
add_filter( 'vc_edit_form_fields_attributes_vc_media_grid', array(
|
||||
'WPBakeryShortCode_VC_Basic_Grid',
|
||||
'convertButton2ToButton3',
|
||||
) );
|
||||
|
||||
add_filter( 'vc_edit_form_fields_attributes_vc_masonry_grid', array(
|
||||
'WPBakeryShortCode_VC_Basic_Grid',
|
||||
'convertButton2ToButton3',
|
||||
) );
|
||||
|
||||
add_filter( 'vc_edit_form_fields_attributes_vc_masonry_media_grid', array(
|
||||
'WPBakeryShortCode_VC_Basic_Grid',
|
||||
'convertButton2ToButton3',
|
||||
) );
|
||||
}
|
||||
@@ -0,0 +1,87 @@
|
||||
<?php
|
||||
if ( ! defined( 'ABSPATH' ) ) {
|
||||
die( '-1' );
|
||||
}
|
||||
|
||||
/***
|
||||
* @since 4.4
|
||||
* Hook Vc-Iconpicker-Param.php
|
||||
*
|
||||
* Adds actions and filters for iconpicker param.
|
||||
* Used to:
|
||||
* - register/enqueue icons fonts for admin pages
|
||||
* - register/enqueue js for iconpicker param
|
||||
* - register/enqueue css for iconpicker param
|
||||
*/
|
||||
|
||||
// @see Vc_Base::frontCss, used to append actions when frontCss(frontend editor/and real view mode) method called
|
||||
// This action registers all styles(fonts) to be enqueue later
|
||||
add_action( 'vc_base_register_front_css', 'vc_iconpicker_base_register_css' );
|
||||
|
||||
// @see Vc_Base::registerAdminCss, used to append action when registerAdminCss(backend editor) method called
|
||||
// This action registers all styles(fonts) to be enqueue later
|
||||
add_action( 'vc_base_register_admin_css', 'vc_iconpicker_base_register_css' );
|
||||
|
||||
// @see Vc_Base::registerAdminJavascript, used to append action when registerAdminJavascript(backend/frontend editor) method called
|
||||
// This action will register needed js file, and also you can use it for localizing js.
|
||||
add_action( 'vc_base_register_admin_js', 'vc_iconpicker_base_register_js' );
|
||||
|
||||
// @see Vc_Backend_Editor::printScriptsMessages (wp-content/plugins/js_composer/include/classes/editors/class-vc-backend-editor.php),
|
||||
// used to enqueue needed js/css files when backend editor is rendering
|
||||
add_action( 'vc_backend_editor_enqueue_js_css', 'vc_iconpicker_editor_jscss' );
|
||||
// @see Vc_Frontend_Editor::enqueueAdmin (wp-content/plugins/js_composer/include/classes/editors/class-vc-frontend-editor.php),
|
||||
// used to enqueue needed js/css files when frontend editor is rendering
|
||||
add_action( 'vc_frontend_editor_enqueue_js_css', 'vc_iconpicker_editor_jscss' );
|
||||
|
||||
/**
|
||||
* This action registers all styles(fonts) to be enqueue later
|
||||
* @see filter 'vc_base_register_front_css' - preview/frontend-editor
|
||||
* filter 'vc_base_register_admin_css' - backend editor
|
||||
*
|
||||
* @since 4.4
|
||||
*/
|
||||
function vc_iconpicker_base_register_css() {
|
||||
// Vc Icon picker fonts:
|
||||
wp_register_style( 'font-awesome', vc_asset_url( 'lib/bower/font-awesome/css/font-awesome.min.css' ), array(), WPB_VC_VERSION );
|
||||
wp_register_style( 'vc_typicons', vc_asset_url( 'css/lib/typicons/src/font/typicons.min.css' ), false, WPB_VC_VERSION );
|
||||
wp_register_style( 'vc_openiconic', vc_asset_url( 'css/lib/vc-open-iconic/vc_openiconic.min.css' ), false, WPB_VC_VERSION );
|
||||
wp_register_style( 'vc_linecons', vc_asset_url( 'css/lib/vc-linecons/vc_linecons_icons.min.css' ), false, WPB_VC_VERSION );
|
||||
wp_register_style( 'vc_entypo', vc_asset_url( 'css/lib/vc-entypo/vc_entypo.min.css' ), false, WPB_VC_VERSION );
|
||||
wp_register_style( 'vc_monosocialiconsfont', vc_asset_url( 'css/lib/monosocialiconsfont/monosocialiconsfont.min.css' ), false, WPB_VC_VERSION );
|
||||
wp_register_style( 'vc_material', vc_asset_url( 'css/lib/vc-material/vc_material.min.css' ), false, WPB_VC_VERSION );
|
||||
// Theme
|
||||
wp_register_style( 'vc-icon-picker-main-css', vc_asset_url( 'lib/bower/vcIconPicker/css/jquery.fonticonpicker.min.css' ), false, WPB_VC_VERSION );
|
||||
wp_register_style( 'vc-icon-picker-main-css-theme', vc_asset_url( 'lib/bower/vcIconPicker/themes/grey-theme/jquery.fonticonpicker.vcgrey.min.css' ), false, WPB_VC_VERSION );
|
||||
}
|
||||
|
||||
/**
|
||||
* Register admin js for iconpicker functionality
|
||||
*
|
||||
* @since 4.4
|
||||
*/
|
||||
function vc_iconpicker_base_register_js() {
|
||||
wp_register_script( 'vc-icon-picker', vc_asset_url( 'lib/bower/vcIconPicker/jquery.fonticonpicker.min.js' ), array( 'jquery' ), WPB_VC_VERSION );
|
||||
}
|
||||
|
||||
/**
|
||||
* Enqueue ALL fonts/styles for Editor(admin) mode. (to allow easy change icons)
|
||||
* - To append your icons fonts add action:
|
||||
* vc_backend_editor_enqueue_jscss and vc_frontend_editor_enqueue_jscss
|
||||
*
|
||||
* @since 4.4
|
||||
*/
|
||||
function vc_iconpicker_editor_jscss() {
|
||||
// Enqueue js and theme css files
|
||||
wp_enqueue_script( 'vc-icon-picker' );
|
||||
wp_enqueue_style( 'vc-icon-picker-main-css' );
|
||||
wp_enqueue_style( 'vc-icon-picker-main-css-theme' );
|
||||
|
||||
// Fonts
|
||||
wp_enqueue_style( 'font-awesome' );
|
||||
wp_enqueue_style( 'vc_openiconic' );
|
||||
wp_enqueue_style( 'vc_typicons' );
|
||||
wp_enqueue_style( 'vc_entypo' );
|
||||
wp_enqueue_style( 'vc_linecons' );
|
||||
wp_enqueue_style( 'vc_monosocialiconsfont' );
|
||||
wp_enqueue_style( 'vc_material' );
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
<?php
|
||||
if ( ! defined( 'ABSPATH' ) ) {
|
||||
die( '-1' );
|
||||
}
|
||||
|
||||
if ( 'vc_edit_form' === vc_post_param( 'action' ) ) {
|
||||
VcShortcodeAutoloader::getInstance()->includeClass( 'WPBakeryShortCode_VC_Message' );
|
||||
|
||||
add_filter( 'vc_edit_form_fields_attributes_vc_message', array(
|
||||
'WPBakeryShortCode_VC_Message',
|
||||
'convertAttributesToMessageBox2',
|
||||
) );
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
<?php
|
||||
if ( ! defined( 'ABSPATH' ) ) {
|
||||
die( '-1' );
|
||||
}
|
||||
if ( 'vc_edit_form' === vc_post_param( 'action' ) ) {
|
||||
VcShortcodeAutoloader::getInstance()->includeClass( 'WPBakeryShortCode_Vc_Pie' );
|
||||
|
||||
add_filter( 'vc_edit_form_fields_attributes_vc_pie', array(
|
||||
'WPBakeryShortCode_VC_Pie',
|
||||
'convertOldColorsToNew',
|
||||
) );
|
||||
}
|
||||
@@ -0,0 +1,14 @@
|
||||
<?php
|
||||
if ( ! defined( 'ABSPATH' ) ) {
|
||||
die( '-1' );
|
||||
}
|
||||
|
||||
if ( 'vc_edit_form' === vc_post_param( 'action' ) ) {
|
||||
VcShortcodeAutoloader::getInstance()
|
||||
->includeClass( 'WPBakeryShortCode_VC_Progress_Bar' );
|
||||
|
||||
add_filter( 'vc_edit_form_fields_attributes_vc_progress_bar', array(
|
||||
'WPBakeryShortCode_VC_Progress_Bar',
|
||||
'convertAttributesToNewProgressBar',
|
||||
) );
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
<?php
|
||||
if ( ! defined( 'ABSPATH' ) ) {
|
||||
die( '-1' );
|
||||
}
|
||||
|
||||
if ( 'vc_edit_form' === vc_post_param( 'action' ) ) {
|
||||
VcShortcodeAutoloader::getInstance()->includeClass( 'WPBakeryShortCode_VC_Wp_Text' );
|
||||
|
||||
add_filter( 'vc_edit_form_fields_attributes_vc_wp_text', array(
|
||||
'WPBakeryShortCode_VC_Wp_Text',
|
||||
'convertTextAttributeToContent',
|
||||
) );
|
||||
}
|
||||
@@ -0,0 +1,62 @@
|
||||
<?php
|
||||
if ( ! defined( 'ABSPATH' ) ) {
|
||||
die( '-1' );
|
||||
}
|
||||
|
||||
add_filter( 'vc_edit_form_fields_optional_params', 'vc_edit_for_fields_add_optional_params' );
|
||||
|
||||
if ( 'vc_edit_form' === vc_post_param( 'action' ) ) {
|
||||
add_action( 'vc_edit_form_fields_after_render', 'vc_output_required_params_to_init' );
|
||||
add_filter( 'vc_edit_form_fields_optional_params', 'vc_edit_for_fields_add_optional_params' );
|
||||
}
|
||||
|
||||
function vc_edit_for_fields_add_optional_params( $params ) {
|
||||
$arr = array(
|
||||
'hidden',
|
||||
'textfield',
|
||||
'dropdown',
|
||||
'checkbox',
|
||||
'posttypes',
|
||||
'taxonomies',
|
||||
'taxomonies',
|
||||
'exploded_textarea',
|
||||
'textarea_raw_html',
|
||||
'textarea_safe',
|
||||
'textarea',
|
||||
'attach_images',
|
||||
'attach_image',
|
||||
'widgetised_sidebars',
|
||||
'colorpicker',
|
||||
'loop',
|
||||
'vc_link',
|
||||
'sorted_list',
|
||||
'tab_id',
|
||||
'href',
|
||||
'custom_markup',
|
||||
'animation_style',
|
||||
'iconpicker',
|
||||
'el_id',
|
||||
'vc_grid_item',
|
||||
'google_fonts',
|
||||
);
|
||||
$params = array_values( array_unique( array_merge( $params, $arr ) ) );
|
||||
|
||||
return $params;
|
||||
}
|
||||
|
||||
function vc_output_required_params_to_init() {
|
||||
$params = WpbakeryShortcodeParams::getRequiredInitParams();
|
||||
|
||||
$js_array = array();
|
||||
foreach ( $params as $param ) {
|
||||
$js_array[] = '"' . $param . '"';
|
||||
}
|
||||
|
||||
echo '
|
||||
<script type="text/javascript">
|
||||
if ( window.vc ) {
|
||||
window.vc.required_params_to_init = [' . implode( ',', $js_array ) . '];
|
||||
}
|
||||
</script>
|
||||
';
|
||||
}
|
||||
@@ -0,0 +1,14 @@
|
||||
<?php
|
||||
if ( ! defined( 'ABSPATH' ) ) {
|
||||
die( '-1' );
|
||||
}
|
||||
|
||||
/**
|
||||
* required hooks for hidden field.
|
||||
* @since 4.5
|
||||
*/
|
||||
require_once vc_path_dir( 'PARAMS_DIR', 'hidden/hidden.php' );
|
||||
|
||||
vc_add_shortcode_param( 'hidden', 'vc_hidden_form_field' );
|
||||
add_filter( 'vc_edit_form_fields_render_field_hidden_before', 'vc_edit_form_fields_render_field_hidden_before' );
|
||||
add_filter( 'vc_edit_form_fields_render_field_hidden_after', 'vc_edit_form_fields_render_field_hidden_after' );
|
||||
@@ -0,0 +1,160 @@
|
||||
<?php
|
||||
if ( ! defined( 'ABSPATH' ) ) {
|
||||
die( '-1' );
|
||||
}
|
||||
|
||||
function vc_vc_grid_item_form_field( $settings, $value ) {
|
||||
require_once vc_path_dir( 'PARAMS_DIR', 'vc_grid_item/editor/class-vc-grid-item-editor.php' );
|
||||
require_once vc_path_dir( 'PARAMS_DIR', 'vc_grid_item/class-vc-grid-item.php' );
|
||||
$output = '<div data-vc-grid-element="container">'
|
||||
. '<select data-vc-grid-element="value" type="hidden" name="' . $settings['param_name']
|
||||
. '" class="wpb_vc_param_value wpb-select '
|
||||
. $settings['param_name'] . ' ' . $settings['type'] . '_field" '
|
||||
. '>';
|
||||
$vc_grid_item_templates = Vc_Grid_Item::predefinedTemplates();
|
||||
if ( is_array( $vc_grid_item_templates ) ) {
|
||||
foreach ( $vc_grid_item_templates as $key => $data ) {
|
||||
$output .= '<option data-vc-link="'
|
||||
. esc_url( admin_url( 'post-new.php?post_type=vc_grid_item&vc_gitem_template=' . $key ) )
|
||||
. '" value="' . $key . '"'
|
||||
. ( $key === $value ? ' selected="true"' : '' )
|
||||
. '>' . esc_html( $data['name'] ) . '</option>';
|
||||
}
|
||||
}
|
||||
|
||||
$grid_item_posts = get_posts( array(
|
||||
'posts_per_page' => '-1',
|
||||
'orderby' => 'post_title',
|
||||
'post_type' => Vc_Grid_Item_Editor::postType(),
|
||||
) );
|
||||
foreach ( $grid_item_posts as $post ) {
|
||||
$output .= '<option data-vc-link="' . esc_url( get_edit_post_link( $post->ID ) ) . '"value="' . $post->ID . '"'
|
||||
. ( (string) $post->ID === $value ? ' selected="true"' : '' )
|
||||
. '>' . esc_html( $post->post_title ) . '</option>';
|
||||
}
|
||||
$output .= '</select></div>';
|
||||
|
||||
return $output;
|
||||
}
|
||||
|
||||
function vc_load_vc_grid_item_param() {
|
||||
vc_add_shortcode_param(
|
||||
'vc_grid_item',
|
||||
'vc_vc_grid_item_form_field'
|
||||
);
|
||||
}
|
||||
|
||||
add_action( 'vc_load_default_params', 'vc_load_vc_grid_item_param' );
|
||||
function vc_gitem_post_data_get_link_target_frontend_editor( $target ) {
|
||||
return ' target="_blank"';
|
||||
}
|
||||
function vc_gitem_post_data_get_link_rel_frontend_editor( $rel ) {
|
||||
return ' rel="' . $rel . '"';
|
||||
}
|
||||
|
||||
function vc_gitem_create_link( $atts, $default_class = '', $title = '' ) {
|
||||
$link = '';
|
||||
$target = '';
|
||||
$rel = '';
|
||||
$title_attr = '';
|
||||
$css_class = 'vc_gitem-link' . ( strlen( $default_class ) > 0 ? ' ' . $default_class : '' );
|
||||
if ( isset( $atts['link'] ) ) {
|
||||
if ( 'custom' === $atts['link'] && ! empty( $atts['url'] ) ) {
|
||||
$link = vc_build_link( $atts['url'] );
|
||||
if ( strlen( $link['target'] ) ) {
|
||||
$target = ' target="' . esc_attr( $link['target'] ) . '"';
|
||||
}
|
||||
if ( strlen( $link['rel'] ) ) {
|
||||
$rel = ' rel="' . esc_attr( $link['rel'] ) . '"';
|
||||
}
|
||||
if ( strlen( $link['title'] ) ) {
|
||||
$title = $link['title'];
|
||||
}
|
||||
$link = 'a href="' . esc_attr( $link['url'] ) . '" class="' . esc_attr( $css_class ) . '"';
|
||||
} elseif ( 'post_link' === $atts['link'] ) {
|
||||
$link = 'a href="{{ post_link_url }}" class="' . esc_attr( $css_class ) . '"';
|
||||
if ( ! strlen( $title ) ) {
|
||||
$title = '{{ post_title }}';
|
||||
}
|
||||
} elseif ( 'post_author' === $atts['link'] ) {
|
||||
$link = 'a href="{{ post_author_href }}" class="' . esc_attr( $css_class ) . '"';
|
||||
if ( ! strlen( $title ) ) {
|
||||
$title = '{{ post_author }}';
|
||||
}
|
||||
} elseif ( 'image' === $atts['link'] ) {
|
||||
$link = 'a{{ post_image_url_href }} class="' . esc_attr( $css_class ) . '"';
|
||||
} elseif ( 'image_lightbox' === $atts['link'] ) {
|
||||
$link = 'a{{ post_image_url_attr_prettyphoto:' . $css_class . ' }}';
|
||||
}
|
||||
}
|
||||
if ( strlen( $title ) > 0 ) {
|
||||
$title_attr = ' title="' . esc_attr( $title ) . '"';
|
||||
}
|
||||
|
||||
return apply_filters( 'vc_gitem_post_data_get_link_link', $link, $atts, $css_class )
|
||||
. apply_filters( 'vc_gitem_post_data_get_link_target', $target, $atts )
|
||||
. apply_filters( 'vc_gitem_post_data_get_link_rel', $rel, $atts )
|
||||
. apply_filters( 'vc_gitem_post_data_get_link_title', $title_attr, $atts );
|
||||
}
|
||||
|
||||
function vc_gitem_create_link_real( $atts, $post, $default_class = '', $title = '' ) {
|
||||
$link = '';
|
||||
$target = '';
|
||||
$rel = '';
|
||||
$title_attr = '';
|
||||
$link_css_class = 'vc_gitem-link';
|
||||
if ( isset( $atts['link'] ) ) {
|
||||
$link_css_class = 'vc_gitem-link' . ( strlen( $default_class ) > 0 ? ' ' . $default_class : '' );
|
||||
if ( strlen( $atts['el_class'] ) > 0 ) {
|
||||
$link_css_class .= ' ' . $atts['el_class'];
|
||||
}
|
||||
$link_css_class = trim( preg_replace( '/\s+/', ' ', $link_css_class ) );
|
||||
if ( 'custom' === $atts['link'] && ! empty( $atts['url'] ) ) {
|
||||
$link = vc_build_link( $atts['url'] );
|
||||
if ( strlen( $link['target'] ) ) {
|
||||
$target = ' target="' . esc_attr( $link['target'] ) . '"';
|
||||
}
|
||||
if ( strlen( $link['rel'] ) ) {
|
||||
$rel = ' rel="' . esc_attr( $link['rel'] ) . '"';
|
||||
}
|
||||
if ( strlen( $link['title'] ) ) {
|
||||
$title = $link['title'];
|
||||
}
|
||||
$link = 'a href="' . esc_attr( $link['url'] ) . '" class="' . esc_attr( $link_css_class ) . '"';
|
||||
} elseif ( 'post_link' === $atts['link'] ) {
|
||||
$link = 'a href="' . get_permalink( $post->ID ) . '" class="' . esc_attr( $link_css_class ) . '"';
|
||||
if ( ! strlen( $title ) ) {
|
||||
$title = the_title( '', '', false );
|
||||
}
|
||||
} elseif ( 'image' === $atts['link'] ) {
|
||||
$href_link = vc_gitem_template_attribute_post_image_url( '', array( 'post' => $post, 'data' => '' ) );
|
||||
$link = 'a href="' . $href_link . '" class="' . esc_attr( $link_css_class ) . '"';
|
||||
} elseif ( 'image_lightbox' === $atts['link'] ) {
|
||||
$link = 'a' . vc_gitem_template_attribute_post_image_url_attr_prettyphoto( '', array(
|
||||
'post' => $post,
|
||||
'data' => esc_attr( $link_css_class ),
|
||||
) );
|
||||
}
|
||||
}
|
||||
if ( strlen( $title ) > 0 ) {
|
||||
$title_attr = ' title="' . esc_attr( $title ) . '"';
|
||||
}
|
||||
|
||||
return apply_filters( 'vc_gitem_post_data_get_link_real_link', $link, $atts, $post, $link_css_class )
|
||||
. apply_filters( 'vc_gitem_post_data_get_link_real_target', $target, $atts, $post )
|
||||
. apply_filters( 'vc_gitem_post_data_get_link_real_rel', $rel, $atts, $post )
|
||||
. apply_filters( 'vc_gitem_post_data_get_link_real_title', $title_attr, $atts );
|
||||
}
|
||||
|
||||
function vc_gitem_post_data_get_link_link_frontend_editor( $link ) {
|
||||
return empty( $link ) ? 'a' : $link;
|
||||
}
|
||||
|
||||
if ( vc_is_page_editable() ) {
|
||||
add_filter( 'vc_gitem_post_data_get_link_link', 'vc_gitem_post_data_get_link_link_frontend_editor' );
|
||||
add_filter( 'vc_gitem_post_data_get_link_real_link', 'vc_gitem_post_data_get_link_link_frontend_editor' );
|
||||
add_filter( 'vc_gitem_post_data_get_link_target', 'vc_gitem_post_data_get_link_target_frontend_editor' );
|
||||
add_filter( 'vc_gitem_post_data_get_link_rel', 'vc_gitem_post_data_get_link_rel_frontend_editor' );
|
||||
add_filter( 'vc_gitem_post_data_get_link_real_target', 'vc_gitem_post_data_get_link_target_frontend_editor' );
|
||||
add_filter( 'vc_gitem_post_data_get_link_real_rel', 'vc_gitem_post_data_get_link_rel_frontend_editor' );
|
||||
}
|
||||
@@ -0,0 +1,207 @@
|
||||
<?php
|
||||
if ( ! defined( 'ABSPATH' ) ) {
|
||||
die( '-1' );
|
||||
}
|
||||
|
||||
/**
|
||||
* Return true value for filter 'wpb_vc_js_status_filter'.
|
||||
* It allows to start backend editor on load.
|
||||
* @since 4.12
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
function vc_set_default_content_for_post_type_wpb_vc_js_status_filter() {
|
||||
return 'true';
|
||||
}
|
||||
|
||||
/**
|
||||
* Set default content by post type in editor.
|
||||
*
|
||||
* Data for post type templates stored in settings.
|
||||
*
|
||||
* @param $post_content
|
||||
* @param $post
|
||||
* @since 4.12
|
||||
*
|
||||
* @return null
|
||||
*/
|
||||
function vc_set_default_content_for_post_type( $post_content, $post ) {
|
||||
if ( ! empty( $post_content ) || ! vc_backend_editor()->isValidPostType( $post->post_type ) ) {
|
||||
return $post_content;
|
||||
}
|
||||
$template_settings = new Vc_Setting_Post_Type_Default_Template_Field( 'general', 'default_template_post_type' );
|
||||
if ( ( $new_post_content = $template_settings->getTemplateByPostType( $post->post_type ) ) !== null ) {
|
||||
add_filter( 'wpb_vc_js_status_filter', 'vc_set_default_content_for_post_type_wpb_vc_js_status_filter' );
|
||||
|
||||
return $new_post_content;
|
||||
}
|
||||
|
||||
return $post_content;
|
||||
}
|
||||
|
||||
/**
|
||||
* Default template for post types manager
|
||||
*
|
||||
* Class Vc_Setting_Post_Type_Default_Template_Field
|
||||
*
|
||||
* @since 4.12
|
||||
*/
|
||||
class Vc_Setting_Post_Type_Default_Template_Field {
|
||||
protected $tab;
|
||||
protected $key;
|
||||
protected $post_types = false;
|
||||
|
||||
function __construct( $tab, $key ) {
|
||||
$this->tab = $tab;
|
||||
$this->key = $key;
|
||||
add_action( 'vc_settings_tab-general', array(
|
||||
$this,
|
||||
'addField',
|
||||
) );
|
||||
}
|
||||
|
||||
protected function getFieldName() {
|
||||
return __( 'Default template for post types', 'js_composer' );
|
||||
}
|
||||
|
||||
protected function getFieldKey() {
|
||||
require_once vc_path_dir( 'SETTINGS_DIR', 'class-vc-settings.php' );
|
||||
|
||||
return Vc_Settings::getFieldPrefix() . $this->key;
|
||||
}
|
||||
|
||||
protected function isValidPostType( $type ) {
|
||||
return post_type_exists( $type );
|
||||
}
|
||||
|
||||
protected function getPostTypes() {
|
||||
if ( false === $this->post_types ) {
|
||||
require_once vc_path_dir( 'SETTINGS_DIR', 'class-vc-roles.php' );
|
||||
$vc_roles = new Vc_Roles();
|
||||
$this->post_types = $vc_roles->getPostTypes();
|
||||
}
|
||||
|
||||
return $this->post_types;
|
||||
}
|
||||
|
||||
protected function getTemplates() {
|
||||
return $this->getTemplatesEditor()->getAllTemplates();
|
||||
}
|
||||
|
||||
protected function getTemplatesEditor() {
|
||||
return visual_composer()->templatesPanelEditor();
|
||||
}
|
||||
|
||||
/**
|
||||
* Get settings data for default templates
|
||||
*
|
||||
* @return array|mixed|void
|
||||
*/
|
||||
protected function get() {
|
||||
require_once vc_path_dir( 'SETTINGS_DIR', 'class-vc-settings.php' );
|
||||
|
||||
return ( $value = Vc_Settings::get( $this->key ) ) ? $value : array();
|
||||
}
|
||||
|
||||
/**
|
||||
* Get template's shortcodes string
|
||||
*
|
||||
* @param $template_data
|
||||
* @return string|null
|
||||
*/
|
||||
protected function getTemplate( $template_data ) {
|
||||
$template = null;
|
||||
$template_settings = preg_split( '/\:\:/', $template_data );
|
||||
|
||||
$template_id = $template_settings[1];
|
||||
$template_type = $template_settings[0];
|
||||
|
||||
if ( ! isset( $template_id, $template_type ) || '' === $template_id || '' === $template_type ) {
|
||||
return $template;
|
||||
}
|
||||
WPBMap::addAllMappedShortcodes();
|
||||
if ( 'my_templates' === $template_type ) {
|
||||
$saved_templates = get_option( $this->getTemplatesEditor()->getOptionName() );
|
||||
|
||||
$content = trim( $saved_templates[ $template_id ]['template'] );
|
||||
$content = str_replace( '\"', '"', $content );
|
||||
$pattern = get_shortcode_regex();
|
||||
$template = preg_replace_callback( "/{$pattern}/s", 'vc_convert_shortcode', $content );
|
||||
} else {
|
||||
if ( 'default_templates' === $template_type ) {
|
||||
$template_data = $this->getTemplatesEditor()->getDefaultTemplate( $template_id );
|
||||
if ( isset( $template_data['content'] ) ) {
|
||||
$template = $template_data['content'];
|
||||
}
|
||||
} else {
|
||||
$template_preview = apply_filters( 'vc_templates_render_backend_template_preview', $template_id, $template_type );
|
||||
if ( (string) $template_preview !== (string) $template_id ) {
|
||||
$template = $template_preview;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
return $template;
|
||||
}
|
||||
|
||||
public function getTemplateByPostType( $type ) {
|
||||
$value = $this->get();
|
||||
|
||||
return isset( $value[ $type ] ) ? $this->getTemplate( $value[ $type ] ) : null;
|
||||
}
|
||||
|
||||
public function sanitize( $settings ) {
|
||||
foreach ( $settings as $type => $template ) {
|
||||
if ( empty( $template ) ) {
|
||||
unset( $settings[ $type ] );
|
||||
} else if ( ! $this->isValidPostType( $type ) || ! $this->getTemplate( $template ) ) {
|
||||
add_settings_error( $this->getFieldKey(), 1, __( 'Invalid template or post type.', 'js_composer' ), 'error' );
|
||||
|
||||
return $settings;
|
||||
}
|
||||
}
|
||||
|
||||
return $settings;
|
||||
}
|
||||
|
||||
public function render() {
|
||||
vc_include_template( 'pages/vc-settings/default-template-post-type.tpl.php', array(
|
||||
'post_types' => $this->getPostTypes(),
|
||||
'templates' => $this->getTemplates(),
|
||||
'title' => $this->getFieldName(),
|
||||
'value' => $this->get(),
|
||||
'field_key' => $this->getFieldKey(),
|
||||
) );
|
||||
}
|
||||
|
||||
/**
|
||||
* Add field settings page
|
||||
*
|
||||
* Method called by vc hook vc_settings_tab-general.
|
||||
*/
|
||||
public function addField() {
|
||||
vc_settings()->addField( $this->tab, $this->getFieldName(), $this->key, array(
|
||||
$this,
|
||||
'sanitize',
|
||||
), array(
|
||||
$this,
|
||||
'render',
|
||||
) );
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Start only for admin part with hooks
|
||||
*/
|
||||
if ( is_admin() ) {
|
||||
/**
|
||||
* Initialize Vc_Setting_Post_Type_Default_Template_Field
|
||||
* Called by admin_init hook
|
||||
*/
|
||||
function vc_settings_post_type_default_template_field_init() {
|
||||
new Vc_Setting_Post_Type_Default_Template_Field( 'general', 'default_template_post_type' );
|
||||
}
|
||||
|
||||
add_filter( 'default_content', 'vc_set_default_content_for_post_type', 100, 2 );
|
||||
add_action( 'admin_init', 'vc_settings_post_type_default_template_field_init', 8 );
|
||||
}
|
||||
@@ -0,0 +1,111 @@
|
||||
<?php
|
||||
if ( ! defined( 'ABSPATH' ) ) {
|
||||
die( '-1' );
|
||||
}
|
||||
|
||||
global $vc_default_pointers, $vc_pointers;
|
||||
$vc_default_pointers = (array) apply_filters( 'vc_pointers_list',
|
||||
array(
|
||||
'vc_grid_item',
|
||||
'vc_pointers_backend_editor',
|
||||
'vc_pointers_frontend_editor',
|
||||
)
|
||||
);
|
||||
if ( is_admin() ) {
|
||||
add_action( 'admin_enqueue_scripts', 'vc_pointer_load', 1000 );
|
||||
}
|
||||
|
||||
function vc_pointer_load() {
|
||||
global $vc_pointers;
|
||||
// Don't run on WP < 3.3
|
||||
if ( get_bloginfo( 'version' ) < '3.3' ) {
|
||||
return;
|
||||
}
|
||||
|
||||
$screen = get_current_screen();
|
||||
$screen_id = $screen->id;
|
||||
|
||||
// Get pointers for this screen
|
||||
$pointers = apply_filters( 'vc-ui-pointers', array() );
|
||||
$pointers = apply_filters( 'vc_ui-pointers-' . $screen_id, $pointers );
|
||||
|
||||
if ( ! $pointers || ! is_array( $pointers ) ) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Get dismissed pointers
|
||||
$dismissed = explode( ',', (string) get_user_meta( get_current_user_id(), 'dismissed_wp_pointers', true ) );
|
||||
$vc_pointers = array( 'pointers' => array() );
|
||||
|
||||
// Check pointers and remove dismissed ones.
|
||||
foreach ( $pointers as $pointer_id => $pointer ) {
|
||||
|
||||
// Sanity check
|
||||
if ( in_array( $pointer_id, $dismissed ) || empty( $pointer ) || empty( $pointer_id ) || empty( $pointer['name'] ) ) {
|
||||
continue;
|
||||
}
|
||||
|
||||
$pointer['pointer_id'] = $pointer_id;
|
||||
|
||||
// Add the pointer to $valid_pointers array
|
||||
|
||||
$vc_pointers['pointers'][] = $pointer;
|
||||
}
|
||||
|
||||
// No valid pointers? Stop here.
|
||||
if ( empty( $vc_pointers['pointers'] ) ) {
|
||||
return;
|
||||
}
|
||||
wp_enqueue_style( 'wp-pointer' );
|
||||
wp_enqueue_script( 'wp-pointer' );
|
||||
// messages
|
||||
$vc_pointers['texts'] = array(
|
||||
'finish' => __( 'Finish', 'js_composer' ),
|
||||
'next' => __( 'Next', 'js_composer' ),
|
||||
'prev' => __( 'Prev', 'js_composer' ),
|
||||
);
|
||||
|
||||
// Add pointer options to script.
|
||||
wp_localize_script( 'wp-pointer', 'vcPointer', $vc_pointers );
|
||||
}
|
||||
|
||||
/**
|
||||
* Remove Vc pointers keys to show Tour markers again.
|
||||
* @sine 4.5
|
||||
*/
|
||||
function vc_pointer_reset() {
|
||||
global $vc_default_pointers;
|
||||
vc_user_access()
|
||||
->checkAdminNonce()
|
||||
->validateDie()
|
||||
->wpAny( 'manage_options' )
|
||||
->validateDie()
|
||||
->part( 'settings' )
|
||||
->can( 'vc-general-tab' )
|
||||
->validateDie();
|
||||
|
||||
$pointers = (array) apply_filters( 'vc_pointers_list', $vc_default_pointers );
|
||||
$prev_meta_value = get_user_meta( get_current_user_id(), 'dismissed_wp_pointers', true );
|
||||
$dismissed = explode( ',', (string) $prev_meta_value );
|
||||
if ( count( $dismissed ) > 0 && count( $pointers ) ) {
|
||||
$meta_value = implode( ',', array_diff( $dismissed, $pointers ) );
|
||||
update_user_meta( get_current_user_id(), 'dismissed_wp_pointers', $meta_value, $prev_meta_value );
|
||||
}
|
||||
|
||||
wp_send_json( array( 'success' => true ) );
|
||||
}
|
||||
|
||||
/**
|
||||
* Reset tour guid
|
||||
* @return bool
|
||||
*/
|
||||
function vc_pointers_is_dismissed() {
|
||||
global $vc_default_pointers;
|
||||
$pointers = (array) apply_filters( 'vc_pointers_list', $vc_default_pointers );
|
||||
$prev_meta_value = get_user_meta( get_current_user_id(), 'dismissed_wp_pointers', true );
|
||||
$dismissed = explode( ',', (string) $prev_meta_value );
|
||||
|
||||
return count( array_diff( $dismissed, $pointers ) ) < count( $dismissed );
|
||||
}
|
||||
|
||||
add_action( 'wp_ajax_vc_pointer_reset', 'vc_pointer_reset' );
|
||||
@@ -0,0 +1,288 @@
|
||||
<?php
|
||||
if ( ! defined( 'ABSPATH' ) ) {
|
||||
die( '-1' );
|
||||
}
|
||||
global $vc_grid_item_editor;
|
||||
/**
|
||||
* Creates new post type for grid_editor.
|
||||
*
|
||||
* @since 4.4
|
||||
*/
|
||||
function vc_grid_item_editor_create_post_type() {
|
||||
if ( is_admin() ) {
|
||||
require_once vc_path_dir( 'PARAMS_DIR', 'vc_grid_item/editor/class-vc-grid-item-editor.php' );
|
||||
Vc_Grid_Item_Editor::createPostType();
|
||||
add_action( 'vc_menu_page_build', 'vc_gitem_add_submenu_page' );
|
||||
// TODO: add check vendor is active
|
||||
add_filter( 'vc_vendor_qtranslate_enqueue_js_backend', 'vc_vendor_qtranslate_enqueue_js_backend_grid_editor' );
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* @since 4.5
|
||||
*/
|
||||
function vc_vendor_qtranslate_enqueue_js_backend_grid_editor() {
|
||||
return true;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set required objects to render editor for grid item
|
||||
*
|
||||
* @since 4.4
|
||||
*/
|
||||
function vc_grid_item_editor_init() {
|
||||
global $vc_grid_item_editor;
|
||||
require_once vc_path_dir( 'PARAMS_DIR', 'vc_grid_item/editor/class-vc-grid-item-editor.php' );
|
||||
require_once vc_path_dir( 'PARAMS_DIR', 'vc_grid_item/class-wpb-map-grid-item.php' );
|
||||
$vc_grid_item_editor = new Vc_Grid_Item_Editor();
|
||||
$vc_grid_item_editor->addMetaBox();
|
||||
add_action( 'wp_ajax_vc_grid_item_editor_load_template_preview', array(
|
||||
&$vc_grid_item_editor,
|
||||
'renderTemplatePreview',
|
||||
) );
|
||||
$vc_grid_item_editor->addHooksSettings();
|
||||
}
|
||||
|
||||
/**
|
||||
* Render preview for grid item
|
||||
* @since 4.4
|
||||
*/
|
||||
function vc_grid_item_render_preview() {
|
||||
vc_user_access()->checkAdminNonce()->validateDie()->wpAny( array(
|
||||
'edit_post',
|
||||
(int) vc_request_param( 'post_id' ),
|
||||
) )->validateDie()->part( 'grid_builder' )->can()->validateDie();
|
||||
|
||||
require_once vc_path_dir( 'PARAMS_DIR', 'vc_grid_item/class-vc-grid-item.php' );
|
||||
$grid_item = new Vc_Grid_Item();
|
||||
$grid_item->mapShortcodes();
|
||||
require_once vc_path_dir( 'PARAMS_DIR', 'vc_grid_item/editor/class-vc-grid-item-preview.php' );
|
||||
$vcGridPreview = new Vc_Grid_Item_Preview();
|
||||
add_filter( 'vc_gitem_template_attribute_post_image_background_image_css_value', array(
|
||||
$vcGridPreview,
|
||||
'addCssBackgroundImage',
|
||||
) );
|
||||
add_filter( 'vc_gitem_template_attribute_post_image_url_value', array(
|
||||
$vcGridPreview,
|
||||
'addImageUrl',
|
||||
) );
|
||||
add_filter( 'vc_gitem_template_attribute_post_image_html', array(
|
||||
$vcGridPreview,
|
||||
'addImage',
|
||||
) );
|
||||
add_filter( 'vc_gitem_attribute_featured_image_img', array(
|
||||
$vcGridPreview,
|
||||
'addPlaceholderImage',
|
||||
) );
|
||||
add_filter( 'vc_gitem_post_data_get_link_real_link', array(
|
||||
$vcGridPreview,
|
||||
'disableRealContentLink',
|
||||
), 10, 4 );
|
||||
add_filter( 'vc_gitem_post_data_get_link_link', array(
|
||||
$vcGridPreview,
|
||||
'disableContentLink',
|
||||
), 10, 3 );
|
||||
add_filter( 'vc_gitem_zone_image_block_link', array(
|
||||
$vcGridPreview,
|
||||
'disableGitemZoneLink',
|
||||
) );
|
||||
$vcGridPreview->render();
|
||||
die();
|
||||
}
|
||||
|
||||
/**
|
||||
* Map grid element shortcodes.
|
||||
*
|
||||
* @since 4.5
|
||||
*/
|
||||
function vc_grid_item_map_shortcodes() {
|
||||
require_once vc_path_dir( 'PARAMS_DIR', 'vc_grid_item/class-vc-grid-item.php' );
|
||||
$grid_item = new Vc_Grid_Item();
|
||||
$grid_item->mapShortcodes();
|
||||
vc_mapper()->setCheckForAccess( false );
|
||||
}
|
||||
|
||||
/**
|
||||
* Get current post type
|
||||
*
|
||||
* @return null|string
|
||||
*/
|
||||
function vc_grid_item_get_post_type() {
|
||||
$post_type = null;
|
||||
if ( vc_request_param( 'post_type' ) ) {
|
||||
$post_type = vc_request_param( 'post_type' );
|
||||
} elseif ( vc_request_param( 'post' ) ) {
|
||||
$post = get_post( vc_request_param( 'post' ) );
|
||||
$post_type = $post instanceof WP_Post && $post->post_type ? $post->post_type : null;
|
||||
}
|
||||
|
||||
return $post_type;
|
||||
}
|
||||
|
||||
/**
|
||||
* Check and Map grid element shortcodes if required.
|
||||
* @since 4.5
|
||||
*/
|
||||
function vc_grid_item_editor_shortcodes() {
|
||||
require_once vc_path_dir( 'PARAMS_DIR', 'vc_grid_item/editor/class-vc-grid-item-editor.php' );
|
||||
// TODO: remove this because mapping can be based on post_type
|
||||
if ( ( 'true' === vc_request_param( 'vc_grid_item_editor' ) || ( is_admin() && vc_grid_item_get_post_type() === Vc_Grid_Item_Editor::postType() ) && vc_user_access()
|
||||
->wpAny( 'edit_posts', 'edit_pages' )->part( 'grid_builder' )->can()->get() )
|
||||
) {
|
||||
|
||||
global $vc_grid_item_editor;
|
||||
add_action( 'vc_user_access_check-shortcode_edit', array(
|
||||
&$vc_grid_item_editor,
|
||||
'accessCheckShortcodeEdit',
|
||||
), 10, 2 );
|
||||
add_action( 'vc_user_access_check-shortcode_all', array(
|
||||
&$vc_grid_item_editor,
|
||||
'accessCheckShortcodeAll',
|
||||
), 10, 2 );
|
||||
|
||||
vc_grid_item_map_shortcodes();
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* add action in admin for vc grid item editor manager
|
||||
*/
|
||||
add_action( 'init', 'vc_grid_item_editor_create_post_type' );
|
||||
add_action( 'admin_init', 'vc_grid_item_editor_init' );
|
||||
add_action( 'vc_after_init', 'vc_grid_item_editor_shortcodes' );
|
||||
/**
|
||||
* Call preview as ajax request is called.
|
||||
*/
|
||||
add_action( 'wp_ajax_vc_gitem_preview', 'vc_grid_item_render_preview', 5 );
|
||||
|
||||
/**
|
||||
* Add WP ui pointers in grid element editor.
|
||||
*/
|
||||
if ( is_admin() ) {
|
||||
add_filter( 'vc_ui-pointers-vc_grid_item', 'vc_grid_item_register_pointer' );
|
||||
}
|
||||
|
||||
function vc_grid_item_register_pointer( $pointers ) {
|
||||
$screen = get_current_screen();
|
||||
if ( 'add' === $screen->action ) {
|
||||
$pointers['vc_grid_item'] = array(
|
||||
'name' => 'vcPointersController',
|
||||
'messages' => array(
|
||||
array(
|
||||
'target' => '#vc_templates-editor-button',
|
||||
'options' => array(
|
||||
'content' => sprintf( '<h3> %s </h3> <p> %s </p>', __( 'Start Here!', 'js_composer' ), __( 'Start easy - use predefined template as a starting point and modify it.', 'js_composer' ) ),
|
||||
'position' => array(
|
||||
'edge' => 'left',
|
||||
'align' => 'center',
|
||||
),
|
||||
),
|
||||
),
|
||||
array(
|
||||
'target' => '[data-vc-navbar-control="animation"]',
|
||||
'options' => array(
|
||||
'content' => sprintf( '<h3> %s </h3> <p> %s </p>', __( 'Use Animations', 'js_composer' ), __( 'Select animation preset for grid element. "Hover" state will be added next to the "Normal" state tab.', 'js_composer' ) ),
|
||||
'position' => array(
|
||||
'edge' => 'right',
|
||||
'align' => 'center',
|
||||
),
|
||||
),
|
||||
),
|
||||
array(
|
||||
'target' => '.vc_gitem_animated_block-shortcode',
|
||||
'options' => array(
|
||||
'content' => sprintf( '<h3> %s </h3> <p> %s </p>', __( 'Style Design Options', 'js_composer' ), __( 'Edit "Normal" state to set "Featured image" as a background, control zone sizing proportions and other design options (Height mode: Select "Original" to scale image without cropping).', 'js_composer' ) ),
|
||||
'position' => array(
|
||||
'edge' => 'bottom',
|
||||
'align' => 'center',
|
||||
),
|
||||
),
|
||||
),
|
||||
array(
|
||||
'target' => '[data-vc-gitem="add-c"][data-vc-position="top"]',
|
||||
'options' => array(
|
||||
'content' => sprintf( '<h3> %s </h3> <p> %s </p>', __( 'Extend Element', 'js_composer' ), __( 'Additional content zone can be added to grid element edges (Note: This zone can not be animated).', 'js_composer' ) ) . '<p><img src="' . vc_asset_url( 'vc/gb_additional_content.png' ) . '" alt="" /></p>',
|
||||
'position' => array(
|
||||
'edge' => 'right',
|
||||
'align' => 'center',
|
||||
),
|
||||
),
|
||||
),
|
||||
array(
|
||||
'target' => '#wpadminbar',
|
||||
'options' => array(
|
||||
'content' => sprintf( '<h3> %s </h3> %s', __( 'Watch Video Tutorial', 'js_composer' ), '<p>' . __( 'Have a look how easy it is to work with grid element builder.', 'js_composer' ) . '</p>' . '<iframe width="500" height="281" src="//www.youtube.com/embed/sBvEiIL6Blo" frameborder="0" allowfullscreen></iframe>' ),
|
||||
'position' => array(
|
||||
'edge' => 'top',
|
||||
'align' => 'center',
|
||||
),
|
||||
'pointerClass' => 'vc_gitem-animated-block-pointer-video',
|
||||
'pointerWidth' => '530',
|
||||
),
|
||||
),
|
||||
),
|
||||
);
|
||||
}
|
||||
|
||||
return $pointers;
|
||||
}
|
||||
|
||||
function vc_gitem_content_shortcodes() {
|
||||
require_once vc_path_dir( 'PARAMS_DIR', 'vc_grid_item/class-vc-grid-item.php' );
|
||||
$grid_item = new Vc_Grid_Item();
|
||||
$invalid_shortcodes = apply_filters( 'vc_gitem_zone_grid_item_not_content_shortcodes', array(
|
||||
'vc_gitem',
|
||||
'vc_gitem_animated_block',
|
||||
'vc_gitem_zone',
|
||||
'vc_gitem_zone_a',
|
||||
'vc_gitem_zone_b',
|
||||
'vc_gitem_zone_c',
|
||||
'vc_gitem_row',
|
||||
'vc_gitem_col',
|
||||
) );
|
||||
|
||||
return array_diff( array_keys( $grid_item->shortcodes() ), $invalid_shortcodes );
|
||||
}
|
||||
|
||||
function vc_gitem_has_content( $content ) {
|
||||
$tags = vc_gitem_content_shortcodes();
|
||||
$regexp = vc_get_shortcode_regex( implode( '|', $tags ) );
|
||||
|
||||
return preg_match( '/' . $regexp . '/', $content );
|
||||
}
|
||||
|
||||
/**
|
||||
* Add sub page to WPBakery Page Builder pages
|
||||
*
|
||||
* @since 4.5
|
||||
*/
|
||||
function vc_gitem_add_submenu_page() {
|
||||
if ( vc_user_access()->part( 'grid_builder' )->can()->get() ) {
|
||||
$labels = Vc_Grid_Item_Editor::getPostTypesLabels();
|
||||
add_submenu_page( VC_PAGE_MAIN_SLUG, $labels['name'], $labels['name'], 'edit_posts', 'edit.php?post_type=' . rawurlencode( Vc_Grid_Item_Editor::postType() ), '' );
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Highlight Vc submenu.
|
||||
* @since 4.5
|
||||
*/
|
||||
function vc_gitem_menu_highlight() {
|
||||
global $parent_file, $submenu_file, $post_type;
|
||||
require_once vc_path_dir( 'PARAMS_DIR', 'vc_grid_item/editor/class-vc-grid-item-editor.php' );
|
||||
if ( Vc_Grid_Item_Editor::postType() === $post_type && defined( 'VC_PAGE_MAIN_SLUG' ) ) {
|
||||
$parent_file = VC_PAGE_MAIN_SLUG;
|
||||
$submenu_file = 'edit.php?post_type=' . rawurlencode( Vc_Grid_Item_Editor::postType() );
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
add_action( 'admin_head', 'vc_gitem_menu_highlight' );
|
||||
|
||||
function vc_gitem_set_mapper_check_access() {
|
||||
if ( vc_user_access()->checkAdminNonce()->wpAny( 'edit_posts', 'edit_pages' )->part( 'grid_builder' )->can()->get() && 'true' === vc_post_param( 'vc_grid_item_editor' ) ) {
|
||||
vc_mapper()->setCheckForAccess( false );
|
||||
}
|
||||
}
|
||||
|
||||
add_action( 'wp_ajax_vc_edit_form', 'vc_gitem_set_mapper_check_access' );
|
||||
@@ -0,0 +1,364 @@
|
||||
<?php
|
||||
if ( ! defined( 'ABSPATH' ) ) {
|
||||
die( '-1' );
|
||||
}
|
||||
|
||||
add_filter( 'attachment_fields_to_edit', 'vc_attachment_filter_field', 10, 2 );
|
||||
add_filter( 'media_meta', 'vc_attachment_filter_media_meta', 10, 2 );
|
||||
add_action( 'wp_ajax_vc_media_editor_add_image', 'vc_media_editor_add_image' );
|
||||
add_action( 'wp_ajax_vc_media_editor_preview_image', 'vc_media_editor_preview_image' );
|
||||
|
||||
/**
|
||||
* @return array
|
||||
*/
|
||||
function vc_get_filters() {
|
||||
return array(
|
||||
'antique' => __( 'Antique', 'js_composer' ),
|
||||
'blackwhite' => __( 'Black & White', 'js_composer' ),
|
||||
'boost' => __( 'Boost', 'js_composer' ),
|
||||
'concentrate' => __( 'Concentrate', 'js_composer' ),
|
||||
'country' => __( 'Country', 'js_composer' ),
|
||||
'darken' => __( 'Darken', 'js_composer' ),
|
||||
'dream' => __( 'Dream', 'js_composer' ),
|
||||
'everglow' => __( 'Everglow', 'js_composer' ),
|
||||
'forest' => __( 'Forest', 'js_composer' ),
|
||||
'freshblue' => __( 'Fresh Blue', 'js_composer' ),
|
||||
'frozen' => __( 'Frozen', 'js_composer' ),
|
||||
'hermajesty' => __( 'Her Majesty', 'js_composer' ),
|
||||
'light' => __( 'Light', 'js_composer' ),
|
||||
'orangepeel' => __( 'Orange Peel', 'js_composer' ),
|
||||
'rain' => __( 'Rain', 'js_composer' ),
|
||||
'retro' => __( 'Retro', 'js_composer' ),
|
||||
'sepia' => __( 'Sepia', 'js_composer' ),
|
||||
'summer' => __( 'Summer', 'js_composer' ),
|
||||
'tender' => __( 'Tender', 'js_composer' ),
|
||||
'vintage' => __( 'Vintage', 'js_composer' ),
|
||||
'washed' => __( 'Washed', 'js_composer' ),
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* Add Image Filter field to media uploader
|
||||
*
|
||||
* @param $form_fields array, fields to include in attachment form
|
||||
* @param $post object, attachment record in database
|
||||
*
|
||||
* @return array $form_fields, modified form fields
|
||||
*/
|
||||
function vc_attachment_filter_field( $form_fields, $post ) {
|
||||
// don't add filter field, if image already has filter applied
|
||||
if ( get_post_meta( $post->ID, 'vc-applied-image-filter', true ) ) {
|
||||
return $form_fields;
|
||||
}
|
||||
|
||||
$options = vc_get_filters();
|
||||
|
||||
$html_options = '<option value="">' . __( 'None', 'js_composer' ) . '</option>';
|
||||
foreach ( $options as $value => $title ) {
|
||||
$html_options .= '<option value="' . $value . '">' . $title . '</option>';
|
||||
}
|
||||
|
||||
$form_fields['vc-image-filter'] = array(
|
||||
'label' => '',
|
||||
'input' => 'html',
|
||||
'html' => '
|
||||
<div style="display:none">
|
||||
<span class="vc-filter-label">' . __( 'Image filter', 'js_composer' ) . '</span>
|
||||
<select name="attachments[' . $post->ID . '][vc-image-filter]" id="attachments-' . $post->ID . '-vc-image-filter" data-vc-preview-image-filter="' . $post->ID . '">
|
||||
' . $html_options . '
|
||||
</select>
|
||||
</div>',
|
||||
'value' => get_post_meta( $post->ID, 'vc_image_filter', true ),
|
||||
'helps' => '',
|
||||
);
|
||||
|
||||
return $form_fields;
|
||||
}
|
||||
|
||||
/**
|
||||
* Apply filters to specified images
|
||||
*
|
||||
* If image(s) has filter specified via filters _POST param:
|
||||
* 1) copy it
|
||||
* 2) apply specified filter
|
||||
* 3) return new image id
|
||||
*
|
||||
* Required _POST params:
|
||||
* - array ids: array of attachment ids
|
||||
*
|
||||
* Optional _POST params:
|
||||
* - array filters: mapped array of ids and filters to apply
|
||||
*
|
||||
*/
|
||||
function vc_media_editor_add_image() {
|
||||
vc_user_access()
|
||||
->checkAdminNonce()
|
||||
->validateDie()
|
||||
->wpAny( 'upload_files' )
|
||||
->validateDie();
|
||||
|
||||
require_once vc_path_dir( 'APP_ROOT', 'vendor/mmihey/PHP-Instagram-effects/src/Image/Filter.php' );
|
||||
$response = array(
|
||||
'success' => true,
|
||||
'data' => array(
|
||||
'ids' => array(),
|
||||
),
|
||||
);
|
||||
|
||||
$filters = (array) vc_post_param( 'filters', array() );
|
||||
|
||||
$ids = (array) vc_post_param( 'ids', array() );
|
||||
if ( ! $ids ) {
|
||||
wp_send_json( $response );
|
||||
}
|
||||
|
||||
// default action is wp_handle_upload, which forces wp to check upload with is_uploaded_file()
|
||||
// override action to anything else to skip security checks
|
||||
$action = 'vc_handle_upload_imitation';
|
||||
|
||||
$file_key = 0;
|
||||
$post_id = 0;
|
||||
$post_data = array();
|
||||
$overrides = array( 'action' => $action );
|
||||
$_POST = array( 'action' => $action );
|
||||
|
||||
foreach ( $ids as $key => $attachment_id ) {
|
||||
if ( ! empty( $filters[ $attachment_id ] ) ) {
|
||||
$filter_name = $filters[ $attachment_id ];
|
||||
} else {
|
||||
continue;
|
||||
}
|
||||
|
||||
$source_path = get_attached_file( $attachment_id );
|
||||
|
||||
if ( empty( $source_path ) ) {
|
||||
continue;
|
||||
}
|
||||
|
||||
$temp_path = sys_get_temp_dir() . DIRECTORY_SEPARATOR . basename( $source_path );
|
||||
|
||||
if ( ! copy( $source_path, $temp_path ) ) {
|
||||
continue;
|
||||
}
|
||||
|
||||
$extension = strtolower( pathinfo( $temp_path, PATHINFO_EXTENSION ) );
|
||||
$mime_type = '';
|
||||
switch ( $extension ) {
|
||||
case 'jpeg':
|
||||
case 'jpg':
|
||||
$image = imagecreatefromjpeg( $temp_path );
|
||||
$mime_type = 'image/jpeg';
|
||||
break;
|
||||
|
||||
case 'png':
|
||||
$image = imagecreatefrompng( $temp_path );
|
||||
$mime_type = 'image/png';
|
||||
break;
|
||||
|
||||
case 'gif':
|
||||
$image = imagecreatefromgif( $temp_path );
|
||||
$mime_type = 'image/gif';
|
||||
break;
|
||||
|
||||
default:
|
||||
$image = false;
|
||||
}
|
||||
|
||||
if ( ! $image ) {
|
||||
continue;
|
||||
}
|
||||
|
||||
$Filter = new vcImageFilter( $image );
|
||||
$Filter->$filter_name();
|
||||
|
||||
if ( ! vc_save_gd_resource( $Filter->getImage(), $temp_path ) ) {
|
||||
continue;
|
||||
}
|
||||
|
||||
$new_filename = basename( $temp_path, '.' . $extension ) . '-' . $filter_name . '.' . $extension;
|
||||
|
||||
$_FILES = array(
|
||||
array(
|
||||
'name' => $new_filename,
|
||||
'type' => $mime_type,
|
||||
'tmp_name' => $temp_path,
|
||||
'error' => UPLOAD_ERR_OK,
|
||||
'size' => filesize( $temp_path ),
|
||||
),
|
||||
);
|
||||
|
||||
$new_attachment_id = media_handle_upload( $file_key, $post_id, $post_data, $overrides );
|
||||
|
||||
if ( ! $new_attachment_id || is_wp_error( $new_attachment_id ) ) {
|
||||
continue;
|
||||
}
|
||||
|
||||
update_post_meta( $new_attachment_id, 'vc-applied-image-filter', $filter_name );
|
||||
|
||||
$ids[ $key ] = $new_attachment_id;
|
||||
}
|
||||
|
||||
$response['data']['ids'] = $ids;
|
||||
|
||||
wp_send_json( $response );
|
||||
}
|
||||
|
||||
/**
|
||||
* Generate filter preview
|
||||
*
|
||||
* Preview url is generated as data uri (base64)
|
||||
*
|
||||
* Required _POST params:
|
||||
* - string filter: filter name
|
||||
* - int attachment_id: attachment id
|
||||
*
|
||||
* @return void Results are sent out as json
|
||||
*/
|
||||
function vc_media_editor_preview_image() {
|
||||
vc_user_access()
|
||||
->checkAdminNonce()
|
||||
->validateDie()
|
||||
->wpAny( 'upload_files' )
|
||||
->validateDie();
|
||||
|
||||
require_once vc_path_dir( 'APP_ROOT', 'vendor/mmihey/PHP-Instagram-effects/src/Image/Filter.php' );
|
||||
|
||||
$response = array(
|
||||
'success' => true,
|
||||
'data' => array(
|
||||
'src' => '',
|
||||
),
|
||||
);
|
||||
|
||||
$filter_name = vc_post_param( 'filter', '' );
|
||||
$attachment_id = vc_post_param( 'attachment_id', false );
|
||||
$preferred_size = vc_post_param( 'preferred_size', 'medium' );
|
||||
|
||||
if ( ! $filter_name || ! $attachment_id ) {
|
||||
wp_send_json( $response );
|
||||
}
|
||||
|
||||
$attachment_path = get_attached_file( $attachment_id );
|
||||
|
||||
$attachment_details = wp_prepare_attachment_for_js( $attachment_id );
|
||||
|
||||
if ( ! isset( $attachment_details['sizes'][ $preferred_size ] ) ) {
|
||||
$preferred_size = 'thumbnail';
|
||||
}
|
||||
|
||||
$attachment_url = wp_get_attachment_image_src( $attachment_id, $preferred_size );
|
||||
|
||||
if ( empty( $attachment_path ) || empty( $attachment_url[0] ) ) {
|
||||
wp_send_json( $response );
|
||||
}
|
||||
|
||||
$source_path = dirname( $attachment_path ) . '/' . basename( $attachment_url[0] );
|
||||
|
||||
$image = vc_get_gd_resource( $source_path );
|
||||
|
||||
if ( ! $image ) {
|
||||
wp_send_json( $response );
|
||||
}
|
||||
|
||||
$Filter = new vcImageFilter( $image );
|
||||
$Filter->$filter_name();
|
||||
|
||||
$extension = strtolower( pathinfo( $source_path, PATHINFO_EXTENSION ) );
|
||||
|
||||
ob_start();
|
||||
switch ( $extension ) {
|
||||
case 'jpeg':
|
||||
case 'jpg':
|
||||
imagejpeg( $Filter->getImage() );
|
||||
break;
|
||||
|
||||
case 'png':
|
||||
imagepng( $Filter->getImage() );
|
||||
break;
|
||||
|
||||
case 'gif':
|
||||
imagegif( $Filter->getImage() );
|
||||
break;
|
||||
}
|
||||
|
||||
$data = ob_get_clean();
|
||||
|
||||
$response['data']['src'] = 'data:image/' . $extension . ';base64,' . base64_encode( $data );
|
||||
|
||||
wp_send_json( $response );
|
||||
}
|
||||
|
||||
/**
|
||||
* Read file from disk as GD resource
|
||||
*
|
||||
* @param string $file
|
||||
*
|
||||
* @return bool|resource
|
||||
*/
|
||||
function vc_get_gd_resource( $file ) {
|
||||
$extension = strtolower( pathinfo( $file, PATHINFO_EXTENSION ) );
|
||||
|
||||
switch ( $extension ) {
|
||||
case 'jpeg':
|
||||
case 'jpg':
|
||||
return imagecreatefromjpeg( $file );
|
||||
|
||||
case 'png':
|
||||
return imagecreatefrompng( $file );
|
||||
|
||||
case 'gif':
|
||||
return imagecreatefromgif( $file );
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
* Save GD resource to file
|
||||
*
|
||||
* @param resource $resource
|
||||
* @param string $file
|
||||
*
|
||||
* @return bool
|
||||
*/
|
||||
function vc_save_gd_resource( $resource, $file ) {
|
||||
$extension = strtolower( pathinfo( $file, PATHINFO_EXTENSION ) );
|
||||
|
||||
switch ( $extension ) {
|
||||
case 'jpeg':
|
||||
case 'jpg':
|
||||
return imagejpeg( $resource, $file );
|
||||
|
||||
case 'png':
|
||||
return imagepng( $resource, $file );
|
||||
|
||||
case 'gif':
|
||||
return imagegif( $resource, $file );
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
* Add "Filter: ..." meta field to attachment details box
|
||||
*
|
||||
* @param $media_meta array, meta to include in attachment form
|
||||
* @param $post object, attachment record in database
|
||||
*
|
||||
* @return array $media_meta, modified meta fields
|
||||
*/
|
||||
function vc_attachment_filter_media_meta( $media_meta, $post ) {
|
||||
$filter_name = get_post_meta( $post->ID, 'vc-applied-image-filter', true );
|
||||
if ( ! $filter_name ) {
|
||||
return $media_meta;
|
||||
}
|
||||
|
||||
$filters = vc_get_filters();
|
||||
if ( ! isset( $filters[ $filter_name ] ) ) {
|
||||
return $media_meta;
|
||||
}
|
||||
|
||||
$media_meta .= __( 'Filter:', 'js_composer' ) . ' ' . $filters[ $filter_name ];
|
||||
|
||||
return $media_meta;
|
||||
}
|
||||
@@ -0,0 +1,34 @@
|
||||
<?php
|
||||
if ( ! defined( 'ABSPATH' ) ) {
|
||||
die( '-1' );
|
||||
}
|
||||
|
||||
/**
|
||||
* Build and enqueue js/css for automapper settings tab.
|
||||
* @since 4.5
|
||||
*/
|
||||
function vc_automapper_init() {
|
||||
if ( vc_user_access()
|
||||
->wpAny( 'manage_options' )
|
||||
->part( 'settings' )
|
||||
->can( 'vc-automapper-tab' )
|
||||
->get()
|
||||
) {
|
||||
vc_automapper()->addAjaxActions();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns automapper template.
|
||||
*
|
||||
* @since 4.5
|
||||
* @return string
|
||||
*/
|
||||
function vc_page_automapper_build() {
|
||||
return 'pages/vc-settings/vc-automapper.php';
|
||||
}
|
||||
|
||||
// TODO: move to separate file in autoload
|
||||
add_filter( 'vc_settings-render-tab-vc-automapper', 'vc_page_automapper_build' );
|
||||
is_admin() && ( 'vc_automapper' === vc_request_param( 'action' ) || 'vc-automapper' === vc_get_param( 'page' ) ) && add_action( 'admin_init', 'vc_automapper_init' );
|
||||
@@ -0,0 +1,10 @@
|
||||
<?php
|
||||
if ( ! defined( 'ABSPATH' ) ) {
|
||||
die( '-1' );
|
||||
}
|
||||
|
||||
function vc_page_settings_custom_css_load() {
|
||||
wp_enqueue_script( 'ace-editor', vc_asset_url( 'lib/bower/ace-builds/src-min-noconflict/ace.js' ), array( 'jquery' ), WPB_VC_VERSION, true );
|
||||
}
|
||||
|
||||
add_action( 'vc-settings-render-tab-vc-custom_css', 'vc_page_settings_custom_css_load' );
|
||||
@@ -0,0 +1,142 @@
|
||||
<?php
|
||||
if ( ! defined( 'ABSPATH' ) ) {
|
||||
die( '-1' );
|
||||
}
|
||||
|
||||
/**
|
||||
* Used to check for current less version during page open
|
||||
*
|
||||
* @since 4.5
|
||||
*/
|
||||
add_action( 'vc_before_init', 'vc_check_for_custom_css_build' );
|
||||
|
||||
/**
|
||||
* Function check is system has custom build of css
|
||||
* and check it version in comparison with current VC version
|
||||
*
|
||||
* @since 4.5
|
||||
*/
|
||||
function vc_check_for_custom_css_build() {
|
||||
$version = vc_settings()->getCustomCssVersion();
|
||||
if ( vc_user_access()
|
||||
->wpAny( 'manage_options' )
|
||||
->part( 'settings' )
|
||||
->can( 'vc-color-tab' )
|
||||
->get() && vc_settings()->useCustomCss() && ( ! $version || version_compare( WPB_VC_VERSION, $version, '<>' ) )
|
||||
) {
|
||||
add_action( 'admin_notices', 'vc_custom_css_admin_notice' );
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Display admin notice depending on current page
|
||||
*
|
||||
* @since 4.5
|
||||
*/
|
||||
function vc_custom_css_admin_notice() {
|
||||
global $current_screen;
|
||||
vc_settings()->set( 'compiled_js_composer_less', '' );
|
||||
$class = 'notice notice-warning vc_settings-custom-design-notice';
|
||||
$message_important = __( 'Important notice', 'js_composer' );
|
||||
if ( is_object( $current_screen ) && isset( $current_screen->id ) && 'visual-composer_page_vc-color' === $current_screen->id ) {
|
||||
$message = __( 'You have an outdated version of WPBakery Page Builder Design Options. It is required to review and save it.', 'js_composer' );
|
||||
$html = '<p><strong>' . esc_html( $message_important ) . '</strong>: ' . esc_html( $message ) . '</p>';
|
||||
} else {
|
||||
$message = __( 'You have an outdated version of WPBakery Page Builder Design Options. It is required to review and save it.', 'js_composer' );
|
||||
$btnClass = 'button button-primary button-large vc_button-settings-less';
|
||||
$btnAtts = array(
|
||||
'href="' . admin_url( 'admin.php?page=vc-color' ) . '"',
|
||||
'class="' . esc_attr( $btnClass ) . '"',
|
||||
'id="vc_less-save-button"',
|
||||
'style="vertical-align: baseline;"',
|
||||
// needed to fix ":active bug"
|
||||
);
|
||||
$html = '<p><strong>' . esc_html( $message_important ) . '</strong>: ' . esc_html( $message ) . '</p>'
|
||||
. '<p><a ' . implode( ' ', $btnAtts ) . '>'
|
||||
. __( 'Open Design Options', 'js_composer' ) . '</a></p>';
|
||||
}
|
||||
echo '<div class="' . esc_attr( $class ) . '">' . $html . '</div>';
|
||||
|
||||
}
|
||||
|
||||
function vc_page_settings_tab_color_submit_attributes( $submitButtonAttributes ) {
|
||||
$submitButtonAttributes['data-vc-less-path'] = vc_str_remove_protocol( vc_asset_url( 'less/js_composer.less' ) );
|
||||
$submitButtonAttributes['data-vc-less-root'] = vc_str_remove_protocol( vc_asset_url( 'less' ) );
|
||||
$submitButtonAttributes['data-vc-less-variables'] = json_encode( apply_filters( 'vc_settings-less-variables', array(
|
||||
// Main accent color:
|
||||
'vc_grey' => array(
|
||||
'key' => 'wpb_js_vc_color',
|
||||
'default' => vc_settings()->getDefault( 'vc_color' ),
|
||||
),
|
||||
// Hover color
|
||||
'vc_grey_hover' => array(
|
||||
'key' => 'wpb_js_vc_color_hover',
|
||||
'default' => vc_settings()->getDefault( 'vc_color_hover' ),
|
||||
),
|
||||
'vc_image_slider_link_active' => 'wpb_js_vc_color_hover',
|
||||
// Call to action background color
|
||||
'vc_call_to_action_bg' => 'wpb_js_vc_color_call_to_action_bg',
|
||||
'vc_call_to_action_2_bg' => 'wpb_js_vc_color_call_to_action_bg',
|
||||
'vc_call_to_action_border' => array(
|
||||
'key' => 'wpb_js_vc_color_call_to_action_border',
|
||||
// darken 5%
|
||||
'default_key' => 'wpb_js_vc_color',
|
||||
'modify_output' => array(
|
||||
array(
|
||||
'plain' => array(
|
||||
'darken({{ value }}, 5%)',
|
||||
),
|
||||
),
|
||||
),
|
||||
),
|
||||
// Google maps background color
|
||||
'vc_google_maps_bg' => 'wpb_js_vc_color_google_maps_bg',
|
||||
// Post slider caption background color
|
||||
'vc_post_slider_caption_bg' => 'wpb_js_vc_color_post_slider_caption_bg',
|
||||
// Progress bar background color
|
||||
'vc_progress_bar_bg' => 'wpb_js_vc_color_progress_bar_bg',
|
||||
// Separator border color
|
||||
'vc_separator_border' => 'wpb_js_vc_color_separator_border',
|
||||
// Tabs navigation background color
|
||||
'vc_tab_bg' => 'wpb_js_vc_color_tab_bg',
|
||||
// Active tab background color
|
||||
'vc_tab_bg_active' => 'wpb_js_vc_color_tab_bg_active',
|
||||
// Elements bottom margin
|
||||
'vc_element_margin_bottom' => array(
|
||||
'key' => 'wpb_js_margin',
|
||||
'default' => vc_settings()->getDefault( 'margin' ),
|
||||
),
|
||||
// Grid gutter width
|
||||
'grid-gutter-width' => array(
|
||||
'key' => 'wpb_js_gutter',
|
||||
'default' => vc_settings()->getDefault( 'gutter' ),
|
||||
'modify_output' => array(
|
||||
array(
|
||||
'plain' => array(
|
||||
'{{ value }}px',
|
||||
),
|
||||
),
|
||||
),
|
||||
),
|
||||
'screen-sm-min' => array(
|
||||
'key' => 'wpb_js_responsive_max',
|
||||
'default' => vc_settings()->getDefault( 'responsive_max' ),
|
||||
'modify_output' => array(
|
||||
array(
|
||||
'plain' => array(
|
||||
'{{ value }}px',
|
||||
),
|
||||
),
|
||||
),
|
||||
),
|
||||
) ) );
|
||||
|
||||
return $submitButtonAttributes;
|
||||
}
|
||||
|
||||
function vc_page_settings_desing_options_load() {
|
||||
add_filter( 'vc_settings-tab-submit-button-attributes-color', 'vc_page_settings_tab_color_submit_attributes' );
|
||||
wp_enqueue_script( 'vc_less_js', vc_asset_url( 'lib/bower/lessjs/dist/less.min.js' ), array(), WPB_VC_VERSION );
|
||||
}
|
||||
|
||||
add_action( 'vc-settings-render-tab-vc-color', 'vc_page_settings_desing_options_load' );
|
||||
@@ -0,0 +1,52 @@
|
||||
<?php
|
||||
if ( ! defined( 'ABSPATH' ) ) {
|
||||
die( '-1' );
|
||||
}
|
||||
function vc_settings_tabs_vc_roles( $tabs ) {
|
||||
//inster after vc-general tab
|
||||
if ( array_key_exists( 'vc-general', $tabs ) ) {
|
||||
$new = array();
|
||||
foreach ( $tabs as $key => $value ) {
|
||||
$new[ $key ] = $value;
|
||||
if ( 'vc-general' === $key ) {
|
||||
$new['vc-roles'] = __( 'Role Manager', 'js_composer' );
|
||||
}
|
||||
}
|
||||
$tabs = $new;
|
||||
} else {
|
||||
$tabs['vc-roles'] = __( 'Roles Manager', 'js_composer' );
|
||||
}
|
||||
|
||||
return $tabs;
|
||||
}
|
||||
|
||||
if ( ! is_network_admin() ) {
|
||||
add_filter( 'vc_settings_tabs', 'vc_settings_tabs_vc_roles' );
|
||||
}
|
||||
|
||||
function vc_settings_render_tab_vc_roles() {
|
||||
return 'pages/vc-settings/tab-vc-roles.php';
|
||||
}
|
||||
|
||||
add_filter( 'vc_settings-render-tab-vc-roles', 'vc_settings_render_tab_vc_roles' );
|
||||
|
||||
function vc_roles_settings_save() {
|
||||
if ( check_admin_referer( 'vc_settings-roles-action', 'vc_nonce_field' ) && current_user_can( 'manage_options' ) ) {
|
||||
require_once vc_path_dir( 'SETTINGS_DIR', 'class-vc-roles.php' );
|
||||
$vc_roles = new Vc_Roles();
|
||||
$data = $vc_roles->save( vc_request_param( 'vc_roles', array() ) );
|
||||
echo json_encode( $data );
|
||||
die();
|
||||
}
|
||||
}
|
||||
|
||||
add_action( 'wp_ajax_vc_roles_settings_save', 'vc_roles_settings_save' );
|
||||
if ( 'vc-roles' == vc_get_param( 'page' ) ) {
|
||||
function vc_settings_render_tab_vc_roles_scripts() {
|
||||
wp_register_script( 'vc_accordion_script', vc_asset_url( 'lib/vc_accordion/vc-accordion.min.js' ), array( 'jquery' ), WPB_VC_VERSION, true );
|
||||
}
|
||||
|
||||
add_action( 'admin_init', 'vc_settings_render_tab_vc_roles_scripts' );
|
||||
|
||||
}
|
||||
|
||||
@@ -0,0 +1,83 @@
|
||||
<?php
|
||||
if ( ! defined( 'ABSPATH' ) ) {
|
||||
die( '-1' );
|
||||
}
|
||||
|
||||
/**
|
||||
* @since 4.5
|
||||
*/
|
||||
function vc_page_css_enqueue() {
|
||||
wp_enqueue_style( 'vc_page-css', vc_asset_url( 'css/js_composer_settings.min.css' ), array(), WPB_VC_VERSION );
|
||||
}
|
||||
|
||||
/**
|
||||
* Build group page objects.
|
||||
*
|
||||
* @param $slug
|
||||
* @param $title
|
||||
* @param $tab
|
||||
*
|
||||
* @since 4.5
|
||||
*
|
||||
* @return Vc_Pages_Group
|
||||
*/
|
||||
function vc_pages_group_build( $slug, $title, $tab = '' ) {
|
||||
$vc_page_welcome_tabs = vc_get_page_welcome_tabs();
|
||||
require_once vc_path_dir( 'CORE_DIR', 'class-vc-page.php' );
|
||||
require_once vc_path_dir( 'CORE_DIR', 'class-vc-pages-group.php' );
|
||||
// Create page.
|
||||
if ( ! strlen( $tab ) ) {
|
||||
$tab = $slug;
|
||||
}
|
||||
$page = new Vc_Page();
|
||||
$page->setSlug( $tab )
|
||||
->setTitle( $title )
|
||||
->setTemplatePath( 'pages/' . $slug . '/' . $tab . '.php' );
|
||||
// Create page group to stick with other in template.
|
||||
$pages_group = new Vc_Pages_Group();
|
||||
$pages_group->setSlug( $slug )
|
||||
->setPages( $vc_page_welcome_tabs )
|
||||
->setActivePage( $page )
|
||||
->setTemplatePath( 'pages/vc-welcome/index.php' );
|
||||
|
||||
return $pages_group;
|
||||
}
|
||||
|
||||
/**
|
||||
* @since 4.5
|
||||
*/
|
||||
function vc_menu_page_build() {
|
||||
if ( vc_user_access()
|
||||
->wpAny( 'manage_options' )
|
||||
->part( 'settings' )
|
||||
->can( 'vc-general-tab' )
|
||||
->get()
|
||||
) {
|
||||
define( 'VC_PAGE_MAIN_SLUG', 'vc-general' );
|
||||
} else {
|
||||
define( 'VC_PAGE_MAIN_SLUG', 'vc-welcome' );
|
||||
}
|
||||
add_menu_page( __( 'WPBakery Page Builder', 'js_composer' ), __( 'WPBakery Page Builder', 'js_composer' ), 'edit_posts', VC_PAGE_MAIN_SLUG, null, vc_asset_url( 'vc/logo/wpb-logo-white_32.svg' ), 76 );
|
||||
do_action( 'vc_menu_page_build' );
|
||||
}
|
||||
|
||||
function vc_network_menu_page_build() {
|
||||
if ( ! vc_is_network_plugin() ) {
|
||||
return;
|
||||
}
|
||||
if ( vc_user_access()
|
||||
->wpAny( 'manage_options' )
|
||||
->part( 'settings' )
|
||||
->can( 'vc-general-tab' )
|
||||
->get() && ! is_main_site()
|
||||
) {
|
||||
define( 'VC_PAGE_MAIN_SLUG', 'vc-general' );
|
||||
} else {
|
||||
define( 'VC_PAGE_MAIN_SLUG', 'vc-welcome' );
|
||||
}
|
||||
add_menu_page( __( 'WPBakery Page Builder', 'js_composer' ), __( 'WPBakery Page Builder', 'js_composer' ), 'exist', VC_PAGE_MAIN_SLUG, null, vc_asset_url( 'vc/logo/wpb-logo-white_32.svg' ), 76 );
|
||||
do_action( 'vc_network_menu_page_build' );
|
||||
}
|
||||
|
||||
add_action( 'admin_menu', 'vc_menu_page_build' );
|
||||
add_action( 'network_admin_menu', 'vc_network_menu_page_build' );
|
||||
@@ -0,0 +1,43 @@
|
||||
<?php
|
||||
if ( ! defined( 'ABSPATH' ) ) {
|
||||
die( '-1' );
|
||||
}
|
||||
|
||||
function vc_page_settings_render() {
|
||||
$page = vc_get_param( 'page' );
|
||||
do_action( 'vc_page_settings_render-' . $page );
|
||||
vc_settings()->renderTab( $page );
|
||||
}
|
||||
|
||||
function vc_page_settings_build() {
|
||||
if ( ! vc_user_access()->wpAny( 'manage_options' )->get() ) {
|
||||
return;
|
||||
}
|
||||
$tabs = vc_settings()->getTabs();
|
||||
foreach ( $tabs as $slug => $title ) {
|
||||
$has_access = vc_user_access()->part( 'settings' )->can( $slug . '-tab' )->get();
|
||||
|
||||
if ( $has_access ) {
|
||||
$page = add_submenu_page( VC_PAGE_MAIN_SLUG, $title, $title, 'manage_options', $slug, 'vc_page_settings_render' );
|
||||
add_action( 'load-' . $page, array(
|
||||
vc_settings(),
|
||||
'adminLoad',
|
||||
) );
|
||||
}
|
||||
}
|
||||
do_action( 'vc_page_settings_build' );
|
||||
}
|
||||
|
||||
function vc_page_settings_admin_init() {
|
||||
vc_settings()->initAdmin();
|
||||
}
|
||||
|
||||
add_action( 'vc_menu_page_build', 'vc_page_settings_build' );
|
||||
add_action( 'vc_network_menu_page_build', 'vc_page_settings_build' );
|
||||
add_action( 'admin_init', 'vc_page_settings_admin_init' );
|
||||
add_action( 'vc-settings-render-tab-vc-roles', 'vc_settings_enqueue_js' );
|
||||
|
||||
function vc_settings_enqueue_js() {
|
||||
// enqueue accordion in vc-roles page only
|
||||
wp_enqueue_script( 'vc_accordion_script' );
|
||||
}
|
||||
@@ -0,0 +1,98 @@
|
||||
<?php
|
||||
if ( ! defined( 'ABSPATH' ) ) {
|
||||
die( '-1' );
|
||||
}
|
||||
|
||||
/**
|
||||
* Get welcome pages main slug.
|
||||
*
|
||||
* @since 4.5
|
||||
* @return mixed|string
|
||||
*/
|
||||
function vc_page_welcome_slug() {
|
||||
$vc_page_welcome_tabs = vc_get_page_welcome_tabs();
|
||||
|
||||
return isset( $vc_page_welcome_tabs ) ? key( $vc_page_welcome_tabs ) : '';
|
||||
}
|
||||
|
||||
/**
|
||||
* Build vc-welcome page block which will be shown after Vc installation.
|
||||
*
|
||||
* vc_filter: vc_page_welcome_render_capabilities
|
||||
*
|
||||
* @since 4.5
|
||||
*/
|
||||
function vc_page_welcome_render() {
|
||||
$vc_page_welcome_tabs = vc_get_page_welcome_tabs();
|
||||
$slug = vc_page_welcome_slug();
|
||||
$tab_slug = vc_get_param( 'tab', $slug );
|
||||
// If tab slug in the list please render;
|
||||
if ( ! empty( $tab_slug ) && isset( $vc_page_welcome_tabs[ $tab_slug ] ) ) {
|
||||
$pages_group = vc_pages_group_build( $slug, $vc_page_welcome_tabs[ $tab_slug ], $tab_slug );
|
||||
$pages_group->render();
|
||||
}
|
||||
}
|
||||
|
||||
function vc_page_welcome_add_sub_page() {
|
||||
// Add submenu page
|
||||
$page = add_submenu_page( VC_PAGE_MAIN_SLUG, __( 'About', 'js_composer' ), __( 'About', 'js_composer' ), 'edit_posts', vc_page_welcome_slug(), 'vc_page_welcome_render' );
|
||||
// Css for perfect styling.
|
||||
add_action( 'admin_print_styles-' . $page, 'vc_page_css_enqueue' );
|
||||
|
||||
}
|
||||
|
||||
function vc_welcome_menu_hooks() {
|
||||
$settings_tab_enabled = vc_user_access()->wpAny( 'manage_options' )->part( 'settings' )->can( 'vc-general-tab' )->get();
|
||||
add_action( 'vc_menu_page_build', 'vc_page_welcome_add_sub_page', $settings_tab_enabled ? 11 : 1 );
|
||||
}
|
||||
|
||||
function vc_welcome_menu_hooks_network() {
|
||||
if ( ! vc_is_network_plugin() ) {
|
||||
return;
|
||||
}
|
||||
$settings_tab_enabled = vc_user_access()->wpAny( 'manage_options' )->part( 'settings' )->can( 'vc-general-tab' )->get();
|
||||
add_action( 'vc_network_menu_page_build', 'vc_page_welcome_add_sub_page', $settings_tab_enabled && ! is_main_site() ? 11 : 1 );
|
||||
}
|
||||
|
||||
add_action( 'admin_menu', 'vc_welcome_menu_hooks', 9 );
|
||||
add_action( 'network_admin_menu', 'vc_welcome_menu_hooks_network', 9 );
|
||||
/**
|
||||
* ====================
|
||||
* Redirect to welcome page on plugin activation.
|
||||
* ====================
|
||||
*/
|
||||
|
||||
/**
|
||||
* Set redirect transition on update or activation
|
||||
* @since 4.5
|
||||
*/
|
||||
function vc_page_welcome_set_redirect() {
|
||||
if ( ! is_network_admin() && ! vc_get_param( 'activate-multi' ) ) {
|
||||
set_transient( '_vc_page_welcome_redirect', 1, 30 );
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Do redirect if required on welcome page
|
||||
* @since 4.5
|
||||
*/
|
||||
function vc_page_welcome_redirect() {
|
||||
$redirect = get_transient( '_vc_page_welcome_redirect' );
|
||||
delete_transient( '_vc_page_welcome_redirect' );
|
||||
$redirect && wp_redirect( admin_url( 'admin.php?page=' . rawurlencode( vc_page_welcome_slug() ) ) );
|
||||
}
|
||||
|
||||
// Enables redirect on activation.
|
||||
add_action( 'vc_activation_hook', 'vc_page_welcome_set_redirect' );
|
||||
add_action( 'admin_init', 'vc_page_welcome_redirect' );
|
||||
|
||||
function vc_get_page_welcome_tabs() {
|
||||
global $vc_page_welcome_tabs;
|
||||
$vc_page_welcome_tabs = apply_filters( 'vc_page-welcome-slugs-list', array(
|
||||
'vc-welcome' => __( 'What\'s New', 'js_composer' ),
|
||||
'vc-faq' => __( 'FAQ', 'js_composer' ),
|
||||
'vc-resources' => __( 'Resources', 'js_composer' ),
|
||||
) );
|
||||
|
||||
return $vc_page_welcome_tabs;
|
||||
}
|
||||
@@ -0,0 +1,93 @@
|
||||
<?php
|
||||
if ( ! defined( 'ABSPATH' ) ) {
|
||||
die( '-1' );
|
||||
}
|
||||
|
||||
/**
|
||||
* Add WP ui pointers to backend editor.
|
||||
*/
|
||||
function vc_add_admin_pointer() {
|
||||
if ( is_admin() ) {
|
||||
foreach ( vc_editor_post_types() as $post_type ) {
|
||||
add_filter( 'vc_ui-pointers-' . $post_type, 'vc_backend_editor_register_pointer' );
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
add_action( 'admin_init', 'vc_add_admin_pointer' );
|
||||
|
||||
function vc_backend_editor_register_pointer( $pointers ) {
|
||||
$screen = get_current_screen();
|
||||
if ( 'add' === $screen->action ) {
|
||||
$pointers['vc_pointers_backend_editor'] = array(
|
||||
'name' => 'vcPointerController',
|
||||
'messages' => array(
|
||||
array(
|
||||
'target' => '.composer-switch',
|
||||
'options' => array(
|
||||
'content' => sprintf( '<h3> %s </h3> <p> %s </p>',
|
||||
__( 'Welcome to WPBakery Page Builder', 'js_composer' ),
|
||||
__( 'Choose Backend or Frontend editor.', 'js_composer' )
|
||||
),
|
||||
'position' => array(
|
||||
'edge' => 'left',
|
||||
'align' => 'center',
|
||||
),
|
||||
'buttonsEvent' => 'vcPointersEditorsTourEvents',
|
||||
),
|
||||
),
|
||||
array(
|
||||
'target' => '#vc_templates-editor-button, #vc-templatera-editor-button',
|
||||
'options' => array(
|
||||
'content' => sprintf( '<h3> %s </h3> <p> %s </p>',
|
||||
__( 'Add Elements', 'js_composer' ),
|
||||
__( 'Add new element or start with a template.', 'js_composer' )
|
||||
),
|
||||
'position' => array(
|
||||
'edge' => 'left',
|
||||
'align' => 'center',
|
||||
),
|
||||
'buttonsEvent' => 'vcPointersEditorsTourEvents',
|
||||
),
|
||||
'closeEvent' => 'shortcodes:vc_row:add',
|
||||
'showEvent' => 'backendEditor.show',
|
||||
),
|
||||
array(
|
||||
'target' => '[data-vc-control="add"]:first',
|
||||
'options' => array(
|
||||
'content' => sprintf( '<h3> %s </h3> <p> %s </p>',
|
||||
__( 'Rows and Columns', 'js_composer' ),
|
||||
__( 'This is a row container. Divide it into columns and style it. You can add elements into columns.', 'js_composer' )
|
||||
),
|
||||
'position' => array(
|
||||
'edge' => 'left',
|
||||
'align' => 'center',
|
||||
),
|
||||
'buttonsEvent' => 'vcPointersEditorsTourEvents',
|
||||
),
|
||||
'closeEvent' => 'click #wpb_visual_composer',
|
||||
'showEvent' => 'shortcodeView:ready',
|
||||
),
|
||||
array(
|
||||
'target' => '.wpb_column_container:first .wpb_content_element:first .vc_controls-cc',
|
||||
'options' => array(
|
||||
'content' => sprintf( '<h3> %s </h3> <p> %s <br/><br/> %s</p>',
|
||||
__( 'Control Elements', 'js_composer' ),
|
||||
__( 'You can edit your element at any time and drag it around your layout.', 'js_composer' ),
|
||||
sprintf( __( 'P.S. Learn more at our <a href="%s" target="_blank">Knowledge Base</a>.', 'js_composer' ), 'http://kb.wpbakery.com' )
|
||||
),
|
||||
'position' => array(
|
||||
'edge' => 'left',
|
||||
'align' => 'center',
|
||||
),
|
||||
'buttonsEvent' => 'vcPointersEditorsTourEvents',
|
||||
),
|
||||
'showCallback' => 'vcPointersShowOnContentElementControls',
|
||||
'closeEvent' => 'click #wpb_visual_composer',
|
||||
),
|
||||
),
|
||||
);
|
||||
}
|
||||
|
||||
return $pointers;
|
||||
}
|
||||
@@ -0,0 +1,84 @@
|
||||
<?php
|
||||
if ( ! defined( 'ABSPATH' ) ) {
|
||||
die( '-1' );
|
||||
}
|
||||
|
||||
/**
|
||||
* Add WP ui pointers to backend editor.
|
||||
*/
|
||||
function vc_frontend_editor_pointer() {
|
||||
vc_is_frontend_editor() && add_filter( 'vc-ui-pointers', 'vc_frontend_editor_register_pointer' );
|
||||
}
|
||||
|
||||
add_action( 'admin_init', 'vc_frontend_editor_pointer' );
|
||||
|
||||
function vc_frontend_editor_register_pointer( $pointers ) {
|
||||
global $post;
|
||||
if ( is_object( $post ) && ! strlen( $post->post_content ) ) {
|
||||
$pointers['vc_pointers_frontend_editor'] = array(
|
||||
'name' => 'vcPointerController',
|
||||
'messages' => array(
|
||||
array(
|
||||
'target' => '#vc_add-new-element',
|
||||
'options' => array(
|
||||
'content' => sprintf( '<h3> %s </h3> <p> %s </p>',
|
||||
__( 'Add Elements', 'js_composer' ),
|
||||
__( 'Add new element or start with a template.', 'js_composer' )
|
||||
),
|
||||
'position' => array(
|
||||
'edge' => 'top',
|
||||
'align' => 'left',
|
||||
),
|
||||
'buttonsEvent' => 'vcPointersEditorsTourEvents',
|
||||
),
|
||||
'closeEvent' => 'shortcodes:add',
|
||||
),
|
||||
array(
|
||||
'target' => '.vc_controls-out-tl:first',
|
||||
'options' => array(
|
||||
'content' => sprintf( '<h3> %s </h3> <p> %s </p>',
|
||||
__( 'Rows and Columns', 'js_composer' ),
|
||||
__( 'This is a row container. Divide it into columns and style it. You can add elements into columns.', 'js_composer' )
|
||||
),
|
||||
'position' => array(
|
||||
'edge' => 'left',
|
||||
'align' => 'center',
|
||||
),
|
||||
'buttonsEvent' => 'vcPointersEditorsTourEvents',
|
||||
),
|
||||
'closeCallback' => 'vcPointersCloseInIFrame',
|
||||
'showCallback' => 'vcPointersSetInIFrame',
|
||||
),
|
||||
array(
|
||||
'target' => '.vc_controls-cc:first',
|
||||
'options' => array(
|
||||
'content' => sprintf( '<h3> %s </h3> <p> %s <br/><br/> %s</p>',
|
||||
__( 'Control Elements', 'js_composer' ),
|
||||
__( 'You can edit your element at any time and drag it around your layout.', 'js_composer' ),
|
||||
sprintf( __( 'P.S. Learn more at our <a href="%s" target="_blank">Knowledge Base</a>.', 'js_composer' ), 'http://kb.wpbakery.com' )
|
||||
),
|
||||
'position' => array(
|
||||
'edge' => 'left',
|
||||
'align' => 'center',
|
||||
),
|
||||
'buttonsEvent' => 'vcPointersEditorsTourEvents',
|
||||
),
|
||||
'closeCallback' => 'vcPointersCloseInIFrame',
|
||||
'showCallback' => 'vcPointersSetInIFrame',
|
||||
),
|
||||
),
|
||||
);
|
||||
}
|
||||
|
||||
return $pointers;
|
||||
}
|
||||
|
||||
// @todo check is this correct place (editable page)
|
||||
function vc_page_editable_enqueue_pointer_scripts() {
|
||||
if ( vc_is_page_editable() ) {
|
||||
wp_enqueue_style( 'wp-pointer' );
|
||||
wp_enqueue_script( 'wp-pointer' );
|
||||
}
|
||||
}
|
||||
|
||||
add_action( 'wp_enqueue_scripts', 'vc_page_editable_enqueue_pointer_scripts' );
|
||||
@@ -0,0 +1,250 @@
|
||||
<?php
|
||||
if ( ! defined( 'ABSPATH' ) ) {
|
||||
die( '-1' );
|
||||
}
|
||||
|
||||
add_action( 'wp_ajax_vc_action_save_settings_preset', 'vc_action_save_settings_preset' );
|
||||
add_action( 'wp_ajax_vc_action_set_as_default_settings_preset', 'vc_action_set_as_default_settings_preset' );
|
||||
add_action( 'wp_ajax_vc_action_delete_settings_preset', 'vc_action_delete_settings_preset' );
|
||||
add_action( 'wp_ajax_vc_action_restore_default_settings_preset', 'vc_action_restore_default_settings_preset' );
|
||||
add_action( 'wp_ajax_vc_action_get_settings_preset', 'vc_action_get_settings_preset' );
|
||||
add_action( 'wp_ajax_vc_action_render_settings_preset_popup', 'vc_action_render_settings_preset_popup' );
|
||||
add_action( 'wp_ajax_vc_action_render_settings_preset_title_prompt', 'vc_action_render_settings_preset_title_prompt' );
|
||||
add_action( 'wp_ajax_vc_action_render_settings_templates_prompt', 'vc_action_render_settings_templates_prompt' );
|
||||
add_action( 'vc_restore_default_settings_preset', 'vc_action_set_as_default_settings_preset', 10, 2 );
|
||||
add_action( 'vc_register_settings_preset', 'vc_register_settings_preset', 10, 4 );
|
||||
add_filter( 'vc_add_new_elements_to_box', 'vc_add_new_elements_to_box' );
|
||||
add_filter( 'vc_add_new_category_filter', 'vc_add_new_category_filter' );
|
||||
|
||||
function vc_include_settings_preset_class() {
|
||||
require_once vc_path_dir( 'AUTOLOAD_DIR', 'class-vc-settings-presets.php' );
|
||||
}
|
||||
|
||||
/**
|
||||
* @return Vc_Vendor_Preset
|
||||
*/
|
||||
function vc_vendor_preset() {
|
||||
require_once vc_path_dir( 'AUTOLOAD_DIR', 'class-vc-vendor-presets.php' );
|
||||
|
||||
return Vc_Vendor_Preset::getInstance();
|
||||
}
|
||||
|
||||
/**
|
||||
* Save settings preset for specific shortcode
|
||||
*
|
||||
* Include freshly rendered html in response
|
||||
*
|
||||
* Required _POST params:
|
||||
* - shortcode_name string
|
||||
* - title string
|
||||
* - data string params in json
|
||||
* - is_default
|
||||
*
|
||||
* @since 4.7
|
||||
*/
|
||||
function vc_action_save_settings_preset() {
|
||||
vc_include_settings_preset_class();
|
||||
vc_user_access()->part( 'presets' )->checkStateAny( true, null )->validateDie(); // user must have permission to save presets
|
||||
|
||||
$id = Vc_Settings_Preset::saveSettingsPreset( vc_post_param( 'shortcode_name' ), vc_post_param( 'title' ), vc_post_param( 'data' ), vc_post_param( 'is_default' ) );
|
||||
|
||||
$response = array(
|
||||
'success' => (bool) $id,
|
||||
'html' => Vc_Settings_Preset::getRenderedSettingsPresetPopup( vc_post_param( 'shortcode_name' ) ),
|
||||
'id' => $id,
|
||||
);
|
||||
|
||||
wp_send_json( $response );
|
||||
}
|
||||
|
||||
/**
|
||||
* Set existing preset as default
|
||||
*
|
||||
* Include freshly rendered html in response
|
||||
*
|
||||
* Required _POST params:
|
||||
* - id int
|
||||
* - shortcode_name string
|
||||
*
|
||||
* @since 4.7
|
||||
*/
|
||||
function vc_action_set_as_default_settings_preset() {
|
||||
vc_include_settings_preset_class();
|
||||
vc_user_access()->part( 'presets' )->checkStateAny( true, null )->validateDie(); // user must have permission to set as default presets
|
||||
|
||||
$id = vc_post_param( 'id' );
|
||||
$shortcode_name = vc_post_param( 'shortcode_name' );
|
||||
|
||||
$status = Vc_Settings_Preset::setAsDefaultSettingsPreset( $id, $shortcode_name );
|
||||
|
||||
$response = array(
|
||||
'success' => $status,
|
||||
'html' => Vc_Settings_Preset::getRenderedSettingsPresetPopup( $shortcode_name ),
|
||||
);
|
||||
|
||||
wp_send_json( $response );
|
||||
}
|
||||
|
||||
/**
|
||||
* Unmark current default preset as default
|
||||
*
|
||||
* Include freshly rendered html in response
|
||||
*
|
||||
* Required _POST params:
|
||||
* - shortcode_name string
|
||||
*
|
||||
* @since 4.7
|
||||
*/
|
||||
function vc_action_restore_default_settings_preset() {
|
||||
vc_include_settings_preset_class();
|
||||
vc_user_access()->part( 'presets' )->checkStateAny( true, null )->validateDie(); // user must have permission to restore presets
|
||||
|
||||
$shortcode_name = vc_post_param( 'shortcode_name' );
|
||||
|
||||
$status = Vc_Settings_Preset::setAsDefaultSettingsPreset( null, $shortcode_name );
|
||||
|
||||
$response = array(
|
||||
'success' => $status,
|
||||
'html' => Vc_Settings_Preset::getRenderedSettingsPresetPopup( $shortcode_name ),
|
||||
);
|
||||
|
||||
wp_send_json( $response );
|
||||
}
|
||||
|
||||
/**
|
||||
* Delete specific settings preset
|
||||
*
|
||||
* Include freshly rendered html in response
|
||||
*
|
||||
* Required _POST params:
|
||||
* - shortcode_name string
|
||||
* - id int
|
||||
*
|
||||
* @since 4.7
|
||||
*/
|
||||
function vc_action_delete_settings_preset() {
|
||||
vc_include_settings_preset_class();
|
||||
vc_user_access()->part( 'presets' )->checkStateAny( true, null )->validateDie(); // user must have permission to delete presets
|
||||
|
||||
$default = get_post_meta( vc_post_param( 'id' ), '_vc_default', true );
|
||||
|
||||
$status = Vc_Settings_Preset::deleteSettingsPreset( vc_post_param( 'id' ) );
|
||||
|
||||
$response = array(
|
||||
'success' => $status,
|
||||
'default' => $default,
|
||||
'html' => Vc_Settings_Preset::getRenderedSettingsPresetPopup( vc_post_param( 'shortcode_name' ) ),
|
||||
);
|
||||
|
||||
wp_send_json( $response );
|
||||
}
|
||||
|
||||
/**
|
||||
* Get data for specific settings preset
|
||||
*
|
||||
* Required _POST params:
|
||||
* - id int
|
||||
*
|
||||
* @since 4.7
|
||||
*/
|
||||
function vc_action_get_settings_preset() {
|
||||
vc_include_settings_preset_class();
|
||||
|
||||
$data = Vc_Settings_Preset::getSettingsPreset( vc_post_param( 'id' ), true );
|
||||
|
||||
if ( false !== $data ) {
|
||||
$response = array(
|
||||
'success' => true,
|
||||
'data' => $data,
|
||||
);
|
||||
} else {
|
||||
$response = array(
|
||||
'success' => false,
|
||||
);
|
||||
}
|
||||
|
||||
wp_send_json( $response );
|
||||
}
|
||||
|
||||
/**
|
||||
* Respond with rendered popup menu
|
||||
*
|
||||
* Required _POST params:
|
||||
* - shortcode_name string
|
||||
*
|
||||
* @since 4.7
|
||||
*/
|
||||
function vc_action_render_settings_preset_popup() {
|
||||
vc_include_settings_preset_class();
|
||||
$html = Vc_Settings_Preset::getRenderedSettingsPresetPopup( vc_post_param( 'shortcode_name' ) );
|
||||
|
||||
$response = array(
|
||||
'success' => true,
|
||||
'html' => $html,
|
||||
);
|
||||
|
||||
wp_send_json( $response );
|
||||
}
|
||||
|
||||
/**
|
||||
* Return rendered title prompt
|
||||
*
|
||||
* @since 4.7
|
||||
*
|
||||
*/
|
||||
function vc_action_render_settings_preset_title_prompt() {
|
||||
vc_user_access()->checkAdminNonce()->validateDie()->wpAny( 'edit_posts', 'edit_pages' )->validateDie()->part( 'presets' )->can()->validateDie();
|
||||
|
||||
ob_start();
|
||||
vc_include_template( apply_filters( 'vc_render_settings_preset_title_prompt', 'editors/partials/prompt-presets.tpl.php' ) );
|
||||
$html = ob_get_clean();
|
||||
|
||||
$response = array(
|
||||
'success' => true,
|
||||
'html' => $html,
|
||||
);
|
||||
|
||||
wp_send_json( $response );
|
||||
}
|
||||
|
||||
/**
|
||||
* Return rendered template prompt
|
||||
*/
|
||||
function vc_action_render_settings_templates_prompt() {
|
||||
vc_user_access()->checkAdminNonce()->validateDie()->wpAny( 'edit_posts', 'edit_pages' )->validateDie()->part( 'templates' )->can()->validateDie();
|
||||
|
||||
ob_start();
|
||||
vc_include_template( apply_filters( 'vc_render_settings_preset_title_prompt', 'editors/partials/prompt-templates.tpl.php' ) );
|
||||
$html = ob_get_clean();
|
||||
|
||||
$response = array(
|
||||
'success' => true,
|
||||
'html' => $html,
|
||||
);
|
||||
|
||||
wp_send_json( $response );
|
||||
}
|
||||
|
||||
/**
|
||||
* Register (add) new vendor preset
|
||||
*
|
||||
* @since 4.8
|
||||
*
|
||||
* @param string $title
|
||||
* @param string $shortcode
|
||||
* @param array $params
|
||||
* @param bool $default
|
||||
*/
|
||||
function vc_register_settings_preset( $title, $shortcode, $params, $default = false ) {
|
||||
vc_vendor_preset()->add( $title, $shortcode, $params, $default );
|
||||
}
|
||||
|
||||
function vc_add_new_elements_to_box( $shortcodes ) {
|
||||
require_once vc_path_dir( 'AUTOLOAD_DIR', 'class-vc-settings-presets.php' );
|
||||
return Vc_Settings_Preset::addVcPresetsToShortcodes( $shortcodes );
|
||||
}
|
||||
|
||||
function vc_add_new_category_filter( $cat ) {
|
||||
require_once vc_path_dir( 'AUTOLOAD_DIR', 'class-vc-settings-presets.php' );
|
||||
return Vc_Settings_Preset::addPresetCategory( $cat );
|
||||
}
|
||||
@@ -0,0 +1,263 @@
|
||||
<?php
|
||||
if ( ! defined( 'ABSPATH' ) ) {
|
||||
die( '-1' );
|
||||
}
|
||||
|
||||
class VcShortcodeAutoloader {
|
||||
|
||||
private static $_instance = null;
|
||||
private static $config = null;
|
||||
private static $cached = null;
|
||||
|
||||
public static function getInstance( $load_config = true ) {
|
||||
if ( null === self::$_instance ) {
|
||||
self::$_instance = new VcShortcodeAutoloader( $load_config );
|
||||
}
|
||||
|
||||
return self::$_instance;
|
||||
}
|
||||
|
||||
private function __construct( $load_config = true ) {
|
||||
if ( ! $load_config ) {
|
||||
return;
|
||||
}
|
||||
|
||||
$config = array(
|
||||
'classmap_file' => vc_path_dir( 'APP_ROOT', 'vc_classmap.json.php' ),
|
||||
'shortcodes_dir' => vc_path_dir( 'SHORTCODES_DIR' ),
|
||||
'root_dir' => vc_path_dir( 'APP_ROOT' ),
|
||||
);
|
||||
|
||||
if ( is_file( $config['classmap_file'] ) ) {
|
||||
$config['classmap'] = require $config['classmap_file'];
|
||||
self::$cached = true;
|
||||
} else {
|
||||
$config['classmap'] = self::generateClassMap( $config['shortcodes_dir'] );
|
||||
self::$cached = false;
|
||||
}
|
||||
|
||||
self::$config = $config;
|
||||
}
|
||||
|
||||
/**
|
||||
* Include class dependencies
|
||||
*
|
||||
* @param string $class Class name
|
||||
*
|
||||
* @return string[] Included (if any) files
|
||||
*/
|
||||
public static function includeClass( $class ) {
|
||||
$class = strtolower( $class );
|
||||
$files = array();
|
||||
|
||||
if ( self::$config['classmap'] ) {
|
||||
$files = isset( self::$config['classmap'][ $class ] ) ? self::$config['classmap'][ $class ] : array();
|
||||
}
|
||||
|
||||
if ( $files ) {
|
||||
foreach ( $files as $k => $file ) {
|
||||
if ( self::$cached ) {
|
||||
$files[ $k ] = $file = self::$config['root_dir'] . DIRECTORY_SEPARATOR . $file;
|
||||
}
|
||||
|
||||
if ( is_file( $file ) ) {
|
||||
require_once( $file );
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
return $files;
|
||||
}
|
||||
|
||||
/**
|
||||
* Find all classes defined in file
|
||||
*
|
||||
* @param string $file Full path to file
|
||||
*
|
||||
* @return string[]
|
||||
*/
|
||||
public static function extractClassNames( $file ) {
|
||||
$classes = array();
|
||||
|
||||
$contents = file_get_contents( $file );
|
||||
if ( ! $contents ) {
|
||||
return $classes;
|
||||
}
|
||||
|
||||
$tokens = token_get_all( $contents );
|
||||
$class_token = false;
|
||||
foreach ( $tokens as $token ) {
|
||||
if ( is_array( $token ) ) {
|
||||
if ( T_CLASS == $token[0] ) {
|
||||
$class_token = true;
|
||||
} elseif ( $class_token && T_STRING == $token[0] ) {
|
||||
$classes[] = $token[1];
|
||||
$class_token = false;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
return $classes;
|
||||
}
|
||||
|
||||
/**
|
||||
* Extract all classes from file with their extends
|
||||
*
|
||||
* @param $file
|
||||
*
|
||||
* @return array Associative array where key is class name and value is parent class name (if any))
|
||||
*/
|
||||
public static function extractClassesAndExtends( $file ) {
|
||||
$classes = array();
|
||||
|
||||
$contents = file_get_contents( $file );
|
||||
if ( ! $contents ) {
|
||||
return $classes;
|
||||
}
|
||||
|
||||
// class Foo extends Bar {
|
||||
preg_match_all( '/class\s+(\w+)\s+extends\s(\w+)\s+\{/i', $contents, $matches, PREG_SET_ORDER );
|
||||
foreach ( $matches as $v ) {
|
||||
$classes[ $v[1] ] = $v[2];
|
||||
}
|
||||
|
||||
// class Foo {
|
||||
preg_match_all( '/class\s+(\w+)\s+\{/i', $contents, $matches, PREG_SET_ORDER );
|
||||
foreach ( $matches as $v ) {
|
||||
$classes[ $v[1] ] = null;
|
||||
}
|
||||
|
||||
return $classes;
|
||||
}
|
||||
|
||||
/**
|
||||
* Find file by class name
|
||||
*
|
||||
* Search is case-insensitive
|
||||
*
|
||||
* @param string $class
|
||||
* @param string[]|string $dirs One or more directories where to look (recursive)
|
||||
*
|
||||
* @return string|false Full path to class file
|
||||
*/
|
||||
public static function findClassFile( $class, $dirs ) {
|
||||
foreach ( (array) $dirs as $dir ) {
|
||||
$Directory = new RecursiveDirectoryIterator( $dir );
|
||||
$Iterator = new RecursiveIteratorIterator( $Directory );
|
||||
$Regex = new RegexIterator( $Iterator, '/^.+\.php$/i', RecursiveRegexIterator::GET_MATCH );
|
||||
$class = strtolower( $class );
|
||||
|
||||
foreach ( $Regex as $file => $object ) {
|
||||
$classes = self::extractClassNames( $file );
|
||||
|
||||
if ( $classes && in_array( $class, array_map( 'strtolower', $classes ) ) ) {
|
||||
return $file;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
* Construct full dependency list of classes for each class in right order (including class itself)
|
||||
*
|
||||
* @param string[]|string $dirs Directories where to look (recursive)
|
||||
*
|
||||
* @return array Associative array where key is lowercase class name and value is array of files to include for
|
||||
* that class to work
|
||||
*/
|
||||
public static function generateClassMap( $dirs ) {
|
||||
$flat_map = array();
|
||||
foreach ( (array) $dirs as $dir ) {
|
||||
$Directory = new RecursiveDirectoryIterator( $dir );
|
||||
$Iterator = new RecursiveIteratorIterator( $Directory );
|
||||
$Regex = new RegexIterator( $Iterator, '/^.+\.php$/i', RecursiveRegexIterator::GET_MATCH );
|
||||
|
||||
foreach ( $Regex as $file => $object ) {
|
||||
$classes = self::extractClassesAndExtends( $file );
|
||||
|
||||
foreach ( $classes as $class => $extends ) {
|
||||
$class = strtolower( $class );
|
||||
$extends = strtolower( $extends );
|
||||
if ( in_array( $extends, array(
|
||||
'wpbakeryshortcodescontainer',
|
||||
'wpbakeryvisualcomposer',
|
||||
'wpbakeryshortcode',
|
||||
'wpbmap',
|
||||
) ) ) {
|
||||
$extends = null;
|
||||
}
|
||||
$flat_map[ $class ] = array(
|
||||
'class' => $class,
|
||||
'file' => $file,
|
||||
'extends' => $extends,
|
||||
);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
$map = array();
|
||||
foreach ( $flat_map as $params ) {
|
||||
$dependencies = array(
|
||||
array(
|
||||
'class' => $params['class'],
|
||||
'file' => $params['file'],
|
||||
),
|
||||
);
|
||||
|
||||
if ( $params['extends'] ) {
|
||||
$queue = array( $params['extends'] );
|
||||
|
||||
while ( $queue ) {
|
||||
$current_class = array_pop( $queue );
|
||||
$current_class = $flat_map[ $current_class ];
|
||||
|
||||
$dependencies[] = array(
|
||||
'class' => $current_class['class'],
|
||||
'file' => $current_class['file'],
|
||||
);
|
||||
|
||||
if ( ! empty( $current_class['extends'] ) ) {
|
||||
$queue[] = $current_class['extends'];
|
||||
}
|
||||
}
|
||||
|
||||
$map[ $params['class'] ] = array_reverse( $dependencies );
|
||||
} else {
|
||||
$map[ $params['class'] ] = $dependencies;
|
||||
}
|
||||
}
|
||||
|
||||
// simplify array
|
||||
$classmap = array();
|
||||
foreach ( $map as $class => $dependencies ) {
|
||||
$classmap[ $class ] = array();
|
||||
foreach ( $dependencies as $v ) {
|
||||
$classmap[ $class ][] = str_replace( '\\', '/', $v['file'] );
|
||||
}
|
||||
}
|
||||
|
||||
return $classmap;
|
||||
}
|
||||
|
||||
/**
|
||||
* Regenerate and save class map file
|
||||
*
|
||||
* @param string[]|string $dirs Directories where to look (recursive)
|
||||
* @param string $target Output file
|
||||
*
|
||||
* @return bool
|
||||
*/
|
||||
public static function saveClassMap( $dirs, $target ) {
|
||||
if ( ! $target ) {
|
||||
return false;
|
||||
}
|
||||
|
||||
$classmap = self::generateClassMap( $dirs );
|
||||
|
||||
$code = '<?php return (array) json_decode(\'' . json_encode( $classmap ) . '\') ?>';
|
||||
|
||||
return (bool) file_put_contents( $target, $code );
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,29 @@
|
||||
<?php
|
||||
if ( ! defined( 'ABSPATH' ) ) {
|
||||
die( '-1' );
|
||||
}
|
||||
|
||||
if ( 'vc_edit_form' === vc_post_param( 'action' ) ) {
|
||||
add_filter( 'vc_edit_form_fields_attributes_vc_single_image', 'vc_single_image_convert_old_link_to_new' );
|
||||
}
|
||||
/**
|
||||
* Backward compatibility
|
||||
*
|
||||
* @since 4.6
|
||||
* @param $atts
|
||||
* @return mixed
|
||||
*/
|
||||
function vc_single_image_convert_old_link_to_new( $atts ) {
|
||||
if ( empty( $atts['onclick'] ) && isset( $atts['img_link_large'] ) && 'yes' === $atts['img_link_large'] ) {
|
||||
$atts['onclick'] = 'img_link_large';
|
||||
unset( $atts['img_link_large'] );
|
||||
} elseif ( empty( $atts['onclick'] ) && ( ! isset( $atts['img_link_large'] ) || 'yes' !== $atts['img_link_large'] ) ) {
|
||||
unset( $atts['img_link_large'] );
|
||||
}
|
||||
|
||||
if ( empty( $atts['onclick'] ) && ! empty( $atts['link'] ) ) {
|
||||
$atts['onclick'] = 'custom_link';
|
||||
}
|
||||
|
||||
return $atts;
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
<?php
|
||||
if ( ! defined( 'ABSPATH' ) ) {
|
||||
die( '-1' );
|
||||
}
|
||||
|
||||
function vc_navbar_undoredo() {
|
||||
if ( vc_is_frontend_editor() || is_admin() ) {
|
||||
require_once vc_path_dir( 'EDITORS_DIR', 'navbar/class-vc-navbar-undoredo.php' );
|
||||
new Vc_Navbar_Undoredo();
|
||||
}
|
||||
}
|
||||
|
||||
add_action( 'admin_init', 'vc_navbar_undoredo' );
|
||||
@@ -0,0 +1,30 @@
|
||||
<?php
|
||||
if ( ! defined( 'ABSPATH' ) ) {
|
||||
die( '-1' );
|
||||
}
|
||||
|
||||
/**
|
||||
* @since 4.4 vendors initialization moved to hooks in autoload/vendors.
|
||||
*
|
||||
* Used to initialize advanced custom fields vendor.
|
||||
*/
|
||||
add_action( 'acf/init', 'vc_init_vendor_acf' ); // pro version
|
||||
add_action( 'acf/register_fields', 'vc_init_vendor_acf' ); // free version
|
||||
add_action( 'plugins_loaded', 'vc_init_vendor_acf' );
|
||||
add_action( 'after_setup_theme', 'vc_init_vendor_acf' ); // for themes
|
||||
function vc_init_vendor_acf() {
|
||||
if ( did_action( 'vc-vendor-acf-load' ) ) {
|
||||
return;
|
||||
}
|
||||
include_once( ABSPATH . 'wp-admin/includes/plugin.php' ); // Require plugin.php to use is_plugin_active() below
|
||||
if ( class_exists( 'acf' ) || is_plugin_active( 'advanced-custom-fields/acf.php' ) || is_plugin_active( 'advanced-custom-fields-pro/acf.php' ) ) {
|
||||
require_once vc_path_dir( 'VENDORS_DIR',
|
||||
'plugins/class-vc-vendor-advanced-custom-fields.php' );
|
||||
$vendor = new Vc_Vendor_AdvancedCustomFields();
|
||||
add_action( 'vc_after_set_mode',
|
||||
array(
|
||||
$vendor,
|
||||
'load',
|
||||
) );
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,22 @@
|
||||
<?php
|
||||
if ( ! defined( 'ABSPATH' ) ) {
|
||||
die( '-1' );
|
||||
}
|
||||
|
||||
/**
|
||||
* @since 4.4 vendors initialization moved to hooks in autoload/vendors.
|
||||
*
|
||||
* Used to initialize plugin contact form 7 vendor - fix load cf7 shortcode when in editor (frontend)
|
||||
*/
|
||||
add_action( 'plugins_loaded', 'vc_init_vendor_cf7' );
|
||||
function vc_init_vendor_cf7() {
|
||||
include_once( ABSPATH . 'wp-admin/includes/plugin.php' ); // Require plugin.php to use is_plugin_active() below
|
||||
if ( is_plugin_active( 'contact-form-7/wp-contact-form-7.php' ) || defined( 'WPCF7_PLUGIN' ) ) {
|
||||
require_once vc_path_dir( 'VENDORS_DIR', 'plugins/class-vc-vendor-contact-form7.php' );
|
||||
$vendor = new Vc_Vendor_ContactForm7();
|
||||
add_action( 'vc_after_set_mode', array(
|
||||
$vendor,
|
||||
'load',
|
||||
) );
|
||||
} // if contact form7 plugin active
|
||||
}
|
||||
@@ -0,0 +1,105 @@
|
||||
<?php
|
||||
if ( ! defined( 'ABSPATH' ) ) {
|
||||
die( '-1' );
|
||||
}
|
||||
|
||||
/**
|
||||
* @since 4.4 vendors initialization moved to hooks in autoload/vendors.
|
||||
*
|
||||
* Used to add gravity forms shortcode into WPBakery Page Builder
|
||||
*/
|
||||
add_action( 'plugins_loaded', 'vc_init_vendor_gravity_forms' );
|
||||
function vc_init_vendor_gravity_forms() {
|
||||
include_once( ABSPATH . 'wp-admin/includes/plugin.php' ); // Require plugin.php to use is_plugin_active() below
|
||||
if ( is_plugin_active( 'gravityforms/gravityforms.php' ) || class_exists( 'RGForms' ) || class_exists( 'RGFormsModel' ) ) {
|
||||
// Call on map
|
||||
add_action( 'vc_after_init', 'vc_vendor_gravityforms_load' );
|
||||
} // if gravityforms active
|
||||
}
|
||||
|
||||
function vc_vendor_gravityforms_load() {
|
||||
$gravity_forms_array[ __( 'No Gravity forms found.', 'js_composer' ) ] = '';
|
||||
if ( class_exists( 'RGFormsModel' ) ) {
|
||||
$gravity_forms = RGFormsModel::get_forms( 1, 'title' );
|
||||
if ( $gravity_forms ) {
|
||||
$gravity_forms_array = array( __( 'Select a form to display.', 'js_composer' ) => '' );
|
||||
foreach ( $gravity_forms as $gravity_form ) {
|
||||
$gravity_forms_array[ $gravity_form->title ] = $gravity_form->id;
|
||||
}
|
||||
}
|
||||
}
|
||||
vc_map( array(
|
||||
'name' => __( 'Gravity Form', 'js_composer' ),
|
||||
'base' => 'gravityform',
|
||||
'icon' => 'icon-wpb-vc_gravityform',
|
||||
'category' => __( 'Content', 'js_composer' ),
|
||||
'description' => __( 'Place Gravity form', 'js_composer' ),
|
||||
'params' => array(
|
||||
array(
|
||||
'type' => 'dropdown',
|
||||
'heading' => __( 'Form', 'js_composer' ),
|
||||
'param_name' => 'id',
|
||||
'value' => $gravity_forms_array,
|
||||
'save_always' => true,
|
||||
'description' => __( 'Select a form to add it to your post or page.', 'js_composer' ),
|
||||
'admin_label' => true,
|
||||
),
|
||||
array(
|
||||
'type' => 'dropdown',
|
||||
'heading' => __( 'Display Form Title', 'js_composer' ),
|
||||
'param_name' => 'title',
|
||||
'value' => array(
|
||||
__( 'No', 'js_composer' ) => 'false',
|
||||
__( 'Yes', 'js_composer' ) => 'true',
|
||||
),
|
||||
'save_always' => true,
|
||||
'description' => __( 'Would you like to display the forms title?', 'js_composer' ),
|
||||
'dependency' => array(
|
||||
'element' => 'id',
|
||||
'not_empty' => true,
|
||||
),
|
||||
),
|
||||
array(
|
||||
'type' => 'dropdown',
|
||||
'heading' => __( 'Display Form Description', 'js_composer' ),
|
||||
'param_name' => 'description',
|
||||
'value' => array(
|
||||
__( 'No', 'js_composer' ) => 'false',
|
||||
__( 'Yes', 'js_composer' ) => 'true',
|
||||
),
|
||||
'save_always' => true,
|
||||
'description' => __( 'Would you like to display the forms description?', 'js_composer' ),
|
||||
'dependency' => array(
|
||||
'element' => 'id',
|
||||
'not_empty' => true,
|
||||
),
|
||||
),
|
||||
array(
|
||||
'type' => 'dropdown',
|
||||
'heading' => __( 'Enable AJAX?', 'js_composer' ),
|
||||
'param_name' => 'ajax',
|
||||
'value' => array(
|
||||
__( 'No', 'js_composer' ) => 'false',
|
||||
__( 'Yes', 'js_composer' ) => 'true',
|
||||
),
|
||||
'save_always' => true,
|
||||
'description' => __( 'Enable AJAX submission?', 'js_composer' ),
|
||||
'dependency' => array(
|
||||
'element' => 'id',
|
||||
'not_empty' => true,
|
||||
),
|
||||
),
|
||||
array(
|
||||
'type' => 'textfield',
|
||||
'heading' => __( 'Tab Index', 'js_composer' ),
|
||||
'param_name' => 'tabindex',
|
||||
'description' => __( '(Optional) Specify the starting tab index for the fields of this form. Leave blank if you\'re not sure what this is.',
|
||||
'js_composer' ),
|
||||
'dependency' => array(
|
||||
'element' => 'id',
|
||||
'not_empty' => true,
|
||||
),
|
||||
),
|
||||
),
|
||||
) );
|
||||
}
|
||||
@@ -0,0 +1,77 @@
|
||||
<?php
|
||||
if ( ! defined( 'ABSPATH' ) ) {
|
||||
die( '-1' );
|
||||
}
|
||||
function vcv_disable_gutenberg_for_classic_editor( $post ) {
|
||||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param \Vc_Settings $settings
|
||||
*/
|
||||
function vc_gutenberg_add_settings( $settings ) {
|
||||
global $wp_version;
|
||||
if ( function_exists( 'the_gutenberg_project' ) || version_compare( $wp_version, '4.9.8', '>' ) ) {
|
||||
$settings->addField( 'general', __( 'Disable Gutenberg Editor', 'js_composer' ), 'gutenberg_disable', 'vc_gutenberg_sanitize_disable_callback', 'vc_gutenberg_disable_render_callback' );
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* @param $rules
|
||||
*
|
||||
* @return mixed
|
||||
*/
|
||||
function vc_gutenberg_sanitize_disable_callback( $rules ) {
|
||||
return (bool) $rules;
|
||||
}
|
||||
|
||||
/**
|
||||
* Not responsive checkbox callback function
|
||||
*/
|
||||
function vc_gutenberg_disable_render_callback() {
|
||||
$checked = ( $checked = get_option( 'wpb_js_gutenberg_disable' ) ) ? $checked : false;
|
||||
?>
|
||||
<label>
|
||||
<input type="checkbox"<?php echo( $checked ? ' checked' : '' ) ?> value="1"
|
||||
name="<?php echo 'wpb_js_gutenberg_disable' ?>">
|
||||
<?php _e( 'Disable', 'js_composer' ) ?>
|
||||
</label><br/>
|
||||
<p
|
||||
class="description indicator-hint"><?php _e( 'Disable Gutenberg Editor.', 'js_composer' ); ?></p>
|
||||
<?php
|
||||
}
|
||||
|
||||
function vc_gutenberg_check_disabled( $result, $postType ) {
|
||||
if ( 'wpb_gutenberg_param' === $postType ) {
|
||||
return true;
|
||||
}
|
||||
if ( ! isset( $_GET['vcv-gutenberg-editor'] ) && ( get_option( 'wpb_js_gutenberg_disable' ) || vc_is_wpb_content() || isset( $_GET['classic-editor'] ) ) ) {
|
||||
return false;
|
||||
}
|
||||
|
||||
return $result;
|
||||
}
|
||||
|
||||
function vc_is_wpb_content() {
|
||||
$post = get_post();
|
||||
if ( ! empty( $post ) && isset( $post->post_content ) && preg_match( '/\[vc_row/', $post->post_content ) ) {
|
||||
return true;
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
function vc_gutenberg_map() {
|
||||
global $wp_version;
|
||||
if ( function_exists( 'the_gutenberg_project' ) || version_compare( $wp_version, '4.9.8', '>' ) ) {
|
||||
vc_lean_map( 'vc_gutenberg', null, dirname( __FILE__ ) . '/shortcode-vc-gutenberg.php' );
|
||||
}
|
||||
}
|
||||
|
||||
add_filter( 'use_block_editor_for_post_type', 'vc_gutenberg_check_disabled', 10, 2 );
|
||||
add_action( 'vc_settings_tab-general', 'vc_gutenberg_add_settings' );
|
||||
add_action( 'init', 'vc_gutenberg_map' );
|
||||
|
||||
/** @see include/params/gutenberg/class-gutenberg-param.php */
|
||||
require_once vc_path_dir( 'PARAMS_DIR', 'gutenberg/class-gutenberg-param.php' );
|
||||
new Gutenberg_Param();
|
||||
@@ -0,0 +1,18 @@
|
||||
<?php
|
||||
if ( ! defined( 'ABSPATH' ) ) {
|
||||
die( '-1' );
|
||||
}
|
||||
|
||||
/**
|
||||
* @since 4.4 vendors initialization moved to hooks in autoload/vendors.
|
||||
*
|
||||
* Used to initialize plugin jwplayer vendor for frontend editor.
|
||||
*/
|
||||
add_action( 'plugins_loaded', 'vc_init_vendor_jwplayer' );
|
||||
function vc_init_vendor_jwplayer() {
|
||||
if ( is_plugin_active( 'jw-player-plugin-for-wordpress/jwplayermodule.php' ) || defined( 'JWP6' ) || class_exists( 'JWP6_Plugin' ) ) {
|
||||
require_once vc_path_dir( 'VENDORS_DIR', 'plugins/class-vc-vendor-jwplayer.php' );
|
||||
$vendor = new Vc_Vendor_Jwplayer();
|
||||
$vendor->load();
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,19 @@
|
||||
<?php
|
||||
if ( ! defined( 'ABSPATH' ) ) {
|
||||
die( '-1' );
|
||||
}
|
||||
|
||||
/**
|
||||
* @since 4.4 vendors initialization moved to hooks in autoload/vendors.
|
||||
*
|
||||
* Used to initialize plugin layerslider vendor.
|
||||
*/
|
||||
add_action( 'plugins_loaded', 'vc_init_vendor_layerslider' );
|
||||
function vc_init_vendor_layerslider() {
|
||||
include_once( ABSPATH . 'wp-admin/includes/plugin.php' ); // Require plugin.php to use is_plugin_active() below
|
||||
if ( is_plugin_active( 'LayerSlider/layerslider.php' ) || class_exists( 'LS_Sliders' ) || defined( 'LS_ROOT_PATH' ) ) {
|
||||
require_once vc_path_dir( 'VENDORS_DIR', 'plugins/class-vc-vendor-layerslider.php' );
|
||||
$vendor = new Vc_Vendor_Layerslider();
|
||||
$vendor->load();
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,22 @@
|
||||
<?php
|
||||
if ( ! defined( 'ABSPATH' ) ) {
|
||||
die( '-1' );
|
||||
}
|
||||
|
||||
/**
|
||||
* @since 4.4 vendors initialization moved to hooks in autoload/vendors.
|
||||
*
|
||||
* Used to initialize plugin mqtranslate vendor
|
||||
*/
|
||||
add_action( 'plugins_loaded', 'vc_init_vendor_mqtranslate' );
|
||||
function vc_init_vendor_mqtranslate() {
|
||||
include_once( ABSPATH . 'wp-admin/includes/plugin.php' ); // Require plugin.php to use is_plugin_active() below
|
||||
if ( is_plugin_active( 'mqtranslate/mqtranslate.php' ) || function_exists( 'mqtranslate_activation_check' ) ) {
|
||||
require_once vc_path_dir( 'VENDORS_DIR', 'plugins/class-vc-vendor-mqtranslate.php' );
|
||||
$vendor = new Vc_Vendor_Mqtranslate();
|
||||
add_action( 'vc_after_set_mode', array(
|
||||
$vendor,
|
||||
'load',
|
||||
) );
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,22 @@
|
||||
<?php
|
||||
if ( ! defined( 'ABSPATH' ) ) {
|
||||
die( '-1' );
|
||||
}
|
||||
|
||||
/**
|
||||
* @since 4.4 vendors initialization moved to hooks in autoload/vendors.
|
||||
*
|
||||
* Used to initialize plugin ninja forms vendor
|
||||
*/
|
||||
add_action( 'plugins_loaded', 'vc_init_vendor_ninja_forms' );
|
||||
function vc_init_vendor_ninja_forms() {
|
||||
include_once( ABSPATH . 'wp-admin/includes/plugin.php' ); // Require plugin.php to use is_plugin_active() below
|
||||
if ( is_plugin_active( 'ninja-forms/ninja-forms.php' ) || defined( 'NINJA_FORMS_DIR' ) || function_exists( 'ninja_forms_get_all_forms' ) ) {
|
||||
require_once vc_path_dir( 'VENDORS_DIR', 'plugins/class-vc-vendor-ninja-forms.php' );
|
||||
$vendor = new Vc_Vendor_NinjaForms();
|
||||
add_action( 'vc_after_set_mode', array(
|
||||
$vendor,
|
||||
'load',
|
||||
) );
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,21 @@
|
||||
<?php
|
||||
if ( ! defined( 'ABSPATH' ) ) {
|
||||
die( '-1' );
|
||||
}
|
||||
|
||||
/**
|
||||
* @since 4.4 vendors initialization moved to hooks in autoload/vendors.
|
||||
*
|
||||
* Used to initialize plugin qtranslate vendor.
|
||||
*/
|
||||
add_action( 'plugins_loaded', 'vc_init_vendor_qtranslatex' );
|
||||
function vc_init_vendor_qtranslatex() {
|
||||
if ( defined( 'QTX_VERSION' ) ) {
|
||||
require_once vc_path_dir( 'VENDORS_DIR', 'plugins/class-vc-vendor-qtranslate-x.php' );
|
||||
$vendor = new Vc_Vendor_QtranslateX();
|
||||
add_action( 'vc_after_set_mode', array(
|
||||
$vendor,
|
||||
'load',
|
||||
) );
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,22 @@
|
||||
<?php
|
||||
if ( ! defined( 'ABSPATH' ) ) {
|
||||
die( '-1' );
|
||||
}
|
||||
|
||||
/**
|
||||
* @since 4.4 vendors initialization moved to hooks in autoload/vendors.
|
||||
*
|
||||
* Used to initialize plugin qtranslate vendor.
|
||||
*/
|
||||
add_action( 'plugins_loaded', 'vc_init_vendor_qtranslate' );
|
||||
function vc_init_vendor_qtranslate() {
|
||||
include_once( ABSPATH . 'wp-admin/includes/plugin.php' ); // Require plugin.php to use is_plugin_active() below
|
||||
if ( is_plugin_active( 'qtranslate/qtranslate.php' ) || defined( 'QT_SUPPORTED_WP_VERSION' ) ) {
|
||||
require_once vc_path_dir( 'VENDORS_DIR', 'plugins/class-vc-vendor-qtranslate.php' );
|
||||
$vendor = new Vc_Vendor_Qtranslate();
|
||||
add_action( 'vc_after_set_mode', array(
|
||||
$vendor,
|
||||
'load',
|
||||
) );
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,19 @@
|
||||
<?php
|
||||
if ( ! defined( 'ABSPATH' ) ) {
|
||||
die( '-1' );
|
||||
}
|
||||
|
||||
/**
|
||||
* @since 4.4 vendors initialization moved to hooks in autoload/vendors.
|
||||
*
|
||||
* Used to initialize plugin revslider vendor.
|
||||
*/
|
||||
add_action( 'plugins_loaded', 'vc_init_vendor_revslider' );
|
||||
function vc_init_vendor_revslider() {
|
||||
include_once( ABSPATH . 'wp-admin/includes/plugin.php' ); // Require plugin.php to use is_plugin_active() below
|
||||
if ( is_plugin_active( 'revslider/revslider.php' ) || class_exists( 'RevSlider' ) ) {
|
||||
require_once vc_path_dir( 'VENDORS_DIR', 'plugins/class-vc-vendor-revslider.php' );
|
||||
$vendor = new Vc_Vendor_Revslider();
|
||||
$vendor->load();
|
||||
}
|
||||
}
|
||||
+41
@@ -0,0 +1,41 @@
|
||||
<?php
|
||||
if ( ! defined( 'ABSPATH' ) ) {
|
||||
die( '-1' );
|
||||
}
|
||||
|
||||
return array(
|
||||
'name' => __( 'Gutenberg Editor', 'js_composer' ),
|
||||
'icon' => 'vc_icon-vc-gutenberg',
|
||||
'wrapper_class' => 'clearfix',
|
||||
'category' => __( 'Content', 'js_composer' ),
|
||||
'description' => __( 'Insert Gutenberg editor in your layout', 'js_composer' ),
|
||||
'weight' => -10,
|
||||
'params' => array(
|
||||
array(
|
||||
'type' => 'gutenberg',
|
||||
'holder' => 'div',
|
||||
'heading' => __( 'Text', 'js_composer' ),
|
||||
'param_name' => 'content',
|
||||
'value' => '<!-- wp:paragraph --><p>Hello! This is the Gutenberg block you can edit directly from the WPBakery Page Builder.</p><!-- /wp:paragraph -->',
|
||||
),
|
||||
vc_map_add_css_animation(),
|
||||
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' ),
|
||||
),
|
||||
array(
|
||||
'type' => 'css_editor',
|
||||
'heading' => __( 'CSS box', 'js_composer' ),
|
||||
'param_name' => 'css',
|
||||
'group' => __( 'Design Options', 'js_composer' ),
|
||||
),
|
||||
),
|
||||
);
|
||||
@@ -0,0 +1,44 @@
|
||||
<?php
|
||||
if ( ! defined( 'ABSPATH' ) ) {
|
||||
die( '-1' );
|
||||
}
|
||||
|
||||
/**
|
||||
* Add script for grid item add to card link
|
||||
*
|
||||
* @since 4.5
|
||||
*/
|
||||
function vc_woocommerce_add_to_cart_script() {
|
||||
wp_enqueue_script( 'vc_woocommerce-add-to-cart-js',
|
||||
vc_asset_url( 'js/vendors/woocommerce-add-to-cart.js' ),
|
||||
array( 'wc-add-to-cart' ),
|
||||
WPB_VC_VERSION );
|
||||
}
|
||||
|
||||
/**
|
||||
* @since 4.4 vendors initialization moved to hooks in autoload/vendors.
|
||||
*
|
||||
* Used to initialize plugin WooCommerce vendor. (adds tons of WooCommerce shortcodes and some fixes)
|
||||
*/
|
||||
add_action( 'plugins_loaded', 'vc_init_vendor_woocommerce' );
|
||||
function vc_init_vendor_woocommerce() {
|
||||
include_once( ABSPATH . 'wp-admin/includes/plugin.php' ); // Require plugin.php to use is_plugin_active() below
|
||||
if ( is_plugin_active( 'woocommerce/woocommerce.php' ) || class_exists( 'WooCommerce' ) ) {
|
||||
require_once vc_path_dir( 'VENDORS_DIR', 'plugins/class-vc-vendor-woocommerce.php' );
|
||||
$vendor = new Vc_Vendor_Woocommerce();
|
||||
add_action( 'vc_after_set_mode', array(
|
||||
$vendor,
|
||||
'load',
|
||||
) );
|
||||
require_once vc_path_dir( 'VENDORS_DIR', 'plugins/woocommerce/grid-item-filters.php' );
|
||||
// Add 'add to card' link to the list of Add link.
|
||||
add_filter( 'vc_gitem_add_link_param', 'vc_gitem_add_link_param_woocommerce' );
|
||||
// Filter to add link attributes for grid element shortcode.
|
||||
add_filter( 'vc_gitem_post_data_get_link_link', 'vc_gitem_post_data_get_link_link_woocommerce', 10, 3 );
|
||||
add_filter( 'vc_gitem_post_data_get_link_target', 'vc_gitem_post_data_get_link_target_woocommerce', 12, 2 );
|
||||
add_filter( 'vc_gitem_post_data_get_link_real_link', 'vc_gitem_post_data_get_link_real_link_woocommerce', 10, 4 );
|
||||
add_filter( 'vc_gitem_post_data_get_link_real_target', 'vc_gitem_post_data_get_link_real_target_woocommerce', 12, 3 );
|
||||
add_filter( 'vc_gitem_zone_image_block_link', 'vc_gitem_zone_image_block_link_woocommerce', 10, 3 );
|
||||
add_action( 'wp_enqueue_scripts', 'vc_woocommerce_add_to_cart_script' );
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,22 @@
|
||||
<?php
|
||||
if ( ! defined( 'ABSPATH' ) ) {
|
||||
die( '-1' );
|
||||
}
|
||||
|
||||
/**
|
||||
* @since 4.4 vendors initialization moved to hooks in autoload/vendors.
|
||||
*/
|
||||
// Remove scripts from the WPBakery Page Builder while in the Customizer = Temp Fix
|
||||
// Actually we need to check if this is really needed in 4.4 uncomment if you have customizer issues
|
||||
// But this actually will break any VC js in Customizer preview.
|
||||
// removed by fixing vcTabsBevahiour in js_composer_front.js
|
||||
/*
|
||||
if ( ! function_exists( 'vc_wpex_remove_vc_scripts' ) ) {
|
||||
function vc_wpex_remove_vc_scripts() {
|
||||
if ( is_customize_preview() ) {
|
||||
wp_deregister_script( 'wpb_composer_front_js' );
|
||||
wp_dequeue_script( 'wpb_composer_front_js' );
|
||||
}
|
||||
}
|
||||
}*/
|
||||
//add_action( 'wp_enqueue_scripts', 'vc_wpex_remove_vc_scripts' );
|
||||
@@ -0,0 +1,16 @@
|
||||
<?php
|
||||
if ( ! defined( 'ABSPATH' ) ) {
|
||||
die( '-1' );
|
||||
}
|
||||
|
||||
add_action( 'plugins_loaded', 'vc_init_vendor_wpml' );
|
||||
function vc_init_vendor_wpml() {
|
||||
if ( defined( 'ICL_SITEPRESS_VERSION' ) ) {
|
||||
require_once vc_path_dir( 'VENDORS_DIR', 'plugins/class-vc-vendor-wpml.php' );
|
||||
$vendor = new Vc_Vendor_WPML();
|
||||
add_action( 'vc_after_set_mode', array(
|
||||
$vendor,
|
||||
'load',
|
||||
) );
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,33 @@
|
||||
<?php
|
||||
if ( ! defined( 'ABSPATH' ) ) {
|
||||
die( '-1' );
|
||||
}
|
||||
|
||||
/**
|
||||
* @since 4.4 vendors initialization moved to hooks in autoload/vendors.
|
||||
*
|
||||
* Used to initialize plugin yoast vendor.
|
||||
*/
|
||||
// 16 is required to be called after WPSEO_Admin_Init constructor. @since 4.9
|
||||
add_action( 'plugins_loaded', 'vc_init_vendor_yoast', 16 );
|
||||
// add_action( 'plugins_loaded', 'vc_init_vendor_yoast_reset_page_now', 16 );
|
||||
function vc_init_vendor_yoast() {
|
||||
include_once( ABSPATH . 'wp-admin/includes/plugin.php' ); // Require plugin.php to use is_plugin_active() below
|
||||
if ( is_plugin_active( 'wordpress-seo/wp-seo.php' ) || class_exists( 'WPSEO_Metabox' ) ) {
|
||||
require_once vc_path_dir( 'VENDORS_DIR', 'plugins/class-vc-vendor-yoast_seo.php' );
|
||||
$vendor = new Vc_Vendor_YoastSeo();
|
||||
if ( defined( 'WPSEO_VERSION' ) && version_compare( WPSEO_VERSION, '3.0.0' ) === - 1 ) {
|
||||
add_action( 'vc_after_set_mode', array(
|
||||
$vendor,
|
||||
'load',
|
||||
) );
|
||||
} elseif ( is_admin() && 'vc_inline' === vc_action() ) {
|
||||
// $GLOBALS['pagenow'] = 'post.php?vc_action=vc_inline';
|
||||
$vendor->frontendEditorBuild();
|
||||
}
|
||||
}
|
||||
}
|
||||
/*function vc_init_vendor_yoast_reset_page_now() {
|
||||
$GLOBALS['pagenow'] = 'post.php';
|
||||
|
||||
}*/
|
||||
+165
@@ -0,0 +1,165 @@
|
||||
<?php
|
||||
if ( ! defined( 'ABSPATH' ) ) {
|
||||
die( '-1' );
|
||||
}
|
||||
|
||||
/**
|
||||
* Class Vc_Access
|
||||
*
|
||||
* @package WPBakeryPageBuilder
|
||||
* @since 4.8
|
||||
*/
|
||||
abstract class Vc_Access {
|
||||
/**
|
||||
* @var bool
|
||||
*/
|
||||
protected $validAccess = true;
|
||||
|
||||
public function getValidAccess() {
|
||||
return $this->validAccess;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param mixed $validAccess
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setValidAccess( $validAccess ) {
|
||||
$this->validAccess = $validAccess;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Check multi access settings by method inside class object.
|
||||
*
|
||||
* @param $method
|
||||
* @param $valid
|
||||
* @param $argsList
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function checkMulti( $method, $valid, $argsList ) {
|
||||
if ( $this->getValidAccess() ) {
|
||||
$access = ! $valid;
|
||||
foreach ( $argsList as $args ) {
|
||||
if ( ! is_array( $args ) ) {
|
||||
$args = array( $args );
|
||||
}
|
||||
$this->setValidAccess( true );
|
||||
call_user_func_array( array( $this, $method ), $args );
|
||||
if ( $valid === $this->getValidAccess() ) {
|
||||
$access = $valid;
|
||||
break;
|
||||
}
|
||||
}
|
||||
$this->setValidAccess( $access );
|
||||
}
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get current validation state and reset it to true. ( should be never called twice )
|
||||
* @return bool
|
||||
*/
|
||||
public function get() {
|
||||
$result = $this->getValidAccess();
|
||||
$this->setValidAccess( true );
|
||||
|
||||
return $result;
|
||||
}
|
||||
|
||||
/**
|
||||
* Call die() function with message if access is invalid.
|
||||
*
|
||||
* @param string $message
|
||||
* @return $this
|
||||
* @throws \Exception
|
||||
*/
|
||||
public function validateDie( $message = '' ) {
|
||||
$result = $this->getValidAccess();
|
||||
$this->setValidAccess( true );
|
||||
if ( ! $result ) {
|
||||
if ( defined( 'VC_DIE_EXCEPTION' ) && VC_DIE_EXCEPTION ) {
|
||||
throw new Exception( $message );
|
||||
} else {
|
||||
die( $message );
|
||||
}
|
||||
}
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* @param $func
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function check( $func ) {
|
||||
if ( $this->getValidAccess() ) {
|
||||
$args = func_get_args();
|
||||
$args = array_slice( $args, 1 );
|
||||
if ( ! empty( $func ) ) {
|
||||
$this->setValidAccess( call_user_func_array( $func, $args ) );
|
||||
}
|
||||
}
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Any of provided rules should be valid.
|
||||
* Usage: checkAny(
|
||||
* 'vc_verify_admin_nonce',
|
||||
* array( 'current_user_can', 'edit_post', 12 ),
|
||||
* array( 'current_user_can', 'edit_posts' ),
|
||||
* )
|
||||
* @return $this
|
||||
*/
|
||||
public function checkAny() {
|
||||
if ( $this->getValidAccess() ) {
|
||||
$args = func_get_args();
|
||||
$this->checkMulti( 'check', true, $args );
|
||||
}
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* All provided rules should be valid.
|
||||
* Usage: checkAll(
|
||||
* 'vc_verify_admin_nonce',
|
||||
* array( 'current_user_can', 'edit_post', 12 ),
|
||||
* array( 'current_user_can', 'edit_posts' ),
|
||||
* )
|
||||
* @return $this
|
||||
*/
|
||||
public function checkAll() {
|
||||
if ( $this->getValidAccess() ) {
|
||||
$args = func_get_args();
|
||||
$this->checkMulti( 'check', false, $args );
|
||||
}
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $nonce
|
||||
*
|
||||
* @return Vc_Access
|
||||
*/
|
||||
public function checkAdminNonce( $nonce = '' ) {
|
||||
return $this->check( 'vc_verify_admin_nonce', $nonce );
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $nonce
|
||||
*
|
||||
* @return Vc_Access
|
||||
*/
|
||||
public function checkPublicNonce( $nonce = '' ) {
|
||||
return $this->check( 'vc_verify_public_nonce', $nonce );
|
||||
}
|
||||
}
|
||||
+44
@@ -0,0 +1,44 @@
|
||||
<?php
|
||||
if ( ! defined( 'ABSPATH' ) ) {
|
||||
die( '-1' );
|
||||
}
|
||||
|
||||
require_once vc_path_dir( 'CORE_DIR', 'access/class-vc-role-access-controller.php' );
|
||||
|
||||
class Vc_Current_User_Access_Controller extends Vc_Role_Access_Controller {
|
||||
/**
|
||||
* Get capability for current user
|
||||
*
|
||||
* @param $rule
|
||||
*
|
||||
* @return bool
|
||||
*/
|
||||
public function getCapRule( $rule ) {
|
||||
$role_rule = $this->getStateKey() . '/' . $rule;
|
||||
|
||||
return current_user_can( $role_rule );
|
||||
}
|
||||
|
||||
/**
|
||||
* Add capability to role.
|
||||
*
|
||||
* @param $rule
|
||||
* @param bool $value
|
||||
*/
|
||||
public function setCapRule( $rule, $value = true ) {
|
||||
$role_rule = $this->getStateKey() . '/' . $rule;
|
||||
|
||||
wp_get_current_user()->add_cap( $role_rule, $value );
|
||||
}
|
||||
|
||||
public function getRole() {
|
||||
if ( ! $this->roleName && function_exists( 'wp_get_current_user' ) ) {
|
||||
$user = wp_get_current_user();
|
||||
$user_roles = array_intersect( array_values( (array) $user->roles ), array_keys( (array) get_editable_roles() ) );
|
||||
$this->roleName = reset( $user_roles );
|
||||
$this->role = get_role( $this->roleName );
|
||||
}
|
||||
|
||||
return $this->role;
|
||||
}
|
||||
}
|
||||
+84
@@ -0,0 +1,84 @@
|
||||
<?php
|
||||
if ( ! defined( 'ABSPATH' ) ) {
|
||||
die( '-1' );
|
||||
}
|
||||
|
||||
require_once vc_path_dir( 'CORE_DIR', 'access/class-vc-role-access.php' );
|
||||
|
||||
/**
|
||||
* Class Vc_User_Access
|
||||
*/
|
||||
class Vc_Current_User_Access extends Vc_Role_Access {
|
||||
/**
|
||||
* @param $part
|
||||
*
|
||||
* @return Vc_Current_User_Access_Controller;
|
||||
*/
|
||||
public function part( $part ) {
|
||||
if ( ! isset( $this->parts[ $part ] ) ) {
|
||||
require_once vc_path_dir( 'CORE_DIR', 'access/class-vc-current-user-access-controller.php' );
|
||||
/** @var $user_access_controller Vc_Current_User_Access_Controller */
|
||||
$user_access_controller = $this->parts[ $part ] = new Vc_Current_User_Access_Controller( $part );
|
||||
}
|
||||
/** @var $user_access_controller Vc_Current_User_Access_Controller */
|
||||
$user_access_controller = $this->parts[ $part ];
|
||||
// we also check for user "logged_in" status
|
||||
$is_user_logged_in = function_exists( 'is_user_logged_in' ) && is_user_logged_in();
|
||||
$user_access_controller->setValidAccess( $is_user_logged_in && $this->getValidAccess() ); // send current status to upper level
|
||||
$this->setValidAccess( true ); // reset
|
||||
|
||||
return $user_access_controller;
|
||||
}
|
||||
|
||||
public function wpMulti( $method, $valid, $argsList ) {
|
||||
if ( $this->getValidAccess() ) {
|
||||
$access = ! $valid;
|
||||
foreach ( $argsList as &$args ) {
|
||||
if ( ! is_array( $args ) ) {
|
||||
$args = array( $args );
|
||||
}
|
||||
array_unshift( $args, 'current_user_can' );
|
||||
$this->setValidAccess( true );
|
||||
call_user_func_array( array(
|
||||
$this,
|
||||
$method,
|
||||
), $args );
|
||||
if ( $valid === $this->getValidAccess() ) {
|
||||
$access = $valid;
|
||||
break;
|
||||
}
|
||||
}
|
||||
$this->setValidAccess( $access );
|
||||
}
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Check Wordpress capability. Should be valid one cap at least.
|
||||
*
|
||||
* @return Vc_Current_User_Access
|
||||
*/
|
||||
public function wpAny() {
|
||||
if ( $this->getValidAccess() ) {
|
||||
$args = func_get_args();
|
||||
$this->wpMulti( 'check', true, $args );
|
||||
}
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Check Wordpress capability. Should be valid all caps.
|
||||
*
|
||||
* @return Vc_Current_User_Access
|
||||
*/
|
||||
public function wpAll() {
|
||||
if ( $this->getValidAccess() ) {
|
||||
$args = func_get_args();
|
||||
$this->wpMulti( 'check', false, $args );
|
||||
}
|
||||
|
||||
return $this;
|
||||
}
|
||||
}
|
||||
+260
@@ -0,0 +1,260 @@
|
||||
<?php
|
||||
if ( ! defined( 'ABSPATH' ) ) {
|
||||
die( '-1' );
|
||||
}
|
||||
|
||||
require_once vc_path_dir( 'CORE_DIR', 'access/abstract-class-vc-access.php' );
|
||||
|
||||
/**
|
||||
* Class Vc_Role_Access_Controller
|
||||
*
|
||||
* @since 4.8
|
||||
*/
|
||||
class Vc_Role_Access_Controller extends Vc_Access {
|
||||
protected static $part_name_prefix = 'vc_access_rules_';
|
||||
protected $part = false;
|
||||
protected $roleName = false;
|
||||
protected $role = false;
|
||||
protected $validAccess = true;
|
||||
protected $mergedCaps = array(
|
||||
'vc_row_inner_all' => 'vc_row_all',
|
||||
'vc_column_all' => 'vc_row_all',
|
||||
'vc_column_inner_all' => 'vc_row_all',
|
||||
'vc_row_inner_edit' => 'vc_row_edit',
|
||||
'vc_column_edit' => 'vc_row_edit',
|
||||
'vc_column_inner_edit' => 'vc_row_edit',
|
||||
);
|
||||
|
||||
function __construct( $part ) {
|
||||
$this->part = $part;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set role name.
|
||||
*
|
||||
* @param $role_name
|
||||
*/
|
||||
public function setRoleName( $role_name ) {
|
||||
$this->roleName = $role_name;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get part for role.
|
||||
* @return bool
|
||||
*/
|
||||
public function getPart() {
|
||||
return $this->part;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get state of the Vc access rules part.
|
||||
*
|
||||
* @return mixed;
|
||||
*/
|
||||
public function getState() {
|
||||
$role = $this->getRole();
|
||||
$state = null;
|
||||
if ( $role && isset( $role->capabilities, $role->capabilities[ $this->getStateKey() ] ) ) {
|
||||
$state = $role->capabilities[ $this->getStateKey() ];
|
||||
}
|
||||
|
||||
return apply_filters( 'vc_role_access_with_' . $this->getPart() . '_get_state', $state, $this->getRole() );
|
||||
}
|
||||
|
||||
/**
|
||||
* Set state for full part.
|
||||
*
|
||||
* State can have 3 values:
|
||||
* true - all allowed under this part;
|
||||
* false - all disabled under this part;
|
||||
* string|'custom' - custom settings. It means that need to check exact capability.
|
||||
*
|
||||
* @param bool $value
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setState( $value = true ) {
|
||||
$this->getRole() && $this->getRole()->add_cap( $this->getStateKey(), $value );
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Can user do what he doo.
|
||||
* Any rule has three types of state: true, false, string.
|
||||
*
|
||||
* @param string $rule
|
||||
* @param bool|true $check_state
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function can( $rule = '', $check_state = true ) {
|
||||
if ( null === $this->getRole() ) {
|
||||
$this->setValidAccess( is_super_admin() );
|
||||
} elseif ( $this->getValidAccess() ) {
|
||||
// YES it is hard coded :)
|
||||
if ( 'administrator' === $this->getRole()->name && 'settings' === $this->getPart() && ( 'vc-roles-tab' === $rule || 'vc-updater-tab' === $rule ) ) {
|
||||
$this->setValidAccess( true );
|
||||
|
||||
return $this;
|
||||
}
|
||||
$rule = $this->updateMergedCaps( $rule );
|
||||
|
||||
if ( true === $check_state ) {
|
||||
$state = $this->getState();
|
||||
$return = false !== $state;
|
||||
if ( null === $state ) {
|
||||
$return = true;
|
||||
} elseif ( is_bool( $state ) ) {
|
||||
$return = $state;
|
||||
} elseif ( '' !== $rule ) {
|
||||
$return = $this->getCapRule( $rule );
|
||||
}
|
||||
} else {
|
||||
$return = $this->getCapRule( $rule );
|
||||
}
|
||||
$return = apply_filters( 'vc_role_access_with_' . $this->getPart() . '_can', $return, $this->getRole(), $rule );
|
||||
$return = apply_filters( 'vc_role_access_with_' . $this->getPart() . '_can_' . $rule, $return, $this->getRole() );
|
||||
$this->setValidAccess( $return );
|
||||
}
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Can user do what he doo.
|
||||
* Any rule has three types of state: true,false, string.
|
||||
*/
|
||||
public function canAny() {
|
||||
if ( $this->getValidAccess() ) {
|
||||
$args = func_get_args();
|
||||
$this->checkMulti( 'can', true, $args );
|
||||
}
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Can user do what he doo.
|
||||
* Any rule has three types of state: true,false, string.
|
||||
*/
|
||||
public function canAll() {
|
||||
if ( $this->getValidAccess() ) {
|
||||
$args = func_get_args();
|
||||
$this->checkMulti( 'can', false, $args );
|
||||
}
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get capability for role
|
||||
*
|
||||
* @param $rule
|
||||
*
|
||||
* @return bool
|
||||
*/
|
||||
public function getCapRule( $rule ) {
|
||||
$rule = $this->getStateKey() . '/' . $rule;
|
||||
|
||||
return $this->getRole() ? $this->getRole()->has_cap( $rule ) : false;
|
||||
}
|
||||
|
||||
/**
|
||||
* Add capability to role.
|
||||
*
|
||||
* @param $rule
|
||||
* @param bool $value
|
||||
*/
|
||||
public function setCapRule( $rule, $value = true ) {
|
||||
$role_rule = $this->getStateKey() . '/' . $rule;
|
||||
$this->getRole() && $this->getRole()->add_cap( $role_rule, $value );
|
||||
}
|
||||
|
||||
/**
|
||||
* Get all capability for this part.
|
||||
*/
|
||||
public function getAllCaps() {
|
||||
$role = $this->getRole();
|
||||
$caps = array();
|
||||
if ( $role ) {
|
||||
$role = apply_filters( 'vc_role_access_all_caps_role', $role );
|
||||
if ( isset( $role->capabilities ) && is_array( $role->capabilities ) ) {
|
||||
foreach ( $role->capabilities as $key => $value ) {
|
||||
if ( preg_match( '/^' . $this->getStateKey() . '\//', $key ) ) {
|
||||
$rule = preg_replace( '/^' . $this->getStateKey() . '\//', '', $key );
|
||||
$caps[ $rule ] = $value;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
return $caps;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return null|\WP_Role
|
||||
* @throws Exception
|
||||
*/
|
||||
public function getRole() {
|
||||
if ( ! $this->role ) {
|
||||
if ( ! $this->getRoleName() ) {
|
||||
throw new Exception( 'roleName for role_manager is not set, please use ->who(roleName) method to set!' );
|
||||
}
|
||||
$this->role = get_role( $this->getRoleName() );
|
||||
}
|
||||
|
||||
return $this->role;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return null|string
|
||||
*/
|
||||
public function getRoleName() {
|
||||
return $this->roleName;
|
||||
}
|
||||
|
||||
public function getStateKey() {
|
||||
return self::$part_name_prefix . $this->getPart();
|
||||
}
|
||||
|
||||
public function checkState( $data ) {
|
||||
if ( $this->getValidAccess() ) {
|
||||
$this->setValidAccess( $this->getState() === $data );
|
||||
}
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
public function checkStateAny() {
|
||||
if ( $this->getValidAccess() ) {
|
||||
$args = func_get_args();
|
||||
$this->checkMulti( 'checkState', true, $args );
|
||||
}
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Return access value.
|
||||
* @return string
|
||||
*/
|
||||
public function __toString() {
|
||||
return (string) $this->get();
|
||||
}
|
||||
|
||||
public function updateMergedCaps( $rule ) {
|
||||
if ( isset( $this->mergedCaps[ $rule ] ) ) {
|
||||
return $this->mergedCaps[ $rule ];
|
||||
}
|
||||
|
||||
return $rule;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return array
|
||||
*/
|
||||
public function getMergedCaps() {
|
||||
return $this->mergedCaps;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,73 @@
|
||||
<?php
|
||||
if ( ! defined( 'ABSPATH' ) ) {
|
||||
die( '-1' );
|
||||
}
|
||||
|
||||
require_once vc_path_dir( 'CORE_DIR', 'access/abstract-class-vc-access.php' );
|
||||
|
||||
/**
|
||||
* Class Vc_Role_Access
|
||||
*/
|
||||
class Vc_Role_Access extends Vc_Access {
|
||||
/**
|
||||
* @var bool
|
||||
*/
|
||||
protected $roleName = false;
|
||||
/**
|
||||
* @var array
|
||||
*/
|
||||
protected $parts = array();
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
public function __construct() {
|
||||
require_once( ABSPATH . 'wp-admin/includes/user.php' );
|
||||
}
|
||||
|
||||
/**
|
||||
* @param $part
|
||||
* @return \Vc_Role_Access_Controller
|
||||
* @throws \Exception
|
||||
*/
|
||||
public function part( $part ) {
|
||||
$role_name = $this->getRoleName();
|
||||
if ( ! $role_name ) {
|
||||
throw new Exception( 'roleName for vc_role_access is not set, please use ->who(roleName) method to set!' );
|
||||
}
|
||||
$key = $part . '_' . $role_name;
|
||||
if ( ! isset( $this->parts[ $key ] ) ) {
|
||||
require_once vc_path_dir( 'CORE_DIR', 'access/class-vc-role-access-controller.php' );
|
||||
/** @var $role_access_controller Vc_Role_Access_Controller */
|
||||
$role_access_controller = $this->parts[ $key ] = new Vc_Role_Access_Controller( $part );
|
||||
$role_access_controller->setRoleName( $this->getRoleName() );
|
||||
}
|
||||
/** @var $role_access_controller Vc_Role_Access_Controller */
|
||||
$role_access_controller = $this->parts[ $key ];
|
||||
$role_access_controller->setValidAccess( $this->getValidAccess() ); // send current status to upper level
|
||||
$this->setValidAccess( true ); // reset
|
||||
|
||||
return $role_access_controller;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set role to get access to data.
|
||||
*
|
||||
* @param $roleName
|
||||
* @return $this
|
||||
* @internal param $role
|
||||
*
|
||||
*/
|
||||
public function who( $roleName ) {
|
||||
$this->roleName = $roleName;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return null|string
|
||||
*/
|
||||
public function getRoleName() {
|
||||
return $this->roleName;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,840 @@
|
||||
<?php
|
||||
if ( ! defined( 'ABSPATH' ) ) {
|
||||
die( '-1' );
|
||||
}
|
||||
|
||||
/**
|
||||
* WPBakery Page Builder basic class.
|
||||
* @since 4.2
|
||||
*/
|
||||
class Vc_Base {
|
||||
/**
|
||||
* Shortcode's edit form.
|
||||
*
|
||||
* @since 4.2
|
||||
* @access protected
|
||||
* @var bool|Vc_Shortcode_Edit_Form
|
||||
*/
|
||||
protected $shortcode_edit_form = false;
|
||||
|
||||
/**
|
||||
* Templates management panel editor.
|
||||
* @since 4.4
|
||||
* @access protected
|
||||
* @var bool|Vc_Templates_Panel_Editor
|
||||
*/
|
||||
protected $templates_panel_editor = false;
|
||||
/**
|
||||
* Presets management panel editor.
|
||||
* @since 5.2
|
||||
* @access protected
|
||||
* @var bool|Vc_Preset_Panel_Editor
|
||||
*/
|
||||
protected $preset_panel_editor = false;
|
||||
/**
|
||||
* Post object for VC in Admin.
|
||||
*
|
||||
* @since 4.4
|
||||
* @access protected
|
||||
* @var bool|Vc_Post_Admin
|
||||
*/
|
||||
protected $post_admin = false;
|
||||
/**
|
||||
* Post object for VC.
|
||||
*
|
||||
* @since 4.4.3
|
||||
* @access protected
|
||||
* @var bool|Vc_Post_Admin
|
||||
*/
|
||||
protected $post = false;
|
||||
/**
|
||||
* List of shortcodes map to VC.
|
||||
*
|
||||
* @since 4.2
|
||||
* @access public
|
||||
* @var array WPBakeryShortCodeFishBones
|
||||
*/
|
||||
protected $shortcodes = array();
|
||||
|
||||
/** @var Vc_Shared_Templates */
|
||||
public $shared_templates;
|
||||
|
||||
/**
|
||||
* Load default object like shortcode parsing.
|
||||
*
|
||||
* @since 4.2
|
||||
* @access public
|
||||
*/
|
||||
public function init() {
|
||||
do_action( 'vc_before_init_base' );
|
||||
if ( is_admin() ) {
|
||||
$this->postAdmin()->init();
|
||||
}
|
||||
add_filter( 'body_class', array(
|
||||
$this,
|
||||
'bodyClass',
|
||||
) );
|
||||
add_filter( 'the_excerpt', array(
|
||||
$this,
|
||||
'excerptFilter',
|
||||
) );
|
||||
add_action( 'wp_head', array(
|
||||
$this,
|
||||
'addMetaData',
|
||||
) );
|
||||
add_action( 'wp_head', array(
|
||||
$this,
|
||||
'addIEMinimalSupport',
|
||||
) );
|
||||
if ( is_admin() ) {
|
||||
$this->initAdmin();
|
||||
} else {
|
||||
$this->initPage();
|
||||
}
|
||||
do_action( 'vc_after_init_base' );
|
||||
}
|
||||
|
||||
/**
|
||||
* Post object for interacting with Current post data.
|
||||
* @since 4.4
|
||||
* @return Vc_Post_Admin
|
||||
*/
|
||||
public function postAdmin() {
|
||||
if ( false === $this->post_admin ) {
|
||||
require_once vc_path_dir( 'CORE_DIR', 'class-vc-post-admin.php' );
|
||||
$this->post_admin = new Vc_Post_Admin();
|
||||
}
|
||||
|
||||
return $this->post_admin;
|
||||
}
|
||||
|
||||
/**
|
||||
* Build VC for frontend pages.
|
||||
*
|
||||
* @since 4.2
|
||||
* @access public
|
||||
*/
|
||||
public function initPage() {
|
||||
do_action( 'vc_build_page' );
|
||||
add_action( 'template_redirect', array(
|
||||
$this,
|
||||
'frontCss',
|
||||
) );
|
||||
add_action( 'template_redirect', array(
|
||||
'WPBMap',
|
||||
'addAllMappedShortcodes',
|
||||
) );
|
||||
add_action( 'wp_head', array(
|
||||
$this,
|
||||
'addFrontCss',
|
||||
), 1000 );
|
||||
add_action( 'wp_head', array(
|
||||
$this,
|
||||
'addNoScript',
|
||||
), 1000 );
|
||||
add_action( 'template_redirect', array(
|
||||
$this,
|
||||
'frontJsRegister',
|
||||
) );
|
||||
add_filter( 'the_content', array(
|
||||
$this,
|
||||
'fixPContent',
|
||||
), 11 );
|
||||
}
|
||||
|
||||
/**
|
||||
* Load admin required modules and elements
|
||||
*
|
||||
* @since 4.2
|
||||
* @access public
|
||||
*/
|
||||
public function initAdmin() {
|
||||
do_action( 'vc_build_admin_page' );
|
||||
// Build settings for admin page;
|
||||
//$this->registerAdminJavascript();
|
||||
//$this->registerAdminCss();
|
||||
|
||||
// editors actions:
|
||||
$this->editForm()->init();
|
||||
$this->templatesPanelEditor()->init();
|
||||
$this->shared_templates->init();
|
||||
// ajax params/shortcode action
|
||||
add_action( 'wp_ajax_wpb_single_image_src', array(
|
||||
$this,
|
||||
'singleImageSrc',
|
||||
) ); // @todo move it
|
||||
add_action( 'wp_ajax_wpb_gallery_html', array(
|
||||
$this,
|
||||
'galleryHTML',
|
||||
) ); // @todo move it
|
||||
|
||||
// plugins list page actions links
|
||||
add_filter( 'plugin_action_links', array(
|
||||
$this,
|
||||
'pluginActionLinks',
|
||||
), 10, 2 );
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for edit form.
|
||||
* @since 4.2
|
||||
*
|
||||
* @param Vc_Shortcode_Edit_Form $form
|
||||
*/
|
||||
public function setEditForm( Vc_Shortcode_Edit_Form $form ) {
|
||||
$this->shortcode_edit_form = $form;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get Shortcodes Edit form object.
|
||||
*
|
||||
* @see Vc_Shortcode_Edit_Form::__construct
|
||||
* @since 4.2
|
||||
* @access public
|
||||
* @return Vc_Shortcode_Edit_Form
|
||||
*/
|
||||
public function editForm() {
|
||||
return $this->shortcode_edit_form;
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for Templates editor.
|
||||
* @since 4.4
|
||||
*
|
||||
* @param Vc_Templates_Panel_Editor $editor
|
||||
*/
|
||||
public function setTemplatesPanelEditor( Vc_Templates_Panel_Editor $editor ) {
|
||||
$this->templates_panel_editor = $editor;
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for Preset editor.
|
||||
* @since 5.2
|
||||
*
|
||||
* @param Vc_Preset_Panel_Editor $editor
|
||||
*/
|
||||
public function setPresetPanelEditor( Vc_Preset_Panel_Editor $editor ) {
|
||||
$this->preset_panel_editor = $editor;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get templates manager.
|
||||
* @see Vc_Templates_Panel_Editor::__construct
|
||||
* @since 4.4
|
||||
* @access public
|
||||
* @return bool|Vc_Templates_Panel_Editor
|
||||
*/
|
||||
public function templatesPanelEditor() {
|
||||
return $this->templates_panel_editor;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get preset manager.
|
||||
* @see Vc_Preset_Panel_Editor::__construct
|
||||
* @since 5.2
|
||||
* @access public
|
||||
* @return bool|Vc_Preset_Panel_Editor
|
||||
*/
|
||||
public function presetPanelEditor() {
|
||||
return $this->preset_panel_editor;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get shortcode class instance.
|
||||
*
|
||||
* @see WPBakeryShortCodeFishBones
|
||||
* @since 4.2
|
||||
* @access public
|
||||
*
|
||||
* @param string $tag
|
||||
*
|
||||
* @return Vc_Shortcodes_Manager|null
|
||||
*/
|
||||
public function getShortCode( $tag ) {
|
||||
return Vc_Shortcodes_Manager::getInstance()->setTag( $tag );
|
||||
}
|
||||
|
||||
/**
|
||||
* Remove shortcode from shortcodes list of VC.
|
||||
*
|
||||
* @since 4.2
|
||||
* @access public
|
||||
*
|
||||
* @param $tag - shortcode tag
|
||||
*/
|
||||
public function removeShortCode( $tag ) {
|
||||
remove_shortcode( $tag );
|
||||
}
|
||||
|
||||
/**
|
||||
* @todo move it
|
||||
* @since 4.2
|
||||
*/
|
||||
public function singleImageSrc() {
|
||||
// @todo again, this method should be moved (comment added on 4.8)
|
||||
vc_user_access()->checkAdminNonce()->validateDie()->wpAny( 'edit_posts', 'edit_pages' )->validateDie();
|
||||
|
||||
$image_id = (int) vc_post_param( 'content' );
|
||||
$params = vc_post_param( 'params' );
|
||||
$post_id = vc_post_param( 'post_id' );
|
||||
$img_size = vc_post_param( 'size' );
|
||||
$img = '';
|
||||
|
||||
if ( ! empty( $params['source'] ) ) {
|
||||
$source = $params['source'];
|
||||
} else {
|
||||
$source = 'media_library';
|
||||
}
|
||||
|
||||
switch ( $source ) {
|
||||
case 'media_library':
|
||||
case 'featured_image':
|
||||
|
||||
if ( 'featured_image' === $source ) {
|
||||
if ( $post_id && has_post_thumbnail( $post_id ) ) {
|
||||
$img_id = get_post_thumbnail_id( $post_id );
|
||||
} else {
|
||||
$img_id = 0;
|
||||
}
|
||||
} else {
|
||||
$img_id = preg_replace( '/[^\d]/', '', $image_id );
|
||||
}
|
||||
|
||||
if ( ! $img_size ) {
|
||||
$img_size = 'thumbnail';
|
||||
}
|
||||
|
||||
if ( $img_id ) {
|
||||
$img = wp_get_attachment_image_src( $img_id, $img_size );
|
||||
if ( $img ) {
|
||||
$img = $img[0];
|
||||
}
|
||||
}
|
||||
|
||||
break;
|
||||
|
||||
case 'external_link':
|
||||
if ( ! empty( $params['custom_src'] ) ) {
|
||||
$img = $params['custom_src'];
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
||||
die( $img );
|
||||
}
|
||||
|
||||
/**
|
||||
* @todo move it
|
||||
* @since 4.2
|
||||
*/
|
||||
public function galleryHTML() {
|
||||
// @todo again, this method should be moved (comment added on 4.8)
|
||||
vc_user_access()->checkAdminNonce()->validateDie()->wpAny( 'edit_posts', 'edit_pages' )->validateDie();
|
||||
|
||||
$images = vc_post_param( 'content' );
|
||||
if ( ! empty( $images ) ) {
|
||||
echo fieldAttachedImages( explode( ',', $images ) );
|
||||
}
|
||||
die();
|
||||
}
|
||||
|
||||
/**
|
||||
* Set or modify new settings for shortcode.
|
||||
*
|
||||
* This function widely used by WPBMap class methods to modify shortcodes mapping
|
||||
*
|
||||
* @since 4.3
|
||||
*
|
||||
* @param $tag
|
||||
* @param $name
|
||||
* @param $value
|
||||
*/
|
||||
public function updateShortcodeSetting( $tag, $name, $value ) {
|
||||
Vc_Shortcodes_Manager::getInstance()->getElementClass( $tag )->setSettings( $name, $value );
|
||||
}
|
||||
|
||||
/**
|
||||
* Build custom css styles for page from shortcodes attributes created by VC editors.
|
||||
*
|
||||
* Called by save method, which is hooked by edit_post action.
|
||||
* Function creates meta data for post with the key '_wpb_shortcodes_custom_css'
|
||||
* and value as css string, which will be added to the footer of the page.
|
||||
*
|
||||
* @since 4.2
|
||||
* @access public
|
||||
*
|
||||
* @param $post_id
|
||||
*/
|
||||
public function buildShortcodesCustomCss( $post_id ) {
|
||||
$post = get_post( $post_id );
|
||||
/**
|
||||
* vc_filter: vc_base_build_shortcodes_custom_css
|
||||
* @since 4.4
|
||||
*/
|
||||
$css = apply_filters( 'vc_base_build_shortcodes_custom_css', $this->parseShortcodesCustomCss( $post->post_content ), $post_id );
|
||||
if ( empty( $css ) ) {
|
||||
// delete_post_meta( $post_id, '_wpb_shortcodes_custom_css' );
|
||||
delete_metadata( 'post', $post_id, '_wpb_shortcodes_custom_css' );
|
||||
} else {
|
||||
// update_post_meta( $post_id, '_wpb_shortcodes_custom_css', $css );
|
||||
update_metadata( 'post', $post_id, '_wpb_shortcodes_custom_css', $css );
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Parse shortcodes custom css string.
|
||||
*
|
||||
* This function is used by self::buildShortcodesCustomCss and creates css string from shortcodes attributes
|
||||
* like 'css_editor'.
|
||||
*
|
||||
* @see WPBakeryVisualComposerCssEditor
|
||||
* @since 4.2
|
||||
* @access public
|
||||
*
|
||||
* @param $content
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function parseShortcodesCustomCss( $content ) {
|
||||
$css = '';
|
||||
if ( ! preg_match( '/\s*(\.[^\{]+)\s*\{\s*([^\}]+)\s*\}\s*/', $content ) ) {
|
||||
return $css;
|
||||
}
|
||||
WPBMap::addAllMappedShortcodes();
|
||||
preg_match_all( '/' . get_shortcode_regex() . '/', $content, $shortcodes );
|
||||
foreach ( $shortcodes[2] as $index => $tag ) {
|
||||
$shortcode = WPBMap::getShortCode( $tag );
|
||||
$attr_array = shortcode_parse_atts( trim( $shortcodes[3][ $index ] ) );
|
||||
if ( isset( $shortcode['params'] ) && ! empty( $shortcode['params'] ) ) {
|
||||
foreach ( $shortcode['params'] as $param ) {
|
||||
if ( isset( $param['type'] ) && 'css_editor' === $param['type'] && isset( $attr_array[ $param['param_name'] ] ) ) {
|
||||
$css .= $attr_array[ $param['param_name'] ];
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
foreach ( $shortcodes[5] as $shortcode_content ) {
|
||||
$css .= $this->parseShortcodesCustomCss( $shortcode_content );
|
||||
}
|
||||
|
||||
return $css;
|
||||
}
|
||||
|
||||
/**
|
||||
* Hooked class method by wp_head WP action to output post custom css.
|
||||
*
|
||||
* Method gets post meta value for page by key '_wpb_post_custom_css' and if it is not empty
|
||||
* outputs css string wrapped into style tag.
|
||||
*
|
||||
* @since 4.2
|
||||
* @access public
|
||||
*
|
||||
* @param int $id
|
||||
*/
|
||||
public function addPageCustomCss( $id = null ) {
|
||||
if ( is_front_page() || is_home() ) {
|
||||
$id = get_queried_object_id();
|
||||
} else if ( is_singular() ) {
|
||||
if ( ! $id ) {
|
||||
$id = get_the_ID();
|
||||
}
|
||||
}
|
||||
|
||||
if ( $id ) {
|
||||
if ( isset( $_GET['preview'] ) && 'true' === $_GET['preview'] ) {
|
||||
$latest_revision = wp_get_post_revisions( $id );
|
||||
$array_values = array_values( $latest_revision );
|
||||
$id = $array_values[0]->ID;
|
||||
}
|
||||
$post_custom_css = get_metadata( 'post', $id, '_wpb_post_custom_css', true );
|
||||
if ( ! empty( $post_custom_css ) ) {
|
||||
$post_custom_css = strip_tags( $post_custom_css );
|
||||
echo '<style type="text/css" data-type="vc_custom-css">';
|
||||
echo $post_custom_css;
|
||||
echo '</style>';
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Hooked class method by wp_footer WP action to output shortcodes css editor settings from page meta data.
|
||||
*
|
||||
* Method gets post meta value for page by key '_wpb_shortcodes_custom_css' and if it is not empty
|
||||
* outputs css string wrapped into style tag.
|
||||
*
|
||||
* @since 4.2
|
||||
* @access public
|
||||
*
|
||||
* @param int $id
|
||||
*
|
||||
*/
|
||||
public function addShortcodesCustomCss( $id = null ) {
|
||||
if ( ! is_singular() ) {
|
||||
return;
|
||||
}
|
||||
if ( ! $id ) {
|
||||
$id = get_the_ID();
|
||||
}
|
||||
|
||||
if ( $id ) {
|
||||
if ( isset( $_GET['preview'] ) && 'true' === $_GET['preview'] ) {
|
||||
$latest_revision = wp_get_post_revisions( $id );
|
||||
$array_values = array_values( $latest_revision );
|
||||
$id = $array_values[0]->ID;
|
||||
}
|
||||
$shortcodes_custom_css = get_metadata( 'post', $id, '_wpb_shortcodes_custom_css', true );
|
||||
if ( ! empty( $shortcodes_custom_css ) ) {
|
||||
$shortcodes_custom_css = strip_tags( $shortcodes_custom_css );
|
||||
echo '<style type="text/css" data-type="vc_shortcodes-custom-css">';
|
||||
echo $shortcodes_custom_css;
|
||||
echo '</style>';
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Add css styles for current page and elements design options added w\ editor.
|
||||
*/
|
||||
public function addFrontCss() {
|
||||
$this->addPageCustomCss();
|
||||
$this->addShortcodesCustomCss();
|
||||
}
|
||||
|
||||
public function addNoScript() {
|
||||
echo '<noscript>';
|
||||
echo '<style type="text/css">';
|
||||
echo ' .wpb_animate_when_almost_visible { opacity: 1; }';
|
||||
echo '</style>';
|
||||
echo '</noscript>';
|
||||
}
|
||||
|
||||
/**
|
||||
* Register front css styles.
|
||||
*
|
||||
* Calls wp_register_style for required css libraries files.
|
||||
*
|
||||
* @since 3.1
|
||||
* @access public
|
||||
*/
|
||||
public function frontCss() {
|
||||
wp_register_style( 'flexslider', vc_asset_url( 'lib/bower/flexslider/flexslider.min.css' ), array(), WPB_VC_VERSION );
|
||||
wp_register_style( 'nivo-slider-css', vc_asset_url( 'lib/bower/nivoslider/nivo-slider.min.css' ), array(), WPB_VC_VERSION );
|
||||
wp_register_style( 'nivo-slider-theme', vc_asset_url( 'lib/bower/nivoslider/themes/default/default.min.css' ), array( 'nivo-slider-css' ), WPB_VC_VERSION );
|
||||
wp_register_style( 'prettyphoto', vc_asset_url( 'lib/prettyphoto/css/prettyPhoto.min.css' ), array(), WPB_VC_VERSION );
|
||||
wp_register_style( 'isotope-css', vc_asset_url( 'css/lib/isotope.min.css' ), array(), WPB_VC_VERSION );
|
||||
wp_register_style( 'font-awesome', vc_asset_url( 'lib/bower/font-awesome/css/font-awesome.min.css' ), array(), WPB_VC_VERSION );
|
||||
wp_register_style( 'animate-css', vc_asset_url( 'lib/bower/animate-css/animate.min.css' ), array(), WPB_VC_VERSION );
|
||||
|
||||
$front_css_file = vc_asset_url( 'css/js_composer.min.css' );
|
||||
$upload_dir = wp_upload_dir();
|
||||
$vc_upload_dir = vc_upload_dir();
|
||||
if ( '1' === vc_settings()->get( 'use_custom' ) && is_file( $upload_dir['basedir'] . '/' . $vc_upload_dir . '/js_composer_front_custom.css' ) ) {
|
||||
$front_css_file = $upload_dir['baseurl'] . '/' . $vc_upload_dir . '/js_composer_front_custom.css';
|
||||
$front_css_file = vc_str_remove_protocol( $front_css_file );
|
||||
}
|
||||
wp_register_style( 'js_composer_front', $front_css_file, array(), WPB_VC_VERSION );
|
||||
|
||||
$custom_css_path = $upload_dir['basedir'] . '/' . $vc_upload_dir . '/custom.css';
|
||||
if ( is_file( $upload_dir['basedir'] . '/' . $vc_upload_dir . '/custom.css' ) && filesize( $custom_css_path ) > 0 ) {
|
||||
$custom_css_url = $upload_dir['baseurl'] . '/' . $vc_upload_dir . '/custom.css';
|
||||
$custom_css_url = vc_str_remove_protocol( $custom_css_url );
|
||||
wp_register_style( 'js_composer_custom_css', $custom_css_url, array(), WPB_VC_VERSION );
|
||||
}
|
||||
add_action( 'wp_enqueue_scripts', array(
|
||||
$this,
|
||||
'enqueueStyle',
|
||||
) );
|
||||
|
||||
/**
|
||||
* @since 4.4
|
||||
*/
|
||||
do_action( 'vc_base_register_front_css' );
|
||||
}
|
||||
|
||||
/**
|
||||
* Enqueue base css class for VC elements and enqueue custom css if exists.
|
||||
*/
|
||||
public function enqueueStyle() {
|
||||
$post = get_post();
|
||||
if ( $post && strpos( $post->post_content, '[vc_row' ) !== false ) {
|
||||
wp_enqueue_style( 'js_composer_front' );
|
||||
}
|
||||
wp_enqueue_style( 'js_composer_custom_css' );
|
||||
}
|
||||
|
||||
/**
|
||||
* Register front javascript libs.
|
||||
*
|
||||
* Calls wp_register_script for required css libraries files.
|
||||
*
|
||||
* @since 3.1
|
||||
* @access public
|
||||
*/
|
||||
public function frontJsRegister() {
|
||||
wp_register_script( 'prettyphoto', vc_asset_url( 'lib/prettyphoto/js/jquery.prettyPhoto.min.js' ), array( 'jquery' ), WPB_VC_VERSION, true );
|
||||
wp_register_script( 'waypoints', vc_asset_url( 'lib/waypoints/waypoints.min.js' ), array( 'jquery' ), WPB_VC_VERSION, true );
|
||||
|
||||
// @deprecated used in old tabs
|
||||
wp_register_script( 'jquery_ui_tabs_rotate', vc_asset_url( 'lib/bower/jquery-ui-tabs-rotate/jquery-ui-tabs-rotate.min.js' ), array(
|
||||
'jquery',
|
||||
'jquery-ui-tabs',
|
||||
), WPB_VC_VERSION, true );
|
||||
|
||||
// used in vc_gallery, old grid
|
||||
wp_register_script( 'isotope', vc_asset_url( 'lib/bower/isotope/dist/isotope.pkgd.min.js' ), array( 'jquery' ), WPB_VC_VERSION, true );
|
||||
|
||||
wp_register_script( 'twbs-pagination', vc_asset_url( 'lib/bower/twbs-pagination/jquery.twbsPagination.min.js' ), array( 'jquery' ), WPB_VC_VERSION, true );
|
||||
wp_register_script( 'nivo-slider', vc_asset_url( 'lib/bower/nivoslider/jquery.nivo.slider.pack.js' ), array( 'jquery' ), WPB_VC_VERSION, true );
|
||||
wp_register_script( 'flexslider', vc_asset_url( 'lib/bower/flexslider/jquery.flexslider-min.js' ), array( 'jquery' ), WPB_VC_VERSION, true );
|
||||
wp_register_script( 'wpb_composer_front_js', vc_asset_url( 'js/dist/js_composer_front.min.js' ), array( 'jquery' ), WPB_VC_VERSION, true );
|
||||
|
||||
/**
|
||||
* @since 4.4
|
||||
*/
|
||||
do_action( 'vc_base_register_front_js' );
|
||||
}
|
||||
|
||||
/**
|
||||
* Register admin javascript libs.
|
||||
*
|
||||
* Calls wp_register_script for required css libraries files for Admin dashboard.
|
||||
*
|
||||
* @since 3.1
|
||||
* vc_filter: vc_i18n_locale_composer_js_view, since 4.4 - override localization for js
|
||||
* @access public
|
||||
*/
|
||||
public function registerAdminJavascript() {
|
||||
/**
|
||||
* @since 4.4
|
||||
*/
|
||||
do_action( 'vc_base_register_admin_js' );
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* Register admin css styles.
|
||||
*
|
||||
* Calls wp_register_style for required css libraries files for admin dashboard.
|
||||
*
|
||||
* @since 3.1
|
||||
* @access public
|
||||
*/
|
||||
public function registerAdminCss() {
|
||||
/**
|
||||
* @since 4.4
|
||||
*/
|
||||
do_action( 'vc_base_register_admin_css' );
|
||||
}
|
||||
|
||||
/**
|
||||
* Add Settings link in plugin's page
|
||||
* @since 4.2
|
||||
*
|
||||
* @param $links
|
||||
* @param $file
|
||||
*
|
||||
* @return array
|
||||
*/
|
||||
public function pluginActionLinks( $links, $file ) {
|
||||
if ( plugin_basename( vc_path_dir( 'APP_DIR', '/js_composer.php' ) ) == $file ) {
|
||||
$title = __( 'WPBakery Page Builder Settings', 'js_composer' );
|
||||
$html = esc_html__( 'Settings', 'js_composer' );
|
||||
if ( ! vc_user_access()->part( 'settings' )->can( 'vc-general-tab' )->get() ) {
|
||||
$title = __( 'About WPBakery Page Builder', 'js_composer' );
|
||||
$html = esc_html__( 'About', 'js_composer' );
|
||||
}
|
||||
$link = '<a title="' . esc_attr( $title ) . '" href="' . esc_url( $this->getSettingsPageLink() ) . '">' . $html . '</a>';
|
||||
array_unshift( $links, $link ); // Add to top
|
||||
}
|
||||
|
||||
return $links;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get settings page link
|
||||
* @since 4.2
|
||||
* @return string url to settings page
|
||||
*/
|
||||
public function getSettingsPageLink() {
|
||||
$page = 'vc-general';
|
||||
if ( ! vc_user_access()->part( 'settings' )->can( 'vc-general-tab' )->get() ) {
|
||||
$page = 'vc-welcome';
|
||||
}
|
||||
|
||||
return add_query_arg( array( 'page' => $page ), admin_url( 'admin.php' ) );
|
||||
}
|
||||
|
||||
/**
|
||||
* Hooked class method by wp_head WP action.
|
||||
* @since 4.2
|
||||
* @access public
|
||||
*/
|
||||
public function addMetaData() {
|
||||
echo '<meta name="generator" content="Powered by WPBakery Page Builder - drag and drop page builder for WordPress."/>' . "\n";
|
||||
}
|
||||
|
||||
/**
|
||||
* Also add fix for IE8 bootstrap styles from WPExplorer
|
||||
* @since 4.9
|
||||
* @access public
|
||||
*/
|
||||
public function addIEMinimalSupport() {
|
||||
echo '<!--[if lte IE 9]><link rel="stylesheet" type="text/css" href="' . vc_asset_url( 'css/vc_lte_ie9.min.css' ) . '" media="screen"><![endif]-->';
|
||||
}
|
||||
|
||||
/**
|
||||
* Method adds css class to body tag.
|
||||
*
|
||||
* Hooked class method by body_class WP filter. Method adds custom css class to body tag of the page to help
|
||||
* identify and build design specially for VC shortcodes.
|
||||
*
|
||||
* @since 4.2
|
||||
* @access public
|
||||
*
|
||||
* @param $classes
|
||||
*
|
||||
* @return array
|
||||
*/
|
||||
public function bodyClass( $classes ) {
|
||||
return js_composer_body_class( $classes );
|
||||
}
|
||||
|
||||
/**
|
||||
* Builds excerpt for post from content.
|
||||
*
|
||||
* Hooked class method by the_excerpt WP filter. When user creates content with VC all content is always wrapped by
|
||||
* shortcodes. This methods calls do_shortcode for post's content and then creates a new excerpt.
|
||||
*
|
||||
* @since 4.2
|
||||
* @access public
|
||||
*
|
||||
* @param $output
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function excerptFilter( $output ) {
|
||||
global $post;
|
||||
if ( empty( $output ) && ! empty( $post->post_content ) ) {
|
||||
$text = strip_tags( do_shortcode( $post->post_content ) );
|
||||
$excerpt_length = apply_filters( 'excerpt_length', 55 );
|
||||
$excerpt_more = apply_filters( 'excerpt_more', ' ' . '[...]' );
|
||||
$text = wp_trim_words( $text, $excerpt_length, $excerpt_more );
|
||||
|
||||
return $text;
|
||||
}
|
||||
|
||||
return $output;
|
||||
}
|
||||
|
||||
/**
|
||||
* Remove unwanted wraping with p for content.
|
||||
*
|
||||
* Hooked by 'the_content' filter.
|
||||
* @since 4.2
|
||||
*
|
||||
* @param null $content
|
||||
*
|
||||
* @return string|null
|
||||
*/
|
||||
public function fixPContent( $content = null ) {
|
||||
if ( $content ) {
|
||||
$s = array(
|
||||
'/' . preg_quote( '</div>', '/' ) . '[\s\n\f]*' . preg_quote( '</p>', '/' ) . '/i',
|
||||
'/' . preg_quote( '<p>', '/' ) . '[\s\n\f]*' . preg_quote( '<div ', '/' ) . '/i',
|
||||
'/' . preg_quote( '<p>', '/' ) . '[\s\n\f]*' . preg_quote( '<section ', '/' ) . '/i',
|
||||
'/' . preg_quote( '</section>', '/' ) . '[\s\n\f]*' . preg_quote( '</p>', '/' ) . '/i',
|
||||
);
|
||||
$r = array(
|
||||
'</div>',
|
||||
'<div ',
|
||||
'<section ',
|
||||
'</section>',
|
||||
);
|
||||
$content = preg_replace( $s, $r, $content );
|
||||
|
||||
return $content;
|
||||
}
|
||||
|
||||
return null;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get array of string for locale.
|
||||
*
|
||||
* @since 4.7
|
||||
*
|
||||
* @return array
|
||||
*/
|
||||
public function getEditorsLocale() {
|
||||
return array(
|
||||
'add_remove_picture' => __( 'Add/remove picture', 'js_composer' ),
|
||||
'finish_adding_text' => __( 'Finish Adding Images', 'js_composer' ),
|
||||
'add_image' => __( 'Add Image', 'js_composer' ),
|
||||
'add_images' => __( 'Add Images', 'js_composer' ),
|
||||
'settings' => __( 'Settings', 'js_composer' ),
|
||||
'main_button_title' => __( 'WPBakery Page Builder', 'js_composer' ),
|
||||
'main_button_title_backend_editor' => __( 'Backend Editor', 'js_composer' ),
|
||||
'main_button_title_frontend_editor' => __( 'Frontend Editor', 'js_composer' ),
|
||||
'main_button_title_revert' => __( 'Classic Mode', 'js_composer' ),
|
||||
'main_button_title_gutenberg' => __( 'Gutenberg Editor', 'js_composer' ),
|
||||
'please_enter_templates_name' => __( 'Enter template name you want to save.', 'js_composer' ),
|
||||
'confirm_deleting_template' => __( 'Confirm deleting "{template_name}" template, press Cancel to leave. This action cannot be undone.', 'js_composer' ),
|
||||
'press_ok_to_delete_section' => __( 'Press OK to delete section, Cancel to leave', 'js_composer' ),
|
||||
'drag_drop_me_in_column' => __( 'Drag and drop me in the column', 'js_composer' ),
|
||||
'press_ok_to_delete_tab' => __( 'Press OK to delete "{tab_name}" tab, Cancel to leave', 'js_composer' ),
|
||||
'slide' => __( 'Slide', 'js_composer' ),
|
||||
'tab' => __( 'Tab', 'js_composer' ),
|
||||
'section' => __( 'Section', 'js_composer' ),
|
||||
'please_enter_new_tab_title' => __( 'Please enter new tab title', 'js_composer' ),
|
||||
'press_ok_delete_section' => __( 'Press OK to delete "{tab_name}" section, Cancel to leave', 'js_composer' ),
|
||||
'section_default_title' => __( 'Section', 'js_composer' ),
|
||||
'please_enter_section_title' => __( 'Please enter new section title', 'js_composer' ),
|
||||
'error_please_try_again' => __( 'Error. Please try again.', 'js_composer' ),
|
||||
'if_close_data_lost' => __( 'If you close this window all shortcode settings will be lost. Close this window?', 'js_composer' ),
|
||||
'header_select_element_type' => __( 'Select element type', 'js_composer' ),
|
||||
'header_media_gallery' => __( 'Media gallery', 'js_composer' ),
|
||||
'header_element_settings' => __( 'Element settings', 'js_composer' ),
|
||||
'add_tab' => __( 'Add tab', 'js_composer' ),
|
||||
'are_you_sure_convert_to_new_version' => __( 'Are you sure you want to convert to new version?', 'js_composer' ),
|
||||
'loading' => __( 'Loading...', 'js_composer' ),
|
||||
// Media editor
|
||||
'set_image' => __( 'Set Image', 'js_composer' ),
|
||||
'are_you_sure_reset_css_classes' => __( 'Are you sure that you want to remove all your data?', 'js_composer' ),
|
||||
'loop_frame_title' => __( 'Loop settings', 'js_composer' ),
|
||||
'enter_custom_layout' => __( 'Custom row layout', 'js_composer' ),
|
||||
'wrong_cells_layout' => __( 'Wrong row layout format! Example: 1/2 + 1/2 or span6 + span6.', 'js_composer' ),
|
||||
'row_background_color' => __( 'Row background color', 'js_composer' ),
|
||||
'row_background_image' => __( 'Row background image', 'js_composer' ),
|
||||
'column_background_color' => __( 'Column background color', 'js_composer' ),
|
||||
'column_background_image' => __( 'Column background image', 'js_composer' ),
|
||||
'guides_on' => __( 'Guides ON', 'js_composer' ),
|
||||
'guides_off' => __( 'Guides OFF', 'js_composer' ),
|
||||
'template_save' => __( 'New template successfully saved.', 'js_composer' ),
|
||||
'template_added' => __( 'Template added to the page.', 'js_composer' ),
|
||||
'template_added_with_id' => __( 'Template added to the page. Template has ID attributes, make sure that they are not used more than once on the same page.', 'js_composer' ),
|
||||
'template_removed' => __( 'Template successfully removed.', 'js_composer' ),
|
||||
'template_is_empty' => __( 'Template is empty: There is no content to be saved as a template.', 'js_composer' ),
|
||||
'template_save_error' => __( 'Error while saving template.', 'js_composer' ),
|
||||
'css_updated' => __( 'Page settings updated!', 'js_composer' ),
|
||||
'update_all' => __( 'Update all', 'js_composer' ),
|
||||
'confirm_to_leave' => __( 'The changes you made will be lost if you navigate away from this page.', 'js_composer' ),
|
||||
'inline_element_saved' => __( '%s saved!', 'js_composer' ),
|
||||
'inline_element_deleted' => __( '%s deleted!', 'js_composer' ),
|
||||
'inline_element_cloned' => __( '%s cloned. <a href="#" class="vc_edit-cloned" data-model-id="%s">Edit now?</a>', 'js_composer' ),
|
||||
'gfonts_loading_google_font_failed' => __( 'Loading Google Font failed', 'js_composer' ),
|
||||
'gfonts_loading_google_font' => __( 'Loading Font...', 'js_composer' ),
|
||||
'gfonts_unable_to_load_google_fonts' => __( 'Unable to load Google Fonts', 'js_composer' ),
|
||||
'no_title_parenthesis' => sprintf( '(%s)', __( 'no title', 'js_composer' ) ),
|
||||
'error_while_saving_image_filtered' => __( 'Error while applying filter to the image. Check your server and memory settings.', 'js_composer' ),
|
||||
'ui_saved' => sprintf( '<i class="vc-composer-icon vc-c-icon-check"></i> %s', __( 'Saved!', 'js_composer' ) ),
|
||||
'ui_danger' => sprintf( '<i class="vc-composer-icon vc-c-icon-close"></i> %s', __( 'Failed to Save!', 'js_composer' ) ),
|
||||
'delete_preset_confirmation' => __( 'You are about to delete this preset. This action can not be undone.', 'js_composer' ),
|
||||
'ui_template_downloaded' => __( 'Downloaded', 'js_composer' ),
|
||||
'ui_template_update' => __( 'Update', 'js_composer' ),
|
||||
'ui_templates_failed_to_download' => __( 'Failed to download template', 'js_composer' ),
|
||||
'preset_removed' => __( 'Element successfully removed.', 'js_composer' ),
|
||||
'vc_successfully_updated' => __( 'Successfully updated!', 'js_composer' ),
|
||||
'gutenbergDoesntWorkProperly' => __( 'Gutenberg plugin doesn\'t work properly. Please check Gutenberg plugin.', 'js_composer' ),
|
||||
);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,213 @@
|
||||
<?php
|
||||
if ( ! defined( 'ABSPATH' ) ) {
|
||||
die( '-1' );
|
||||
}
|
||||
|
||||
/**
|
||||
* WPBakery WPBakery Page Builder Main manager.
|
||||
*
|
||||
* @package WPBakeryPageBuilder
|
||||
* @since 4.2
|
||||
*/
|
||||
|
||||
/**
|
||||
* Vc mapper new class. On maintenance
|
||||
* Allows to bind hooks for shortcodes.
|
||||
* @since 4.2
|
||||
*/
|
||||
class Vc_Mapper {
|
||||
/**
|
||||
* @since 4.2
|
||||
* Stores mapping activities list which where called before initialization
|
||||
* @var array
|
||||
*/
|
||||
protected $init_activity = array();
|
||||
/**
|
||||
*
|
||||
*
|
||||
* @since 4.9
|
||||
*
|
||||
* @var array
|
||||
*/
|
||||
protected $element_activities = array();
|
||||
|
||||
protected $hasAccess = array();
|
||||
|
||||
// @todo fix_roles and maybe remove/@deprecate this
|
||||
protected $checkForAccess = true;
|
||||
|
||||
/**
|
||||
* @since 4.2
|
||||
*/
|
||||
function __construct() {
|
||||
}
|
||||
|
||||
/**
|
||||
* Include params list objects and calls all stored activity methods.
|
||||
*
|
||||
* @since 4.2
|
||||
* @access public
|
||||
*/
|
||||
public function init() {
|
||||
do_action( 'vc_mapper_init_before' );
|
||||
require_once vc_path_dir( 'PARAMS_DIR', 'load.php' );
|
||||
WPBMap::setInit();
|
||||
require_once vc_path_dir( 'CONFIG_DIR', 'lean-map.php' );
|
||||
$this->callActivities();
|
||||
do_action( 'vc_mapper_init_after' );
|
||||
}
|
||||
|
||||
/**
|
||||
* This method is called by VC objects methods if it is called before VC initialization.
|
||||
*
|
||||
* @see WPBMAP
|
||||
* @since 4.2
|
||||
* @access public
|
||||
*
|
||||
* @param $object - mame of class object
|
||||
* @param $method - method name
|
||||
* @param array $params - list of attributes for object method
|
||||
*/
|
||||
public function addActivity( $object, $method, $params = array() ) {
|
||||
$this->init_activity[] = array(
|
||||
$object,
|
||||
$method,
|
||||
$params,
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* This method is called by VC objects methods if it is called before VC initialization.
|
||||
*
|
||||
* @see WPBMAP
|
||||
* @since 4.9
|
||||
* @access public
|
||||
*
|
||||
* @param $tag - shortcode tag of element
|
||||
* @param $method - method name
|
||||
* @param array $params - list of attributes for object method
|
||||
*/
|
||||
public function addElementActivity( $tag, $method, $params = array() ) {
|
||||
if ( ! isset( $this->element_activities[ $tag ] ) ) {
|
||||
$this->element_activities[ $tag ] = array();
|
||||
}
|
||||
$this->element_activities[ $tag ][] = array(
|
||||
$method,
|
||||
$params,
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* Call all stored activities.
|
||||
*
|
||||
* Called by init method. List of activities stored by $init_activity are created by other objects called after
|
||||
* initialization.
|
||||
*
|
||||
* @since 4.2
|
||||
* @access public
|
||||
*/
|
||||
protected function callActivities() {
|
||||
do_action( 'vc_mapper_call_activities_before' );
|
||||
foreach ( $this->init_activity as $activity ) {
|
||||
list( $object, $method, $params ) = $activity;
|
||||
if ( 'mapper' === $object ) {
|
||||
switch ( $method ) {
|
||||
case 'map':
|
||||
$currentScope = WPBMap::getScope();
|
||||
if ( isset( $params['scope'] ) ) {
|
||||
WPBMap::setScope( $params['scope'] );
|
||||
}
|
||||
WPBMap::map( $params['tag'], $params['attributes'] );
|
||||
WPBMap::setScope( $currentScope );
|
||||
break;
|
||||
case 'drop_param':
|
||||
WPBMap::dropParam( $params['name'], $params['attribute_name'] );
|
||||
break;
|
||||
case 'add_param':
|
||||
WPBMap::addParam( $params['name'], $params['attribute'] );
|
||||
break;
|
||||
case 'mutate_param':
|
||||
WPBMap::mutateParam( $params['name'], $params['attribute'] );
|
||||
break;
|
||||
case 'drop_all_shortcodes':
|
||||
WPBMap::dropAllShortcodes();
|
||||
break;
|
||||
case 'drop_shortcode':
|
||||
WPBMap::dropShortcode( $params['name'] );
|
||||
break;
|
||||
case 'modify':
|
||||
WPBMap::modify( $params['name'], $params['setting_name'], $params['value'] );
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Does user has access to modify/clone/delete/add shortcode
|
||||
*
|
||||
* @param $shortcode
|
||||
*
|
||||
* @todo fix_roles and maybe remove/@deprecate this
|
||||
* @since 4.5
|
||||
* @return bool
|
||||
*/
|
||||
public function userHasAccess( $shortcode ) {
|
||||
if ( $this->isCheckForAccess() ) {
|
||||
if ( isset( $this->hasAccess[ $shortcode ] ) ) {
|
||||
return $this->hasAccess[ $shortcode ];
|
||||
} else {
|
||||
$this->hasAccess[ $shortcode ] = vc_user_access_check_shortcode_edit( $shortcode );
|
||||
}
|
||||
|
||||
return $this->hasAccess[ $shortcode ];
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
/**
|
||||
* @todo fix_roles and maybe remove/@deprecate this
|
||||
* @since 4.5
|
||||
* @return bool
|
||||
*/
|
||||
public function isCheckForAccess() {
|
||||
return $this->checkForAccess;
|
||||
}
|
||||
|
||||
/**
|
||||
* @todo fix_roles and maybe remove/@deprecate this
|
||||
* @since 4.5
|
||||
*
|
||||
* @param bool $checkForAccess
|
||||
*/
|
||||
public function setCheckForAccess( $checkForAccess ) {
|
||||
$this->checkForAccess = $checkForAccess;
|
||||
}
|
||||
|
||||
public function callElementActivities( $tag ) {
|
||||
do_action( 'vc_mapper_call_activities_before' );
|
||||
if ( isset( $this->element_activities[ $tag ] ) ) {
|
||||
foreach ( $this->element_activities[ $tag ] as $activity ) {
|
||||
list( $method, $params ) = $activity;
|
||||
switch ( $method ) {
|
||||
case 'drop_param':
|
||||
WPBMap::dropParam( $params['name'], $params['attribute_name'] );
|
||||
break;
|
||||
case 'add_param':
|
||||
WPBMap::addParam( $params['name'], $params['attribute'] );
|
||||
break;
|
||||
case 'mutate_param':
|
||||
WPBMap::mutateParam( $params['name'], $params['attribute'] );
|
||||
break;
|
||||
case 'drop_shortcode':
|
||||
WPBMap::dropShortcode( $params['name'] );
|
||||
break;
|
||||
case 'modify':
|
||||
WPBMap::modify( $params['name'], $params['setting_name'], $params['value'] );
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,74 @@
|
||||
<?php
|
||||
if ( ! defined( 'ABSPATH' ) ) {
|
||||
die( '-1' );
|
||||
}
|
||||
|
||||
class Vc_Page implements Vc_Render {
|
||||
protected $slug;
|
||||
protected $title;
|
||||
protected $templatePath;
|
||||
|
||||
/**
|
||||
* @return string
|
||||
*
|
||||
*/
|
||||
public function getSlug() {
|
||||
return $this->slug;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param mixed $slug
|
||||
*
|
||||
* @return $this;
|
||||
*/
|
||||
public function setSlug( $slug ) {
|
||||
$this->slug = (string) $slug;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return mixed
|
||||
*/
|
||||
public function getTitle() {
|
||||
return $this->title;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $title
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setTitle( $title ) {
|
||||
$this->title = (string) $title;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return mixed
|
||||
*/
|
||||
public function getTemplatePath() {
|
||||
return $this->templatePath;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param mixed $templatePath
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setTemplatePath( $templatePath ) {
|
||||
$this->templatePath = $templatePath;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
public function render() {
|
||||
ob_start();
|
||||
vc_include_template( $this->getTemplatePath(), array(
|
||||
'page' => $this,
|
||||
) );
|
||||
|
||||
echo apply_filters( 'vc_settings-page-render-' . $this->getSlug(), ob_get_clean(), $this );
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,81 @@
|
||||
<?php
|
||||
if ( ! defined( 'ABSPATH' ) ) {
|
||||
die( '-1' );
|
||||
}
|
||||
|
||||
/**
|
||||
* Class Vs_Pages_Group Show the groups of the pages likes pages with tabs.
|
||||
*
|
||||
* @since 4.5
|
||||
*/
|
||||
class Vc_Pages_Group extends Vc_Page {
|
||||
protected $activePage;
|
||||
protected $pages;
|
||||
protected $templatePath;
|
||||
|
||||
/**
|
||||
* @return mixed
|
||||
*/
|
||||
public function getActivePage() {
|
||||
return $this->activePage;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param Vc_Page $activePage
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setActivePage( Vc_Page $activePage ) {
|
||||
$this->activePage = $activePage;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return mixed
|
||||
*/
|
||||
public function getPages() {
|
||||
return $this->pages;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param mixed $pages
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setPages( $pages ) {
|
||||
$this->pages = $pages;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return mixed
|
||||
*/
|
||||
public function getTemplatePath() {
|
||||
return $this->templatePath;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param mixed $templatePath
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setTemplatePath( $templatePath ) {
|
||||
$this->templatePath = $templatePath;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Render html output for current page.
|
||||
*/
|
||||
public function render() {
|
||||
vc_include_template( $this->getTemplatePath(),
|
||||
array(
|
||||
'pages' => $this->getPages(),
|
||||
'active_page' => $this->activePage,
|
||||
'page' => $this,
|
||||
) );
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,185 @@
|
||||
<?php
|
||||
if ( ! defined( 'ABSPATH' ) ) {
|
||||
die( '-1' );
|
||||
}
|
||||
|
||||
/**
|
||||
* Ability to interact with post data.
|
||||
*
|
||||
* @since 4.4
|
||||
*/
|
||||
class Vc_Post_Admin {
|
||||
/**
|
||||
* Add hooks required to save, update and manipulate post
|
||||
*/
|
||||
public function init() {
|
||||
// Called in BE
|
||||
add_action( 'save_post', array(
|
||||
$this,
|
||||
'save',
|
||||
) );
|
||||
|
||||
// Called in FE
|
||||
add_action( 'wp_ajax_vc_save', array(
|
||||
$this,
|
||||
'saveAjaxFe',
|
||||
) );
|
||||
}
|
||||
|
||||
/**
|
||||
* @throws \Exception
|
||||
*/
|
||||
public function saveAjaxFe() {
|
||||
vc_user_access()->checkAdminNonce()->validateDie()->wpAny( 'edit_posts', 'edit_pages' )->validateDie();
|
||||
|
||||
$post_id = intval( vc_post_param( 'post_id' ) );
|
||||
if ( $post_id > 0 ) {
|
||||
ob_start();
|
||||
|
||||
// Update post_content, title and etc.
|
||||
// post_title
|
||||
// content
|
||||
// post_status
|
||||
if ( isset( $_POST['content'] ) ) {
|
||||
$post = get_post( $post_id );
|
||||
$post->post_content = stripslashes( vc_post_param( 'content' ) );
|
||||
$post_status = vc_post_param( 'post_status' );
|
||||
$post_title = vc_post_param( 'post_title' );
|
||||
if ( null !== $post_title ) {
|
||||
$post->post_title = $post_title;
|
||||
}
|
||||
kses_remove_filters();
|
||||
remove_filter( 'content_save_pre', 'balanceTags', 50 );
|
||||
if ( $post_status && 'publish' === $post_status ) {
|
||||
if ( vc_user_access()->wpAll( array(
|
||||
get_post_type_object( $post->post_type )->cap->publish_posts,
|
||||
$post_id,
|
||||
) )->get() ) {
|
||||
if ( 'private' !== $post->post_status && 'future' !== $post->post_status ) {
|
||||
$post->post_status = 'publish';
|
||||
}
|
||||
} else {
|
||||
$post->post_status = 'pending';
|
||||
}
|
||||
}
|
||||
|
||||
wp_update_post( $post );
|
||||
$this->setPostMeta( $post_id );
|
||||
}
|
||||
|
||||
visual_composer()->buildShortcodesCustomCss( $post_id );
|
||||
wp_cache_flush();
|
||||
ob_clean();
|
||||
|
||||
wp_send_json_success();
|
||||
}
|
||||
|
||||
wp_send_json_error();
|
||||
}
|
||||
|
||||
/**
|
||||
* Save generated shortcodes, html and WPBakery Page Builder status in posts meta.
|
||||
*
|
||||
* @access public
|
||||
* @since 4.4
|
||||
*
|
||||
* @param $post_id - current post id
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function save( $post_id ) {
|
||||
if ( defined( 'DOING_AUTOSAVE' ) && DOING_AUTOSAVE || vc_is_inline() ) {
|
||||
return;
|
||||
}
|
||||
|
||||
$this->setPostMeta( $post_id );
|
||||
}
|
||||
|
||||
/**
|
||||
* Saves VC Backend editor meta box visibility status.
|
||||
*
|
||||
* If post param 'wpb_vc_js_status' set to true, then methods adds/updated post
|
||||
* meta option with tag '_wpb_vc_js_status'.
|
||||
* @since 4.4
|
||||
*
|
||||
* @param $post_id
|
||||
*/
|
||||
public function setJsStatus( $post_id ) {
|
||||
$value = vc_post_param( 'wpb_vc_js_status' );
|
||||
if ( null !== $value ) {
|
||||
// Add value
|
||||
if ( '' === get_post_meta( $post_id, '_wpb_vc_js_status' ) ) {
|
||||
add_post_meta( $post_id, '_wpb_vc_js_status', $value, true );
|
||||
} // Update value
|
||||
elseif ( get_post_meta( $post_id, '_wpb_vc_js_status', true ) != $value ) {
|
||||
update_post_meta( $post_id, '_wpb_vc_js_status', $value );
|
||||
} // Delete value
|
||||
elseif ( '' === $value ) {
|
||||
delete_post_meta( $post_id, '_wpb_vc_js_status', get_post_meta( $post_id, '_wpb_vc_js_status', true ) );
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Saves VC interface version which is used for building post content.
|
||||
* @deprecated not needed anywhere
|
||||
* @since 4.4
|
||||
* @todo check is it used everywhere and is it needed?!
|
||||
* @param $post_id
|
||||
*/
|
||||
public function setInterfaceVersion( $post_id ) {
|
||||
_deprecated_function( '\Vc_Post_Admin::setInterfaceVersion', '4.4', '' );
|
||||
if ( null !== ( $value = vc_post_param( 'wpb_vc_js_interface_version' ) ) ) {
|
||||
update_post_meta( $post_id, '_wpb_vc_js_interface_version', $value );
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Set Post Settings for VC.
|
||||
*
|
||||
* It is possible to add any data to post settings by adding filter with tag 'vc_hooks_vc_post_settings'.
|
||||
* @since 4.4
|
||||
* vc_filter: vc_hooks_vc_post_settings - hook to override post meta settings for WPBakery Page Builder (used in grid for
|
||||
* example)
|
||||
*
|
||||
* @param $post_id
|
||||
*/
|
||||
public function setSettings( $post_id ) {
|
||||
$settings = array();
|
||||
$settings = apply_filters( 'vc_hooks_vc_post_settings', $settings, $post_id, get_post( $post_id ) );
|
||||
if ( is_array( $settings ) && ! empty( $settings ) ) {
|
||||
update_post_meta( $post_id, '_vc_post_settings', $settings );
|
||||
} else {
|
||||
delete_post_meta( $post_id, '_vc_post_settings' );
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* @param $post_id
|
||||
*/
|
||||
protected function setPostMeta( $post_id ) {
|
||||
if ( ! vc_user_access()->wpAny( array(
|
||||
'edit_post',
|
||||
$post_id,
|
||||
) )->get() ) {
|
||||
return;
|
||||
}
|
||||
$this->setJsStatus( $post_id );
|
||||
if ( ! ( isset( $_POST['wp-preview'] ) && 'dopreview' === $_POST['wp-preview'] ) ) {
|
||||
|
||||
$this->setSettings( $post_id );
|
||||
}
|
||||
/**
|
||||
* vc_filter: vc_base_save_post_custom_css
|
||||
* @since 4.4
|
||||
*/
|
||||
$post_custom_css = apply_filters( 'vc_base_save_post_custom_css', vc_post_param( 'vc_post_custom_css' ), $post_id );
|
||||
if ( null !== $post_custom_css && empty( $post_custom_css ) ) {
|
||||
delete_metadata( 'post', $post_id, '_wpb_post_custom_css' );
|
||||
} elseif ( null !== $post_custom_css ) {
|
||||
$post_custom_css = strip_tags( $post_custom_css );
|
||||
update_metadata( 'post', $post_id, '_wpb_post_custom_css', $post_custom_css );
|
||||
}
|
||||
visual_composer()->buildShortcodesCustomCss( $post_id );
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,422 @@
|
||||
<?php
|
||||
if ( ! defined( 'ABSPATH' ) ) {
|
||||
die( '-1' );
|
||||
}
|
||||
|
||||
/*** WPBakery Page Builder Content elements refresh ***/
|
||||
class VcSharedLibrary {
|
||||
// Here we will store plugin wise (shared) settings. Colors, Locations, Sizes, etc...
|
||||
/**
|
||||
* @var array
|
||||
*/
|
||||
private static $colors = array(
|
||||
'Blue' => 'blue',
|
||||
'Turquoise' => 'turquoise',
|
||||
'Pink' => 'pink',
|
||||
'Violet' => 'violet',
|
||||
'Peacoc' => 'peacoc',
|
||||
'Chino' => 'chino',
|
||||
'Mulled Wine' => 'mulled_wine',
|
||||
'Vista Blue' => 'vista_blue',
|
||||
'Black' => 'black',
|
||||
'Grey' => 'grey',
|
||||
'Orange' => 'orange',
|
||||
'Sky' => 'sky',
|
||||
'Green' => 'green',
|
||||
'Juicy pink' => 'juicy_pink',
|
||||
'Sandy brown' => 'sandy_brown',
|
||||
'Purple' => 'purple',
|
||||
'White' => 'white',
|
||||
);
|
||||
|
||||
/**
|
||||
* @var array
|
||||
*/
|
||||
public static $icons = array(
|
||||
'Glass' => 'glass',
|
||||
'Music' => 'music',
|
||||
'Search' => 'search',
|
||||
);
|
||||
|
||||
/**
|
||||
* @var array
|
||||
*/
|
||||
public static $sizes = array(
|
||||
'Mini' => 'xs',
|
||||
'Small' => 'sm',
|
||||
'Normal' => 'md',
|
||||
'Large' => 'lg',
|
||||
);
|
||||
|
||||
/**
|
||||
* @var array
|
||||
*/
|
||||
public static $button_styles = array(
|
||||
'Rounded' => 'rounded',
|
||||
'Square' => 'square',
|
||||
'Round' => 'round',
|
||||
'Outlined' => 'outlined',
|
||||
'3D' => '3d',
|
||||
'Square Outlined' => 'square_outlined',
|
||||
);
|
||||
|
||||
/**
|
||||
* @var array
|
||||
*/
|
||||
public static $message_box_styles = array(
|
||||
'Standard' => 'standard',
|
||||
'Solid' => 'solid',
|
||||
'Solid icon' => 'solid-icon',
|
||||
'Outline' => 'outline',
|
||||
'3D' => '3d',
|
||||
);
|
||||
|
||||
/**
|
||||
* Toggle styles
|
||||
* @var array
|
||||
*/
|
||||
public static $toggle_styles = array(
|
||||
'Default' => 'default',
|
||||
'Simple' => 'simple',
|
||||
'Round' => 'round',
|
||||
'Round Outline' => 'round_outline',
|
||||
'Rounded' => 'rounded',
|
||||
'Rounded Outline' => 'rounded_outline',
|
||||
'Square' => 'square',
|
||||
'Square Outline' => 'square_outline',
|
||||
'Arrow' => 'arrow',
|
||||
'Text Only' => 'text_only',
|
||||
);
|
||||
|
||||
/**
|
||||
* Animation styles
|
||||
* @var array
|
||||
*/
|
||||
public static $animation_styles = array(
|
||||
'Bounce' => 'easeOutBounce',
|
||||
'Elastic' => 'easeOutElastic',
|
||||
'Back' => 'easeOutBack',
|
||||
'Cubic' => 'easeInOutCubic',
|
||||
'Quint' => 'easeInOutQuint',
|
||||
'Quart' => 'easeOutQuart',
|
||||
'Quad' => 'easeInQuad',
|
||||
'Sine' => 'easeOutSine',
|
||||
);
|
||||
|
||||
/**
|
||||
* @var array
|
||||
*/
|
||||
public static $cta_styles = array(
|
||||
'Rounded' => 'rounded',
|
||||
'Square' => 'square',
|
||||
'Round' => 'round',
|
||||
'Outlined' => 'outlined',
|
||||
'Square Outlined' => 'square_outlined',
|
||||
);
|
||||
|
||||
/**
|
||||
* @var array
|
||||
*/
|
||||
public static $txt_align = array(
|
||||
'Left' => 'left',
|
||||
'Right' => 'right',
|
||||
'Center' => 'center',
|
||||
'Justify' => 'justify',
|
||||
);
|
||||
|
||||
/**
|
||||
* @var array
|
||||
*/
|
||||
public static $el_widths = array(
|
||||
'100%' => '',
|
||||
'90%' => '90',
|
||||
'80%' => '80',
|
||||
'70%' => '70',
|
||||
'60%' => '60',
|
||||
'50%' => '50',
|
||||
'40%' => '40',
|
||||
'30%' => '30',
|
||||
'20%' => '20',
|
||||
'10%' => '10',
|
||||
);
|
||||
|
||||
/**
|
||||
* @var array
|
||||
*/
|
||||
public static $sep_widths = array(
|
||||
'1px' => '',
|
||||
'2px' => '2',
|
||||
'3px' => '3',
|
||||
'4px' => '4',
|
||||
'5px' => '5',
|
||||
'6px' => '6',
|
||||
'7px' => '7',
|
||||
'8px' => '8',
|
||||
'9px' => '9',
|
||||
'10px' => '10',
|
||||
);
|
||||
|
||||
/**
|
||||
* @var array
|
||||
*/
|
||||
public static $sep_styles = array(
|
||||
'Border' => '',
|
||||
'Dashed' => 'dashed',
|
||||
'Dotted' => 'dotted',
|
||||
'Double' => 'double',
|
||||
'Shadow' => 'shadow',
|
||||
);
|
||||
|
||||
/**
|
||||
* @var array
|
||||
*/
|
||||
public static $box_styles = array(
|
||||
'Default' => '',
|
||||
'Rounded' => 'vc_box_rounded',
|
||||
'Border' => 'vc_box_border',
|
||||
'Outline' => 'vc_box_outline',
|
||||
'Shadow' => 'vc_box_shadow',
|
||||
'Bordered shadow' => 'vc_box_shadow_border',
|
||||
'3D Shadow' => 'vc_box_shadow_3d',
|
||||
);
|
||||
|
||||
/**
|
||||
* Round box styles
|
||||
*
|
||||
* @var array
|
||||
*/
|
||||
public static $round_box_styles = array(
|
||||
'Round' => 'vc_box_circle',
|
||||
'Round Border' => 'vc_box_border_circle',
|
||||
'Round Outline' => 'vc_box_outline_circle',
|
||||
'Round Shadow' => 'vc_box_shadow_circle',
|
||||
'Round Border Shadow' => 'vc_box_shadow_border_circle',
|
||||
);
|
||||
|
||||
/**
|
||||
* Circle box styles
|
||||
*
|
||||
* @var array
|
||||
*/
|
||||
public static $circle_box_styles = array(
|
||||
'Circle' => 'vc_box_circle_2',
|
||||
'Circle Border' => 'vc_box_border_circle_2',
|
||||
'Circle Outline' => 'vc_box_outline_circle_2',
|
||||
'Circle Shadow' => 'vc_box_shadow_circle_2',
|
||||
'Circle Border Shadow' => 'vc_box_shadow_border_circle_2',
|
||||
);
|
||||
|
||||
/**
|
||||
* @return array
|
||||
*/
|
||||
public static function getColors() {
|
||||
return self::$colors;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return array
|
||||
*/
|
||||
public static function getIcons() {
|
||||
return self::$icons;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return array
|
||||
*/
|
||||
public static function getSizes() {
|
||||
return self::$sizes;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return array
|
||||
*/
|
||||
public static function getButtonStyles() {
|
||||
return self::$button_styles;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return array
|
||||
*/
|
||||
public static function getMessageBoxStyles() {
|
||||
return self::$message_box_styles;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return array
|
||||
*/
|
||||
public static function getToggleStyles() {
|
||||
return self::$toggle_styles;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return array
|
||||
*/
|
||||
public static function getAnimationStyles() {
|
||||
return self::$animation_styles;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return array
|
||||
*/
|
||||
public static function getCtaStyles() {
|
||||
return self::$cta_styles;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return array
|
||||
*/
|
||||
public static function getTextAlign() {
|
||||
return self::$txt_align;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return array
|
||||
*/
|
||||
public static function getBorderWidths() {
|
||||
return self::$sep_widths;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return array
|
||||
*/
|
||||
public static function getElementWidths() {
|
||||
return self::$el_widths;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return array
|
||||
*/
|
||||
public static function getSeparatorStyles() {
|
||||
return self::$sep_styles;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get list of box styles
|
||||
*
|
||||
* Possible $groups values:
|
||||
* - default
|
||||
* - round
|
||||
* - circle
|
||||
*
|
||||
* @param array $groups Array of groups to include. If not specified, return all
|
||||
*
|
||||
* @return array
|
||||
*/
|
||||
public static function getBoxStyles( $groups = array() ) {
|
||||
$list = array();
|
||||
$groups = (array) $groups;
|
||||
|
||||
if ( ! $groups || in_array( 'default', $groups ) ) {
|
||||
$list += self::$box_styles;
|
||||
}
|
||||
|
||||
if ( ! $groups || in_array( 'round', $groups ) ) {
|
||||
$list += self::$round_box_styles;
|
||||
}
|
||||
|
||||
if ( ! $groups || in_array( 'cirlce', $groups ) ) {
|
||||
$list += self::$circle_box_styles;
|
||||
}
|
||||
|
||||
return $list;
|
||||
}
|
||||
|
||||
public static function getColorsDashed() {
|
||||
$colors = array(
|
||||
__( 'Blue', 'js_composer' ) => 'blue',
|
||||
__( 'Turquoise', 'js_composer' ) => 'turquoise',
|
||||
__( 'Pink', 'js_composer' ) => 'pink',
|
||||
__( 'Violet', 'js_composer' ) => 'violet',
|
||||
__( 'Peacoc', 'js_composer' ) => 'peacoc',
|
||||
__( 'Chino', 'js_composer' ) => 'chino',
|
||||
__( 'Mulled Wine', 'js_composer' ) => 'mulled-wine',
|
||||
__( 'Vista Blue', 'js_composer' ) => 'vista-blue',
|
||||
__( 'Black', 'js_composer' ) => 'black',
|
||||
__( 'Grey', 'js_composer' ) => 'grey',
|
||||
__( 'Orange', 'js_composer' ) => 'orange',
|
||||
__( 'Sky', 'js_composer' ) => 'sky',
|
||||
__( 'Green', 'js_composer' ) => 'green',
|
||||
__( 'Juicy pink', 'js_composer' ) => 'juicy-pink',
|
||||
__( 'Sandy brown', 'js_composer' ) => 'sandy-brown',
|
||||
__( 'Purple', 'js_composer' ) => 'purple',
|
||||
__( 'White', 'js_composer' ) => 'white',
|
||||
);
|
||||
|
||||
return $colors;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $asset
|
||||
*
|
||||
* @return array|string
|
||||
*/
|
||||
function getVcShared( $asset = '' ) {
|
||||
switch ( $asset ) {
|
||||
case 'colors':
|
||||
return VcSharedLibrary::getColors();
|
||||
break;
|
||||
|
||||
case 'colors-dashed':
|
||||
return VcSharedLibrary::getColorsDashed();
|
||||
break;
|
||||
|
||||
case 'icons':
|
||||
return VcSharedLibrary::getIcons();
|
||||
break;
|
||||
|
||||
case 'sizes':
|
||||
return VcSharedLibrary::getSizes();
|
||||
break;
|
||||
|
||||
case 'button styles':
|
||||
case 'alert styles':
|
||||
return VcSharedLibrary::getButtonStyles();
|
||||
break;
|
||||
case 'message_box_styles':
|
||||
return VcSharedLibrary::getMessageBoxStyles();
|
||||
break;
|
||||
case 'cta styles':
|
||||
return VcSharedLibrary::getCtaStyles();
|
||||
break;
|
||||
|
||||
case 'text align':
|
||||
return VcSharedLibrary::getTextAlign();
|
||||
break;
|
||||
|
||||
case 'cta widths':
|
||||
case 'separator widths':
|
||||
return VcSharedLibrary::getElementWidths();
|
||||
break;
|
||||
|
||||
case 'separator styles':
|
||||
return VcSharedLibrary::getSeparatorStyles();
|
||||
break;
|
||||
|
||||
case 'separator border widths':
|
||||
return VcSharedLibrary::getBorderWidths();
|
||||
break;
|
||||
|
||||
case 'single image styles':
|
||||
return VcSharedLibrary::getBoxStyles();
|
||||
break;
|
||||
|
||||
case 'single image external styles':
|
||||
return VcSharedLibrary::getBoxStyles( array( 'default', 'round' ) );
|
||||
break;
|
||||
|
||||
case 'toggle styles':
|
||||
return VcSharedLibrary::getToggleStyles();
|
||||
break;
|
||||
|
||||
case 'animation styles':
|
||||
return VcSharedLibrary::getAnimationStyles();
|
||||
break;
|
||||
|
||||
default:
|
||||
# code...
|
||||
break;
|
||||
}
|
||||
|
||||
return '';
|
||||
}
|
||||
@@ -0,0 +1,98 @@
|
||||
<?php
|
||||
if ( ! defined( 'ABSPATH' ) ) {
|
||||
die( '-1' );
|
||||
}
|
||||
|
||||
/**
|
||||
* Sort array values by key, default key is 'weight'
|
||||
* Used in uasort() function.
|
||||
* For fix equal weight problem used $this->data array_search
|
||||
*
|
||||
* @since 4.4
|
||||
*/
|
||||
|
||||
/**
|
||||
* Class Vc_Sort
|
||||
* @since 4.4
|
||||
*/
|
||||
class Vc_Sort {
|
||||
/**
|
||||
* @since 4.4
|
||||
* @var array $data - sorting data
|
||||
*/
|
||||
protected $data = array();
|
||||
/**
|
||||
* @since 4.4
|
||||
* @var string $key - key for search
|
||||
*/
|
||||
protected $key = 'weight';
|
||||
|
||||
/**
|
||||
* @since 4.4
|
||||
*
|
||||
* @param $data - array to sort
|
||||
*/
|
||||
public function __construct( $data ) {
|
||||
$this->data = $data;
|
||||
}
|
||||
|
||||
/**
|
||||
* Used to change/set data to sort
|
||||
*
|
||||
* @since 4.5
|
||||
*
|
||||
* @param $data
|
||||
*/
|
||||
public function setData( $data ) {
|
||||
$this->data = $data;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sort $this->data by user key, used in class-vc-mapper.
|
||||
* If keys are equals it SAVES a position in array (index).
|
||||
*
|
||||
* @since 4.4
|
||||
*
|
||||
* @param string $key
|
||||
*
|
||||
* @return array - sorted array
|
||||
*/
|
||||
public function sortByKey( $key = 'weight' ) {
|
||||
$this->key = $key;
|
||||
uasort( $this->data, array( $this, '_key' ) );
|
||||
|
||||
return array_merge( $this->data ); // reset array keys to 0..N
|
||||
}
|
||||
|
||||
/**
|
||||
* Sorting by key callable for usort function
|
||||
* @since 4.4
|
||||
*
|
||||
* @param $a - compare value
|
||||
* @param $b - compare value
|
||||
*
|
||||
* @return int
|
||||
*/
|
||||
private function _key( $a, $b ) {
|
||||
$a_weight = isset( $a[ $this->key ] ) ? (int) $a[ $this->key ] : 0;
|
||||
$b_weight = isset( $b[ $this->key ] ) ? (int) $b[ $this->key ] : 0;
|
||||
// To save real-ordering
|
||||
if ( $a_weight == $b_weight ) {
|
||||
$cmp_a = array_search( $a, $this->data );
|
||||
$cmp_b = array_search( $b, $this->data );
|
||||
|
||||
return $cmp_a - $cmp_b;
|
||||
}
|
||||
|
||||
return $b_weight - $a_weight;
|
||||
}
|
||||
|
||||
/**
|
||||
* @since 4.4
|
||||
*
|
||||
* @return array - sorting data
|
||||
*/
|
||||
public function getData() {
|
||||
return $this->data;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,930 @@
|
||||
<?php
|
||||
if ( ! defined( 'ABSPATH' ) ) {
|
||||
die( '-1' );
|
||||
}
|
||||
|
||||
/**
|
||||
* WPBakery WPBakery Page Builder Main manager.
|
||||
*
|
||||
* @package WPBakeryPageBuilder
|
||||
* @since 4.2
|
||||
*/
|
||||
class WPBMap {
|
||||
protected static $scope = 'default';
|
||||
/**
|
||||
* @var array
|
||||
*/
|
||||
protected static $sc = array();
|
||||
protected static $scopes = array(
|
||||
'default' => array(),
|
||||
);
|
||||
protected static $removedElements = array();
|
||||
|
||||
/**
|
||||
* @var bool
|
||||
*/
|
||||
protected static $sorted_sc = false;
|
||||
|
||||
/**
|
||||
* @var array|false
|
||||
*/
|
||||
protected static $categories = false;
|
||||
|
||||
/**
|
||||
* @var bool
|
||||
*/
|
||||
protected static $user_sc = false;
|
||||
|
||||
/**
|
||||
* @var bool
|
||||
*/
|
||||
protected static $user_sorted_sc = false;
|
||||
|
||||
/**
|
||||
* @var bool
|
||||
*/
|
||||
protected static $user_categories = false;
|
||||
|
||||
/**
|
||||
* @var Vc_Settings $settings
|
||||
*/
|
||||
protected static $settings;
|
||||
|
||||
/**
|
||||
* @var
|
||||
*/
|
||||
protected static $user_role;
|
||||
|
||||
/**
|
||||
* @var
|
||||
*/
|
||||
protected static $tags_regexp;
|
||||
|
||||
/**
|
||||
* @var bool
|
||||
*/
|
||||
protected static $is_init = false;
|
||||
|
||||
/**
|
||||
* @var bool
|
||||
*/
|
||||
protected static $init_elements = array();
|
||||
protected static $init_elements_scoped = array(
|
||||
'default' => array(),
|
||||
);
|
||||
|
||||
/**
|
||||
* Set init status fro WPMap.
|
||||
*
|
||||
* if $is_init is FALSE, then all activity like add, update and delete for shortcodes attributes will be hold in
|
||||
* the list of activity and will be executed after initialization.
|
||||
*
|
||||
* @see Vc_Mapper::iniy.
|
||||
* @static
|
||||
*
|
||||
* @param bool $value
|
||||
*/
|
||||
public static function setInit( $value = true ) {
|
||||
self::$is_init = $value;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets user role and access rules for current user.
|
||||
*
|
||||
* @static
|
||||
* @return mixed
|
||||
*/
|
||||
protected static function getSettings() {
|
||||
global $current_user;
|
||||
|
||||
// @todo fix_roles? what is this and why it is inside class-wpb-map?
|
||||
if ( null !== self::$settings ) {
|
||||
if ( function_exists( 'wp_get_current_user' ) ) {
|
||||
wp_get_current_user();
|
||||
/** @var Vc_Settings $settings - get use group access rules */
|
||||
if ( ! empty( $current_user->roles ) ) {
|
||||
self::$user_role = $current_user->roles[0];
|
||||
} else {
|
||||
self::$user_role = 'author';
|
||||
}
|
||||
} else {
|
||||
self::$user_role = 'author';
|
||||
}
|
||||
self::$settings = vc_settings()->get( 'groups_access_rules' );
|
||||
}
|
||||
|
||||
return self::$settings;
|
||||
}
|
||||
|
||||
/**
|
||||
* Check is shortcode with a tag mapped to VC.
|
||||
*
|
||||
* @static
|
||||
*
|
||||
* @param $tag - shortcode tag.
|
||||
*
|
||||
* @return bool
|
||||
*/
|
||||
public static function exists( $tag ) {
|
||||
$currentScope = self::getScope();
|
||||
if ( 'default' !== $currentScope ) {
|
||||
if ( isset( self::$scopes[ $currentScope ], self::$scopes[ $currentScope ][ $tag ] ) ) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
return (boolean) isset( self::$sc[ $tag ] );
|
||||
}
|
||||
|
||||
/**
|
||||
* Map shortcode to VC.
|
||||
*
|
||||
* This method maps shortcode to VC.
|
||||
* You need to shortcode's tag and settings to map correctly.
|
||||
* Default shortcodes are mapped in config/map.php file.
|
||||
* The best way is to call this method with "init" action callback function of WP.
|
||||
*
|
||||
* vc_filter: vc_mapper_tag - to change shortcode tag, arguments 2 ( $tag, $attributes )
|
||||
* vc_filter: vc_mapper_attributes - to change shortcode attributes (like params array), arguments 2 ( $attributes,
|
||||
* $tag ) vc_filter: vc_mapper_attribute - to change singe shortcode param data, arguments 2 ( $attribute, $tag )
|
||||
* vc_filter: vc_mapper_attribute_{PARAM_TYPE} - to change singe shortcode param data by param type, arguments 2 (
|
||||
* $attribute, $tag )
|
||||
*
|
||||
* @static
|
||||
*
|
||||
* @param $tag
|
||||
* @param $attributes
|
||||
*
|
||||
* @return bool
|
||||
*/
|
||||
public static function map( $tag, $attributes ) {
|
||||
if ( in_array( $tag, self::$removedElements ) ) {
|
||||
return false;
|
||||
}
|
||||
if ( ! self::$is_init ) {
|
||||
if ( empty( $attributes['name'] ) ) {
|
||||
trigger_error( sprintf( __( 'Wrong name for shortcode:%s. Name required', 'js_composer' ), $tag ) );
|
||||
} elseif ( empty( $attributes['base'] ) ) {
|
||||
trigger_error( sprintf( __( 'Wrong base for shortcode:%s. Base required', 'js_composer' ), $tag ) );
|
||||
} else {
|
||||
vc_mapper()->addActivity( 'mapper', 'map', array(
|
||||
'tag' => $tag,
|
||||
'attributes' => $attributes,
|
||||
'scope' => self::getScope(),
|
||||
) );
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
if ( empty( $attributes['name'] ) ) {
|
||||
trigger_error( sprintf( __( 'Wrong name for shortcode:%s. Name required', 'js_composer' ), $tag ) );
|
||||
} elseif ( empty( $attributes['base'] ) ) {
|
||||
trigger_error( sprintf( __( 'Wrong base for shortcode:%s. Base required', 'js_composer' ), $tag ) );
|
||||
} else {
|
||||
if ( self::getScope() !== 'default' ) {
|
||||
if ( ! isset( self::$scopes[ self::getScope() ] ) ) {
|
||||
self::$scopes[ self::getScope() ] = array();
|
||||
}
|
||||
self::$scopes[ self::getScope() ][ $tag ] = $attributes;
|
||||
} else {
|
||||
self::$sc[ $tag ] = $attributes;
|
||||
}
|
||||
// Unset cache class object in case if re-map called
|
||||
if ( Vc_Shortcodes_Manager::getInstance()->isShortcodeClassInitialized( $tag ) ) {
|
||||
Vc_Shortcodes_Manager::getInstance()->unsetElementClass( $tag );
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
* Lazy method to map shortcode to VC.
|
||||
*
|
||||
* This method maps shortcode to VC.
|
||||
* You can shortcode settings as you do in self::map method. Bu also you
|
||||
* can pass function name or file, which will be used to add settings for
|
||||
* element. But this will be done only when element data is really required.
|
||||
*
|
||||
* @static
|
||||
* @since 4.9
|
||||
*
|
||||
* @param $tag
|
||||
* @param $settings_file
|
||||
* @param $settings_function
|
||||
* @param $attributes
|
||||
*
|
||||
* @return bool
|
||||
*/
|
||||
public static function leanMap( $tag, $settings_function = null, $settings_file = null, $attributes = array() ) {
|
||||
if ( in_array( $tag, self::$removedElements ) ) {
|
||||
return false;
|
||||
}
|
||||
$currentScope = self::getScope();
|
||||
if ( 'default' !== $currentScope ) {
|
||||
if ( ! isset( self::$scopes[ $currentScope ] ) ) {
|
||||
self::$scopes[ $currentScope ] = array();
|
||||
}
|
||||
self::$scopes[ $currentScope ][ $tag ] = $attributes;
|
||||
self::$scopes[ $currentScope ][ $tag ]['base'] = $tag;
|
||||
if ( is_string( $settings_file ) ) {
|
||||
self::$scopes[ $currentScope ][ $tag ]['__vc_settings_file'] = $settings_file;
|
||||
}
|
||||
if ( ! is_null( $settings_function ) ) {
|
||||
self::$scopes[ $currentScope ][ $tag ]['__vc_settings_function'] = $settings_function;
|
||||
}
|
||||
} else {
|
||||
self::$sc[ $tag ] = $attributes;
|
||||
self::$sc[ $tag ]['base'] = $tag;
|
||||
if ( is_string( $settings_file ) ) {
|
||||
self::$sc[ $tag ]['__vc_settings_file'] = $settings_file;
|
||||
}
|
||||
if ( ! is_null( $settings_function ) ) {
|
||||
self::$sc[ $tag ]['__vc_settings_function'] = $settings_function;
|
||||
}
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
/**
|
||||
* Generates list of shortcodes taking into account the access rules for shortcodes from VC Settings page.
|
||||
*
|
||||
* This method parses the list of mapped shortcodes and creates categories list for users.
|
||||
*
|
||||
* @static
|
||||
*
|
||||
* @param bool $force - force data generation even data already generated.
|
||||
*/
|
||||
protected static function generateUserData( $force = false ) {
|
||||
if ( ! $force && false !== self::$user_sc && false !== self::$user_categories ) {
|
||||
return;
|
||||
}
|
||||
|
||||
//$settings = self::getSettings();
|
||||
self::$user_sc = self::$user_categories = self::$user_sorted_sc = array();
|
||||
$deprecated = 'deprecated';
|
||||
$add_deprecated = false;
|
||||
if ( is_array( self::$sc ) && ! empty( self::$sc ) ) {
|
||||
foreach ( array_keys( self::$sc ) as $name ) {
|
||||
self::setElementSettings( $name );
|
||||
if ( ! isset( self::$sc[ $name ] ) ) {
|
||||
continue;
|
||||
}
|
||||
$values = self::$sc[ $name ];
|
||||
if ( vc_user_access_check_shortcode_all( $name ) ) {
|
||||
if ( ! isset( $values['content_element'] ) || true === $values['content_element'] ) {
|
||||
$categories = isset( $values['category'] ) ? $values['category'] : '_other_category_';
|
||||
$values['_category_ids'] = array();
|
||||
if ( isset( $values['deprecated'] ) && false !== $values['deprecated'] ) {
|
||||
$add_deprecated = true;
|
||||
$values['_category_ids'][] = 'deprecated';
|
||||
} else {
|
||||
if ( is_array( $categories ) && ! empty( $categories ) ) {
|
||||
foreach ( $categories as $c ) {
|
||||
if ( false === array_search( $c, self::$user_categories ) ) {
|
||||
self::$user_categories[] = $c;
|
||||
}
|
||||
$values['_category_ids'][] = md5( $c );
|
||||
}
|
||||
} else {
|
||||
if ( false === array_search( $categories, self::$user_categories ) ) {
|
||||
self::$user_categories[] = $categories;
|
||||
}
|
||||
$values['_category_ids'][] = md5( $categories );
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
self::$user_sc[ $name ] = $values;
|
||||
self::$user_sorted_sc[] = $values;
|
||||
}
|
||||
}
|
||||
}
|
||||
if ( $add_deprecated ) {
|
||||
self::$user_categories[] = $deprecated;
|
||||
}
|
||||
|
||||
$sort = new Vc_Sort( self::$user_sorted_sc );
|
||||
self::$user_sorted_sc = $sort->sortByKey();
|
||||
}
|
||||
|
||||
/**
|
||||
* Generates list of shortcodes.
|
||||
*
|
||||
* This method parses the list of mapped shortcodes and creates categories list.
|
||||
*
|
||||
* @static_other_category_
|
||||
*
|
||||
* @param bool $force - force data generation even data already generated.
|
||||
*/
|
||||
protected static function generateData( $force = false ) {
|
||||
if ( ! $force && false !== self::$categories ) {
|
||||
return;
|
||||
}
|
||||
foreach ( self::$sc as $tag => $settings ) {
|
||||
self::setElementSettings( $tag );
|
||||
}
|
||||
self::$categories = self::collectCategories( self::$sc );
|
||||
$sort = new Vc_Sort( array_values( self::$sc ) );
|
||||
self::$sorted_sc = $sort->sortByKey();
|
||||
}
|
||||
|
||||
/**
|
||||
* Get mapped shortcode settings.
|
||||
*
|
||||
* @static
|
||||
* @return array
|
||||
*/
|
||||
public static function getShortCodes() {
|
||||
return self::$sc;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get mapped shortcode settings.
|
||||
*
|
||||
* @static
|
||||
* @return array
|
||||
*/
|
||||
public static function getAllShortCodes() {
|
||||
self::generateData();
|
||||
|
||||
return self::$sc;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get mapped shortcode settings.
|
||||
*
|
||||
* @static
|
||||
* @return array
|
||||
*/
|
||||
public static function getSortedAllShortCodes() {
|
||||
self::generateData();
|
||||
|
||||
return self::$sorted_sc;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get sorted list of mapped shortcode settings for current user.
|
||||
*
|
||||
* Sorting depends on the weight attribute and mapping order.
|
||||
*
|
||||
* @static
|
||||
* @return array
|
||||
*/
|
||||
public static function getSortedUserShortCodes() {
|
||||
self::generateUserData();
|
||||
|
||||
return self::$user_sorted_sc;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get list of mapped shortcode settings for current user.
|
||||
* @static
|
||||
* @return array - associated array of shortcodes settings with tag as the key.
|
||||
*/
|
||||
public static function getUserShortCodes() {
|
||||
self::generateUserData();
|
||||
|
||||
return self::$user_sc;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get mapped shortcode settings by tag.
|
||||
*
|
||||
* @static
|
||||
*
|
||||
* @param $tag - shortcode tag.
|
||||
*
|
||||
* @return array|null null @since 4.4.3
|
||||
*/
|
||||
public static function getShortCode( $tag ) {
|
||||
return self::setElementSettings( $tag );
|
||||
}
|
||||
|
||||
/**
|
||||
* Get mapped shortcode settings by tag.
|
||||
*
|
||||
* @since 4.5.2
|
||||
* @static
|
||||
*
|
||||
* @param $tag - shortcode tag.
|
||||
*
|
||||
* @return array|null
|
||||
*/
|
||||
public static function getUserShortCode( $tag ) {
|
||||
self::generateUserData();
|
||||
if ( isset( self::$user_sc[ $tag ] ) && is_array( self::$user_sc[ $tag ] ) ) {
|
||||
$shortcode = self::$user_sc[ $tag ];
|
||||
if ( ! empty( $shortcode['params'] ) ) {
|
||||
$params = $shortcode['params'];
|
||||
$shortcode['params'] = array();
|
||||
foreach ( $params as $attribute ) {
|
||||
$attribute = apply_filters( 'vc_mapper_attribute', $attribute, $tag );
|
||||
$attribute = apply_filters( 'vc_mapper_attribute_' . $attribute['type'], $attribute, $tag );
|
||||
$shortcode['params'][] = $attribute;
|
||||
}
|
||||
$sort = new Vc_Sort( $shortcode['params'] );
|
||||
$shortcode['params'] = $sort->sortByKey();
|
||||
}
|
||||
|
||||
return $shortcode;
|
||||
}
|
||||
|
||||
return null;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get all categories for mapped shortcodes.
|
||||
*
|
||||
* @static
|
||||
* @return array
|
||||
*/
|
||||
public static function getCategories() {
|
||||
self::generateData();
|
||||
|
||||
return self::$categories;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get all categories for current user.
|
||||
*
|
||||
* Category is added to the list when at least one shortcode of this category is allowed for current user
|
||||
* by Vc access rules.
|
||||
*
|
||||
* @static
|
||||
* @return array
|
||||
*/
|
||||
public static function getUserCategories() {
|
||||
self::generateUserData();
|
||||
|
||||
return self::$user_categories;
|
||||
}
|
||||
|
||||
/**
|
||||
* Drop shortcode param.
|
||||
*
|
||||
* @static
|
||||
*
|
||||
* @param $name
|
||||
* @param $attribute_name
|
||||
*
|
||||
* @return bool
|
||||
*/
|
||||
public static function dropParam( $name, $attribute_name ) {
|
||||
$currentScope = self::getScope();
|
||||
if ( 'default' !== $currentScope ) {
|
||||
//throw new Exception( 'WPBMap::dropParam can be called only in default scope' );
|
||||
self::setScope( 'default' );
|
||||
$res = self::dropParam( $name, $attribute_name );
|
||||
self::setScope( $currentScope );
|
||||
|
||||
return $res;
|
||||
}
|
||||
if ( ! isset( self::$init_elements[ $name ] ) ) {
|
||||
vc_mapper()->addElementActivity( $name, 'drop_param', array(
|
||||
'name' => $name,
|
||||
'attribute_name' => $attribute_name,
|
||||
) );
|
||||
|
||||
return true;
|
||||
}
|
||||
if ( isset( self::$sc[ $name ], self::$sc[ $name ]['params'] ) && is_array( self::$sc[ $name ]['params'] ) ) {
|
||||
foreach ( self::$sc[ $name ]['params'] as $index => $param ) {
|
||||
if ( $param['param_name'] == $attribute_name ) {
|
||||
unset( self::$sc[ $name ]['params'][ $index ] );
|
||||
self::$sc[ $name ]['params'] = array_merge( self::$sc[ $name ]['params'] ); // fix indexes
|
||||
|
||||
return true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns param settings for mapped shortcodes.
|
||||
*
|
||||
* @static
|
||||
*
|
||||
* @param $tag
|
||||
* @param $param_name
|
||||
*
|
||||
* @return bool| array
|
||||
*/
|
||||
public static function getParam( $tag, $param_name ) {
|
||||
$currentScope = self::getScope();
|
||||
$element = false;
|
||||
if ( 'default' !== $currentScope ) {
|
||||
if ( isset( self::$scopes[ $currentScope ][ $tag ], self::$scopes[ $currentScope ][ $tag ] ) ) {
|
||||
$element = self::$scopes[ $currentScope ][ $tag ];
|
||||
}
|
||||
}
|
||||
if ( ! $element && isset( self::$sc[ $tag ] ) ) {
|
||||
$element = self::$sc[ $tag ];
|
||||
}
|
||||
if ( ! $element ) {
|
||||
return trigger_error( sprintf( __( 'Wrong name for shortcode:%s. Name required', 'js_composer' ), $tag ) );
|
||||
}
|
||||
|
||||
if ( isset( $element['__vc_settings_function'] ) || isset( $element['__vc_settings_file'] ) ) {
|
||||
$element = self::setElementSettings( $tag );
|
||||
}
|
||||
|
||||
if ( ! isset( $element['params'] ) ) {
|
||||
return false;
|
||||
}
|
||||
|
||||
foreach ( $element['params'] as $index => $param ) {
|
||||
if ( $param['param_name'] == $param_name ) {
|
||||
return $element['params'][ $index ];
|
||||
}
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
* Add new param to shortcode params list.
|
||||
*
|
||||
* @static
|
||||
*
|
||||
* @param $name
|
||||
* @param array $attribute
|
||||
*
|
||||
* @return bool - true if added, false if scheduled/rejected
|
||||
*/
|
||||
public static function addParam( $name, $attribute = array() ) {
|
||||
$currentScope = self::getScope();
|
||||
if ( 'default' !== $currentScope ) {
|
||||
// throw new Exception( 'WPBMap::addParam can be called only in default scope' );
|
||||
self::setScope( 'default' );
|
||||
$res = self::addParam( $name, $attribute );
|
||||
self::setScope( $currentScope );
|
||||
|
||||
return $res;
|
||||
}
|
||||
if ( ! isset( self::$init_elements[ $name ] ) ) {
|
||||
vc_mapper()->addElementActivity( $name, 'add_param', array(
|
||||
'name' => $name,
|
||||
'attribute' => $attribute,
|
||||
) );
|
||||
|
||||
return false;
|
||||
}
|
||||
if ( ! isset( self::$sc[ $name ] ) ) {
|
||||
trigger_error( sprintf( __( 'Wrong name for shortcode:%s. Name required', 'js_composer' ), $name ) );
|
||||
} elseif ( ! isset( $attribute['param_name'] ) ) {
|
||||
trigger_error( sprintf( __( "Wrong attribute for '%s' shortcode. Attribute 'param_name' required", 'js_composer' ), $name ) );
|
||||
} else {
|
||||
|
||||
$replaced = false;
|
||||
|
||||
foreach ( self::$sc[ $name ]['params'] as $index => $param ) {
|
||||
if ( $param['param_name'] == $attribute['param_name'] ) {
|
||||
$replaced = true;
|
||||
self::$sc[ $name ]['params'][ $index ] = $attribute;
|
||||
break;
|
||||
}
|
||||
}
|
||||
if ( false === $replaced ) {
|
||||
self::$sc[ $name ]['params'][] = $attribute;
|
||||
}
|
||||
|
||||
$sort = new Vc_Sort( self::$sc[ $name ]['params'] );
|
||||
self::$sc[ $name ]['params'] = $sort->sortByKey();
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
* Change param attributes of mapped shortcode.
|
||||
*
|
||||
* @static
|
||||
*
|
||||
* @param $name
|
||||
* @param array $attribute
|
||||
*
|
||||
* @return bool
|
||||
*/
|
||||
public static function mutateParam( $name, $attribute = array() ) {
|
||||
$currentScope = self::getScope();
|
||||
if ( 'default' !== $currentScope ) {
|
||||
// throw new Exception( 'WPBMap::mutateParam can be called only in default scope' );
|
||||
self::setScope( 'default' );
|
||||
$res = self::mutateParam( $name, $attribute );
|
||||
self::setScope( $currentScope );
|
||||
|
||||
return $res;
|
||||
}
|
||||
if ( ! isset( self::$init_elements[ $name ] ) ) {
|
||||
vc_mapper()->addElementActivity( $name, 'mutate_param', array(
|
||||
'name' => $name,
|
||||
'attribute' => $attribute,
|
||||
) );
|
||||
|
||||
return false;
|
||||
}
|
||||
if ( ! isset( self::$sc[ $name ] ) ) {
|
||||
return trigger_error( sprintf( __( 'Wrong name for shortcode:%s. Name required', 'js_composer' ), $name ) );
|
||||
} elseif ( ! isset( $attribute['param_name'] ) ) {
|
||||
trigger_error( sprintf( __( "Wrong attribute for '%s' shortcode. Attribute 'param_name' required", 'js_composer' ), $name ) );
|
||||
} else {
|
||||
|
||||
$replaced = false;
|
||||
|
||||
foreach ( self::$sc[ $name ]['params'] as $index => $param ) {
|
||||
if ( $param['param_name'] == $attribute['param_name'] ) {
|
||||
$replaced = true;
|
||||
self::$sc[ $name ]['params'][ $index ] = array_merge( $param, $attribute );
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
if ( false === $replaced ) {
|
||||
self::$sc[ $name ]['params'][] = $attribute;
|
||||
}
|
||||
$sort = new Vc_Sort( self::$sc[ $name ]['params'] );
|
||||
self::$sc[ $name ]['params'] = $sort->sortByKey();
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
/**
|
||||
* Removes shortcode from mapping list.
|
||||
*
|
||||
* @static
|
||||
*
|
||||
* @param $name
|
||||
*
|
||||
* @return bool
|
||||
*/
|
||||
public static function dropShortcode( $name ) {
|
||||
$currentScope = self::getScope();
|
||||
if ( 'default' !== $currentScope ) {
|
||||
// throw new Exception( 'WPBMap::dropShortcode can be called only in default scope' );
|
||||
self::setScope( 'default' );
|
||||
$res = self::dropShortcode( $name );
|
||||
self::setScope( $currentScope );
|
||||
|
||||
return $res;
|
||||
}
|
||||
self::$removedElements[] = $name;
|
||||
if ( ! isset( self::$init_elements[ $name ] ) ) {
|
||||
vc_mapper()->addElementActivity( $name, 'drop_shortcode', array(
|
||||
'name' => $name,
|
||||
) );
|
||||
}
|
||||
unset( self::$sc[ $name ] );
|
||||
visual_composer()->removeShortCode( $name );
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
public static function dropAllShortcodes() {
|
||||
$currentScope = self::getScope();
|
||||
if ( 'default' !== $currentScope ) {
|
||||
// throw new Exception( 'WPBMap::dropAllShortcodes can be called only in default scope' );
|
||||
self::setScope( 'default' );
|
||||
$res = self::dropAllShortcodes();
|
||||
self::setScope( $currentScope );
|
||||
|
||||
return $res;
|
||||
}
|
||||
if ( ! self::$is_init ) {
|
||||
vc_mapper()->addActivity( '*', 'drop_all_shortcodes', array() );
|
||||
|
||||
return false;
|
||||
}
|
||||
foreach ( self::$sc as $name => $data ) {
|
||||
visual_composer()->removeShortCode( $name );
|
||||
}
|
||||
self::$sc = array();
|
||||
self::$user_sc = self::$user_categories = self::$user_sorted_sc = false;
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
/**
|
||||
* Modify shortcode's mapped settings.
|
||||
* You can modify only one option of the group options.
|
||||
* Call this method with $settings_name param as associated array to mass modifications.
|
||||
*
|
||||
* @static
|
||||
*
|
||||
* @param $name - shortcode' name.
|
||||
* @param $setting_name - option key name or the array of options.
|
||||
* @param $value - value of settings if $setting_name is option key.
|
||||
*
|
||||
* @return array|bool
|
||||
*/
|
||||
public static function modify( $name, $setting_name, $value = '' ) {
|
||||
$currentScope = self::getScope();
|
||||
if ( 'default' !== $currentScope ) {
|
||||
// throw new Exception( 'WPBMap::modify can be called only in default scope' );
|
||||
self::setScope( 'default' );
|
||||
$res = self::modify( $name, $setting_name, $value );
|
||||
self::setScope( $currentScope );
|
||||
|
||||
return $res;
|
||||
}
|
||||
if ( ! isset( self::$init_elements[ $name ] ) ) {
|
||||
vc_mapper()->addElementActivity( $name, 'modify', array(
|
||||
'name' => $name,
|
||||
'setting_name' => $setting_name,
|
||||
'value' => $value,
|
||||
) );
|
||||
|
||||
return false;
|
||||
}
|
||||
if ( ! isset( self::$sc[ $name ] ) ) {
|
||||
return trigger_error( sprintf( __( 'Wrong name for shortcode:%s. Name required', 'js_composer' ), $name ) );
|
||||
} elseif ( 'base' === $setting_name ) {
|
||||
return trigger_error( sprintf( __( "Wrong setting_name for shortcode:%s. Base can't be modified.", 'js_composer' ), $name ) );
|
||||
}
|
||||
if ( is_array( $setting_name ) ) {
|
||||
foreach ( $setting_name as $key => $value ) {
|
||||
self::modify( $name, $key, $value );
|
||||
}
|
||||
} else {
|
||||
if ( is_array( $value ) ) {
|
||||
$value = array_merge( $value ); // fix indexes
|
||||
}
|
||||
self::$sc[ $name ][ $setting_name ] = $value;
|
||||
visual_composer()->updateShortcodeSetting( $name, $setting_name, $value );
|
||||
}
|
||||
|
||||
return self::$sc;
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns "|" separated list of mapped shortcode tags.
|
||||
*
|
||||
* @static
|
||||
* @return string
|
||||
*/
|
||||
public static function getTagsRegexp() {
|
||||
if ( empty( self::$tags_regexp ) ) {
|
||||
self::$tags_regexp = implode( '|', array_keys( self::$sc ) );
|
||||
}
|
||||
|
||||
return self::$tags_regexp;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sorting method for WPBMap::generateUserData method. Called by uasort php function.
|
||||
* @deprecated - use Vc_Sort::sortByKey since 4.4
|
||||
* @static
|
||||
*
|
||||
* @param $a
|
||||
* @param $b
|
||||
*
|
||||
* @return int
|
||||
*/
|
||||
public static function sort( $a, $b ) {
|
||||
// _deprecated_function( 'WPBMap::sort', '4.4 (will be removed in 4.10)', 'Vc_Sort class, :sortByKey' );
|
||||
$a_weight = isset( $a['weight'] ) ? (int) $a['weight'] : 0;
|
||||
$b_weight = isset( $b['weight'] ) ? (int) $b['weight'] : 0;
|
||||
if ( $a_weight == $b_weight ) {
|
||||
$cmpa = array_search( $a, (array) self::$user_sorted_sc );
|
||||
$cmpb = array_search( $b, (array) self::$user_sorted_sc );
|
||||
|
||||
return ( $cmpa > $cmpb ) ? 1 : - 1;
|
||||
}
|
||||
|
||||
return ( $a_weight < $b_weight ) ? 1 : - 1;
|
||||
}
|
||||
|
||||
public static function collectCategories( &$shortcodes ) {
|
||||
$categories_list = array();
|
||||
$deprecated = 'deprecated';
|
||||
$add_deprecated = false;
|
||||
if ( is_array( $shortcodes ) && ! empty( $shortcodes ) ) {
|
||||
foreach ( $shortcodes as $name => $values ) {
|
||||
$values['_category_ids'] = array();
|
||||
if ( isset( $values['deprecated'] ) && false !== $values['deprecated'] ) {
|
||||
$add_deprecated = true;
|
||||
$values['_category_ids'][] = 'deprecated';
|
||||
} elseif ( isset( $values['category'] ) ) {
|
||||
$categories = $values['category'];
|
||||
if ( is_array( $categories ) && ! empty( $categories ) ) {
|
||||
foreach ( $categories as $c ) {
|
||||
if ( false === array_search( $c, $categories_list ) ) {
|
||||
$categories[] = $c;
|
||||
}
|
||||
$values['_category_ids'][] = md5( $c );
|
||||
}
|
||||
} else {
|
||||
if ( false === array_search( $categories, $categories_list ) ) {
|
||||
$categories_list[] = $categories;
|
||||
}
|
||||
/** @var string $categories */
|
||||
$values['_category_ids'][] = md5( $categories );
|
||||
}
|
||||
}
|
||||
$shortcodes[ $name ] = $values;
|
||||
}
|
||||
}
|
||||
if ( $add_deprecated ) {
|
||||
$categories_list[] = $deprecated;
|
||||
}
|
||||
|
||||
return $categories_list;
|
||||
}
|
||||
|
||||
/**
|
||||
* Process files/functions for lean mapping settings
|
||||
*
|
||||
* @since 4.9
|
||||
*
|
||||
* @param $tag
|
||||
*
|
||||
* @return array|null
|
||||
*/
|
||||
public static function setElementSettings( $tag ) {
|
||||
$currentScope = self::getScope();
|
||||
if ( 'default' !== $currentScope ) {
|
||||
if ( isset( self::$scopes[ $currentScope ], self::$scopes[ $currentScope ][ $tag ] ) && ! in_array( $tag, self::$removedElements ) ) {
|
||||
if ( isset( self::$init_elements_scoped[ $currentScope ], self::$init_elements_scoped[ $currentScope ][ $tag ] ) && ! empty( self::$init_elements_scoped[ $currentScope ][ $tag ] ) ) {
|
||||
return self::$scopes[ $currentScope ][ $tag ];
|
||||
}
|
||||
|
||||
$settings = self::$scopes[ $currentScope ][ $tag ];
|
||||
if ( isset( $settings['__vc_settings_function'] ) ) {
|
||||
self::$scopes[ $currentScope ][ $tag ] = call_user_func( $settings['__vc_settings_function'], $tag );
|
||||
} elseif ( isset( $settings['__vc_settings_file'] ) ) {
|
||||
self::$scopes[ $currentScope ][ $tag ] = include $settings['__vc_settings_file'];
|
||||
}
|
||||
self::$scopes[ $currentScope ][ $tag ]['base'] = $tag;
|
||||
self::$init_elements_scoped[ $currentScope ][ $tag ] = true;
|
||||
vc_mapper()->callElementActivities( $tag );
|
||||
|
||||
return self::$scopes[ $currentScope ][ $tag ];
|
||||
}
|
||||
}
|
||||
if ( ! isset( self::$sc[ $tag ] ) || in_array( $tag, self::$removedElements ) ) {
|
||||
return null;
|
||||
}
|
||||
if ( isset( self::$init_elements[ $tag ] ) && self::$init_elements[ $tag ] ) {
|
||||
return self::$sc[ $tag ];
|
||||
}
|
||||
$settings = self::$sc[ $tag ];
|
||||
if ( isset( $settings['__vc_settings_function'] ) ) {
|
||||
self::$sc[ $tag ] = call_user_func( $settings['__vc_settings_function'], $tag );
|
||||
} elseif ( isset( $settings['__vc_settings_file'] ) ) {
|
||||
self::$sc[ $tag ] = include $settings['__vc_settings_file'];
|
||||
}
|
||||
self::$sc[ $tag ]['base'] = $tag;
|
||||
self::$init_elements[ $tag ] = true;
|
||||
vc_mapper()->callElementActivities( $tag );
|
||||
|
||||
return self::$sc[ $tag ];
|
||||
}
|
||||
|
||||
/**
|
||||
* Add elements as shortcodes
|
||||
*
|
||||
* @since 4.9
|
||||
*/
|
||||
public static function addAllMappedShortcodes() {
|
||||
foreach ( self::$sc as $tag => $settings ) {
|
||||
if ( ! in_array( $tag, self::$removedElements ) && ! shortcode_exists( $tag ) ) {
|
||||
add_shortcode( $tag, 'vc_do_shortcode' );
|
||||
}
|
||||
}
|
||||
|
||||
// Map also custom scopes
|
||||
foreach ( self::$scopes as $scopeName => $scopeElements ) {
|
||||
foreach ( $scopeElements as $tag => $settings ) {
|
||||
if ( ! in_array( $tag, self::$removedElements ) && ! shortcode_exists( $tag ) ) {
|
||||
add_shortcode( $tag, 'vc_do_shortcode' );
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public static function setScope( $scope = 'default' ) {
|
||||
if ( ! isset( self::$scopes[ $scope ] ) ) {
|
||||
self::$scopes[ $scope ] = array();
|
||||
self::$init_elements_scoped[ $scope ] = array();
|
||||
}
|
||||
self::$scope = $scope;
|
||||
}
|
||||
|
||||
public static function resetScope() {
|
||||
self::$scope = 'default';
|
||||
}
|
||||
|
||||
public static function getScope() {
|
||||
return self::$scope;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,40 @@
|
||||
<?php
|
||||
if ( ! defined( 'ABSPATH' ) ) {
|
||||
die( '-1' );
|
||||
}
|
||||
|
||||
/**
|
||||
* @since 4.3
|
||||
* Interface for editors
|
||||
*/
|
||||
interface Vc_Editor_Interface {
|
||||
/**
|
||||
* @since 4.3
|
||||
* @return mixed
|
||||
*/
|
||||
public function renderEditor();
|
||||
}
|
||||
|
||||
/**
|
||||
* @since 4.3
|
||||
* Default render interface
|
||||
*/
|
||||
interface Vc_Render {
|
||||
/**
|
||||
* @since 4.3
|
||||
* @return mixed
|
||||
*/
|
||||
public function render();
|
||||
}
|
||||
|
||||
/**
|
||||
* @since 4.3
|
||||
* Interface for third-party plugins classes loader.
|
||||
*/
|
||||
interface Vc_Vendor_Interface {
|
||||
/**
|
||||
* @since 4.3
|
||||
* @return mixed
|
||||
*/
|
||||
public function load();
|
||||
}
|
||||
+344
@@ -0,0 +1,344 @@
|
||||
<?php
|
||||
if ( ! defined( 'ABSPATH' ) ) {
|
||||
die( '-1' );
|
||||
}
|
||||
|
||||
require_once dirname( __FILE__ ) . '/importer/wordpress-importer.php';
|
||||
require_once dirname( __FILE__ ) . '/importer/plugin.php';
|
||||
|
||||
/**
|
||||
* Class Vc_Shared_Templates
|
||||
*/
|
||||
class Vc_Shared_Templates {
|
||||
/**
|
||||
* @var bool
|
||||
*/
|
||||
protected $initialized = false;
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
protected $download_link_url = 'http://support.wpbakery.com/templates/download-link';
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
public function init() {
|
||||
if ( $this->initialized ) {
|
||||
return;
|
||||
}
|
||||
$this->initialized = true;
|
||||
|
||||
add_filter( 'vc_templates_render_category', array(
|
||||
$this,
|
||||
'renderTemplateBlock',
|
||||
), 10 );
|
||||
|
||||
add_filter( 'vc_templates_render_frontend_template', array(
|
||||
$this,
|
||||
'renderFrontendTemplate',
|
||||
), 10, 2 );
|
||||
|
||||
add_filter( 'vc_templates_render_backend_template', array(
|
||||
$this,
|
||||
'renderBackendTemplate',
|
||||
), 10, 2 );
|
||||
add_filter( 'vc_templates_render_backend_template_preview', array(
|
||||
$this,
|
||||
'renderBackendTemplate',
|
||||
), 10, 2 );
|
||||
add_action( 'vc_templates_delete_templates', array(
|
||||
$this,
|
||||
'delete',
|
||||
), 10, 2 );
|
||||
/*
|
||||
*
|
||||
add_action( 'wp_ajax_vc_frontend_load_template', array(
|
||||
$this,
|
||||
'renderFrontendTemplate',
|
||||
) );
|
||||
*/
|
||||
|
||||
add_filter( 'wp_ajax_vc_shared_templates_download', array(
|
||||
$this,
|
||||
'ajaxDownloadTemplate',
|
||||
) );
|
||||
add_filter( 'vc_get_all_templates', array(
|
||||
$this,
|
||||
'addTemplatesTab',
|
||||
) );
|
||||
|
||||
$this->registerPostType();
|
||||
}
|
||||
|
||||
public function renderBackendTemplate( $templateId, $templateType ) {
|
||||
if ( 'shared_templates' === $templateType ) {
|
||||
$templates = get_posts( array(
|
||||
'post_type' => 'vc4_templates',
|
||||
'include' => intval( $templateId ),
|
||||
'numberposts' => 1,
|
||||
) );
|
||||
if ( ! empty( $templates ) ) {
|
||||
$template = $templates[0];
|
||||
|
||||
return $template->post_content;
|
||||
}
|
||||
wp_send_json_error( array(
|
||||
'code' => 'Wrong ID or no Template found',
|
||||
) );
|
||||
}
|
||||
|
||||
return $templateId;
|
||||
}
|
||||
|
||||
public function renderFrontendTemplate( $templateId, $templateType ) {
|
||||
if ( 'shared_templates' === $templateType ) {
|
||||
$templates = get_posts( array(
|
||||
'post_type' => 'vc4_templates',
|
||||
'include' => intval( $templateId ),
|
||||
'numberposts' => 1,
|
||||
) );
|
||||
if ( ! empty( $templates ) ) {
|
||||
$template = $templates[0];
|
||||
|
||||
vc_frontend_editor()->setTemplateContent( $template->post_content );
|
||||
vc_frontend_editor()->enqueueRequired();
|
||||
vc_include_template( 'editors/frontend_template.tpl.php', array(
|
||||
'editor' => vc_frontend_editor(),
|
||||
) );
|
||||
die();
|
||||
}
|
||||
wp_send_json_error( array(
|
||||
'code' => 'Wrong ID or no Template found #3',
|
||||
) );
|
||||
}
|
||||
|
||||
return $templateId;
|
||||
}
|
||||
|
||||
public function delete( $templateId, $templateType ) {
|
||||
if ( 'shared_templates' === $templateType ) {
|
||||
$templates = get_posts( array(
|
||||
'post_type' => 'vc4_templates',
|
||||
'include' => intval( $templateId ),
|
||||
'numberposts' => 1,
|
||||
) );
|
||||
if ( ! empty( $templates ) ) {
|
||||
$template = $templates[0];
|
||||
if ( wp_delete_post( $template->ID ) ) {
|
||||
wp_send_json_success();
|
||||
}
|
||||
}
|
||||
wp_send_json_error( array(
|
||||
'code' => 'Wrong ID or no Template found #2',
|
||||
) );
|
||||
}
|
||||
|
||||
return $templateId;
|
||||
}
|
||||
|
||||
/**
|
||||
* Post type from templates registration in wordpress
|
||||
*/
|
||||
private function registerPostType() {
|
||||
register_post_type( 'vc4_templates', array(
|
||||
'label' => 'Vc Templates',
|
||||
'public' => false,
|
||||
'publicly_queryable' => false,
|
||||
'exclude_from_search' => false,
|
||||
'show_ui' => false,
|
||||
'show_in_menu' => false,
|
||||
'menu_position' => 10,
|
||||
'menu_icon' => 'dashicons-admin-page',
|
||||
'hierarchical' => false,
|
||||
'taxonomies' => array(),
|
||||
'has_archive' => false,
|
||||
'rewrite' => false,
|
||||
'query_var' => false,
|
||||
'show_in_nav_menus' => false,
|
||||
) );
|
||||
}
|
||||
|
||||
/**
|
||||
* Ajax request processing from templates panel
|
||||
*/
|
||||
public function ajaxDownloadTemplate() {
|
||||
/** @var Vc_Current_User_Access $access */
|
||||
$access = vc_user_access()->checkAdminNonce()->validateDie( json_encode( array(
|
||||
'success' => false,
|
||||
'message' => 'access denied',
|
||||
) ) )->part( 'templates' )->checkStateAny( true, null )->validateDie( json_encode( array(
|
||||
'success' => false,
|
||||
'message' => 'part access denied',
|
||||
) ) )->check( array(
|
||||
vc_license(),
|
||||
'isActivated',
|
||||
) );
|
||||
$access->validateDie( json_encode( array(
|
||||
'success' => false,
|
||||
'message' => 'license is not activated',
|
||||
) ) );
|
||||
|
||||
$templateId = vc_request_param( 'id' );
|
||||
/* NULLED BY GANJAPARKER */
|
||||
$status = true;
|
||||
$file = dirname( __FILE__ ) . '/xml/' . $templateId . '.xml';
|
||||
$data = array();
|
||||
if ( $file ) {
|
||||
new Vc_WXR_Parser_Plugin();
|
||||
$importer = new Vc_WP_Import();
|
||||
ob_start();
|
||||
$importer->import( $file );
|
||||
if ( ! empty( $importer->processed_posts ) ) {
|
||||
$status = true;
|
||||
$postId = reset( $importer->processed_posts );
|
||||
$data['post_id'] = $postId;
|
||||
}
|
||||
ob_end_clean();
|
||||
}
|
||||
|
||||
if ( $status ) {
|
||||
wp_send_json_success( $data );
|
||||
} else {
|
||||
wp_send_json_error();
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* @param $requestUrl
|
||||
*
|
||||
* @return bool|string
|
||||
*/
|
||||
private function downloadTemplate( $requestUrl ) {
|
||||
// FIX SSL SNI
|
||||
$filter_add = true;
|
||||
if ( function_exists( 'curl_version' ) ) {
|
||||
$version = curl_version();
|
||||
if ( version_compare( $version['version'], '7.18', '>=' ) ) {
|
||||
$filter_add = false;
|
||||
}
|
||||
}
|
||||
if ( $filter_add ) {
|
||||
add_filter( 'https_ssl_verify', '__return_false' );
|
||||
}
|
||||
$downloadUrlRequest = wp_remote_get( $requestUrl, array(
|
||||
'timeout' => 30,
|
||||
) );
|
||||
|
||||
if ( $filter_add ) {
|
||||
remove_filter( 'https_ssl_verify', '__return_false' );
|
||||
}
|
||||
if ( is_array( $downloadUrlRequest ) && 200 === $downloadUrlRequest['response']['code'] ) {
|
||||
return $this->parseRequest( $downloadUrlRequest );
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param $request
|
||||
*
|
||||
* @return bool|string
|
||||
*/
|
||||
private function parseRequest( $request ) {
|
||||
$body = json_decode( $request['body'], true );
|
||||
if ( isset( $body['status'], $body['url'] ) && 1 === $body['status'] ) {
|
||||
$downloadUrl = $body['url'];
|
||||
$downloadedTemplateFile = download_url( $downloadUrl );
|
||||
if ( is_wp_error( $downloadedTemplateFile ) || ! $downloadedTemplateFile ) {
|
||||
return false;
|
||||
}
|
||||
|
||||
return $downloadedTemplateFile;
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param $data
|
||||
*
|
||||
* @return array
|
||||
*/
|
||||
public function addTemplatesTab( $data ) {
|
||||
if ( vc_user_access()->part( 'templates' )->checkStateAny( true, null, 'add' )->get() ) {
|
||||
$templates = $this->getTemplates();
|
||||
if ( ! empty( $templates ) || vc_user_access()->part( 'templates' )->checkStateAny( true, null )->get() ) {
|
||||
$newCategory = array(
|
||||
'category' => 'shared_templates',
|
||||
'category_name' => __( 'Template library', 'js_composer' ),
|
||||
'category_weight' => 10,
|
||||
'templates' => $this->getTemplates(),
|
||||
);
|
||||
$data[] = $newCategory;
|
||||
}
|
||||
}
|
||||
|
||||
return $data;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param $category
|
||||
*
|
||||
* @return mixed
|
||||
*/
|
||||
public function renderTemplateBlock( $category ) {
|
||||
if ( 'shared_templates' === $category['category'] ) {
|
||||
$category['output'] = $this->getTemplateBlockTemplate();
|
||||
}
|
||||
|
||||
return $category;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
private function getTemplateBlockTemplate() {
|
||||
ob_start();
|
||||
vc_include_template( 'editors/popups/shared-templates/category.tpl.php', array(
|
||||
'controller' => $this,
|
||||
'templates' => $this->getTemplates(),
|
||||
) );
|
||||
|
||||
return ob_get_clean();
|
||||
}
|
||||
|
||||
public function getTemplates() {
|
||||
$posts = get_posts( 'post_type=vc4_templates&numberposts=-1' );
|
||||
$templates = array();
|
||||
if ( ! empty( $posts ) ) {
|
||||
foreach ( $posts as $post ) {
|
||||
/** @var WP_Post $post */
|
||||
$id = get_post_meta( $post->ID, '_vc4_templates-id', true );
|
||||
$template = array();
|
||||
$template['title'] = $post->post_title;
|
||||
$template['version'] = get_post_meta( $post->ID, '_vc4_templates-version', true );
|
||||
$template['id'] = $id;
|
||||
$template['post_id'] = $post->ID;
|
||||
$template['name'] = $post->post_title; // For Settings
|
||||
$template['type'] = 'shared_templates'; // For Settings
|
||||
$template['unique_id'] = $id; // For Settings
|
||||
$templates[] = $template;
|
||||
}
|
||||
}
|
||||
|
||||
return $templates;
|
||||
}
|
||||
|
||||
/**
|
||||
* Create url for request to download
|
||||
* It requires a license key, product and version
|
||||
*
|
||||
* @param $id
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
private function getTemplateDownloadLink( $id ) {
|
||||
$url = esc_url( vc_license()->getSiteUrl() );
|
||||
$key = rawurlencode( vc_license()->getLicenseKey() );
|
||||
|
||||
$url = $this->download_link_url . '?product=vc&url=' . $url . '&key=' . $key . '&version=' . WPB_VC_VERSION . '&id=' . esc_attr( $id );
|
||||
|
||||
return $url;
|
||||
}
|
||||
}
|
||||
+796
@@ -0,0 +1,796 @@
|
||||
<?php
|
||||
if ( ! defined( 'ABSPATH' ) ) {
|
||||
die( '-1' );
|
||||
}
|
||||
|
||||
/**
|
||||
* WordPress eXtended RSS file parser implementations
|
||||
*
|
||||
* @package WordPress
|
||||
* @subpackage Importer
|
||||
*/
|
||||
|
||||
/**
|
||||
* WordPress Importer class for managing parsing of WXR files.
|
||||
*/
|
||||
class Vc_WXR_Parser {
|
||||
function parse( $file ) {
|
||||
// Attempt to use proper XML parsers first
|
||||
if ( extension_loaded( 'simplexml' ) ) {
|
||||
$parser = new Vc_WXR_Parser_SimpleXML;
|
||||
$result = $parser->parse( $file );
|
||||
|
||||
// If SimpleXML succeeds or this is an invalid WXR file then return the results
|
||||
if ( ! is_wp_error( $result ) || 'SimpleXML_parse_error' != $result->get_error_code() ) {
|
||||
return $result;
|
||||
}
|
||||
} else if ( extension_loaded( 'xml' ) ) {
|
||||
$parser = new Vc_WXR_Parser_XML;
|
||||
$result = $parser->parse( $file );
|
||||
|
||||
// If XMLParser succeeds or this is an invalid WXR file then return the results
|
||||
if ( ! is_wp_error( $result ) || 'XML_parse_error' != $result->get_error_code() ) {
|
||||
return $result;
|
||||
}
|
||||
}
|
||||
|
||||
// We have a malformed XML file, so display the error and fallthrough to regex
|
||||
if ( isset( $result ) && defined( 'IMPORT_DEBUG' ) && IMPORT_DEBUG ) {
|
||||
echo '<pre>';
|
||||
if ( 'SimpleXML_parse_error' == $result->get_error_code() ) {
|
||||
foreach ( $result->get_error_data() as $error ) {
|
||||
echo $error->line . ':' . $error->column . ' ' . esc_html( $error->message ) . "\n";
|
||||
}
|
||||
} else if ( 'XML_parse_error' == $result->get_error_code() ) {
|
||||
$error = $result->get_error_data();
|
||||
echo $error[0] . ':' . $error[1] . ' ' . esc_html( $error[2] );
|
||||
}
|
||||
echo '</pre>';
|
||||
echo '<p><strong>' . __( 'There was an error when reading this WXR file', 'wordpress-importer' ) . '</strong><br />';
|
||||
echo __( 'Details are shown above. The importer will now try again with a different parser...', 'wordpress-importer' ) . '</p>';
|
||||
}
|
||||
|
||||
// use regular expressions if nothing else available or this is bad XML
|
||||
$parser = new Vc_WXR_Parser_Regex;
|
||||
|
||||
return $parser->parse( $file );
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* WXR Parser that makes use of the SimpleXML PHP extension.
|
||||
*/
|
||||
class Vc_WXR_Parser_SimpleXML {
|
||||
function parse( $file ) {
|
||||
$authors = $posts = $categories = $tags = $terms = array();
|
||||
|
||||
$internal_errors = libxml_use_internal_errors( true );
|
||||
|
||||
$dom = new DOMDocument;
|
||||
$old_value = null;
|
||||
if ( function_exists( 'libxml_disable_entity_loader' ) ) {
|
||||
$old_value = libxml_disable_entity_loader( true );
|
||||
}
|
||||
$success = $dom->loadXML( file_get_contents( $file ) );
|
||||
if ( ! is_null( $old_value ) ) {
|
||||
libxml_disable_entity_loader( $old_value );
|
||||
}
|
||||
|
||||
if ( ! $success || isset( $dom->doctype ) ) {
|
||||
return new WP_Error( 'SimpleXML_parse_error', __( 'There was an error when reading this WXR file', 'wordpress-importer' ), libxml_get_errors() );
|
||||
}
|
||||
|
||||
$xml = simplexml_import_dom( $dom );
|
||||
unset( $dom );
|
||||
|
||||
// halt if loading produces an error
|
||||
if ( ! $xml ) {
|
||||
return new WP_Error( 'SimpleXML_parse_error', __( 'There was an error when reading this WXR file', 'wordpress-importer' ), libxml_get_errors() );
|
||||
}
|
||||
|
||||
$wxr_version = $xml->xpath( '/rss/channel/wp:wxr_version' );
|
||||
if ( ! $wxr_version ) {
|
||||
return new WP_Error( 'WXR_parse_error', __( 'This does not appear to be a WXR file, missing/invalid WXR version number', 'wordpress-importer' ) );
|
||||
}
|
||||
|
||||
$wxr_version = (string) trim( $wxr_version[0] );
|
||||
// confirm that we are dealing with the correct file format
|
||||
if ( ! preg_match( '/^\d+\.\d+$/', $wxr_version ) ) {
|
||||
return new WP_Error( 'WXR_parse_error', __( 'This does not appear to be a WXR file, missing/invalid WXR version number', 'wordpress-importer' ) );
|
||||
}
|
||||
|
||||
$base_url = $xml->xpath( '/rss/channel/wp:base_site_url' );
|
||||
$base_url = (string) trim( $base_url[0] );
|
||||
|
||||
$namespaces = $xml->getDocNamespaces();
|
||||
if ( ! isset( $namespaces['wp'] ) ) {
|
||||
$namespaces['wp'] = 'http://wordpress.org/export/1.1/';
|
||||
}
|
||||
if ( ! isset( $namespaces['excerpt'] ) ) {
|
||||
$namespaces['excerpt'] = 'http://wordpress.org/export/1.1/excerpt/';
|
||||
}
|
||||
|
||||
// grab authors
|
||||
foreach ( $xml->xpath( '/rss/channel/wp:author' ) as $author_arr ) {
|
||||
$a = $author_arr->children( $namespaces['wp'] );
|
||||
$login = (string) $a->author_login;
|
||||
$authors[ $login ] = array(
|
||||
'author_id' => (int) $a->author_id,
|
||||
'author_login' => $login,
|
||||
'author_email' => (string) $a->author_email,
|
||||
'author_display_name' => (string) $a->author_display_name,
|
||||
'author_first_name' => (string) $a->author_first_name,
|
||||
'author_last_name' => (string) $a->author_last_name,
|
||||
);
|
||||
}
|
||||
|
||||
// grab cats, tags and terms
|
||||
foreach ( $xml->xpath( '/rss/channel/wp:category' ) as $term_arr ) {
|
||||
$t = $term_arr->children( $namespaces['wp'] );
|
||||
$category = array(
|
||||
'term_id' => (int) $t->term_id,
|
||||
'category_nicename' => (string) $t->category_nicename,
|
||||
'category_parent' => (string) $t->category_parent,
|
||||
'cat_name' => (string) $t->cat_name,
|
||||
'category_description' => (string) $t->category_description,
|
||||
);
|
||||
|
||||
foreach ( $t->termmeta as $meta ) {
|
||||
$category['termmeta'][] = array(
|
||||
'key' => (string) $meta->meta_key,
|
||||
'value' => (string) $meta->meta_value,
|
||||
);
|
||||
}
|
||||
|
||||
$categories[] = $category;
|
||||
}
|
||||
|
||||
foreach ( $xml->xpath( '/rss/channel/wp:tag' ) as $term_arr ) {
|
||||
$t = $term_arr->children( $namespaces['wp'] );
|
||||
$tag = array(
|
||||
'term_id' => (int) $t->term_id,
|
||||
'tag_slug' => (string) $t->tag_slug,
|
||||
'tag_name' => (string) $t->tag_name,
|
||||
'tag_description' => (string) $t->tag_description,
|
||||
);
|
||||
|
||||
foreach ( $t->termmeta as $meta ) {
|
||||
$tag['termmeta'][] = array(
|
||||
'key' => (string) $meta->meta_key,
|
||||
'value' => (string) $meta->meta_value,
|
||||
);
|
||||
}
|
||||
|
||||
$tags[] = $tag;
|
||||
}
|
||||
|
||||
foreach ( $xml->xpath( '/rss/channel/wp:term' ) as $term_arr ) {
|
||||
$t = $term_arr->children( $namespaces['wp'] );
|
||||
$term = array(
|
||||
'term_id' => (int) $t->term_id,
|
||||
'term_taxonomy' => (string) $t->term_taxonomy,
|
||||
'slug' => (string) $t->term_slug,
|
||||
'term_parent' => (string) $t->term_parent,
|
||||
'term_name' => (string) $t->term_name,
|
||||
'term_description' => (string) $t->term_description,
|
||||
);
|
||||
|
||||
foreach ( $t->termmeta as $meta ) {
|
||||
$term['termmeta'][] = array(
|
||||
'key' => (string) $meta->meta_key,
|
||||
'value' => (string) $meta->meta_value,
|
||||
);
|
||||
}
|
||||
|
||||
$terms[] = $term;
|
||||
}
|
||||
|
||||
// grab posts
|
||||
foreach ( $xml->channel->item as $item ) {
|
||||
$post = array(
|
||||
'post_title' => (string) $item->title,
|
||||
'guid' => (string) $item->guid,
|
||||
);
|
||||
|
||||
$dc = $item->children( 'http://purl.org/dc/elements/1.1/' );
|
||||
$post['post_author'] = (string) $dc->creator;
|
||||
|
||||
$content = $item->children( 'http://purl.org/rss/1.0/modules/content/' );
|
||||
$excerpt = $item->children( $namespaces['excerpt'] );
|
||||
$post['post_content'] = (string) $content->encoded;
|
||||
$post['post_excerpt'] = (string) $excerpt->encoded;
|
||||
|
||||
$wp = $item->children( $namespaces['wp'] );
|
||||
$post['post_id'] = (int) $wp->post_id;
|
||||
$post['post_date'] = (string) $wp->post_date;
|
||||
$post['post_date_gmt'] = (string) $wp->post_date_gmt;
|
||||
$post['comment_status'] = (string) $wp->comment_status;
|
||||
$post['ping_status'] = (string) $wp->ping_status;
|
||||
$post['post_name'] = (string) $wp->post_name;
|
||||
$post['status'] = (string) $wp->status;
|
||||
$post['post_parent'] = (int) $wp->post_parent;
|
||||
$post['menu_order'] = (int) $wp->menu_order;
|
||||
$post['post_type'] = (string) $wp->post_type;
|
||||
$post['post_password'] = (string) $wp->post_password;
|
||||
$post['is_sticky'] = (int) $wp->is_sticky;
|
||||
|
||||
if ( isset( $wp->attachment_url ) ) {
|
||||
$post['attachment_url'] = (string) $wp->attachment_url;
|
||||
}
|
||||
|
||||
foreach ( $item->category as $c ) {
|
||||
$att = $c->attributes();
|
||||
if ( isset( $att['nicename'] ) ) {
|
||||
$post['terms'][] = array(
|
||||
'name' => (string) $c,
|
||||
'slug' => (string) $att['nicename'],
|
||||
'domain' => (string) $att['domain'],
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
foreach ( $wp->postmeta as $meta ) {
|
||||
$post['postmeta'][] = array(
|
||||
'key' => (string) $meta->meta_key,
|
||||
'value' => (string) $meta->meta_value,
|
||||
);
|
||||
}
|
||||
|
||||
foreach ( $wp->comment as $comment ) {
|
||||
$meta = array();
|
||||
if ( isset( $comment->commentmeta ) ) {
|
||||
foreach ( $comment->commentmeta as $m ) {
|
||||
$meta[] = array(
|
||||
'key' => (string) $m->meta_key,
|
||||
'value' => (string) $m->meta_value,
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
$post['comments'][] = array(
|
||||
'comment_id' => (int) $comment->comment_id,
|
||||
'comment_author' => (string) $comment->comment_author,
|
||||
'comment_author_email' => (string) $comment->comment_author_email,
|
||||
'comment_author_IP' => (string) $comment->comment_author_IP,
|
||||
'comment_author_url' => (string) $comment->comment_author_url,
|
||||
'comment_date' => (string) $comment->comment_date,
|
||||
'comment_date_gmt' => (string) $comment->comment_date_gmt,
|
||||
'comment_content' => (string) $comment->comment_content,
|
||||
'comment_approved' => (string) $comment->comment_approved,
|
||||
'comment_type' => (string) $comment->comment_type,
|
||||
'comment_parent' => (string) $comment->comment_parent,
|
||||
'comment_user_id' => (int) $comment->comment_user_id,
|
||||
'commentmeta' => $meta,
|
||||
);
|
||||
}
|
||||
|
||||
$posts[] = $post;
|
||||
}
|
||||
|
||||
return array(
|
||||
'authors' => $authors,
|
||||
'posts' => $posts,
|
||||
'categories' => $categories,
|
||||
'tags' => $tags,
|
||||
'terms' => $terms,
|
||||
'base_url' => $base_url,
|
||||
'version' => $wxr_version,
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* WXR Parser that makes use of the XML Parser PHP extension.
|
||||
*/
|
||||
class Vc_WXR_Parser_XML {
|
||||
var $wp_tags = array(
|
||||
'wp:post_id',
|
||||
'wp:post_date',
|
||||
'wp:post_date_gmt',
|
||||
'wp:comment_status',
|
||||
'wp:ping_status',
|
||||
'wp:attachment_url',
|
||||
'wp:status',
|
||||
'wp:post_name',
|
||||
'wp:post_parent',
|
||||
'wp:menu_order',
|
||||
'wp:post_type',
|
||||
'wp:post_password',
|
||||
'wp:is_sticky',
|
||||
'wp:term_id',
|
||||
'wp:category_nicename',
|
||||
'wp:category_parent',
|
||||
'wp:cat_name',
|
||||
'wp:category_description',
|
||||
'wp:tag_slug',
|
||||
'wp:tag_name',
|
||||
'wp:tag_description',
|
||||
'wp:term_taxonomy',
|
||||
'wp:term_parent',
|
||||
'wp:term_name',
|
||||
'wp:term_description',
|
||||
'wp:author_id',
|
||||
'wp:author_login',
|
||||
'wp:author_email',
|
||||
'wp:author_display_name',
|
||||
'wp:author_first_name',
|
||||
'wp:author_last_name',
|
||||
);
|
||||
var $wp_sub_tags = array(
|
||||
'wp:comment_id',
|
||||
'wp:comment_author',
|
||||
'wp:comment_author_email',
|
||||
'wp:comment_author_url',
|
||||
'wp:comment_author_IP',
|
||||
'wp:comment_date',
|
||||
'wp:comment_date_gmt',
|
||||
'wp:comment_content',
|
||||
'wp:comment_approved',
|
||||
'wp:comment_type',
|
||||
'wp:comment_parent',
|
||||
'wp:comment_user_id',
|
||||
);
|
||||
|
||||
function parse( $file ) {
|
||||
$this->wxr_version = $this->in_post = $this->cdata = $this->data = $this->sub_data = $this->in_tag = $this->in_sub_tag = false;
|
||||
$this->authors = $this->posts = $this->term = $this->category = $this->tag = array();
|
||||
|
||||
$xml = xml_parser_create( 'UTF-8' );
|
||||
xml_parser_set_option( $xml, XML_OPTION_SKIP_WHITE, 1 );
|
||||
xml_parser_set_option( $xml, XML_OPTION_CASE_FOLDING, 0 );
|
||||
xml_set_object( $xml, $this );
|
||||
xml_set_character_data_handler( $xml, 'cdata' );
|
||||
xml_set_element_handler( $xml, 'tag_open', 'tag_close' );
|
||||
|
||||
if ( ! xml_parse( $xml, file_get_contents( $file ), true ) ) {
|
||||
$current_line = xml_get_current_line_number( $xml );
|
||||
$current_column = xml_get_current_column_number( $xml );
|
||||
$error_code = xml_get_error_code( $xml );
|
||||
$error_string = xml_error_string( $error_code );
|
||||
|
||||
return new WP_Error( 'XML_parse_error', 'There was an error when reading this WXR file', array(
|
||||
$current_line,
|
||||
$current_column,
|
||||
$error_string,
|
||||
) );
|
||||
}
|
||||
xml_parser_free( $xml );
|
||||
|
||||
if ( ! preg_match( '/^\d+\.\d+$/', $this->wxr_version ) ) {
|
||||
return new WP_Error( 'WXR_parse_error', __( 'This does not appear to be a WXR file, missing/invalid WXR version number', 'wordpress-importer' ) );
|
||||
}
|
||||
|
||||
return array(
|
||||
'authors' => $this->authors,
|
||||
'posts' => $this->posts,
|
||||
'categories' => $this->category,
|
||||
'tags' => $this->tag,
|
||||
'terms' => $this->term,
|
||||
'base_url' => $this->base_url,
|
||||
'version' => $this->wxr_version,
|
||||
);
|
||||
}
|
||||
|
||||
function tag_open( $parse, $tag, $attr ) {
|
||||
if ( in_array( $tag, $this->wp_tags ) ) {
|
||||
$this->in_tag = substr( $tag, 3 );
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
if ( in_array( $tag, $this->wp_sub_tags ) ) {
|
||||
$this->in_sub_tag = substr( $tag, 3 );
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
switch ( $tag ) {
|
||||
case 'category':
|
||||
if ( isset( $attr['domain'], $attr['nicename'] ) ) {
|
||||
$this->sub_data['domain'] = $attr['domain'];
|
||||
$this->sub_data['slug'] = $attr['nicename'];
|
||||
}
|
||||
break;
|
||||
case 'item':
|
||||
$this->in_post = true;
|
||||
case 'title':
|
||||
if ( $this->in_post ) {
|
||||
$this->in_tag = 'post_title';
|
||||
}
|
||||
break;
|
||||
case 'guid':
|
||||
$this->in_tag = 'guid';
|
||||
break;
|
||||
case 'dc:creator':
|
||||
$this->in_tag = 'post_author';
|
||||
break;
|
||||
case 'content:encoded':
|
||||
$this->in_tag = 'post_content';
|
||||
break;
|
||||
case 'excerpt:encoded':
|
||||
$this->in_tag = 'post_excerpt';
|
||||
break;
|
||||
|
||||
case 'wp:term_slug':
|
||||
$this->in_tag = 'slug';
|
||||
break;
|
||||
case 'wp:meta_key':
|
||||
$this->in_sub_tag = 'key';
|
||||
break;
|
||||
case 'wp:meta_value':
|
||||
$this->in_sub_tag = 'value';
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
function cdata( $parser, $cdata ) {
|
||||
if ( ! trim( $cdata ) ) {
|
||||
return;
|
||||
}
|
||||
|
||||
if ( false !== $this->in_tag || false !== $this->in_sub_tag ) {
|
||||
$this->cdata .= $cdata;
|
||||
} else {
|
||||
$this->cdata .= trim( $cdata );
|
||||
}
|
||||
}
|
||||
|
||||
function tag_close( $parser, $tag ) {
|
||||
switch ( $tag ) {
|
||||
case 'wp:comment':
|
||||
unset( $this->sub_data['key'], $this->sub_data['value'] ); // remove meta sub_data
|
||||
if ( ! empty( $this->sub_data ) ) {
|
||||
$this->data['comments'][] = $this->sub_data;
|
||||
}
|
||||
$this->sub_data = false;
|
||||
break;
|
||||
case 'wp:commentmeta':
|
||||
$this->sub_data['commentmeta'][] = array(
|
||||
'key' => $this->sub_data['key'],
|
||||
'value' => $this->sub_data['value'],
|
||||
);
|
||||
break;
|
||||
case 'category':
|
||||
if ( ! empty( $this->sub_data ) ) {
|
||||
$this->sub_data['name'] = $this->cdata;
|
||||
$this->data['terms'][] = $this->sub_data;
|
||||
}
|
||||
$this->sub_data = false;
|
||||
break;
|
||||
case 'wp:postmeta':
|
||||
if ( ! empty( $this->sub_data ) ) {
|
||||
$this->data['postmeta'][] = $this->sub_data;
|
||||
}
|
||||
$this->sub_data = false;
|
||||
break;
|
||||
case 'item':
|
||||
$this->posts[] = $this->data;
|
||||
$this->data = false;
|
||||
break;
|
||||
case 'wp:category':
|
||||
case 'wp:tag':
|
||||
case 'wp:term':
|
||||
$n = substr( $tag, 3 );
|
||||
array_push( $this->$n, $this->data );
|
||||
$this->data = false;
|
||||
break;
|
||||
case 'wp:author':
|
||||
if ( ! empty( $this->data['author_login'] ) ) {
|
||||
$this->authors[ $this->data['author_login'] ] = $this->data;
|
||||
}
|
||||
$this->data = false;
|
||||
break;
|
||||
case 'wp:base_site_url':
|
||||
$this->base_url = $this->cdata;
|
||||
break;
|
||||
case 'wp:wxr_version':
|
||||
$this->wxr_version = $this->cdata;
|
||||
break;
|
||||
|
||||
default:
|
||||
if ( $this->in_sub_tag ) {
|
||||
$this->sub_data[ $this->in_sub_tag ] = ! empty( $this->cdata ) ? $this->cdata : '';
|
||||
$this->in_sub_tag = false;
|
||||
} else if ( $this->in_tag ) {
|
||||
$this->data[ $this->in_tag ] = ! empty( $this->cdata ) ? $this->cdata : '';
|
||||
$this->in_tag = false;
|
||||
}
|
||||
}
|
||||
|
||||
$this->cdata = false;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* WXR Parser that uses regular expressions. Fallback for installs without an XML parser.
|
||||
*/
|
||||
class Vc_WXR_Parser_Regex {
|
||||
var $authors = array();
|
||||
var $posts = array();
|
||||
var $categories = array();
|
||||
var $tags = array();
|
||||
var $terms = array();
|
||||
var $base_url = '';
|
||||
|
||||
function __construct() {
|
||||
$this->has_gzip = is_callable( 'gzopen' );
|
||||
}
|
||||
|
||||
function parse( $file ) {
|
||||
$wxr_version = $in_post = false;
|
||||
|
||||
$fp = $this->fopen( $file, 'r' );
|
||||
if ( $fp ) {
|
||||
while ( ! $this->feof( $fp ) ) {
|
||||
$importline = rtrim( $this->fgets( $fp ) );
|
||||
|
||||
if ( ! $wxr_version && preg_match( '|<wp:wxr_version>(\d+\.\d+)</wp:wxr_version>|', $importline, $version ) ) {
|
||||
$wxr_version = $version[1];
|
||||
}
|
||||
|
||||
if ( false !== strpos( $importline, '<wp:base_site_url>' ) ) {
|
||||
preg_match( '|<wp:base_site_url>(.*?)</wp:base_site_url>|is', $importline, $url );
|
||||
$this->base_url = $url[1];
|
||||
continue;
|
||||
}
|
||||
if ( false !== strpos( $importline, '<wp:category>' ) ) {
|
||||
preg_match( '|<wp:category>(.*?)</wp:category>|is', $importline, $category );
|
||||
$this->categories[] = $this->process_category( $category[1] );
|
||||
continue;
|
||||
}
|
||||
if ( false !== strpos( $importline, '<wp:tag>' ) ) {
|
||||
preg_match( '|<wp:tag>(.*?)</wp:tag>|is', $importline, $tag );
|
||||
$this->tags[] = $this->process_tag( $tag[1] );
|
||||
continue;
|
||||
}
|
||||
if ( false !== strpos( $importline, '<wp:term>' ) ) {
|
||||
preg_match( '|<wp:term>(.*?)</wp:term>|is', $importline, $term );
|
||||
$this->terms[] = $this->process_term( $term[1] );
|
||||
continue;
|
||||
}
|
||||
if ( false !== strpos( $importline, '<wp:author>' ) ) {
|
||||
preg_match( '|<wp:author>(.*?)</wp:author>|is', $importline, $author );
|
||||
$a = $this->process_author( $author[1] );
|
||||
$this->authors[ $a['author_login'] ] = $a;
|
||||
continue;
|
||||
}
|
||||
if ( false !== strpos( $importline, '<item>' ) ) {
|
||||
$post = '';
|
||||
$in_post = true;
|
||||
continue;
|
||||
}
|
||||
if ( false !== strpos( $importline, '</item>' ) ) {
|
||||
$in_post = false;
|
||||
$this->posts[] = $this->process_post( $post );
|
||||
continue;
|
||||
}
|
||||
if ( $in_post ) {
|
||||
$post .= $importline . "\n";
|
||||
}
|
||||
}
|
||||
|
||||
$this->fclose( $fp );
|
||||
}
|
||||
|
||||
if ( ! $wxr_version ) {
|
||||
return new WP_Error( 'WXR_parse_error', __( 'This does not appear to be a WXR file, missing/invalid WXR version number', 'wordpress-importer' ) );
|
||||
}
|
||||
|
||||
return array(
|
||||
'authors' => $this->authors,
|
||||
'posts' => $this->posts,
|
||||
'categories' => $this->categories,
|
||||
'tags' => $this->tags,
|
||||
'terms' => $this->terms,
|
||||
'base_url' => $this->base_url,
|
||||
'version' => $wxr_version,
|
||||
);
|
||||
}
|
||||
|
||||
function get_tag( $string, $tag ) {
|
||||
preg_match( "|<$tag.*?>(.*?)</$tag>|is", $string, $return );
|
||||
if ( isset( $return[1] ) ) {
|
||||
if ( substr( $return[1], 0, 9 ) == '<![CDATA[' ) {
|
||||
if ( strpos( $return[1], ']]]]><![CDATA[>' ) !== false ) {
|
||||
preg_match_all( '|<!\[CDATA\[(.*?)\]\]>|s', $return[1], $matches );
|
||||
$return = '';
|
||||
foreach ( $matches[1] as $match ) {
|
||||
$return .= $match;
|
||||
}
|
||||
} else {
|
||||
$return = preg_replace( '|^<!\[CDATA\[(.*)\]\]>$|s', '$1', $return[1] );
|
||||
}
|
||||
} else {
|
||||
$return = $return[1];
|
||||
}
|
||||
} else {
|
||||
$return = '';
|
||||
}
|
||||
|
||||
return $return;
|
||||
}
|
||||
|
||||
function process_category( $c ) {
|
||||
return array(
|
||||
'term_id' => $this->get_tag( $c, 'wp:term_id' ),
|
||||
'cat_name' => $this->get_tag( $c, 'wp:cat_name' ),
|
||||
'category_nicename' => $this->get_tag( $c, 'wp:category_nicename' ),
|
||||
'category_parent' => $this->get_tag( $c, 'wp:category_parent' ),
|
||||
'category_description' => $this->get_tag( $c, 'wp:category_description' ),
|
||||
);
|
||||
}
|
||||
|
||||
function process_tag( $t ) {
|
||||
return array(
|
||||
'term_id' => $this->get_tag( $t, 'wp:term_id' ),
|
||||
'tag_name' => $this->get_tag( $t, 'wp:tag_name' ),
|
||||
'tag_slug' => $this->get_tag( $t, 'wp:tag_slug' ),
|
||||
'tag_description' => $this->get_tag( $t, 'wp:tag_description' ),
|
||||
);
|
||||
}
|
||||
|
||||
function process_term( $t ) {
|
||||
return array(
|
||||
'term_id' => $this->get_tag( $t, 'wp:term_id' ),
|
||||
'term_taxonomy' => $this->get_tag( $t, 'wp:term_taxonomy' ),
|
||||
'slug' => $this->get_tag( $t, 'wp:term_slug' ),
|
||||
'term_parent' => $this->get_tag( $t, 'wp:term_parent' ),
|
||||
'term_name' => $this->get_tag( $t, 'wp:term_name' ),
|
||||
'term_description' => $this->get_tag( $t, 'wp:term_description' ),
|
||||
);
|
||||
}
|
||||
|
||||
function process_author( $a ) {
|
||||
return array(
|
||||
'author_id' => $this->get_tag( $a, 'wp:author_id' ),
|
||||
'author_login' => $this->get_tag( $a, 'wp:author_login' ),
|
||||
'author_email' => $this->get_tag( $a, 'wp:author_email' ),
|
||||
'author_display_name' => $this->get_tag( $a, 'wp:author_display_name' ),
|
||||
'author_first_name' => $this->get_tag( $a, 'wp:author_first_name' ),
|
||||
'author_last_name' => $this->get_tag( $a, 'wp:author_last_name' ),
|
||||
);
|
||||
}
|
||||
|
||||
function process_post( $post ) {
|
||||
$post_id = $this->get_tag( $post, 'wp:post_id' );
|
||||
$post_title = $this->get_tag( $post, 'title' );
|
||||
$post_date = $this->get_tag( $post, 'wp:post_date' );
|
||||
$post_date_gmt = $this->get_tag( $post, 'wp:post_date_gmt' );
|
||||
$comment_status = $this->get_tag( $post, 'wp:comment_status' );
|
||||
$ping_status = $this->get_tag( $post, 'wp:ping_status' );
|
||||
$status = $this->get_tag( $post, 'wp:status' );
|
||||
$post_name = $this->get_tag( $post, 'wp:post_name' );
|
||||
$post_parent = $this->get_tag( $post, 'wp:post_parent' );
|
||||
$menu_order = $this->get_tag( $post, 'wp:menu_order' );
|
||||
$post_type = $this->get_tag( $post, 'wp:post_type' );
|
||||
$post_password = $this->get_tag( $post, 'wp:post_password' );
|
||||
$is_sticky = $this->get_tag( $post, 'wp:is_sticky' );
|
||||
$guid = $this->get_tag( $post, 'guid' );
|
||||
$post_author = $this->get_tag( $post, 'dc:creator' );
|
||||
|
||||
$post_excerpt = $this->get_tag( $post, 'excerpt:encoded' );
|
||||
$post_excerpt = preg_replace_callback( '|<(/?[A-Z]+)|', array(
|
||||
$this,
|
||||
'_normalize_tag',
|
||||
), $post_excerpt );
|
||||
$post_excerpt = str_replace( '<br>', '<br />', $post_excerpt );
|
||||
$post_excerpt = str_replace( '<hr>', '<hr />', $post_excerpt );
|
||||
|
||||
$post_content = $this->get_tag( $post, 'content:encoded' );
|
||||
$post_content = preg_replace_callback( '|<(/?[A-Z]+)|', array(
|
||||
$this,
|
||||
'_normalize_tag',
|
||||
), $post_content );
|
||||
$post_content = str_replace( '<br>', '<br />', $post_content );
|
||||
$post_content = str_replace( '<hr>', '<hr />', $post_content );
|
||||
|
||||
$postdata = compact( 'post_id', 'post_author', 'post_date', 'post_date_gmt', 'post_content', 'post_excerpt', 'post_title', 'status', 'post_name', 'comment_status', 'ping_status', 'guid', 'post_parent', 'menu_order', 'post_type', 'post_password', 'is_sticky' );
|
||||
|
||||
$attachment_url = $this->get_tag( $post, 'wp:attachment_url' );
|
||||
if ( $attachment_url ) {
|
||||
$postdata['attachment_url'] = $attachment_url;
|
||||
}
|
||||
|
||||
preg_match_all( '|<category domain="([^"]+?)" nicename="([^"]+?)">(.+?)</category>|is', $post, $terms, PREG_SET_ORDER );
|
||||
foreach ( $terms as $t ) {
|
||||
$post_terms[] = array(
|
||||
'slug' => $t[2],
|
||||
'domain' => $t[1],
|
||||
'name' => str_replace( array(
|
||||
'<![CDATA[',
|
||||
']]>',
|
||||
), '', $t[3] ),
|
||||
);
|
||||
}
|
||||
if ( ! empty( $post_terms ) ) {
|
||||
$postdata['terms'] = $post_terms;
|
||||
}
|
||||
|
||||
preg_match_all( '|<wp:comment>(.+?)</wp:comment>|is', $post, $comments );
|
||||
$comments = $comments[1];
|
||||
if ( $comments ) {
|
||||
foreach ( $comments as $comment ) {
|
||||
preg_match_all( '|<wp:commentmeta>(.+?)</wp:commentmeta>|is', $comment, $commentmeta );
|
||||
$commentmeta = $commentmeta[1];
|
||||
$c_meta = array();
|
||||
foreach ( $commentmeta as $m ) {
|
||||
$c_meta[] = array(
|
||||
'key' => $this->get_tag( $m, 'wp:meta_key' ),
|
||||
'value' => $this->get_tag( $m, 'wp:meta_value' ),
|
||||
);
|
||||
}
|
||||
|
||||
$post_comments[] = array(
|
||||
'comment_id' => $this->get_tag( $comment, 'wp:comment_id' ),
|
||||
'comment_author' => $this->get_tag( $comment, 'wp:comment_author' ),
|
||||
'comment_author_email' => $this->get_tag( $comment, 'wp:comment_author_email' ),
|
||||
'comment_author_IP' => $this->get_tag( $comment, 'wp:comment_author_IP' ),
|
||||
'comment_author_url' => $this->get_tag( $comment, 'wp:comment_author_url' ),
|
||||
'comment_date' => $this->get_tag( $comment, 'wp:comment_date' ),
|
||||
'comment_date_gmt' => $this->get_tag( $comment, 'wp:comment_date_gmt' ),
|
||||
'comment_content' => $this->get_tag( $comment, 'wp:comment_content' ),
|
||||
'comment_approved' => $this->get_tag( $comment, 'wp:comment_approved' ),
|
||||
'comment_type' => $this->get_tag( $comment, 'wp:comment_type' ),
|
||||
'comment_parent' => $this->get_tag( $comment, 'wp:comment_parent' ),
|
||||
'comment_user_id' => $this->get_tag( $comment, 'wp:comment_user_id' ),
|
||||
'commentmeta' => $c_meta,
|
||||
);
|
||||
}
|
||||
}
|
||||
if ( ! empty( $post_comments ) ) {
|
||||
$postdata['comments'] = $post_comments;
|
||||
}
|
||||
|
||||
preg_match_all( '|<wp:postmeta>(.+?)</wp:postmeta>|is', $post, $postmeta );
|
||||
$postmeta = $postmeta[1];
|
||||
if ( $postmeta ) {
|
||||
foreach ( $postmeta as $p ) {
|
||||
$post_postmeta[] = array(
|
||||
'key' => $this->get_tag( $p, 'wp:meta_key' ),
|
||||
'value' => $this->get_tag( $p, 'wp:meta_value' ),
|
||||
);
|
||||
}
|
||||
}
|
||||
if ( ! empty( $post_postmeta ) ) {
|
||||
$postdata['postmeta'] = $post_postmeta;
|
||||
}
|
||||
|
||||
return $postdata;
|
||||
}
|
||||
|
||||
function _normalize_tag( $matches ) {
|
||||
return '<' . strtolower( $matches[1] );
|
||||
}
|
||||
|
||||
function fopen( $filename, $mode = 'r' ) {
|
||||
if ( $this->has_gzip ) {
|
||||
return gzopen( $filename, $mode );
|
||||
}
|
||||
|
||||
return fopen( $filename, $mode );
|
||||
}
|
||||
|
||||
function feof( $fp ) {
|
||||
if ( $this->has_gzip ) {
|
||||
return gzeof( $fp );
|
||||
}
|
||||
|
||||
return feof( $fp );
|
||||
}
|
||||
|
||||
function fgets( $fp, $len = 8192 ) {
|
||||
if ( $this->has_gzip ) {
|
||||
return gzgets( $fp, $len );
|
||||
}
|
||||
|
||||
return fgets( $fp, $len );
|
||||
}
|
||||
|
||||
function fclose( $fp ) {
|
||||
if ( $this->has_gzip ) {
|
||||
return gzclose( $fp );
|
||||
}
|
||||
|
||||
return fclose( $fp );
|
||||
}
|
||||
}
|
||||
+179
@@ -0,0 +1,179 @@
|
||||
<?php
|
||||
if ( ! defined( 'ABSPATH' ) ) {
|
||||
die( '-1' );
|
||||
}
|
||||
|
||||
class Vc_WXR_Parser_Plugin {
|
||||
public $shortcodes = array(
|
||||
'gallery' => array(
|
||||
'ids',
|
||||
),
|
||||
'vc_single_image' => array(
|
||||
'image',
|
||||
),
|
||||
'vc_gallery' => array(
|
||||
'images',
|
||||
),
|
||||
'vc_images_carousel' => array(
|
||||
'images',
|
||||
),
|
||||
'vc_media_grid' => array(
|
||||
'include',
|
||||
),
|
||||
'vc_masonry_media_grid' => array(
|
||||
'include',
|
||||
),
|
||||
);
|
||||
protected $remaps = 0;
|
||||
|
||||
public function __construct() {
|
||||
$this->shortcodes = apply_filters( 'vc_shared_templates_import_shortcodes', $this->shortcodes );
|
||||
add_filter( 'vc_import_post_data_processed', array(
|
||||
$this,
|
||||
'processPostContent',
|
||||
) );
|
||||
|
||||
add_action( 'vc_import_pre_end', array(
|
||||
$this,
|
||||
'remapIdsInPosts',
|
||||
) );
|
||||
}
|
||||
|
||||
private $idsRemap = array();
|
||||
|
||||
/**
|
||||
* @param array $postdata
|
||||
*
|
||||
* @return array
|
||||
*/
|
||||
public function processPostContent( $postdata ) {
|
||||
if ( ! empty( $postdata['post_content'] ) && 'vc4_templates' === $postdata['post_type'] ) {
|
||||
$this->parseShortcodes( $postdata['post_content'] );
|
||||
}
|
||||
|
||||
return $postdata;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param Vc_WP_Import $importer
|
||||
*/
|
||||
public function remapIdsInPosts( $importer ) {
|
||||
$currentPost = reset( $importer->processed_posts );
|
||||
// Nothing to remap or something wrong
|
||||
if ( ! $currentPost ) {
|
||||
return;
|
||||
}
|
||||
$post = get_post( $currentPost );
|
||||
if ( empty( $post ) || ! is_object( $post ) || 'vc4_templates' !== $post->post_type ) {
|
||||
return;
|
||||
}
|
||||
// We ready to remap attributes in processed attachments
|
||||
$attachments = $importer->processed_attachments;
|
||||
$this->remaps = 0;
|
||||
$newContent = $this->processAttachments( $attachments, $post->post_content );
|
||||
|
||||
if ( $this->remaps ) {
|
||||
$post->post_content = $newContent;
|
||||
wp_update_post( $post );
|
||||
}
|
||||
}
|
||||
|
||||
protected function processAttachments( $attachments, $content ) {
|
||||
if ( ! empty( $this->idsRemap ) ) {
|
||||
foreach ( $this->idsRemap as $shortcode ) {
|
||||
$tag = $shortcode['tag'];
|
||||
$attributes = $this->shortcodes[ $tag ];
|
||||
$rawQuery = $shortcode['attrs_query'];
|
||||
$newQuery = $this->shortcodeAttributes( $shortcode, $attributes, $rawQuery, $attachments );
|
||||
|
||||
if ( $newQuery ) {
|
||||
$content = str_replace( $rawQuery, $newQuery, $content );
|
||||
$this->remaps ++;
|
||||
}
|
||||
}
|
||||
}
|
||||
$urlRegex = '#\bhttps?://[^\s()<>]+(?:\([\w\d]+\)|(?:[^[:punct:]\s]|/))#';
|
||||
$urlMatches = array();
|
||||
preg_match_all( $urlRegex, $content, $urlMatches );
|
||||
if ( ! empty( $urlMatches[0] ) ) {
|
||||
foreach ( $urlMatches[0] as $url ) {
|
||||
$idsMatches = array();
|
||||
preg_match_all( '/id\=(?P<id>\d+)/', $url, $idsMatches );
|
||||
if ( ! empty( $idsMatches['id'] ) ) {
|
||||
$this->remaps = true;
|
||||
$vals = array_map( 'intval', $idsMatches['id'] );
|
||||
$content = $this->remapAttachmentUrls( $attachments, $content, $url, $vals );
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
return $content;
|
||||
}
|
||||
|
||||
protected function remapAttachmentUrls( $attachments, $content, $url, $vals ) {
|
||||
foreach ( $vals as $oldAttachmentId ) {
|
||||
if ( isset( $attachments[ $oldAttachmentId ] ) ) {
|
||||
$newUrl = wp_get_attachment_url( $attachments[ $oldAttachmentId ] );
|
||||
$content = str_replace( $url, $newUrl . '?id=' . $attachments[ $oldAttachmentId ], $content );
|
||||
}
|
||||
}
|
||||
|
||||
return $content;
|
||||
}
|
||||
|
||||
protected function shortcodeAttributes( $shortcode, $attributes, $newQuery, $attachments ) {
|
||||
$replacements = 0;
|
||||
foreach ( $attributes as $attribute ) {
|
||||
// for example in vc_single_image 'image' attribute
|
||||
if ( isset( $shortcode['attrs'][ $attribute ] ) ) {
|
||||
$attributeValue = $shortcode['attrs'][ $attribute ];
|
||||
$attributeValues = explode( ',', $attributeValue );
|
||||
$newValues = $attributeValues;
|
||||
array_walk( $newValues, array(
|
||||
$this,
|
||||
'attributesWalker',
|
||||
), array(
|
||||
'attachments' => $attachments,
|
||||
) );
|
||||
$newAttributeValue = implode( ',', $newValues );
|
||||
$newQuery = str_replace( sprintf( '%s="%s"', $attribute, $attributeValue ), sprintf( '%s="%s"', $attribute, $newAttributeValue ), $newQuery );
|
||||
$replacements ++;
|
||||
}
|
||||
}
|
||||
if ( $replacements ) {
|
||||
return $newQuery;
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
public function attributesWalker( &$attributeValue, $key, $data ) {
|
||||
$intValue = intval( $attributeValue );
|
||||
if ( array_key_exists( $intValue, $data['attachments'] ) ) {
|
||||
$attributeValue = $data['attachments'][ $intValue ];
|
||||
}
|
||||
}
|
||||
|
||||
private function parseShortcodes( $content ) {
|
||||
WPBMap::addAllMappedShortcodes();
|
||||
preg_match_all( '/' . get_shortcode_regex() . '/', trim( $content ), $found );
|
||||
|
||||
if ( count( $found[2] ) === 0 ) {
|
||||
return $this->idsRemap;
|
||||
}
|
||||
foreach ( $found[2] as $index => $tag ) {
|
||||
$content = $found[5][ $index ];
|
||||
$shortcode = array(
|
||||
'tag' => $tag,
|
||||
'attrs_query' => $found[3][ $index ],
|
||||
'attrs' => shortcode_parse_atts( $found[3][ $index ] ),
|
||||
);
|
||||
if ( array_key_exists( $tag, $this->shortcodes ) ) {
|
||||
$this->idsRemap[] = $shortcode;
|
||||
}
|
||||
$this->idsRemap = $this->parseShortcodes( $content );
|
||||
}
|
||||
|
||||
return $this->idsRemap;
|
||||
}
|
||||
}
|
||||
+608
@@ -0,0 +1,608 @@
|
||||
<?php
|
||||
if ( ! defined( 'ABSPATH' ) ) {
|
||||
die( '-1' );
|
||||
}
|
||||
|
||||
/*
|
||||
* Modified by WPBakery Page Builder team
|
||||
WordPress Importer
|
||||
http://wordpress.org/extend/plugins/wordpress-importer/
|
||||
Description: Import posts, pages, comments, custom fields, categories, tags and more from a WordPress export file.
|
||||
Author: wordpressdotorg
|
||||
Author URI: http://wordpress.org/
|
||||
Version: 0.6.3 with fixes and enchancements from WPBakery Page Builder
|
||||
Text Domain: wordpress-importer
|
||||
License: GPL version 2 or later - http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
|
||||
*/
|
||||
|
||||
// Load Importer API
|
||||
require_once ABSPATH . 'wp-admin/includes/import.php';
|
||||
|
||||
if ( ! class_exists( 'WP_Importer' ) ) {
|
||||
$class_wp_importer = ABSPATH . 'wp-admin/includes/class-wp-importer.php';
|
||||
if ( file_exists( $class_wp_importer ) ) {
|
||||
require $class_wp_importer;
|
||||
}
|
||||
}
|
||||
|
||||
// include WXR file parsers
|
||||
require_once dirname( __FILE__ ) . '/parsers.php';
|
||||
|
||||
/**
|
||||
* WordPress Importer class for managing the import process of a WXR file
|
||||
*
|
||||
* @package WordPress
|
||||
* @subpackage Importer
|
||||
*/
|
||||
if ( class_exists( 'WP_Importer' ) ) {
|
||||
class Vc_WP_Import extends WP_Importer {
|
||||
public $max_wxr_version = 1.2; // max. supported WXR version
|
||||
|
||||
public $id; // WXR attachment ID
|
||||
|
||||
// information to import from WXR file
|
||||
public $version;
|
||||
public $posts = array();
|
||||
public $base_url = '';
|
||||
|
||||
// mappings from old information to new
|
||||
public $processed_posts = array();
|
||||
public $processed_attachments = array();
|
||||
public $post_orphans = array();
|
||||
|
||||
public $fetch_attachments = true;
|
||||
public $url_remap = array();
|
||||
public $featured_images = array();
|
||||
|
||||
/**
|
||||
* The main controller for the actual import stage.
|
||||
*
|
||||
* @param string $file Path to the WXR file for importing
|
||||
*/
|
||||
public function import( $file ) {
|
||||
add_filter( 'vc_import_post_meta_key', array(
|
||||
$this,
|
||||
'is_valid_meta_key',
|
||||
) );
|
||||
add_filter( 'http_request_timeout', array(
|
||||
$this,
|
||||
'bump_request_timeout',
|
||||
) );
|
||||
|
||||
$this->import_start( $file );
|
||||
|
||||
wp_suspend_cache_invalidation( true );
|
||||
$this->process_posts();
|
||||
wp_suspend_cache_invalidation( false );
|
||||
|
||||
// update incorrect/missing information in the DB
|
||||
$this->backfill_parents();
|
||||
$this->backfill_attachment_urls();
|
||||
$this->remap_featured_images();
|
||||
do_action( 'vc_import_pre_end', $this );
|
||||
$this->import_end();
|
||||
}
|
||||
|
||||
/**
|
||||
* Parses the WXR file and prepares us for the task of processing parsed data
|
||||
*
|
||||
* @param string $file Path to the WXR file for importing
|
||||
*/
|
||||
public function import_start( $file ) {
|
||||
if ( ! is_file( $file ) ) {
|
||||
echo '<p><strong>' . __( 'Sorry, there has been an error.', 'wordpress-importer' ) . '</strong><br />';
|
||||
echo __( 'The file does not exist, please try again.', 'wordpress-importer' ) . '</p>';
|
||||
die();
|
||||
}
|
||||
|
||||
$import_data = $this->parse( $file );
|
||||
|
||||
if ( is_wp_error( $import_data ) ) {
|
||||
echo '<p><strong>' . __( 'Sorry, there has been an error.', 'wordpress-importer' ) . '</strong><br />';
|
||||
/** @var \WP_Error $import_data */
|
||||
echo esc_html( $import_data->get_error_message() ) . '</p>';
|
||||
die();
|
||||
}
|
||||
|
||||
$this->version = $import_data['version'];
|
||||
$this->posts = $import_data['posts'];
|
||||
$this->base_url = esc_url( $import_data['base_url'] );
|
||||
|
||||
wp_defer_term_counting( true );
|
||||
wp_defer_comment_counting( true );
|
||||
|
||||
do_action( 'vc_import_start' );
|
||||
}
|
||||
|
||||
/**
|
||||
* Performs post-import cleanup of files and the cache
|
||||
*/
|
||||
public function import_end() {
|
||||
wp_import_cleanup( $this->id );
|
||||
|
||||
wp_cache_flush();
|
||||
foreach ( get_taxonomies() as $tax ) {
|
||||
delete_option( "{$tax}_children" );
|
||||
_get_term_hierarchy( $tax );
|
||||
}
|
||||
|
||||
wp_defer_term_counting( false );
|
||||
wp_defer_comment_counting( false );
|
||||
|
||||
do_action( 'vc_import_end' );
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
/**
|
||||
* Handles the WXR upload and initial parsing of the file to prepare for
|
||||
* displaying author import options
|
||||
*
|
||||
* @return bool False if error uploading or invalid file, true otherwise
|
||||
*/
|
||||
public function handle_upload() {
|
||||
$file = wp_import_handle_upload();
|
||||
|
||||
if ( isset( $file['error'] ) ) {
|
||||
echo '<p><strong>' . __( 'Sorry, there has been an error.', 'wordpress-importer' ) . '</strong><br />';
|
||||
echo esc_html( $file['error'] ) . '</p>';
|
||||
|
||||
return false;
|
||||
} else if ( ! file_exists( $file['file'] ) ) {
|
||||
echo '<p><strong>' . __( 'Sorry, there has been an error.', 'wordpress-importer' ) . '</strong><br />';
|
||||
printf( __( 'The export file could not be found at <code>%s</code>. It is likely that this was caused by a permissions problem.', 'wordpress-importer' ), esc_html( $file['file'] ) );
|
||||
echo '</p>';
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
$this->id = (int) $file['id'];
|
||||
$import_data = $this->parse( $file['file'] );
|
||||
if ( is_wp_error( $import_data ) ) {
|
||||
echo '<p><strong>' . __( 'Sorry, there has been an error.', 'wordpress-importer' ) . '</strong><br />';
|
||||
/** @var \WP_Error $import_data */
|
||||
echo esc_html( $import_data->get_error_message() ) . '</p>';
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
$this->version = $import_data['version'];
|
||||
if ( $this->version > $this->max_wxr_version ) {
|
||||
echo '<div class="error"><p><strong>';
|
||||
printf( __( 'This WXR file (version %s) may not be supported by this version of the importer. Please consider updating.', 'wordpress-importer' ), esc_html( $import_data['version'] ) );
|
||||
echo '</strong></p></div>';
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
/**
|
||||
* Create new posts based on import information
|
||||
*
|
||||
* Posts marked as having a parent which doesn't exist will become top level items.
|
||||
* Doesn't create a new post if: the post type doesn't exist, the given post ID
|
||||
* is already noted as imported or a post with the same title and date already exists.
|
||||
* Note that new/updated terms, comments and meta are imported for the last of the above.
|
||||
*/
|
||||
public function process_posts() {
|
||||
$status = array();
|
||||
$this->posts = apply_filters( 'vc_import_posts', $this->posts );
|
||||
if ( is_array( $this->posts ) && ! empty( $this->posts ) ) {
|
||||
foreach ( $this->posts as $post ) {
|
||||
$post = apply_filters( 'vc_import_post_data_raw', $post );
|
||||
|
||||
if ( ! post_type_exists( $post['post_type'] ) ) {
|
||||
$status[] = array(
|
||||
'success' => false,
|
||||
'code' => 'invalid_post_type',
|
||||
'post' => $post,
|
||||
);
|
||||
do_action( 'vc_import_post_exists', $post );
|
||||
continue;
|
||||
}
|
||||
|
||||
if ( isset( $this->processed_posts[ $post['post_id'] ] ) && ! empty( $post['post_id'] ) ) {
|
||||
continue;
|
||||
}
|
||||
|
||||
if ( 'auto-draft' == $post['status'] ) {
|
||||
continue;
|
||||
}
|
||||
|
||||
$post_parent = (int) $post['post_parent'];
|
||||
if ( $post_parent ) {
|
||||
// if we already know the parent, map it to the new local ID
|
||||
if ( isset( $this->processed_posts[ $post_parent ] ) ) {
|
||||
$post_parent = $this->processed_posts[ $post_parent ];
|
||||
// otherwise record the parent for later
|
||||
} else {
|
||||
$this->post_orphans[ intval( $post['post_id'] ) ] = $post_parent;
|
||||
$post_parent = 0;
|
||||
}
|
||||
}
|
||||
|
||||
// map the post author
|
||||
$author = (int) get_current_user_id();
|
||||
|
||||
$postdata = array(
|
||||
// 'import_id' => $post['post_id'], // VC: Make the ID always to be new!
|
||||
'post_author' => $author,
|
||||
'post_date' => $post['post_date'],
|
||||
'post_date_gmt' => $post['post_date_gmt'],
|
||||
'post_content' => $post['post_content'],
|
||||
'post_excerpt' => $post['post_excerpt'],
|
||||
'post_title' => $post['post_title'],
|
||||
'post_status' => $post['status'],
|
||||
'post_name' => $post['post_name'],
|
||||
'comment_status' => $post['comment_status'],
|
||||
'ping_status' => $post['ping_status'],
|
||||
'guid' => $post['guid'],
|
||||
'post_parent' => $post_parent,
|
||||
'menu_order' => $post['menu_order'],
|
||||
'post_type' => $post['post_type'],
|
||||
'post_password' => $post['post_password'],
|
||||
);
|
||||
|
||||
$original_post_ID = $post['post_id'];
|
||||
$postdata = apply_filters( 'vc_import_post_data_processed', $postdata, $post, $this );
|
||||
|
||||
$postdata = wp_slash( $postdata );
|
||||
|
||||
if ( 'attachment' == $postdata['post_type'] ) {
|
||||
$remote_url = ! empty( $post['attachment_url'] ) ? $post['attachment_url'] : $post['guid'];
|
||||
|
||||
// try to use _wp_attached file for upload folder placement to ensure the same location as the export site
|
||||
// e.g. location is 2003/05/image.jpg but the attachment post_date is 2010/09, see media_handle_upload()
|
||||
$postdata['upload_date'] = $post['post_date'];
|
||||
if ( isset( $post['postmeta'] ) ) {
|
||||
foreach ( $post['postmeta'] as $meta ) {
|
||||
if ( '_wp_attached_file' == $meta['key'] ) {
|
||||
if ( preg_match( '%^[0-9]{4}/[0-9]{2}%', $meta['value'], $matches ) ) {
|
||||
$postdata['upload_date'] = $matches[0];
|
||||
}
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
$post_id = $this->process_attachment( $postdata, $remote_url, $original_post_ID );
|
||||
} else {
|
||||
$post_id = wp_insert_post( $postdata, true );
|
||||
do_action( 'vc_import_insert_post', $post_id, $original_post_ID, $postdata, $post );
|
||||
// map pre-import ID to local ID
|
||||
$this->processed_posts[ intval( $post['post_id'] ) ] = (int) $post_id;
|
||||
}
|
||||
|
||||
if ( is_wp_error( $post_id ) ) {
|
||||
$status[] = array(
|
||||
'success' => false,
|
||||
'code' => 'wp_error',
|
||||
'post' => $post_id,
|
||||
);
|
||||
continue;
|
||||
}
|
||||
|
||||
if ( 1 == $post['is_sticky'] ) {
|
||||
stick_post( $post_id );
|
||||
}
|
||||
|
||||
if ( ! isset( $post['postmeta'] ) ) {
|
||||
$post['postmeta'] = array();
|
||||
}
|
||||
|
||||
$post['postmeta'] = apply_filters( 'vc_import_post_meta', $post['postmeta'], $post_id, $post );
|
||||
|
||||
// add/update post meta
|
||||
if ( ! empty( $post['postmeta'] ) ) {
|
||||
foreach ( $post['postmeta'] as $meta ) {
|
||||
$key = apply_filters( 'vc_import_post_meta_key', $meta['key'], $post_id, $post );
|
||||
$value = false;
|
||||
|
||||
if ( '_edit_last' == $key ) {
|
||||
$key = false;
|
||||
}
|
||||
|
||||
if ( $key ) {
|
||||
// export gets meta straight from the DB so could have a serialized string
|
||||
if ( ! $value ) {
|
||||
$value = maybe_unserialize( $meta['value'] );
|
||||
}
|
||||
|
||||
add_post_meta( $post_id, $key, $value );
|
||||
do_action( 'vc_import_post_meta', $post_id, $key, $value );
|
||||
|
||||
// if the post has a featured image, take note of this in case of remap
|
||||
if ( '_thumbnail_id' == $key ) {
|
||||
$this->featured_images[ $post_id ] = (int) $value;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
unset( $this->posts );
|
||||
|
||||
return $status;
|
||||
}
|
||||
|
||||
/**
|
||||
* If fetching attachments is enabled then attempt to create a new attachment
|
||||
*
|
||||
* @param array $post Attachment post details from WXR
|
||||
* @param string $url URL to fetch attachment from
|
||||
* @param $original_post_ID
|
||||
* @return int|\WP_Error Post ID on success, WP_Error otherwise
|
||||
*/
|
||||
public function process_attachment( $post, $url, $original_post_ID ) {
|
||||
if ( ! $this->fetch_attachments ) {
|
||||
return new WP_Error( 'attachment_processing_error', __( 'Fetching attachments is not enabled', 'wordpress-importer' ) );
|
||||
}
|
||||
|
||||
// if the URL is absolute, but does not contain address, then upload it assuming base_site_url
|
||||
if ( preg_match( '|^/[\w\W]+$|', $url ) ) {
|
||||
$url = rtrim( $this->base_url, '/' ) . $url;
|
||||
}
|
||||
|
||||
$upload = $this->fetch_remote_file( $url, $post );
|
||||
if ( is_wp_error( $upload ) ) {
|
||||
return $upload;
|
||||
}
|
||||
|
||||
if ( $info = wp_check_filetype( $upload['file'] ) ) {
|
||||
$post['post_mime_type'] = $info['type'];
|
||||
} else {
|
||||
return new WP_Error( 'attachment_processing_error', __( 'Invalid file type', 'wordpress-importer' ) );
|
||||
}
|
||||
|
||||
$post['guid'] = $upload['url'];
|
||||
|
||||
// as per wp-admin/includes/upload.php
|
||||
$post_id = wp_insert_attachment( $post, $upload['file'] );
|
||||
wp_update_attachment_metadata( $post_id, wp_generate_attachment_metadata( $post_id, $upload['file'] ) );
|
||||
|
||||
// remap resized image URLs, works by stripping the extension and remapping the URL stub.
|
||||
if ( preg_match( '!^image/!', $info['type'] ) ) {
|
||||
$parts = pathinfo( $url );
|
||||
$name = basename( $parts['basename'], ".{$parts['extension']}" ); // PATHINFO_FILENAME in PHP 5.2
|
||||
|
||||
$parts_new = pathinfo( $upload['url'] );
|
||||
$name_new = basename( $parts_new['basename'], ".{$parts_new['extension']}" );
|
||||
|
||||
$this->url_remap[ $parts['dirname'] . '/' . $name ] = $parts_new['dirname'] . '/' . $name_new;
|
||||
}
|
||||
$this->processed_attachments[ intval( $original_post_ID ) ] = (int) $post_id;
|
||||
|
||||
return $post_id;
|
||||
}
|
||||
|
||||
private function wp_get_http( $url, $file_path = false ) {
|
||||
@set_time_limit( 60 );
|
||||
|
||||
$options = array();
|
||||
$options['redirection'] = 5;
|
||||
|
||||
$options['method'] = 'GET';
|
||||
|
||||
$response = wp_safe_remote_request( $url, $options );
|
||||
|
||||
if ( is_wp_error( $response ) ) {
|
||||
return false;
|
||||
}
|
||||
|
||||
$headers = wp_remote_retrieve_headers( $response );
|
||||
$headers['response'] = wp_remote_retrieve_response_code( $response );
|
||||
|
||||
if ( false == $file_path ) {
|
||||
return $headers;
|
||||
}
|
||||
|
||||
// GET request - write it to the supplied filename
|
||||
$out_fp = fopen( $file_path, 'w' );
|
||||
if ( ! $out_fp ) {
|
||||
return $headers;
|
||||
}
|
||||
|
||||
fwrite( $out_fp, wp_remote_retrieve_body( $response ) );
|
||||
fclose( $out_fp );
|
||||
clearstatcache();
|
||||
|
||||
return $headers;
|
||||
}
|
||||
|
||||
/**
|
||||
* Attempt to download a remote file attachment
|
||||
*
|
||||
* @param string $url URL of item to fetch
|
||||
* @param array $post Attachment details
|
||||
* @return array|WP_Error Local file location details on success, WP_Error otherwise
|
||||
*/
|
||||
public function fetch_remote_file( $url, $post ) {
|
||||
// extract the file name and extension from the url
|
||||
$file_name = basename( $url );
|
||||
|
||||
// get placeholder file in the upload dir with a unique, sanitized filename
|
||||
$upload = wp_upload_bits( $file_name, 0, '', $post['upload_date'] );
|
||||
if ( $upload['error'] ) {
|
||||
return new WP_Error( 'upload_dir_error', $upload['error'] );
|
||||
}
|
||||
|
||||
// fetch the remote url and write it to the placeholder file
|
||||
$headers = $this->wp_get_http( $url, $upload['file'] );
|
||||
|
||||
// request failed
|
||||
if ( ! $headers ) {
|
||||
@unlink( $upload['file'] );
|
||||
|
||||
return new WP_Error( 'import_file_error', __( 'Remote server did not respond', 'wordpress-importer' ) );
|
||||
}
|
||||
|
||||
// make sure the fetch was successful
|
||||
if ( '200' != $headers['response'] ) {
|
||||
@unlink( $upload['file'] );
|
||||
|
||||
return new WP_Error( 'import_file_error', sprintf( __( 'Remote server returned error response %1$d %2$s', 'wordpress-importer' ), esc_html( $headers['response'] ), get_status_header_desc( $headers['response'] ) ) );
|
||||
}
|
||||
|
||||
$filesize = filesize( $upload['file'] );
|
||||
|
||||
if ( isset( $headers['content-length'] ) && $filesize != $headers['content-length'] ) {
|
||||
@unlink( $upload['file'] );
|
||||
|
||||
return new WP_Error( 'import_file_error', __( 'Remote file is incorrect size', 'wordpress-importer' ) );
|
||||
}
|
||||
|
||||
if ( 0 == $filesize ) {
|
||||
@unlink( $upload['file'] );
|
||||
|
||||
return new WP_Error( 'import_file_error', __( 'Zero size file downloaded', 'wordpress-importer' ) );
|
||||
}
|
||||
|
||||
$max_size = (int) $this->max_attachment_size();
|
||||
if ( ! empty( $max_size ) && $filesize > $max_size ) {
|
||||
@unlink( $upload['file'] );
|
||||
|
||||
return new WP_Error( 'import_file_error', sprintf( __( 'Remote file is too large, limit is %s', 'wordpress-importer' ), size_format( $max_size ) ) );
|
||||
}
|
||||
|
||||
// keep track of the old and new urls so we can substitute them later
|
||||
$this->url_remap[ $url ] = $upload['url'];
|
||||
$this->url_remap[ $post['guid'] ] = $upload['url']; // r13735, really needed?
|
||||
// keep track of the destination if the remote url is redirected somewhere else
|
||||
if ( isset( $headers['x-final-location'] ) && $headers['x-final-location'] != $url ) {
|
||||
$this->url_remap[ $headers['x-final-location'] ] = $upload['url'];
|
||||
}
|
||||
|
||||
return $upload;
|
||||
}
|
||||
|
||||
/**
|
||||
* Attempt to associate posts and menu items with previously missing parents
|
||||
*
|
||||
* An imported post's parent may not have been imported when it was first created
|
||||
* so try again. Similarly for child menu items and menu items which were missing
|
||||
* the object (e.g. post) they represent in the menu
|
||||
*/
|
||||
public function backfill_parents() {
|
||||
global $wpdb;
|
||||
|
||||
// find parents for post orphans
|
||||
foreach ( $this->post_orphans as $child_id => $parent_id ) {
|
||||
$local_child_id = $local_parent_id = false;
|
||||
if ( isset( $this->processed_posts[ $child_id ] ) ) {
|
||||
$local_child_id = $this->processed_posts[ $child_id ];
|
||||
}
|
||||
if ( isset( $this->processed_posts[ $parent_id ] ) ) {
|
||||
$local_parent_id = $this->processed_posts[ $parent_id ];
|
||||
}
|
||||
|
||||
if ( $local_child_id && $local_parent_id ) {
|
||||
$wpdb->update( $wpdb->posts, array( 'post_parent' => $local_parent_id ), array( 'ID' => $local_child_id ), '%d', '%d' );
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Use stored mapping information to update old attachment URLs
|
||||
*/
|
||||
public function backfill_attachment_urls() {
|
||||
global $wpdb;
|
||||
// make sure we do the longest urls first, in case one is a substring of another
|
||||
uksort( $this->url_remap, array(
|
||||
$this,
|
||||
'cmpr_strlen',
|
||||
) );
|
||||
|
||||
foreach ( $this->url_remap as $from_url => $to_url ) {
|
||||
// remap urls in post_content
|
||||
$wpdb->query( $wpdb->prepare( "UPDATE {$wpdb->posts} SET post_content = REPLACE(post_content, %s, %s)", $from_url, $to_url ) );
|
||||
// remap enclosure urls
|
||||
$wpdb->query( $wpdb->prepare( "UPDATE {$wpdb->postmeta} SET meta_value = REPLACE(meta_value, %s, %s) WHERE meta_key='enclosure'", $from_url, $to_url ) );
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Update _thumbnail_id meta to new, imported attachment IDs
|
||||
*/
|
||||
public function remap_featured_images() {
|
||||
// cycle through posts that have a featured image
|
||||
foreach ( $this->featured_images as $post_id => $value ) {
|
||||
if ( isset( $this->processed_posts[ $value ] ) ) {
|
||||
$new_id = $this->processed_posts[ $value ];
|
||||
// only update if there's a difference
|
||||
if ( $new_id != $value ) {
|
||||
update_post_meta( $post_id, '_thumbnail_id', $new_id );
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Parse a WXR file
|
||||
*
|
||||
* @param string $file Path to WXR file for parsing
|
||||
* @return array Information gathered from the WXR file
|
||||
*/
|
||||
public function parse( $file ) {
|
||||
$parser = new Vc_WXR_Parser();
|
||||
|
||||
return $parser->parse( $file );
|
||||
}
|
||||
|
||||
/**
|
||||
* Decide if the given meta key maps to information we will want to import
|
||||
*
|
||||
* @param string $key The meta key to check
|
||||
* @return string|bool The key if we do want to import, false if not
|
||||
*/
|
||||
public function is_valid_meta_key( $key ) {
|
||||
// skip attachment metadata since we'll regenerate it from scratch
|
||||
// skip _edit_lock as not relevant for import
|
||||
if ( in_array( $key, array(
|
||||
'_wp_attached_file',
|
||||
'_wp_attachment_metadata',
|
||||
'_edit_lock',
|
||||
) ) ) {
|
||||
return false;
|
||||
}
|
||||
|
||||
return $key;
|
||||
}
|
||||
|
||||
/**
|
||||
* Decide whether or not the importer is allowed to create users.
|
||||
* Default is true, can be filtered via import_allow_create_users
|
||||
*
|
||||
* @return bool True if creating users is allowed
|
||||
*/
|
||||
public function allow_create_users() {
|
||||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
* Decide whether or not the importer should attempt to download attachment files.
|
||||
* Default is true, can be filtered via import_allow_fetch_attachments. The choice
|
||||
* made at the import options screen must also be true, false here hides that checkbox.
|
||||
*
|
||||
* @return bool True if downloading attachments is allowed
|
||||
*/
|
||||
public function allow_fetch_attachments() {
|
||||
return apply_filters( 'vc_import_allow_fetch_attachments', true );
|
||||
}
|
||||
|
||||
/**
|
||||
* Decide what the maximum file size for downloaded attachments is.
|
||||
* Default is 0 (unlimited), can be filtered via import_attachment_size_limit
|
||||
*
|
||||
* @return int Maximum attachment file size to import
|
||||
*/
|
||||
public function max_attachment_size() {
|
||||
return apply_filters( 'vc_import_attachment_size_limit', 0 );
|
||||
}
|
||||
|
||||
// return the difference in length between two strings
|
||||
public function cmpr_strlen( $a, $b ) {
|
||||
return strlen( $b ) - strlen( $a );
|
||||
}
|
||||
}
|
||||
|
||||
} // class_exists( 'WP_Importer' )
|
||||
+101
@@ -0,0 +1,101 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?><!-- This is a WordPress eXtended RSS file generated by WordPress as an export of your site. -->
|
||||
<!-- It contains information about your site's posts, pages, comments, categories, and other content. -->
|
||||
<!-- You may use this file to transfer that content from one site to another. -->
|
||||
<!-- This file is not intended to serve as a complete backup of your site. -->
|
||||
|
||||
<!-- To import this information into a WordPress site follow these steps: -->
|
||||
<!-- 1. Log in to that site as an administrator. -->
|
||||
<!-- 2. Go to Tools: Import in the WordPress admin panel. -->
|
||||
<!-- 3. Install the "WordPress" importer from the list. -->
|
||||
<!-- 4. Activate & Run Importer. -->
|
||||
<!-- 5. Upload this file using the form provided on that page. -->
|
||||
<!-- 6. You will first be asked to map the authors in this export file to users -->
|
||||
<!-- on the site. For each author, you may choose to map to an -->
|
||||
<!-- existing user on the site or to create a new user. -->
|
||||
<!-- 7. WordPress will then import each of the posts, pages, comments, categories, etc. -->
|
||||
<!-- contained in this file into your site. -->
|
||||
<!-- generator="WordPress/4.6.1" created="2016-11-02 15:23" -->
|
||||
<rss version="2.0"
|
||||
xmlns:excerpt="http://wordpress.org/export/1.2/excerpt/"
|
||||
xmlns:content="http://purl.org/rss/1.0/modules/content/"
|
||||
xmlns:wfw="http://wellformedweb.org/CommentAPI/"
|
||||
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
||||
xmlns:wp="http://wordpress.org/export/1.2/"
|
||||
>
|
||||
|
||||
<channel>
|
||||
<title>WPBakery</title>
|
||||
<link>http://localhost</link>
|
||||
<description>Fun and Test</description>
|
||||
<pubDate>Wed, 02 Nov 2016 15:23:30 +0000</pubDate>
|
||||
<language>en-US</language>
|
||||
<wp:wxr_version>1.2</wp:wxr_version>
|
||||
<wp:base_site_url>http://localhost</wp:base_site_url>
|
||||
<wp:base_blog_url>http://localhost</wp:base_blog_url>
|
||||
|
||||
<item>
|
||||
<title><![CDATA[Hero Section With Overlay]]></title>
|
||||
<link></link>
|
||||
<pubDate></pubDate>
|
||||
<dc:creator><![CDATA[admin]]></dc:creator>
|
||||
<guid isPermaLink="false">http://vc4.dev/?post_type=vc4_templates&p=6</guid>
|
||||
<description/>
|
||||
<content:encoded><![CDATA[[vc_row full_width="stretch_row" css=".vc_custom_1475570447945{padding-top: 100px !important;padding-bottom: 100px !important;background-image: url(http://localhost/wp-content/uploads/2015/09/01-12.jpg?id=3279) !important;background-position: center !important;background-repeat: no-repeat !important;background-size: cover !important;}"][vc_column][vc_row_inner equal_height="yes" content_placement="middle" css=".vc_custom_1475066539012{padding-top: 50px !important;padding-right: 50px !important;padding-bottom: 50px !important;padding-left: 50px !important;background-color: rgba(45,45,45,0.9) !important;*background-color: rgb(45,45,45) !important;border-radius: 25px !important;}"][vc_column_inner width="1/3"][vc_icon type="material" icon_material="vc-material vc-material-format_shapes" color="white" size="xl" align="center"][/vc_column_inner][vc_column_inner width="2/3"][vc_custom_heading text="Visual Language of Shapes" font_container="tag:h1|text_align:left|color:%23ffffff" use_theme_fonts="yes"][vc_column_text]<span style="color: #e6e6e6;">Abstract art, nonfigurative art, nonobjective art, and nonrepresentational art are loosely related terms. They are similar, but perhaps not of identical meaning.</span>
|
||||
|
||||
<span style="color: #ffffff;"><span style="color: #e6e6e6;">Abstraction indicates a departure from reality in depiction of imagery in art.</span> </span>[/vc_column_text][vc_btn title="Full article" style="outline" shape="round"][/vc_column_inner][/vc_row_inner][/vc_column][/vc_row]]]></content:encoded>
|
||||
<excerpt:encoded><![CDATA[]]></excerpt:encoded>
|
||||
<wp:post_id>1</wp:post_id>
|
||||
<wp:post_date></wp:post_date>
|
||||
<wp:post_date_gmt></wp:post_date_gmt>
|
||||
<wp:comment_status><![CDATA[closed]]></wp:comment_status>
|
||||
<wp:ping_status><![CDATA[closed]]></wp:ping_status>
|
||||
<wp:post_name><![CDATA[Hero Section With Overlay]]></wp:post_name>
|
||||
<wp:status><![CDATA[publish]]></wp:status>
|
||||
<wp:post_parent>0</wp:post_parent>
|
||||
<wp:menu_order>0</wp:menu_order>
|
||||
<wp:post_type><![CDATA[vc4_templates]]></wp:post_type>
|
||||
<wp:post_password><![CDATA[]]></wp:post_password>
|
||||
<wp:is_sticky>0</wp:is_sticky>
|
||||
<wp:postmeta>
|
||||
<wp:meta_key><![CDATA[_vc4_templates-version]]></wp:meta_key>
|
||||
<wp:meta_value><![CDATA[1]]></wp:meta_value>
|
||||
</wp:postmeta>
|
||||
<wp:postmeta>
|
||||
<wp:meta_key><![CDATA[_vc4_templates-id]]></wp:meta_key>
|
||||
<wp:meta_value><![CDATA[05333a00-a132-11e6-81e4-f1ebef74de8a]]></wp:meta_value>
|
||||
</wp:postmeta>
|
||||
</item>
|
||||
<item>
|
||||
<title>01</title>
|
||||
<link></link>
|
||||
<pubDate></pubDate>
|
||||
<dc:creator><![CDATA[RaitisSevelis]]></dc:creator>
|
||||
<guid isPermaLink="false"></guid>
|
||||
<description></description>
|
||||
<content:encoded><![CDATA[]]></content:encoded>
|
||||
<excerpt:encoded><![CDATA[]]></excerpt:encoded>
|
||||
<wp:post_id>3279</wp:post_id>
|
||||
<wp:post_date><![CDATA[2016-10-04 08:40:45]]></wp:post_date>
|
||||
<wp:post_date_gmt><![CDATA[2016-10-04 08:40:45]]></wp:post_date_gmt>
|
||||
<wp:comment_status><![CDATA[open]]></wp:comment_status>
|
||||
<wp:ping_status><![CDATA[closed]]></wp:ping_status>
|
||||
<wp:post_name><![CDATA[01-13]]></wp:post_name>
|
||||
<wp:status><![CDATA[inherit]]></wp:status>
|
||||
<wp:post_parent>2602</wp:post_parent>
|
||||
<wp:menu_order>0</wp:menu_order>
|
||||
<wp:post_type><![CDATA[attachment]]></wp:post_type>
|
||||
<wp:post_password><![CDATA[]]></wp:post_password>
|
||||
<wp:is_sticky>0</wp:is_sticky>
|
||||
<wp:attachment_url><![CDATA[https://vc-cc-static.s3-us-west-2.amazonaws.com/templates/05333a00-a132-11e6-81e4-f1ebef74de8a/assets/hero-section-with-overlay-3279.jpg]]></wp:attachment_url>
|
||||
<wp:attachment_real_url><![CDATA[http://localhost/wp-content/uploads/2015/09/01-12.jpg]]></wp:attachment_real_url>
|
||||
<wp:postmeta>
|
||||
<wp:meta_key><![CDATA[_wp_attached_file]]></wp:meta_key>
|
||||
<wp:meta_value><![CDATA[2015/09/01-12.jpg]]></wp:meta_value>
|
||||
</wp:postmeta>
|
||||
<wp:postmeta>
|
||||
<wp:meta_key><![CDATA[_wp_attachment_metadata]]></wp:meta_key>
|
||||
<wp:meta_value><![CDATA[a:5:{s:5:"width";i:1280;s:6:"height";i:960;s:4:"file";s:17:"2015/09/01-12.jpg";s:5:"sizes";a:6:{s:9:"thumbnail";a:4:{s:4:"file";s:17:"01-12-150x150.jpg";s:5:"width";i:150;s:6:"height";i:150;s:9:"mime-type";s:10:"image/jpeg";}s:6:"medium";a:4:{s:4:"file";s:17:"01-12-300x225.jpg";s:5:"width";i:300;s:6:"height";i:225;s:9:"mime-type";s:10:"image/jpeg";}s:12:"medium_large";a:4:{s:4:"file";s:17:"01-12-768x576.jpg";s:5:"width";i:768;s:6:"height";i:576;s:9:"mime-type";s:10:"image/jpeg";}s:5:"large";a:4:{s:4:"file";s:18:"01-12-1024x768.jpg";s:5:"width";i:1024;s:6:"height";i:768;s:9:"mime-type";s:10:"image/jpeg";}s:17:"dazzling-featured";a:4:{s:4:"file";s:17:"01-12-730x410.jpg";s:5:"width";i:730;s:6:"height";i:410;s:9:"mime-type";s:10:"image/jpeg";}s:9:"tab-small";a:4:{s:4:"file";s:15:"01-12-60x60.jpg";s:5:"width";i:60;s:6:"height";i:60;s:9:"mime-type";s:10:"image/jpeg";}}s:10:"image_meta";a:12:{s:8:"aperture";s:1:"0";s:6:"credit";s:0:"";s:6:"camera";s:0:"";s:7:"caption";s:0:"";s:17:"created_timestamp";s:1:"0";s:9:"copyright";s:0:"";s:12:"focal_length";s:1:"0";s:3:"iso";s:1:"0";s:13:"shutter_speed";s:1:"0";s:5:"title";s:0:"";s:11:"orientation";s:1:"0";s:8:"keywords";a:0:{}}}]]></wp:meta_value>
|
||||
</wp:postmeta>
|
||||
</item>
|
||||
</channel>
|
||||
</rss>
|
||||
+195
@@ -0,0 +1,195 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?><!-- This is a WordPress eXtended RSS file generated by WordPress as an export of your site. -->
|
||||
<!-- It contains information about your site's posts, pages, comments, categories, and other content. -->
|
||||
<!-- You may use this file to transfer that content from one site to another. -->
|
||||
<!-- This file is not intended to serve as a complete backup of your site. -->
|
||||
|
||||
<!-- To import this information into a WordPress site follow these steps: -->
|
||||
<!-- 1. Log in to that site as an administrator. -->
|
||||
<!-- 2. Go to Tools: Import in the WordPress admin panel. -->
|
||||
<!-- 3. Install the "WordPress" importer from the list. -->
|
||||
<!-- 4. Activate & Run Importer. -->
|
||||
<!-- 5. Upload this file using the form provided on that page. -->
|
||||
<!-- 6. You will first be asked to map the authors in this export file to users -->
|
||||
<!-- on the site. For each author, you may choose to map to an -->
|
||||
<!-- existing user on the site or to create a new user. -->
|
||||
<!-- 7. WordPress will then import each of the posts, pages, comments, categories, etc. -->
|
||||
<!-- contained in this file into your site. -->
|
||||
<!-- generator="WordPress/4.6.1" created="2016-11-02 15:23" -->
|
||||
<rss version="2.0"
|
||||
xmlns:excerpt="http://wordpress.org/export/1.2/excerpt/"
|
||||
xmlns:content="http://purl.org/rss/1.0/modules/content/"
|
||||
xmlns:wfw="http://wellformedweb.org/CommentAPI/"
|
||||
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
||||
xmlns:wp="http://wordpress.org/export/1.2/"
|
||||
>
|
||||
|
||||
<channel>
|
||||
<title>WPBakery</title>
|
||||
<link>http://localhost</link>
|
||||
<description>Fun and Test</description>
|
||||
<pubDate>Wed, 02 Nov 2016 15:23:53 +0000</pubDate>
|
||||
<language>en-US</language>
|
||||
<wp:wxr_version>1.2</wp:wxr_version>
|
||||
<wp:base_site_url>http://localhost</wp:base_site_url>
|
||||
<wp:base_blog_url>http://localhost</wp:base_blog_url>
|
||||
|
||||
<item>
|
||||
<title><![CDATA[Hero Section With Description]]></title>
|
||||
<link></link>
|
||||
<pubDate></pubDate>
|
||||
<dc:creator><![CDATA[admin]]></dc:creator>
|
||||
<guid isPermaLink="false">http://vc4.dev/?post_type=vc4_templates&p=6</guid>
|
||||
<description/>
|
||||
<content:encoded><![CDATA[[vc_row full_width="stretch_row" gap="25" equal_height="yes" content_placement="middle" css=".vc_custom_1476108705429{padding-top: 100px !important;padding-bottom: 100px !important;background-image: url(http://localhost/wp-content/uploads/2015/09/01-27.jpg?id=3320) !important;background-position: center !important;background-repeat: no-repeat !important;background-size: cover !important;}"][vc_column width="1/4"][/vc_column][vc_column width="2/4" css=".vc_custom_1476107690140{border: 3px solid #ffffff !important;}"][vc_custom_heading text="Valley of Wine" font_container="tag:h1|font_size:40|text_align:center|color:%23ffffff|line_height:1" use_theme_fonts="yes"][vc_column_text]<p style="text-align: center;"><span style="color: #ffffff;">There are also wines made from fermenting other fruits or cereals, whose names often specify their base, with some having specific names.</span></p>[/vc_column_text][/vc_column][vc_column width="1/4"][/vc_column][/vc_row][vc_row][vc_column][vc_separator color="chino" style="double" el_width="20"][/vc_column][/vc_row][vc_row][vc_column width="1/3"][vc_single_image image="3321" img_size="full" alignment="center" style="vc_box_rounded"][vc_column_text]<p style="text-align: center;">Wines made from plants other than grapes include rice wine and various fruit wines such as those made from plums or cherries.</p>[/vc_column_text][/vc_column][vc_column width="1/3"][vc_single_image image="3322" img_size="full" alignment="center" style="vc_box_rounded"][vc_column_text]<p style="text-align: center;">Some well known example are hard cider from apples, perry from pears, pomegranate wine, and elderberry wine.</p>[/vc_column_text][/vc_column][vc_column width="1/3"][vc_single_image image="3323" img_size="full" alignment="center" style="vc_box_rounded"][vc_column_text]<p style="text-align: center;">Some UK supermarkets have been criticised for selling “wine based” drinks, which only contain 75% wine, but which are still marketed as wine.</p>[/vc_column_text][/vc_column][/vc_row][vc_row][vc_column][vc_btn title="Read Full Story" style="flat" color="chino" align="center"][/vc_column][/vc_row]]]></content:encoded>
|
||||
<excerpt:encoded><![CDATA[]]></excerpt:encoded>
|
||||
<wp:post_id>1</wp:post_id>
|
||||
<wp:post_date></wp:post_date>
|
||||
<wp:post_date_gmt></wp:post_date_gmt>
|
||||
<wp:comment_status><![CDATA[closed]]></wp:comment_status>
|
||||
<wp:ping_status><![CDATA[closed]]></wp:ping_status>
|
||||
<wp:post_name><![CDATA[Hero Section With Description]]></wp:post_name>
|
||||
<wp:status><![CDATA[publish]]></wp:status>
|
||||
<wp:post_parent>0</wp:post_parent>
|
||||
<wp:menu_order>0</wp:menu_order>
|
||||
<wp:post_type><![CDATA[vc4_templates]]></wp:post_type>
|
||||
<wp:post_password><![CDATA[]]></wp:post_password>
|
||||
<wp:is_sticky>0</wp:is_sticky>
|
||||
<wp:postmeta>
|
||||
<wp:meta_key><![CDATA[_vc4_templates-version]]></wp:meta_key>
|
||||
<wp:meta_value><![CDATA[1]]></wp:meta_value>
|
||||
</wp:postmeta>
|
||||
<wp:postmeta>
|
||||
<wp:meta_key><![CDATA[_vc4_templates-id]]></wp:meta_key>
|
||||
<wp:meta_value><![CDATA[05e2ddc0-a133-11e6-9e58-b16d661d2a58]]></wp:meta_value>
|
||||
</wp:postmeta>
|
||||
</item>
|
||||
<item>
|
||||
<title>01</title>
|
||||
<link></link>
|
||||
<pubDate></pubDate>
|
||||
<dc:creator><![CDATA[RaitisSevelis]]></dc:creator>
|
||||
<guid isPermaLink="false"></guid>
|
||||
<description></description>
|
||||
<content:encoded><![CDATA[]]></content:encoded>
|
||||
<excerpt:encoded><![CDATA[]]></excerpt:encoded>
|
||||
<wp:post_id>3320</wp:post_id>
|
||||
<wp:post_date><![CDATA[2016-10-10 14:11:41]]></wp:post_date>
|
||||
<wp:post_date_gmt><![CDATA[2016-10-10 14:11:41]]></wp:post_date_gmt>
|
||||
<wp:comment_status><![CDATA[open]]></wp:comment_status>
|
||||
<wp:ping_status><![CDATA[closed]]></wp:ping_status>
|
||||
<wp:post_name><![CDATA[01-28]]></wp:post_name>
|
||||
<wp:status><![CDATA[inherit]]></wp:status>
|
||||
<wp:post_parent>2602</wp:post_parent>
|
||||
<wp:menu_order>0</wp:menu_order>
|
||||
<wp:post_type><![CDATA[attachment]]></wp:post_type>
|
||||
<wp:post_password><![CDATA[]]></wp:post_password>
|
||||
<wp:is_sticky>0</wp:is_sticky>
|
||||
<wp:attachment_url><![CDATA[https://vc-cc-static.s3-us-west-2.amazonaws.com/templates/05e2ddc0-a133-11e6-9e58-b16d661d2a58/assets/hero-section-with-description-3320.jpg]]></wp:attachment_url>
|
||||
<wp:attachment_real_url><![CDATA[http://localhost/wp-content/uploads/2015/09/01-27.jpg]]></wp:attachment_real_url>
|
||||
<wp:postmeta>
|
||||
<wp:meta_key><![CDATA[_wp_attached_file]]></wp:meta_key>
|
||||
<wp:meta_value><![CDATA[2015/09/01-27.jpg]]></wp:meta_value>
|
||||
</wp:postmeta>
|
||||
<wp:postmeta>
|
||||
<wp:meta_key><![CDATA[_wp_attachment_metadata]]></wp:meta_key>
|
||||
<wp:meta_value><![CDATA[a:5:{s:5:"width";i:1280;s:6:"height";i:600;s:4:"file";s:17:"2015/09/01-27.jpg";s:5:"sizes";a:6:{s:9:"thumbnail";a:4:{s:4:"file";s:17:"01-27-150x150.jpg";s:5:"width";i:150;s:6:"height";i:150;s:9:"mime-type";s:10:"image/jpeg";}s:6:"medium";a:4:{s:4:"file";s:17:"01-27-300x141.jpg";s:5:"width";i:300;s:6:"height";i:141;s:9:"mime-type";s:10:"image/jpeg";}s:12:"medium_large";a:4:{s:4:"file";s:17:"01-27-768x360.jpg";s:5:"width";i:768;s:6:"height";i:360;s:9:"mime-type";s:10:"image/jpeg";}s:5:"large";a:4:{s:4:"file";s:18:"01-27-1024x480.jpg";s:5:"width";i:1024;s:6:"height";i:480;s:9:"mime-type";s:10:"image/jpeg";}s:17:"dazzling-featured";a:4:{s:4:"file";s:17:"01-27-730x410.jpg";s:5:"width";i:730;s:6:"height";i:410;s:9:"mime-type";s:10:"image/jpeg";}s:9:"tab-small";a:4:{s:4:"file";s:15:"01-27-60x60.jpg";s:5:"width";i:60;s:6:"height";i:60;s:9:"mime-type";s:10:"image/jpeg";}}s:10:"image_meta";a:12:{s:8:"aperture";s:1:"0";s:6:"credit";s:0:"";s:6:"camera";s:0:"";s:7:"caption";s:0:"";s:17:"created_timestamp";s:1:"0";s:9:"copyright";s:0:"";s:12:"focal_length";s:1:"0";s:3:"iso";s:1:"0";s:13:"shutter_speed";s:1:"0";s:5:"title";s:0:"";s:11:"orientation";s:1:"0";s:8:"keywords";a:0:{}}}]]></wp:meta_value>
|
||||
</wp:postmeta>
|
||||
</item>
|
||||
<item>
|
||||
<title>02</title>
|
||||
<link></link>
|
||||
<pubDate></pubDate>
|
||||
<dc:creator><![CDATA[RaitisSevelis]]></dc:creator>
|
||||
<guid isPermaLink="false"></guid>
|
||||
<description></description>
|
||||
<content:encoded><![CDATA[]]></content:encoded>
|
||||
<excerpt:encoded><![CDATA[]]></excerpt:encoded>
|
||||
<wp:post_id>3321</wp:post_id>
|
||||
<wp:post_date><![CDATA[2016-10-10 14:49:30]]></wp:post_date>
|
||||
<wp:post_date_gmt><![CDATA[2016-10-10 14:49:30]]></wp:post_date_gmt>
|
||||
<wp:comment_status><![CDATA[open]]></wp:comment_status>
|
||||
<wp:ping_status><![CDATA[closed]]></wp:ping_status>
|
||||
<wp:post_name><![CDATA[02-18]]></wp:post_name>
|
||||
<wp:status><![CDATA[inherit]]></wp:status>
|
||||
<wp:post_parent>2602</wp:post_parent>
|
||||
<wp:menu_order>0</wp:menu_order>
|
||||
<wp:post_type><![CDATA[attachment]]></wp:post_type>
|
||||
<wp:post_password><![CDATA[]]></wp:post_password>
|
||||
<wp:is_sticky>0</wp:is_sticky>
|
||||
<wp:attachment_url><![CDATA[https://vc-cc-static.s3-us-west-2.amazonaws.com/templates/05e2ddc0-a133-11e6-9e58-b16d661d2a58/assets/hero-section-with-description-3321.jpg]]></wp:attachment_url>
|
||||
<wp:attachment_real_url><![CDATA[http://localhost/wp-content/uploads/2015/09/02-17.jpg]]></wp:attachment_real_url>
|
||||
<wp:postmeta>
|
||||
<wp:meta_key><![CDATA[_wp_attached_file]]></wp:meta_key>
|
||||
<wp:meta_value><![CDATA[2015/09/02-17.jpg]]></wp:meta_value>
|
||||
</wp:postmeta>
|
||||
<wp:postmeta>
|
||||
<wp:meta_key><![CDATA[_wp_attachment_metadata]]></wp:meta_key>
|
||||
<wp:meta_value><![CDATA[a:5:{s:5:"width";i:600;s:6:"height";i:600;s:4:"file";s:17:"2015/09/02-17.jpg";s:5:"sizes";a:4:{s:9:"thumbnail";a:4:{s:4:"file";s:17:"02-17-150x150.jpg";s:5:"width";i:150;s:6:"height";i:150;s:9:"mime-type";s:10:"image/jpeg";}s:6:"medium";a:4:{s:4:"file";s:17:"02-17-300x300.jpg";s:5:"width";i:300;s:6:"height";i:300;s:9:"mime-type";s:10:"image/jpeg";}s:17:"dazzling-featured";a:4:{s:4:"file";s:17:"02-17-600x410.jpg";s:5:"width";i:600;s:6:"height";i:410;s:9:"mime-type";s:10:"image/jpeg";}s:9:"tab-small";a:4:{s:4:"file";s:15:"02-17-60x60.jpg";s:5:"width";i:60;s:6:"height";i:60;s:9:"mime-type";s:10:"image/jpeg";}}s:10:"image_meta";a:12:{s:8:"aperture";s:1:"0";s:6:"credit";s:0:"";s:6:"camera";s:0:"";s:7:"caption";s:0:"";s:17:"created_timestamp";s:1:"0";s:9:"copyright";s:0:"";s:12:"focal_length";s:1:"0";s:3:"iso";s:1:"0";s:13:"shutter_speed";s:1:"0";s:5:"title";s:0:"";s:11:"orientation";s:1:"0";s:8:"keywords";a:0:{}}}]]></wp:meta_value>
|
||||
</wp:postmeta>
|
||||
</item>
|
||||
<item>
|
||||
<title>03</title>
|
||||
<link></link>
|
||||
<pubDate></pubDate>
|
||||
<dc:creator><![CDATA[RaitisSevelis]]></dc:creator>
|
||||
<guid isPermaLink="false"></guid>
|
||||
<description></description>
|
||||
<content:encoded><![CDATA[]]></content:encoded>
|
||||
<excerpt:encoded><![CDATA[]]></excerpt:encoded>
|
||||
<wp:post_id>3322</wp:post_id>
|
||||
<wp:post_date><![CDATA[2016-10-10 14:49:31]]></wp:post_date>
|
||||
<wp:post_date_gmt><![CDATA[2016-10-10 14:49:31]]></wp:post_date_gmt>
|
||||
<wp:comment_status><![CDATA[open]]></wp:comment_status>
|
||||
<wp:ping_status><![CDATA[closed]]></wp:ping_status>
|
||||
<wp:post_name><![CDATA[03-10]]></wp:post_name>
|
||||
<wp:status><![CDATA[inherit]]></wp:status>
|
||||
<wp:post_parent>2602</wp:post_parent>
|
||||
<wp:menu_order>0</wp:menu_order>
|
||||
<wp:post_type><![CDATA[attachment]]></wp:post_type>
|
||||
<wp:post_password><![CDATA[]]></wp:post_password>
|
||||
<wp:is_sticky>0</wp:is_sticky>
|
||||
<wp:attachment_url><![CDATA[https://vc-cc-static.s3-us-west-2.amazonaws.com/templates/05e2ddc0-a133-11e6-9e58-b16d661d2a58/assets/hero-section-with-description-3322.jpg]]></wp:attachment_url>
|
||||
<wp:attachment_real_url><![CDATA[http://localhost/wp-content/uploads/2015/09/03-9.jpg]]></wp:attachment_real_url>
|
||||
<wp:postmeta>
|
||||
<wp:meta_key><![CDATA[_wp_attached_file]]></wp:meta_key>
|
||||
<wp:meta_value><![CDATA[2015/09/03-9.jpg]]></wp:meta_value>
|
||||
</wp:postmeta>
|
||||
<wp:postmeta>
|
||||
<wp:meta_key><![CDATA[_wp_attachment_metadata]]></wp:meta_key>
|
||||
<wp:meta_value><![CDATA[a:5:{s:5:"width";i:600;s:6:"height";i:600;s:4:"file";s:16:"2015/09/03-9.jpg";s:5:"sizes";a:4:{s:9:"thumbnail";a:4:{s:4:"file";s:16:"03-9-150x150.jpg";s:5:"width";i:150;s:6:"height";i:150;s:9:"mime-type";s:10:"image/jpeg";}s:6:"medium";a:4:{s:4:"file";s:16:"03-9-300x300.jpg";s:5:"width";i:300;s:6:"height";i:300;s:9:"mime-type";s:10:"image/jpeg";}s:17:"dazzling-featured";a:4:{s:4:"file";s:16:"03-9-600x410.jpg";s:5:"width";i:600;s:6:"height";i:410;s:9:"mime-type";s:10:"image/jpeg";}s:9:"tab-small";a:4:{s:4:"file";s:14:"03-9-60x60.jpg";s:5:"width";i:60;s:6:"height";i:60;s:9:"mime-type";s:10:"image/jpeg";}}s:10:"image_meta";a:12:{s:8:"aperture";s:1:"0";s:6:"credit";s:0:"";s:6:"camera";s:0:"";s:7:"caption";s:0:"";s:17:"created_timestamp";s:1:"0";s:9:"copyright";s:0:"";s:12:"focal_length";s:1:"0";s:3:"iso";s:1:"0";s:13:"shutter_speed";s:1:"0";s:5:"title";s:0:"";s:11:"orientation";s:1:"0";s:8:"keywords";a:0:{}}}]]></wp:meta_value>
|
||||
</wp:postmeta>
|
||||
</item>
|
||||
<item>
|
||||
<title>04</title>
|
||||
<link></link>
|
||||
<pubDate></pubDate>
|
||||
<dc:creator><![CDATA[RaitisSevelis]]></dc:creator>
|
||||
<guid isPermaLink="false"></guid>
|
||||
<description></description>
|
||||
<content:encoded><![CDATA[]]></content:encoded>
|
||||
<excerpt:encoded><![CDATA[]]></excerpt:encoded>
|
||||
<wp:post_id>3323</wp:post_id>
|
||||
<wp:post_date><![CDATA[2016-10-10 14:49:31]]></wp:post_date>
|
||||
<wp:post_date_gmt><![CDATA[2016-10-10 14:49:31]]></wp:post_date_gmt>
|
||||
<wp:comment_status><![CDATA[open]]></wp:comment_status>
|
||||
<wp:ping_status><![CDATA[closed]]></wp:ping_status>
|
||||
<wp:post_name><![CDATA[04-5]]></wp:post_name>
|
||||
<wp:status><![CDATA[inherit]]></wp:status>
|
||||
<wp:post_parent>2602</wp:post_parent>
|
||||
<wp:menu_order>0</wp:menu_order>
|
||||
<wp:post_type><![CDATA[attachment]]></wp:post_type>
|
||||
<wp:post_password><![CDATA[]]></wp:post_password>
|
||||
<wp:is_sticky>0</wp:is_sticky>
|
||||
<wp:attachment_url><![CDATA[https://vc-cc-static.s3-us-west-2.amazonaws.com/templates/05e2ddc0-a133-11e6-9e58-b16d661d2a58/assets/hero-section-with-description-3323.jpg]]></wp:attachment_url>
|
||||
<wp:attachment_real_url><![CDATA[http://localhost/wp-content/uploads/2015/09/04-4.jpg]]></wp:attachment_real_url>
|
||||
<wp:postmeta>
|
||||
<wp:meta_key><![CDATA[_wp_attached_file]]></wp:meta_key>
|
||||
<wp:meta_value><![CDATA[2015/09/04-4.jpg]]></wp:meta_value>
|
||||
</wp:postmeta>
|
||||
<wp:postmeta>
|
||||
<wp:meta_key><![CDATA[_wp_attachment_metadata]]></wp:meta_key>
|
||||
<wp:meta_value><![CDATA[a:5:{s:5:"width";i:600;s:6:"height";i:600;s:4:"file";s:16:"2015/09/04-4.jpg";s:5:"sizes";a:4:{s:9:"thumbnail";a:4:{s:4:"file";s:16:"04-4-150x150.jpg";s:5:"width";i:150;s:6:"height";i:150;s:9:"mime-type";s:10:"image/jpeg";}s:6:"medium";a:4:{s:4:"file";s:16:"04-4-300x300.jpg";s:5:"width";i:300;s:6:"height";i:300;s:9:"mime-type";s:10:"image/jpeg";}s:17:"dazzling-featured";a:4:{s:4:"file";s:16:"04-4-600x410.jpg";s:5:"width";i:600;s:6:"height";i:410;s:9:"mime-type";s:10:"image/jpeg";}s:9:"tab-small";a:4:{s:4:"file";s:14:"04-4-60x60.jpg";s:5:"width";i:60;s:6:"height";i:60;s:9:"mime-type";s:10:"image/jpeg";}}s:10:"image_meta";a:12:{s:8:"aperture";s:1:"0";s:6:"credit";s:0:"";s:6:"camera";s:0:"";s:7:"caption";s:0:"";s:17:"created_timestamp";s:1:"0";s:9:"copyright";s:0:"";s:12:"focal_length";s:1:"0";s:3:"iso";s:1:"0";s:13:"shutter_speed";s:1:"0";s:5:"title";s:0:"";s:11:"orientation";s:1:"0";s:8:"keywords";a:0:{}}}]]></wp:meta_value>
|
||||
</wp:postmeta>
|
||||
</item>
|
||||
</channel>
|
||||
</rss>
|
||||
+67
@@ -0,0 +1,67 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?><!-- This is a WordPress eXtended RSS file generated by WordPress as an export of your site. -->
|
||||
<!-- It contains information about your site's posts, pages, comments, categories, and other content. -->
|
||||
<!-- You may use this file to transfer that content from one site to another. -->
|
||||
<!-- This file is not intended to serve as a complete backup of your site. -->
|
||||
|
||||
<!-- To import this information into a WordPress site follow these steps: -->
|
||||
<!-- 1. Log in to that site as an administrator. -->
|
||||
<!-- 2. Go to Tools: Import in the WordPress admin panel. -->
|
||||
<!-- 3. Install the "WordPress" importer from the list. -->
|
||||
<!-- 4. Activate & Run Importer. -->
|
||||
<!-- 5. Upload this file using the form provided on that page. -->
|
||||
<!-- 6. You will first be asked to map the authors in this export file to users -->
|
||||
<!-- on the site. For each author, you may choose to map to an -->
|
||||
<!-- existing user on the site or to create a new user. -->
|
||||
<!-- 7. WordPress will then import each of the posts, pages, comments, categories, etc. -->
|
||||
<!-- contained in this file into your site. -->
|
||||
<!-- generator="WordPress/4.6.1" created="2016-11-02 15:23" -->
|
||||
<rss version="2.0"
|
||||
xmlns:excerpt="http://wordpress.org/export/1.2/excerpt/"
|
||||
xmlns:content="http://purl.org/rss/1.0/modules/content/"
|
||||
xmlns:wfw="http://wellformedweb.org/CommentAPI/"
|
||||
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
||||
xmlns:wp="http://wordpress.org/export/1.2/"
|
||||
>
|
||||
|
||||
<channel>
|
||||
<title>WPBakery</title>
|
||||
<link>http://localhost</link>
|
||||
<description>Fun and Test</description>
|
||||
<pubDate>Wed, 02 Nov 2016 15:23:15 +0000</pubDate>
|
||||
<language>en-US</language>
|
||||
<wp:wxr_version>1.2</wp:wxr_version>
|
||||
<wp:base_site_url>http://localhost</wp:base_site_url>
|
||||
<wp:base_blog_url>http://localhost</wp:base_blog_url>
|
||||
|
||||
<item>
|
||||
<title><![CDATA[Description in Three Levels]]></title>
|
||||
<link></link>
|
||||
<pubDate></pubDate>
|
||||
<dc:creator><![CDATA[admin]]></dc:creator>
|
||||
<guid isPermaLink="false">http://vc4.dev/?post_type=vc4_templates&p=6</guid>
|
||||
<description/>
|
||||
<content:encoded><![CDATA[[vc_row][vc_column][vc_custom_heading text="Newsworthiness is Defined" font_container="tag:h1|text_align:center" use_theme_fonts="yes"][vc_column_text]<p style="text-align: center;">In some countries and at some points in history, what news media and the public have considered "newsworthy" has met different definitions, such as the notion of news values.</p>[/vc_column_text][/vc_column][/vc_row][vc_row][vc_column width="1/2"][vc_custom_heading text="Folk News" use_theme_fonts="yes"][vc_column_text]Sufficiently important news would be repeated quickly and often, and could spread by word of mouth over a large geographic area.[/vc_column_text][vc_btn title="Read more" style="flat" shape="round" color="chino"][/vc_column][vc_column width="1/2"][vc_custom_heading text="Greek Forum" use_theme_fonts="yes"][vc_column_text]Even as printing presses came into use in Europe, news for the general public often travelled orally via monks, travelers, town criers, etc.[/vc_column_text][vc_btn title="Read more" style="flat" shape="round" color="chino"][/vc_column][/vc_row][vc_row][vc_column width="1/3"][vc_custom_heading text="Early News" font_container="tag:h3|text_align:left" use_theme_fonts="yes"][vc_column_text]Visible chains of long distance signaling, known as optical telegraphy, have also been used throughout history to convey limited types of information.[/vc_column_text][vc_btn title="Read more" style="flat" shape="round" color="chino"][/vc_column][vc_column width="1/3"][vc_custom_heading text="News Network" font_container="tag:h3|text_align:left" use_theme_fonts="yes"][vc_column_text]Thus, political, religious, and commercial interests have historically controlled, expanded, and monitored communications channels.[/vc_column_text][vc_btn title="Read more" style="flat" shape="round" color="chino"][/vc_column][vc_column width="1/3"][vc_custom_heading text="Newspaper" font_container="tag:h3|text_align:left" use_theme_fonts="yes"][vc_column_text]The spread of paper and the printing press from China to Europe preceded a major advance in the transmission of news and new channels.[/vc_column_text][vc_btn title="Read more" style="flat" shape="round" color="chino"][/vc_column][/vc_row]]]></content:encoded>
|
||||
<excerpt:encoded><![CDATA[]]></excerpt:encoded>
|
||||
<wp:post_id>1</wp:post_id>
|
||||
<wp:post_date></wp:post_date>
|
||||
<wp:post_date_gmt></wp:post_date_gmt>
|
||||
<wp:comment_status><![CDATA[closed]]></wp:comment_status>
|
||||
<wp:ping_status><![CDATA[closed]]></wp:ping_status>
|
||||
<wp:post_name><![CDATA[Description in Three Levels]]></wp:post_name>
|
||||
<wp:status><![CDATA[publish]]></wp:status>
|
||||
<wp:post_parent>0</wp:post_parent>
|
||||
<wp:menu_order>0</wp:menu_order>
|
||||
<wp:post_type><![CDATA[vc4_templates]]></wp:post_type>
|
||||
<wp:post_password><![CDATA[]]></wp:post_password>
|
||||
<wp:is_sticky>0</wp:is_sticky>
|
||||
<wp:postmeta>
|
||||
<wp:meta_key><![CDATA[_vc4_templates-version]]></wp:meta_key>
|
||||
<wp:meta_value><![CDATA[1]]></wp:meta_value>
|
||||
</wp:postmeta>
|
||||
<wp:postmeta>
|
||||
<wp:meta_key><![CDATA[_vc4_templates-id]]></wp:meta_key>
|
||||
<wp:meta_value><![CDATA[118952b0-a132-11e6-beee-43fc55d7396b]]></wp:meta_value>
|
||||
</wp:postmeta>
|
||||
</item>
|
||||
</channel>
|
||||
</rss>
|
||||
+99
@@ -0,0 +1,99 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?><!-- This is a WordPress eXtended RSS file generated by WordPress as an export of your site. -->
|
||||
<!-- It contains information about your site's posts, pages, comments, categories, and other content. -->
|
||||
<!-- You may use this file to transfer that content from one site to another. -->
|
||||
<!-- This file is not intended to serve as a complete backup of your site. -->
|
||||
|
||||
<!-- To import this information into a WordPress site follow these steps: -->
|
||||
<!-- 1. Log in to that site as an administrator. -->
|
||||
<!-- 2. Go to Tools: Import in the WordPress admin panel. -->
|
||||
<!-- 3. Install the "WordPress" importer from the list. -->
|
||||
<!-- 4. Activate & Run Importer. -->
|
||||
<!-- 5. Upload this file using the form provided on that page. -->
|
||||
<!-- 6. You will first be asked to map the authors in this export file to users -->
|
||||
<!-- on the site. For each author, you may choose to map to an -->
|
||||
<!-- existing user on the site or to create a new user. -->
|
||||
<!-- 7. WordPress will then import each of the posts, pages, comments, categories, etc. -->
|
||||
<!-- contained in this file into your site. -->
|
||||
<!-- generator="WordPress/4.7" created="2016-12-22 08:52" -->
|
||||
<rss version="2.0"
|
||||
xmlns:excerpt="http://wordpress.org/export/1.2/excerpt/"
|
||||
xmlns:content="http://purl.org/rss/1.0/modules/content/"
|
||||
xmlns:wfw="http://wellformedweb.org/CommentAPI/"
|
||||
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
||||
xmlns:wp="http://wordpress.org/export/1.2/"
|
||||
>
|
||||
|
||||
<channel>
|
||||
<title>WPBakery</title>
|
||||
<link>http://localhost</link>
|
||||
<description>Fun and Test</description>
|
||||
<pubDate>Thu, 22 Dec 2016 08:52:35 +0000</pubDate>
|
||||
<language>en-US</language>
|
||||
<wp:wxr_version>1.2</wp:wxr_version>
|
||||
<wp:base_site_url>http://localhost</wp:base_site_url>
|
||||
<wp:base_blog_url>http://localhost</wp:base_blog_url>
|
||||
|
||||
<item>
|
||||
<title><![CDATA[Quote With Image]]></title>
|
||||
<link></link>
|
||||
<pubDate></pubDate>
|
||||
<dc:creator><![CDATA[admin]]></dc:creator>
|
||||
<guid isPermaLink="false">http://vc4.dev/?post_type=vc4_templates&p=6</guid>
|
||||
<description/>
|
||||
<content:encoded><![CDATA[[vc_row css=".vc_custom_1482325178061{padding-top: 50px !important;padding-bottom: 100px !important;background-image: url(http://localhost/wp-content/uploads/2016/08/01-18.jpg?id=3529) !important;background-position: center !important;background-repeat: no-repeat !important;background-size: contain !important;}"][vc_column width="1/2"][/vc_column][vc_column width="1/2"][vc_custom_heading text="Where We Love Is Home" font_container="tag:h1|font_size:80|text_align:right" use_theme_fonts="yes" css=".vc_custom_1482325254857{margin-top: 0px !important;margin-bottom: 15px !important;padding-top: 0px !important;}"][/vc_column][/vc_row][vc_row][vc_column width="1/2"][vc_column_text css=".vc_custom_1482325266693{padding-left: 100px !important;}"]Homes typically provide areas and facilities for sleeping, preparing food, eating and hygiene. Larger groups may live in a nursing home, children's home, convent or any similar institution. A homestead also includes agricultural land and facilities for domesticated animals. Where more secure dwellings are not available, people may live in the informal and sometimes illegal shacks found in slums and shanty towns.[/vc_column_text][/vc_column][vc_column width="1/2"][vc_custom_heading text="- Oliver Wendell Holmes, Sr. -" font_container="tag:h6|text_align:right" use_theme_fonts="yes" css=".vc_custom_1482324872028{margin-bottom: 15px !important;}"][/vc_column][/vc_row]]]></content:encoded>
|
||||
<excerpt:encoded><![CDATA[]]></excerpt:encoded>
|
||||
<wp:post_id>1</wp:post_id>
|
||||
<wp:post_date></wp:post_date>
|
||||
<wp:post_date_gmt></wp:post_date_gmt>
|
||||
<wp:comment_status><![CDATA[closed]]></wp:comment_status>
|
||||
<wp:ping_status><![CDATA[closed]]></wp:ping_status>
|
||||
<wp:post_name><![CDATA[Quote With Image]]></wp:post_name>
|
||||
<wp:status><![CDATA[publish]]></wp:status>
|
||||
<wp:post_parent>0</wp:post_parent>
|
||||
<wp:menu_order>0</wp:menu_order>
|
||||
<wp:post_type><![CDATA[vc4_templates]]></wp:post_type>
|
||||
<wp:post_password><![CDATA[]]></wp:post_password>
|
||||
<wp:is_sticky>0</wp:is_sticky>
|
||||
<wp:postmeta>
|
||||
<wp:meta_key><![CDATA[_vc4_templates-version]]></wp:meta_key>
|
||||
<wp:meta_value><![CDATA[1]]></wp:meta_value>
|
||||
</wp:postmeta>
|
||||
<wp:postmeta>
|
||||
<wp:meta_key><![CDATA[_vc4_templates-id]]></wp:meta_key>
|
||||
<wp:meta_value><![CDATA[12176da0-c824-11e6-bc50-79a7be32d64e]]></wp:meta_value>
|
||||
</wp:postmeta>
|
||||
</item>
|
||||
<item>
|
||||
<title>01</title>
|
||||
<link></link>
|
||||
<pubDate></pubDate>
|
||||
<dc:creator><![CDATA[RaitisSevelis]]></dc:creator>
|
||||
<guid isPermaLink="false"></guid>
|
||||
<description></description>
|
||||
<content:encoded><![CDATA[]]></content:encoded>
|
||||
<excerpt:encoded><![CDATA[]]></excerpt:encoded>
|
||||
<wp:post_id>3529</wp:post_id>
|
||||
<wp:post_date><![CDATA[2016-12-21 12:57:03]]></wp:post_date>
|
||||
<wp:post_date_gmt><![CDATA[2016-12-21 12:57:03]]></wp:post_date_gmt>
|
||||
<wp:comment_status><![CDATA[open]]></wp:comment_status>
|
||||
<wp:ping_status><![CDATA[closed]]></wp:ping_status>
|
||||
<wp:post_name><![CDATA[01-52]]></wp:post_name>
|
||||
<wp:status><![CDATA[inherit]]></wp:status>
|
||||
<wp:post_parent>3173</wp:post_parent>
|
||||
<wp:menu_order>0</wp:menu_order>
|
||||
<wp:post_type><![CDATA[attachment]]></wp:post_type>
|
||||
<wp:post_password><![CDATA[]]></wp:post_password>
|
||||
<wp:is_sticky>0</wp:is_sticky>
|
||||
<wp:attachment_url><![CDATA[https://vc-cc-static.s3-us-west-2.amazonaws.com/templates/12176da0-c824-11e6-bc50-79a7be32d64e/assets/quote-with-image-3529.jpg]]></wp:attachment_url>
|
||||
<wp:attachment_real_url><![CDATA[http://localhost/wp-content/uploads/2016/08/01-18.jpg]]></wp:attachment_real_url>
|
||||
<wp:postmeta>
|
||||
<wp:meta_key><![CDATA[_wp_attached_file]]></wp:meta_key>
|
||||
<wp:meta_value><![CDATA[2016/08/01-18.jpg]]></wp:meta_value>
|
||||
</wp:postmeta>
|
||||
<wp:postmeta>
|
||||
<wp:meta_key><![CDATA[_wp_attachment_metadata]]></wp:meta_key>
|
||||
<wp:meta_value><![CDATA[a:5:{s:5:"width";i:1200;s:6:"height";i:600;s:4:"file";s:17:"2016/08/01-18.jpg";s:5:"sizes";a:4:{s:9:"thumbnail";a:4:{s:4:"file";s:17:"01-18-150x150.jpg";s:5:"width";i:150;s:6:"height";i:150;s:9:"mime-type";s:10:"image/jpeg";}s:6:"medium";a:4:{s:4:"file";s:17:"01-18-300x150.jpg";s:5:"width";i:300;s:6:"height";i:150;s:9:"mime-type";s:10:"image/jpeg";}s:12:"medium_large";a:4:{s:4:"file";s:17:"01-18-768x384.jpg";s:5:"width";i:768;s:6:"height";i:384;s:9:"mime-type";s:10:"image/jpeg";}s:5:"large";a:4:{s:4:"file";s:18:"01-18-1024x512.jpg";s:5:"width";i:1024;s:6:"height";i:512;s:9:"mime-type";s:10:"image/jpeg";}}s:10:"image_meta";a:12:{s:8:"aperture";s:1:"0";s:6:"credit";s:0:"";s:6:"camera";s:0:"";s:7:"caption";s:0:"";s:17:"created_timestamp";s:1:"0";s:9:"copyright";s:0:"";s:12:"focal_length";s:1:"0";s:3:"iso";s:1:"0";s:13:"shutter_speed";s:1:"0";s:5:"title";s:0:"";s:11:"orientation";s:1:"0";s:8:"keywords";a:0:{}}}]]></wp:meta_value>
|
||||
</wp:postmeta>
|
||||
</item>
|
||||
</channel>
|
||||
</rss>
|
||||
+163
@@ -0,0 +1,163 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?><!-- This is a WordPress eXtended RSS file generated by WordPress as an export of your site. -->
|
||||
<!-- It contains information about your site's posts, pages, comments, categories, and other content. -->
|
||||
<!-- You may use this file to transfer that content from one site to another. -->
|
||||
<!-- This file is not intended to serve as a complete backup of your site. -->
|
||||
|
||||
<!-- To import this information into a WordPress site follow these steps: -->
|
||||
<!-- 1. Log in to that site as an administrator. -->
|
||||
<!-- 2. Go to Tools: Import in the WordPress admin panel. -->
|
||||
<!-- 3. Install the "WordPress" importer from the list. -->
|
||||
<!-- 4. Activate & Run Importer. -->
|
||||
<!-- 5. Upload this file using the form provided on that page. -->
|
||||
<!-- 6. You will first be asked to map the authors in this export file to users -->
|
||||
<!-- on the site. For each author, you may choose to map to an -->
|
||||
<!-- existing user on the site or to create a new user. -->
|
||||
<!-- 7. WordPress will then import each of the posts, pages, comments, categories, etc. -->
|
||||
<!-- contained in this file into your site. -->
|
||||
<!-- generator="WordPress/4.7.3" created="2017-03-23 13:16" -->
|
||||
<rss version="2.0"
|
||||
xmlns:excerpt="http://wordpress.org/export/1.2/excerpt/"
|
||||
xmlns:content="http://purl.org/rss/1.0/modules/content/"
|
||||
xmlns:wfw="http://wellformedweb.org/CommentAPI/"
|
||||
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
||||
xmlns:wp="http://wordpress.org/export/1.2/"
|
||||
>
|
||||
|
||||
<channel>
|
||||
<title>Rocky</title>
|
||||
<link>http://localhost</link>
|
||||
<description>Fun and Test</description>
|
||||
<pubDate>Thu, 23 Mar 2017 13:16:46 +0000</pubDate>
|
||||
<language>en-US</language>
|
||||
<wp:wxr_version>1.2</wp:wxr_version>
|
||||
<wp:base_site_url>http://localhost</wp:base_site_url>
|
||||
<wp:base_blog_url>http://localhost</wp:base_blog_url>
|
||||
|
||||
<item>
|
||||
<title><![CDATA[Photograph Hero Section]]></title>
|
||||
<link></link>
|
||||
<pubDate></pubDate>
|
||||
<dc:creator><![CDATA[admin]]></dc:creator>
|
||||
<guid isPermaLink="false">http://vc4.dev/?post_type=vc4_templates&p=6</guid>
|
||||
<description/>
|
||||
<content:encoded><![CDATA[[vc_row full_width="stretch_row" gap="30" full_height="yes" equal_height="yes" content_placement="bottom" parallax="content-moving" css=".vc_custom_1490107535765{background-image: url(http://localhost/wp-content/uploads/2016/08/001-background.jpg?id=3619) !important;background-position: center;background-repeat: no-repeat !important;background-size: cover !important;}"][vc_column width="1/3" css=".vc_custom_1490108223073{border-top-width: 5px !important;border-right-width: 5px !important;border-bottom-width: 5px !important;border-left-width: 5px !important;padding-top: 300px !important;background-image: url(http://localhost/wp-content/uploads/2016/08/002-travel.jpg?id=3621) !important;background-position: center !important;background-repeat: no-repeat !important;background-size: cover !important;border-left-color: #ffffff !important;border-left-style: solid !important;border-right-color: #ffffff !important;border-right-style: solid !important;border-top-color: #ffffff !important;border-top-style: solid !important;border-bottom-color: #ffffff !important;border-bottom-style: solid !important;}"][vc_custom_heading text="Travel Photography" font_container="tag:h3|font_size:22|text_align:left|color:%23ffffff" google_fonts="font_family:Raleway%3A100%2C200%2C300%2Cregular%2C500%2C600%2C700%2C800%2C900|font_style:500%20bold%20regular%3A500%3Anormal"][/vc_column][vc_column width="1/3" css=".vc_custom_1490108217009{border-top-width: 5px !important;border-right-width: 5px !important;border-bottom-width: 5px !important;border-left-width: 5px !important;padding-top: 300px !important;background-image: url(http://localhost/wp-content/uploads/2016/08/003-food.jpg?id=3622) !important;background-position: center !important;background-repeat: no-repeat !important;background-size: cover !important;border-left-color: #ffffff !important;border-left-style: solid !important;border-right-color: #ffffff !important;border-right-style: solid !important;border-top-color: #ffffff !important;border-top-style: solid !important;border-bottom-color: #ffffff !important;border-bottom-style: solid !important;}"][vc_custom_heading text="Food Photography" font_container="tag:h3|font_size:22|text_align:left|color:%23ffffff" google_fonts="font_family:Raleway%3A100%2C200%2C300%2Cregular%2C500%2C600%2C700%2C800%2C900|font_style:500%20bold%20regular%3A500%3Anormal"][/vc_column][vc_column width="1/3"][vc_custom_heading text="Maul von Bild" font_container="tag:h2|font_size:36|text_align:left|color:%23ffffff" google_fonts="font_family:Raleway%3A100%2C200%2C300%2Cregular%2C500%2C600%2C700%2C800%2C900|font_style:700%20bold%20regular%3A700%3Anormal"][vc_column_text]<span style="color: #ffffff;">The first permanent color photograph was taken in 1861 using the three-color-separation principle first published by Scottish physicist James Clerk Maxwell in 1855.</span>[/vc_column_text][vc_icon type="material" icon_material="vc-material vc-material-arrow_forward" color="custom" size="lg" align="right" custom_color="#e26234"][/vc_column][/vc_row]]]></content:encoded>
|
||||
<excerpt:encoded><![CDATA[]]></excerpt:encoded>
|
||||
<wp:post_id>1</wp:post_id>
|
||||
<wp:post_date></wp:post_date>
|
||||
<wp:post_date_gmt></wp:post_date_gmt>
|
||||
<wp:comment_status><![CDATA[closed]]></wp:comment_status>
|
||||
<wp:ping_status><![CDATA[closed]]></wp:ping_status>
|
||||
<wp:post_name><![CDATA[Photograph Hero Section]]></wp:post_name>
|
||||
<wp:status><![CDATA[publish]]></wp:status>
|
||||
<wp:post_parent>0</wp:post_parent>
|
||||
<wp:menu_order>0</wp:menu_order>
|
||||
<wp:post_type><![CDATA[vc4_templates]]></wp:post_type>
|
||||
<wp:post_password><![CDATA[]]></wp:post_password>
|
||||
<wp:is_sticky>0</wp:is_sticky>
|
||||
<wp:postmeta>
|
||||
<wp:meta_key><![CDATA[_vc4_templates-version]]></wp:meta_key>
|
||||
<wp:meta_value><![CDATA[1]]></wp:meta_value>
|
||||
</wp:postmeta>
|
||||
<wp:postmeta>
|
||||
<wp:meta_key><![CDATA[_vc4_templates-id]]></wp:meta_key>
|
||||
<wp:meta_value><![CDATA[135ebf20-0fcb-11e7-acb4-ff0022f49730]]></wp:meta_value>
|
||||
</wp:postmeta>
|
||||
</item>
|
||||
<item>
|
||||
<title>001-background</title>
|
||||
<link></link>
|
||||
<pubDate></pubDate>
|
||||
<dc:creator><![CDATA[RaitisSevelis]]></dc:creator>
|
||||
<guid isPermaLink="false"></guid>
|
||||
<description></description>
|
||||
<content:encoded><![CDATA[]]></content:encoded>
|
||||
<excerpt:encoded><![CDATA[]]></excerpt:encoded>
|
||||
<wp:post_id>3619</wp:post_id>
|
||||
<wp:post_date><![CDATA[2017-03-21 14:45:29]]></wp:post_date>
|
||||
<wp:post_date_gmt><![CDATA[2017-03-21 14:45:29]]></wp:post_date_gmt>
|
||||
<wp:comment_status><![CDATA[open]]></wp:comment_status>
|
||||
<wp:ping_status><![CDATA[closed]]></wp:ping_status>
|
||||
<wp:post_name><![CDATA[001-background]]></wp:post_name>
|
||||
<wp:status><![CDATA[inherit]]></wp:status>
|
||||
<wp:post_parent>3173</wp:post_parent>
|
||||
<wp:menu_order>0</wp:menu_order>
|
||||
<wp:post_type><![CDATA[attachment]]></wp:post_type>
|
||||
<wp:post_password><![CDATA[]]></wp:post_password>
|
||||
<wp:is_sticky>0</wp:is_sticky>
|
||||
<wp:attachment_url><![CDATA[https://vc-cc-static.s3-us-west-2.amazonaws.com/templates/135ebf20-0fcb-11e7-acb4-ff0022f49730/assets/photograph-hero-section-3619.jpg]]></wp:attachment_url>
|
||||
<wp:attachment_real_url><![CDATA[http://localhost/wp-content/uploads/2016/08/001-background.jpg]]></wp:attachment_real_url>
|
||||
<wp:postmeta>
|
||||
<wp:meta_key><![CDATA[_wp_attached_file]]></wp:meta_key>
|
||||
<wp:meta_value><![CDATA[2016/08/001-background.jpg]]></wp:meta_value>
|
||||
</wp:postmeta>
|
||||
<wp:postmeta>
|
||||
<wp:meta_key><![CDATA[_wp_attachment_metadata]]></wp:meta_key>
|
||||
<wp:meta_value><![CDATA[a:5:{s:5:"width";i:1200;s:6:"height";i:800;s:4:"file";s:26:"2016/08/001-background.jpg";s:5:"sizes";a:4:{s:9:"thumbnail";a:4:{s:4:"file";s:26:"001-background-150x150.jpg";s:5:"width";i:150;s:6:"height";i:150;s:9:"mime-type";s:10:"image/jpeg";}s:6:"medium";a:4:{s:4:"file";s:26:"001-background-300x200.jpg";s:5:"width";i:300;s:6:"height";i:200;s:9:"mime-type";s:10:"image/jpeg";}s:12:"medium_large";a:4:{s:4:"file";s:26:"001-background-768x512.jpg";s:5:"width";i:768;s:6:"height";i:512;s:9:"mime-type";s:10:"image/jpeg";}s:5:"large";a:4:{s:4:"file";s:27:"001-background-1024x683.jpg";s:5:"width";i:1024;s:6:"height";i:683;s:9:"mime-type";s:10:"image/jpeg";}}s:10:"image_meta";a:12:{s:8:"aperture";s:1:"0";s:6:"credit";s:0:"";s:6:"camera";s:0:"";s:7:"caption";s:0:"";s:17:"created_timestamp";s:1:"0";s:9:"copyright";s:0:"";s:12:"focal_length";s:1:"0";s:3:"iso";s:1:"0";s:13:"shutter_speed";s:1:"0";s:5:"title";s:0:"";s:11:"orientation";s:1:"0";s:8:"keywords";a:0:{}}}]]></wp:meta_value>
|
||||
</wp:postmeta>
|
||||
</item>
|
||||
<item>
|
||||
<title>002-travel</title>
|
||||
<link></link>
|
||||
<pubDate></pubDate>
|
||||
<dc:creator><![CDATA[RaitisSevelis]]></dc:creator>
|
||||
<guid isPermaLink="false"></guid>
|
||||
<description></description>
|
||||
<content:encoded><![CDATA[]]></content:encoded>
|
||||
<excerpt:encoded><![CDATA[]]></excerpt:encoded>
|
||||
<wp:post_id>3621</wp:post_id>
|
||||
<wp:post_date><![CDATA[2017-03-21 14:52:40]]></wp:post_date>
|
||||
<wp:post_date_gmt><![CDATA[2017-03-21 14:52:40]]></wp:post_date_gmt>
|
||||
<wp:comment_status><![CDATA[open]]></wp:comment_status>
|
||||
<wp:ping_status><![CDATA[closed]]></wp:ping_status>
|
||||
<wp:post_name><![CDATA[002-travel]]></wp:post_name>
|
||||
<wp:status><![CDATA[inherit]]></wp:status>
|
||||
<wp:post_parent>3173</wp:post_parent>
|
||||
<wp:menu_order>0</wp:menu_order>
|
||||
<wp:post_type><![CDATA[attachment]]></wp:post_type>
|
||||
<wp:post_password><![CDATA[]]></wp:post_password>
|
||||
<wp:is_sticky>0</wp:is_sticky>
|
||||
<wp:attachment_url><![CDATA[https://vc-cc-static.s3-us-west-2.amazonaws.com/templates/135ebf20-0fcb-11e7-acb4-ff0022f49730/assets/photograph-hero-section-3621.jpg]]></wp:attachment_url>
|
||||
<wp:attachment_real_url><![CDATA[http://localhost/wp-content/uploads/2016/08/002-travel.jpg]]></wp:attachment_real_url>
|
||||
<wp:postmeta>
|
||||
<wp:meta_key><![CDATA[_wp_attached_file]]></wp:meta_key>
|
||||
<wp:meta_value><![CDATA[2016/08/002-travel.jpg]]></wp:meta_value>
|
||||
</wp:postmeta>
|
||||
<wp:postmeta>
|
||||
<wp:meta_key><![CDATA[_wp_attachment_metadata]]></wp:meta_key>
|
||||
<wp:meta_value><![CDATA[a:5:{s:5:"width";i:600;s:6:"height";i:400;s:4:"file";s:22:"2016/08/002-travel.jpg";s:5:"sizes";a:2:{s:9:"thumbnail";a:4:{s:4:"file";s:22:"002-travel-150x150.jpg";s:5:"width";i:150;s:6:"height";i:150;s:9:"mime-type";s:10:"image/jpeg";}s:6:"medium";a:4:{s:4:"file";s:22:"002-travel-300x200.jpg";s:5:"width";i:300;s:6:"height";i:200;s:9:"mime-type";s:10:"image/jpeg";}}s:10:"image_meta";a:12:{s:8:"aperture";s:1:"0";s:6:"credit";s:0:"";s:6:"camera";s:0:"";s:7:"caption";s:0:"";s:17:"created_timestamp";s:1:"0";s:9:"copyright";s:0:"";s:12:"focal_length";s:1:"0";s:3:"iso";s:1:"0";s:13:"shutter_speed";s:1:"0";s:5:"title";s:0:"";s:11:"orientation";s:1:"0";s:8:"keywords";a:0:{}}}]]></wp:meta_value>
|
||||
</wp:postmeta>
|
||||
</item>
|
||||
<item>
|
||||
<title>003-food</title>
|
||||
<link></link>
|
||||
<pubDate></pubDate>
|
||||
<dc:creator><![CDATA[RaitisSevelis]]></dc:creator>
|
||||
<guid isPermaLink="false"></guid>
|
||||
<description></description>
|
||||
<content:encoded><![CDATA[]]></content:encoded>
|
||||
<excerpt:encoded><![CDATA[]]></excerpt:encoded>
|
||||
<wp:post_id>3622</wp:post_id>
|
||||
<wp:post_date><![CDATA[2017-03-21 14:56:22]]></wp:post_date>
|
||||
<wp:post_date_gmt><![CDATA[2017-03-21 14:56:22]]></wp:post_date_gmt>
|
||||
<wp:comment_status><![CDATA[open]]></wp:comment_status>
|
||||
<wp:ping_status><![CDATA[closed]]></wp:ping_status>
|
||||
<wp:post_name><![CDATA[003-food]]></wp:post_name>
|
||||
<wp:status><![CDATA[inherit]]></wp:status>
|
||||
<wp:post_parent>3173</wp:post_parent>
|
||||
<wp:menu_order>0</wp:menu_order>
|
||||
<wp:post_type><![CDATA[attachment]]></wp:post_type>
|
||||
<wp:post_password><![CDATA[]]></wp:post_password>
|
||||
<wp:is_sticky>0</wp:is_sticky>
|
||||
<wp:attachment_url><![CDATA[https://vc-cc-static.s3-us-west-2.amazonaws.com/templates/135ebf20-0fcb-11e7-acb4-ff0022f49730/assets/photograph-hero-section-3622.jpg]]></wp:attachment_url>
|
||||
<wp:attachment_real_url><![CDATA[http://localhost/wp-content/uploads/2016/08/003-food.jpg]]></wp:attachment_real_url>
|
||||
<wp:postmeta>
|
||||
<wp:meta_key><![CDATA[_wp_attached_file]]></wp:meta_key>
|
||||
<wp:meta_value><![CDATA[2016/08/003-food.jpg]]></wp:meta_value>
|
||||
</wp:postmeta>
|
||||
<wp:postmeta>
|
||||
<wp:meta_key><![CDATA[_wp_attachment_metadata]]></wp:meta_key>
|
||||
<wp:meta_value><![CDATA[a:5:{s:5:"width";i:600;s:6:"height";i:400;s:4:"file";s:20:"2016/08/003-food.jpg";s:5:"sizes";a:2:{s:9:"thumbnail";a:4:{s:4:"file";s:20:"003-food-150x150.jpg";s:5:"width";i:150;s:6:"height";i:150;s:9:"mime-type";s:10:"image/jpeg";}s:6:"medium";a:4:{s:4:"file";s:20:"003-food-300x200.jpg";s:5:"width";i:300;s:6:"height";i:200;s:9:"mime-type";s:10:"image/jpeg";}}s:10:"image_meta";a:12:{s:8:"aperture";s:1:"0";s:6:"credit";s:0:"";s:6:"camera";s:0:"";s:7:"caption";s:0:"";s:17:"created_timestamp";s:1:"0";s:9:"copyright";s:0:"";s:12:"focal_length";s:1:"0";s:3:"iso";s:1:"0";s:13:"shutter_speed";s:1:"0";s:5:"title";s:0:"";s:11:"orientation";s:1:"0";s:8:"keywords";a:0:{}}}]]></wp:meta_value>
|
||||
</wp:postmeta>
|
||||
</item>
|
||||
</channel>
|
||||
</rss>
|
||||
+227
@@ -0,0 +1,227 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?><!-- This is a WordPress eXtended RSS file generated by WordPress as an export of your site. -->
|
||||
<!-- It contains information about your site's posts, pages, comments, categories, and other content. -->
|
||||
<!-- You may use this file to transfer that content from one site to another. -->
|
||||
<!-- This file is not intended to serve as a complete backup of your site. -->
|
||||
|
||||
<!-- To import this information into a WordPress site follow these steps: -->
|
||||
<!-- 1. Log in to that site as an administrator. -->
|
||||
<!-- 2. Go to Tools: Import in the WordPress admin panel. -->
|
||||
<!-- 3. Install the "WordPress" importer from the list. -->
|
||||
<!-- 4. Activate & Run Importer. -->
|
||||
<!-- 5. Upload this file using the form provided on that page. -->
|
||||
<!-- 6. You will first be asked to map the authors in this export file to users -->
|
||||
<!-- on the site. For each author, you may choose to map to an -->
|
||||
<!-- existing user on the site or to create a new user. -->
|
||||
<!-- 7. WordPress will then import each of the posts, pages, comments, categories, etc. -->
|
||||
<!-- contained in this file into your site. -->
|
||||
<!-- generator="WordPress/4.6.1" created="2016-11-02 15:23" -->
|
||||
<rss version="2.0"
|
||||
xmlns:excerpt="http://wordpress.org/export/1.2/excerpt/"
|
||||
xmlns:content="http://purl.org/rss/1.0/modules/content/"
|
||||
xmlns:wfw="http://wellformedweb.org/CommentAPI/"
|
||||
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
||||
xmlns:wp="http://wordpress.org/export/1.2/"
|
||||
>
|
||||
|
||||
<channel>
|
||||
<title>WPBakery</title>
|
||||
<link>http://localhost</link>
|
||||
<description>Fun and Test</description>
|
||||
<pubDate>Wed, 02 Nov 2016 15:23:31 +0000</pubDate>
|
||||
<language>en-US</language>
|
||||
<wp:wxr_version>1.2</wp:wxr_version>
|
||||
<wp:base_site_url>http://localhost</wp:base_site_url>
|
||||
<wp:base_blog_url>http://localhost</wp:base_blog_url>
|
||||
|
||||
<item>
|
||||
<title><![CDATA[Article With Gallery]]></title>
|
||||
<link></link>
|
||||
<pubDate></pubDate>
|
||||
<dc:creator><![CDATA[admin]]></dc:creator>
|
||||
<guid isPermaLink="false">http://vc4.dev/?post_type=vc4_templates&p=6</guid>
|
||||
<description/>
|
||||
<content:encoded><![CDATA[[vc_row][vc_column width="1/2"][vc_custom_heading text="Evolution of Media in Roman Empire" font_container="tag:h1|text_align:left" use_theme_fonts="yes"][vc_column_text]<p style="text-align: left;">The word communication is derived from the Latin root communicare. This was due to the Roman Empire also devising what might be described as a mail or postal system, in order to centralize control of the empire from Rome. This allowed for personal letters and for Rome to gather knowledge about events in its many widespread provinces. More advanced postal systems later appeared in the Islamic Caliphate and the Mongol Empire during the Middle Ages.</p>[/vc_column_text][vc_btn title="Learn More ..." style="flat" shape="round" color="vista-blue"][/vc_column][vc_column width="1/2"][vc_gallery type="image_grid" images="3284,3283,3282,3280,3281" onclick="" css=".vc_custom_1475570527399{padding-top: 15px !important;}"][/vc_column][/vc_row]]]></content:encoded>
|
||||
<excerpt:encoded><![CDATA[]]></excerpt:encoded>
|
||||
<wp:post_id>1</wp:post_id>
|
||||
<wp:post_date></wp:post_date>
|
||||
<wp:post_date_gmt></wp:post_date_gmt>
|
||||
<wp:comment_status><![CDATA[closed]]></wp:comment_status>
|
||||
<wp:ping_status><![CDATA[closed]]></wp:ping_status>
|
||||
<wp:post_name><![CDATA[Article With Gallery]]></wp:post_name>
|
||||
<wp:status><![CDATA[publish]]></wp:status>
|
||||
<wp:post_parent>0</wp:post_parent>
|
||||
<wp:menu_order>0</wp:menu_order>
|
||||
<wp:post_type><![CDATA[vc4_templates]]></wp:post_type>
|
||||
<wp:post_password><![CDATA[]]></wp:post_password>
|
||||
<wp:is_sticky>0</wp:is_sticky>
|
||||
<wp:postmeta>
|
||||
<wp:meta_key><![CDATA[_vc4_templates-version]]></wp:meta_key>
|
||||
<wp:meta_value><![CDATA[1]]></wp:meta_value>
|
||||
</wp:postmeta>
|
||||
<wp:postmeta>
|
||||
<wp:meta_key><![CDATA[_vc4_templates-id]]></wp:meta_key>
|
||||
<wp:meta_value><![CDATA[1aaeae20-a132-11e6-aff2-139a39a8a333]]></wp:meta_value>
|
||||
</wp:postmeta>
|
||||
</item>
|
||||
<item>
|
||||
<title>01</title>
|
||||
<link></link>
|
||||
<pubDate></pubDate>
|
||||
<dc:creator><![CDATA[RaitisSevelis]]></dc:creator>
|
||||
<guid isPermaLink="false"></guid>
|
||||
<description></description>
|
||||
<content:encoded><![CDATA[]]></content:encoded>
|
||||
<excerpt:encoded><![CDATA[]]></excerpt:encoded>
|
||||
<wp:post_id>3280</wp:post_id>
|
||||
<wp:post_date><![CDATA[2016-10-04 08:41:52]]></wp:post_date>
|
||||
<wp:post_date_gmt><![CDATA[2016-10-04 08:41:52]]></wp:post_date_gmt>
|
||||
<wp:comment_status><![CDATA[open]]></wp:comment_status>
|
||||
<wp:ping_status><![CDATA[closed]]></wp:ping_status>
|
||||
<wp:post_name><![CDATA[01-14]]></wp:post_name>
|
||||
<wp:status><![CDATA[inherit]]></wp:status>
|
||||
<wp:post_parent>2602</wp:post_parent>
|
||||
<wp:menu_order>0</wp:menu_order>
|
||||
<wp:post_type><![CDATA[attachment]]></wp:post_type>
|
||||
<wp:post_password><![CDATA[]]></wp:post_password>
|
||||
<wp:is_sticky>0</wp:is_sticky>
|
||||
<wp:attachment_url><![CDATA[https://vc-cc-static.s3-us-west-2.amazonaws.com/templates/1aaeae20-a132-11e6-aff2-139a39a8a333/assets/article-with-gallery-3280.jpg]]></wp:attachment_url>
|
||||
<wp:attachment_real_url><![CDATA[http://localhost/wp-content/uploads/2015/09/01-13.jpg]]></wp:attachment_real_url>
|
||||
<wp:postmeta>
|
||||
<wp:meta_key><![CDATA[_wp_attached_file]]></wp:meta_key>
|
||||
<wp:meta_value><![CDATA[2015/09/01-13.jpg]]></wp:meta_value>
|
||||
</wp:postmeta>
|
||||
<wp:postmeta>
|
||||
<wp:meta_key><![CDATA[_wp_attachment_metadata]]></wp:meta_key>
|
||||
<wp:meta_value><![CDATA[a:5:{s:5:"width";i:800;s:6:"height";i:600;s:4:"file";s:17:"2015/09/01-13.jpg";s:5:"sizes";a:5:{s:9:"thumbnail";a:4:{s:4:"file";s:17:"01-13-150x150.jpg";s:5:"width";i:150;s:6:"height";i:150;s:9:"mime-type";s:10:"image/jpeg";}s:6:"medium";a:4:{s:4:"file";s:17:"01-13-300x225.jpg";s:5:"width";i:300;s:6:"height";i:225;s:9:"mime-type";s:10:"image/jpeg";}s:12:"medium_large";a:4:{s:4:"file";s:17:"01-13-768x576.jpg";s:5:"width";i:768;s:6:"height";i:576;s:9:"mime-type";s:10:"image/jpeg";}s:17:"dazzling-featured";a:4:{s:4:"file";s:17:"01-13-730x410.jpg";s:5:"width";i:730;s:6:"height";i:410;s:9:"mime-type";s:10:"image/jpeg";}s:9:"tab-small";a:4:{s:4:"file";s:15:"01-13-60x60.jpg";s:5:"width";i:60;s:6:"height";i:60;s:9:"mime-type";s:10:"image/jpeg";}}s:10:"image_meta";a:12:{s:8:"aperture";s:1:"0";s:6:"credit";s:0:"";s:6:"camera";s:0:"";s:7:"caption";s:0:"";s:17:"created_timestamp";s:1:"0";s:9:"copyright";s:0:"";s:12:"focal_length";s:1:"0";s:3:"iso";s:1:"0";s:13:"shutter_speed";s:1:"0";s:5:"title";s:0:"";s:11:"orientation";s:1:"0";s:8:"keywords";a:0:{}}}]]></wp:meta_value>
|
||||
</wp:postmeta>
|
||||
</item>
|
||||
<item>
|
||||
<title>02</title>
|
||||
<link></link>
|
||||
<pubDate></pubDate>
|
||||
<dc:creator><![CDATA[RaitisSevelis]]></dc:creator>
|
||||
<guid isPermaLink="false"></guid>
|
||||
<description></description>
|
||||
<content:encoded><![CDATA[]]></content:encoded>
|
||||
<excerpt:encoded><![CDATA[]]></excerpt:encoded>
|
||||
<wp:post_id>3281</wp:post_id>
|
||||
<wp:post_date><![CDATA[2016-10-04 08:41:54]]></wp:post_date>
|
||||
<wp:post_date_gmt><![CDATA[2016-10-04 08:41:54]]></wp:post_date_gmt>
|
||||
<wp:comment_status><![CDATA[open]]></wp:comment_status>
|
||||
<wp:ping_status><![CDATA[closed]]></wp:ping_status>
|
||||
<wp:post_name><![CDATA[02-10]]></wp:post_name>
|
||||
<wp:status><![CDATA[inherit]]></wp:status>
|
||||
<wp:post_parent>2602</wp:post_parent>
|
||||
<wp:menu_order>0</wp:menu_order>
|
||||
<wp:post_type><![CDATA[attachment]]></wp:post_type>
|
||||
<wp:post_password><![CDATA[]]></wp:post_password>
|
||||
<wp:is_sticky>0</wp:is_sticky>
|
||||
<wp:attachment_url><![CDATA[https://vc-cc-static.s3-us-west-2.amazonaws.com/templates/1aaeae20-a132-11e6-aff2-139a39a8a333/assets/article-with-gallery-3281.jpg]]></wp:attachment_url>
|
||||
<wp:attachment_real_url><![CDATA[http://localhost/wp-content/uploads/2015/09/02-9.jpg]]></wp:attachment_real_url>
|
||||
<wp:postmeta>
|
||||
<wp:meta_key><![CDATA[_wp_attached_file]]></wp:meta_key>
|
||||
<wp:meta_value><![CDATA[2015/09/02-9.jpg]]></wp:meta_value>
|
||||
</wp:postmeta>
|
||||
<wp:postmeta>
|
||||
<wp:meta_key><![CDATA[_wp_attachment_metadata]]></wp:meta_key>
|
||||
<wp:meta_value><![CDATA[a:5:{s:5:"width";i:800;s:6:"height";i:600;s:4:"file";s:16:"2015/09/02-9.jpg";s:5:"sizes";a:5:{s:9:"thumbnail";a:4:{s:4:"file";s:16:"02-9-150x150.jpg";s:5:"width";i:150;s:6:"height";i:150;s:9:"mime-type";s:10:"image/jpeg";}s:6:"medium";a:4:{s:4:"file";s:16:"02-9-300x225.jpg";s:5:"width";i:300;s:6:"height";i:225;s:9:"mime-type";s:10:"image/jpeg";}s:12:"medium_large";a:4:{s:4:"file";s:16:"02-9-768x576.jpg";s:5:"width";i:768;s:6:"height";i:576;s:9:"mime-type";s:10:"image/jpeg";}s:17:"dazzling-featured";a:4:{s:4:"file";s:16:"02-9-730x410.jpg";s:5:"width";i:730;s:6:"height";i:410;s:9:"mime-type";s:10:"image/jpeg";}s:9:"tab-small";a:4:{s:4:"file";s:14:"02-9-60x60.jpg";s:5:"width";i:60;s:6:"height";i:60;s:9:"mime-type";s:10:"image/jpeg";}}s:10:"image_meta";a:12:{s:8:"aperture";s:1:"0";s:6:"credit";s:0:"";s:6:"camera";s:0:"";s:7:"caption";s:0:"";s:17:"created_timestamp";s:1:"0";s:9:"copyright";s:0:"";s:12:"focal_length";s:1:"0";s:3:"iso";s:1:"0";s:13:"shutter_speed";s:1:"0";s:5:"title";s:0:"";s:11:"orientation";s:1:"0";s:8:"keywords";a:0:{}}}]]></wp:meta_value>
|
||||
</wp:postmeta>
|
||||
</item>
|
||||
<item>
|
||||
<title>03</title>
|
||||
<link></link>
|
||||
<pubDate></pubDate>
|
||||
<dc:creator><![CDATA[RaitisSevelis]]></dc:creator>
|
||||
<guid isPermaLink="false"></guid>
|
||||
<description></description>
|
||||
<content:encoded><![CDATA[]]></content:encoded>
|
||||
<excerpt:encoded><![CDATA[]]></excerpt:encoded>
|
||||
<wp:post_id>3282</wp:post_id>
|
||||
<wp:post_date><![CDATA[2016-10-04 08:41:55]]></wp:post_date>
|
||||
<wp:post_date_gmt><![CDATA[2016-10-04 08:41:55]]></wp:post_date_gmt>
|
||||
<wp:comment_status><![CDATA[open]]></wp:comment_status>
|
||||
<wp:ping_status><![CDATA[closed]]></wp:ping_status>
|
||||
<wp:post_name><![CDATA[03-4]]></wp:post_name>
|
||||
<wp:status><![CDATA[inherit]]></wp:status>
|
||||
<wp:post_parent>2602</wp:post_parent>
|
||||
<wp:menu_order>0</wp:menu_order>
|
||||
<wp:post_type><![CDATA[attachment]]></wp:post_type>
|
||||
<wp:post_password><![CDATA[]]></wp:post_password>
|
||||
<wp:is_sticky>0</wp:is_sticky>
|
||||
<wp:attachment_url><![CDATA[https://vc-cc-static.s3-us-west-2.amazonaws.com/templates/1aaeae20-a132-11e6-aff2-139a39a8a333/assets/article-with-gallery-3282.jpg]]></wp:attachment_url>
|
||||
<wp:attachment_real_url><![CDATA[http://localhost/wp-content/uploads/2015/09/03-3.jpg]]></wp:attachment_real_url>
|
||||
<wp:postmeta>
|
||||
<wp:meta_key><![CDATA[_wp_attached_file]]></wp:meta_key>
|
||||
<wp:meta_value><![CDATA[2015/09/03-3.jpg]]></wp:meta_value>
|
||||
</wp:postmeta>
|
||||
<wp:postmeta>
|
||||
<wp:meta_key><![CDATA[_wp_attachment_metadata]]></wp:meta_key>
|
||||
<wp:meta_value><![CDATA[a:5:{s:5:"width";i:800;s:6:"height";i:600;s:4:"file";s:16:"2015/09/03-3.jpg";s:5:"sizes";a:5:{s:9:"thumbnail";a:4:{s:4:"file";s:16:"03-3-150x150.jpg";s:5:"width";i:150;s:6:"height";i:150;s:9:"mime-type";s:10:"image/jpeg";}s:6:"medium";a:4:{s:4:"file";s:16:"03-3-300x225.jpg";s:5:"width";i:300;s:6:"height";i:225;s:9:"mime-type";s:10:"image/jpeg";}s:12:"medium_large";a:4:{s:4:"file";s:16:"03-3-768x576.jpg";s:5:"width";i:768;s:6:"height";i:576;s:9:"mime-type";s:10:"image/jpeg";}s:17:"dazzling-featured";a:4:{s:4:"file";s:16:"03-3-730x410.jpg";s:5:"width";i:730;s:6:"height";i:410;s:9:"mime-type";s:10:"image/jpeg";}s:9:"tab-small";a:4:{s:4:"file";s:14:"03-3-60x60.jpg";s:5:"width";i:60;s:6:"height";i:60;s:9:"mime-type";s:10:"image/jpeg";}}s:10:"image_meta";a:12:{s:8:"aperture";s:1:"0";s:6:"credit";s:0:"";s:6:"camera";s:0:"";s:7:"caption";s:0:"";s:17:"created_timestamp";s:1:"0";s:9:"copyright";s:0:"";s:12:"focal_length";s:1:"0";s:3:"iso";s:1:"0";s:13:"shutter_speed";s:1:"0";s:5:"title";s:0:"";s:11:"orientation";s:1:"0";s:8:"keywords";a:0:{}}}]]></wp:meta_value>
|
||||
</wp:postmeta>
|
||||
</item>
|
||||
<item>
|
||||
<title>04</title>
|
||||
<link></link>
|
||||
<pubDate></pubDate>
|
||||
<dc:creator><![CDATA[RaitisSevelis]]></dc:creator>
|
||||
<guid isPermaLink="false"></guid>
|
||||
<description></description>
|
||||
<content:encoded><![CDATA[]]></content:encoded>
|
||||
<excerpt:encoded><![CDATA[]]></excerpt:encoded>
|
||||
<wp:post_id>3283</wp:post_id>
|
||||
<wp:post_date><![CDATA[2016-10-04 08:41:55]]></wp:post_date>
|
||||
<wp:post_date_gmt><![CDATA[2016-10-04 08:41:55]]></wp:post_date_gmt>
|
||||
<wp:comment_status><![CDATA[open]]></wp:comment_status>
|
||||
<wp:ping_status><![CDATA[closed]]></wp:ping_status>
|
||||
<wp:post_name><![CDATA[04-2]]></wp:post_name>
|
||||
<wp:status><![CDATA[inherit]]></wp:status>
|
||||
<wp:post_parent>2602</wp:post_parent>
|
||||
<wp:menu_order>0</wp:menu_order>
|
||||
<wp:post_type><![CDATA[attachment]]></wp:post_type>
|
||||
<wp:post_password><![CDATA[]]></wp:post_password>
|
||||
<wp:is_sticky>0</wp:is_sticky>
|
||||
<wp:attachment_url><![CDATA[https://vc-cc-static.s3-us-west-2.amazonaws.com/templates/1aaeae20-a132-11e6-aff2-139a39a8a333/assets/article-with-gallery-3283.jpg]]></wp:attachment_url>
|
||||
<wp:attachment_real_url><![CDATA[http://localhost/wp-content/uploads/2015/09/04-1.jpg]]></wp:attachment_real_url>
|
||||
<wp:postmeta>
|
||||
<wp:meta_key><![CDATA[_wp_attached_file]]></wp:meta_key>
|
||||
<wp:meta_value><![CDATA[2015/09/04-1.jpg]]></wp:meta_value>
|
||||
</wp:postmeta>
|
||||
<wp:postmeta>
|
||||
<wp:meta_key><![CDATA[_wp_attachment_metadata]]></wp:meta_key>
|
||||
<wp:meta_value><![CDATA[a:5:{s:5:"width";i:800;s:6:"height";i:600;s:4:"file";s:16:"2015/09/04-1.jpg";s:5:"sizes";a:5:{s:9:"thumbnail";a:4:{s:4:"file";s:16:"04-1-150x150.jpg";s:5:"width";i:150;s:6:"height";i:150;s:9:"mime-type";s:10:"image/jpeg";}s:6:"medium";a:4:{s:4:"file";s:16:"04-1-300x225.jpg";s:5:"width";i:300;s:6:"height";i:225;s:9:"mime-type";s:10:"image/jpeg";}s:12:"medium_large";a:4:{s:4:"file";s:16:"04-1-768x576.jpg";s:5:"width";i:768;s:6:"height";i:576;s:9:"mime-type";s:10:"image/jpeg";}s:17:"dazzling-featured";a:4:{s:4:"file";s:16:"04-1-730x410.jpg";s:5:"width";i:730;s:6:"height";i:410;s:9:"mime-type";s:10:"image/jpeg";}s:9:"tab-small";a:4:{s:4:"file";s:14:"04-1-60x60.jpg";s:5:"width";i:60;s:6:"height";i:60;s:9:"mime-type";s:10:"image/jpeg";}}s:10:"image_meta";a:12:{s:8:"aperture";s:1:"0";s:6:"credit";s:0:"";s:6:"camera";s:0:"";s:7:"caption";s:0:"";s:17:"created_timestamp";s:1:"0";s:9:"copyright";s:0:"";s:12:"focal_length";s:1:"0";s:3:"iso";s:1:"0";s:13:"shutter_speed";s:1:"0";s:5:"title";s:0:"";s:11:"orientation";s:1:"0";s:8:"keywords";a:0:{}}}]]></wp:meta_value>
|
||||
</wp:postmeta>
|
||||
</item>
|
||||
<item>
|
||||
<title>05</title>
|
||||
<link></link>
|
||||
<pubDate></pubDate>
|
||||
<dc:creator><![CDATA[RaitisSevelis]]></dc:creator>
|
||||
<guid isPermaLink="false"></guid>
|
||||
<description></description>
|
||||
<content:encoded><![CDATA[]]></content:encoded>
|
||||
<excerpt:encoded><![CDATA[]]></excerpt:encoded>
|
||||
<wp:post_id>3284</wp:post_id>
|
||||
<wp:post_date><![CDATA[2016-10-04 08:41:56]]></wp:post_date>
|
||||
<wp:post_date_gmt><![CDATA[2016-10-04 08:41:56]]></wp:post_date_gmt>
|
||||
<wp:comment_status><![CDATA[open]]></wp:comment_status>
|
||||
<wp:ping_status><![CDATA[closed]]></wp:ping_status>
|
||||
<wp:post_name><![CDATA[05]]></wp:post_name>
|
||||
<wp:status><![CDATA[inherit]]></wp:status>
|
||||
<wp:post_parent>2602</wp:post_parent>
|
||||
<wp:menu_order>0</wp:menu_order>
|
||||
<wp:post_type><![CDATA[attachment]]></wp:post_type>
|
||||
<wp:post_password><![CDATA[]]></wp:post_password>
|
||||
<wp:is_sticky>0</wp:is_sticky>
|
||||
<wp:attachment_url><![CDATA[https://vc-cc-static.s3-us-west-2.amazonaws.com/templates/1aaeae20-a132-11e6-aff2-139a39a8a333/assets/article-with-gallery-3284.jpg]]></wp:attachment_url>
|
||||
<wp:attachment_real_url><![CDATA[http://localhost/wp-content/uploads/2015/09/05.jpg]]></wp:attachment_real_url>
|
||||
<wp:postmeta>
|
||||
<wp:meta_key><![CDATA[_wp_attached_file]]></wp:meta_key>
|
||||
<wp:meta_value><![CDATA[2015/09/05.jpg]]></wp:meta_value>
|
||||
</wp:postmeta>
|
||||
<wp:postmeta>
|
||||
<wp:meta_key><![CDATA[_wp_attachment_metadata]]></wp:meta_key>
|
||||
<wp:meta_value><![CDATA[a:5:{s:5:"width";i:800;s:6:"height";i:600;s:4:"file";s:14:"2015/09/05.jpg";s:5:"sizes";a:5:{s:9:"thumbnail";a:4:{s:4:"file";s:14:"05-150x150.jpg";s:5:"width";i:150;s:6:"height";i:150;s:9:"mime-type";s:10:"image/jpeg";}s:6:"medium";a:4:{s:4:"file";s:14:"05-300x225.jpg";s:5:"width";i:300;s:6:"height";i:225;s:9:"mime-type";s:10:"image/jpeg";}s:12:"medium_large";a:4:{s:4:"file";s:14:"05-768x576.jpg";s:5:"width";i:768;s:6:"height";i:576;s:9:"mime-type";s:10:"image/jpeg";}s:17:"dazzling-featured";a:4:{s:4:"file";s:14:"05-730x410.jpg";s:5:"width";i:730;s:6:"height";i:410;s:9:"mime-type";s:10:"image/jpeg";}s:9:"tab-small";a:4:{s:4:"file";s:12:"05-60x60.jpg";s:5:"width";i:60;s:6:"height";i:60;s:9:"mime-type";s:10:"image/jpeg";}}s:10:"image_meta";a:12:{s:8:"aperture";s:1:"0";s:6:"credit";s:0:"";s:6:"camera";s:0:"";s:7:"caption";s:0:"";s:17:"created_timestamp";s:1:"0";s:9:"copyright";s:0:"";s:12:"focal_length";s:1:"0";s:3:"iso";s:1:"0";s:13:"shutter_speed";s:1:"0";s:5:"title";s:0:"";s:11:"orientation";s:1:"0";s:8:"keywords";a:0:{}}}]]></wp:meta_value>
|
||||
</wp:postmeta>
|
||||
</item>
|
||||
</channel>
|
||||
</rss>
|
||||
+99
@@ -0,0 +1,99 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?><!-- This is a WordPress eXtended RSS file generated by WordPress as an export of your site. -->
|
||||
<!-- It contains information about your site's posts, pages, comments, categories, and other content. -->
|
||||
<!-- You may use this file to transfer that content from one site to another. -->
|
||||
<!-- This file is not intended to serve as a complete backup of your site. -->
|
||||
|
||||
<!-- To import this information into a WordPress site follow these steps: -->
|
||||
<!-- 1. Log in to that site as an administrator. -->
|
||||
<!-- 2. Go to Tools: Import in the WordPress admin panel. -->
|
||||
<!-- 3. Install the "WordPress" importer from the list. -->
|
||||
<!-- 4. Activate & Run Importer. -->
|
||||
<!-- 5. Upload this file using the form provided on that page. -->
|
||||
<!-- 6. You will first be asked to map the authors in this export file to users -->
|
||||
<!-- on the site. For each author, you may choose to map to an -->
|
||||
<!-- existing user on the site or to create a new user. -->
|
||||
<!-- 7. WordPress will then import each of the posts, pages, comments, categories, etc. -->
|
||||
<!-- contained in this file into your site. -->
|
||||
<!-- generator="WordPress/4.6.1" created="2016-11-02 15:23" -->
|
||||
<rss version="2.0"
|
||||
xmlns:excerpt="http://wordpress.org/export/1.2/excerpt/"
|
||||
xmlns:content="http://purl.org/rss/1.0/modules/content/"
|
||||
xmlns:wfw="http://wellformedweb.org/CommentAPI/"
|
||||
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
||||
xmlns:wp="http://wordpress.org/export/1.2/"
|
||||
>
|
||||
|
||||
<channel>
|
||||
<title>WPBakery</title>
|
||||
<link>http://localhost</link>
|
||||
<description>Fun and Test</description>
|
||||
<pubDate>Wed, 02 Nov 2016 15:23:54 +0000</pubDate>
|
||||
<language>en-US</language>
|
||||
<wp:wxr_version>1.2</wp:wxr_version>
|
||||
<wp:base_site_url>http://localhost</wp:base_site_url>
|
||||
<wp:base_blog_url>http://localhost</wp:base_blog_url>
|
||||
|
||||
<item>
|
||||
<title><![CDATA[Hero Section Teaser]]></title>
|
||||
<link></link>
|
||||
<pubDate></pubDate>
|
||||
<dc:creator><![CDATA[admin]]></dc:creator>
|
||||
<guid isPermaLink="false">http://vc4.dev/?post_type=vc4_templates&p=6</guid>
|
||||
<description/>
|
||||
<content:encoded><![CDATA[[vc_row full_width="stretch_row" full_height="yes" css=".vc_custom_1477999928287{background-image: url(http://localhost/wp-content/uploads/2016/08/01-1.jpg?id=3360) !important;background-position: center !important;background-repeat: no-repeat !important;background-size: cover !important;}"][vc_column width="1/2"][vc_custom_heading text="The Park. The City." font_container="tag:h1|font_size:80|text_align:left|color:%23ffffff" use_theme_fonts="yes"][vc_separator color="orange" align="align_left" border_width="7" el_width="50"][/vc_column][vc_column width="1/2"][/vc_column][/vc_row]]]></content:encoded>
|
||||
<excerpt:encoded><![CDATA[]]></excerpt:encoded>
|
||||
<wp:post_id>1</wp:post_id>
|
||||
<wp:post_date></wp:post_date>
|
||||
<wp:post_date_gmt></wp:post_date_gmt>
|
||||
<wp:comment_status><![CDATA[closed]]></wp:comment_status>
|
||||
<wp:ping_status><![CDATA[closed]]></wp:ping_status>
|
||||
<wp:post_name><![CDATA[Hero Section Teaser]]></wp:post_name>
|
||||
<wp:status><![CDATA[publish]]></wp:status>
|
||||
<wp:post_parent>0</wp:post_parent>
|
||||
<wp:menu_order>0</wp:menu_order>
|
||||
<wp:post_type><![CDATA[vc4_templates]]></wp:post_type>
|
||||
<wp:post_password><![CDATA[]]></wp:post_password>
|
||||
<wp:is_sticky>0</wp:is_sticky>
|
||||
<wp:postmeta>
|
||||
<wp:meta_key><![CDATA[_vc4_templates-version]]></wp:meta_key>
|
||||
<wp:meta_value><![CDATA[1]]></wp:meta_value>
|
||||
</wp:postmeta>
|
||||
<wp:postmeta>
|
||||
<wp:meta_key><![CDATA[_vc4_templates-id]]></wp:meta_key>
|
||||
<wp:meta_value><![CDATA[1c0f16a0-a133-11e6-a72f-339d058b3a4e]]></wp:meta_value>
|
||||
</wp:postmeta>
|
||||
</item>
|
||||
<item>
|
||||
<title>01</title>
|
||||
<link></link>
|
||||
<pubDate></pubDate>
|
||||
<dc:creator><![CDATA[RaitisSevelis]]></dc:creator>
|
||||
<guid isPermaLink="false"></guid>
|
||||
<description></description>
|
||||
<content:encoded><![CDATA[]]></content:encoded>
|
||||
<excerpt:encoded><![CDATA[]]></excerpt:encoded>
|
||||
<wp:post_id>3360</wp:post_id>
|
||||
<wp:post_date><![CDATA[2016-11-01 11:32:05]]></wp:post_date>
|
||||
<wp:post_date_gmt><![CDATA[2016-11-01 11:32:05]]></wp:post_date_gmt>
|
||||
<wp:comment_status><![CDATA[open]]></wp:comment_status>
|
||||
<wp:ping_status><![CDATA[closed]]></wp:ping_status>
|
||||
<wp:post_name><![CDATA[01-35]]></wp:post_name>
|
||||
<wp:status><![CDATA[inherit]]></wp:status>
|
||||
<wp:post_parent>3173</wp:post_parent>
|
||||
<wp:menu_order>0</wp:menu_order>
|
||||
<wp:post_type><![CDATA[attachment]]></wp:post_type>
|
||||
<wp:post_password><![CDATA[]]></wp:post_password>
|
||||
<wp:is_sticky>0</wp:is_sticky>
|
||||
<wp:attachment_url><![CDATA[https://vc-cc-static.s3-us-west-2.amazonaws.com/templates/1c0f16a0-a133-11e6-a72f-339d058b3a4e/assets/hero-section-teaser-3360.jpg]]></wp:attachment_url>
|
||||
<wp:attachment_real_url><![CDATA[http://localhost/wp-content/uploads/2016/08/01-1.jpg]]></wp:attachment_real_url>
|
||||
<wp:postmeta>
|
||||
<wp:meta_key><![CDATA[_wp_attached_file]]></wp:meta_key>
|
||||
<wp:meta_value><![CDATA[2016/08/01-1.jpg]]></wp:meta_value>
|
||||
</wp:postmeta>
|
||||
<wp:postmeta>
|
||||
<wp:meta_key><![CDATA[_wp_attachment_metadata]]></wp:meta_key>
|
||||
<wp:meta_value><![CDATA[a:5:{s:5:"width";i:1280;s:6:"height";i:812;s:4:"file";s:16:"2016/08/01-1.jpg";s:5:"sizes";a:6:{s:9:"thumbnail";a:4:{s:4:"file";s:16:"01-1-150x150.jpg";s:5:"width";i:150;s:6:"height";i:150;s:9:"mime-type";s:10:"image/jpeg";}s:6:"medium";a:4:{s:4:"file";s:16:"01-1-300x190.jpg";s:5:"width";i:300;s:6:"height";i:190;s:9:"mime-type";s:10:"image/jpeg";}s:12:"medium_large";a:4:{s:4:"file";s:16:"01-1-768x487.jpg";s:5:"width";i:768;s:6:"height";i:487;s:9:"mime-type";s:10:"image/jpeg";}s:5:"large";a:4:{s:4:"file";s:17:"01-1-1024x650.jpg";s:5:"width";i:1024;s:6:"height";i:650;s:9:"mime-type";s:10:"image/jpeg";}s:17:"dazzling-featured";a:4:{s:4:"file";s:16:"01-1-730x410.jpg";s:5:"width";i:730;s:6:"height";i:410;s:9:"mime-type";s:10:"image/jpeg";}s:9:"tab-small";a:4:{s:4:"file";s:14:"01-1-60x60.jpg";s:5:"width";i:60;s:6:"height";i:60;s:9:"mime-type";s:10:"image/jpeg";}}s:10:"image_meta";a:12:{s:8:"aperture";s:1:"0";s:6:"credit";s:0:"";s:6:"camera";s:0:"";s:7:"caption";s:0:"";s:17:"created_timestamp";s:1:"0";s:9:"copyright";s:0:"";s:12:"focal_length";s:1:"0";s:3:"iso";s:1:"0";s:13:"shutter_speed";s:1:"0";s:5:"title";s:0:"";s:11:"orientation";s:1:"0";s:8:"keywords";a:0:{}}}]]></wp:meta_value>
|
||||
</wp:postmeta>
|
||||
</item>
|
||||
</channel>
|
||||
</rss>
|
||||
+131
@@ -0,0 +1,131 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?><!-- This is a WordPress eXtended RSS file generated by WordPress as an export of your site. -->
|
||||
<!-- It contains information about your site's posts, pages, comments, categories, and other content. -->
|
||||
<!-- You may use this file to transfer that content from one site to another. -->
|
||||
<!-- This file is not intended to serve as a complete backup of your site. -->
|
||||
|
||||
<!-- To import this information into a WordPress site follow these steps: -->
|
||||
<!-- 1. Log in to that site as an administrator. -->
|
||||
<!-- 2. Go to Tools: Import in the WordPress admin panel. -->
|
||||
<!-- 3. Install the "WordPress" importer from the list. -->
|
||||
<!-- 4. Activate & Run Importer. -->
|
||||
<!-- 5. Upload this file using the form provided on that page. -->
|
||||
<!-- 6. You will first be asked to map the authors in this export file to users -->
|
||||
<!-- on the site. For each author, you may choose to map to an -->
|
||||
<!-- existing user on the site or to create a new user. -->
|
||||
<!-- 7. WordPress will then import each of the posts, pages, comments, categories, etc. -->
|
||||
<!-- contained in this file into your site. -->
|
||||
<!-- generator="WordPress/4.7" created="2016-12-22 08:53" -->
|
||||
<rss version="2.0"
|
||||
xmlns:excerpt="http://wordpress.org/export/1.2/excerpt/"
|
||||
xmlns:content="http://purl.org/rss/1.0/modules/content/"
|
||||
xmlns:wfw="http://wellformedweb.org/CommentAPI/"
|
||||
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
||||
xmlns:wp="http://wordpress.org/export/1.2/"
|
||||
>
|
||||
|
||||
<channel>
|
||||
<title>WPBakery</title>
|
||||
<link>http://localhost</link>
|
||||
<description>Fun and Test</description>
|
||||
<pubDate>Thu, 22 Dec 2016 08:53:14 +0000</pubDate>
|
||||
<language>en-US</language>
|
||||
<wp:wxr_version>1.2</wp:wxr_version>
|
||||
<wp:base_site_url>http://localhost</wp:base_site_url>
|
||||
<wp:base_blog_url>http://localhost</wp:base_blog_url>
|
||||
|
||||
<item>
|
||||
<title><![CDATA[Case Review]]></title>
|
||||
<link></link>
|
||||
<pubDate></pubDate>
|
||||
<dc:creator><![CDATA[admin]]></dc:creator>
|
||||
<guid isPermaLink="false">http://vc4.dev/?post_type=vc4_templates&p=6</guid>
|
||||
<description/>
|
||||
<content:encoded><![CDATA[[vc_row full_width="stretch_row" equal_height="yes" css=".vc_custom_1482325532881{padding-top: 50px !important;padding-bottom: 50px !important;background-color: #556eba !important;}"][vc_column width="1/2"][vc_single_image image="3531" img_size="full" alignment="center"][/vc_column][vc_column width="1/2"][vc_custom_heading text="An Apartment " font_container="tag:h1|text_align:left|color:%23ffffff" use_theme_fonts="yes" css=".vc_custom_1482325941843{margin-bottom: 15px !important;padding-top: 35px !important;}"][vc_column_text]<span style="color: #ffffff;">A home or domicile is a dwelling-place used as a permanent or semi-permanent residence for an individual, family, household or several families in a tribe. It is often a house, apartment, or other building, or alternatively a mobile home, houseboat, yurt or any other portable shelter. Homes typically provide areas and facilities for sleeping, preparing food, eating and hygiene. Larger groups may live in a nursing home, children's home, convent or any similar institution. A homestead also includes agricultural land and facilities for domesticated animals.</span>[/vc_column_text][vc_row_inner][vc_column_inner width="1/4"][vc_single_image image="3297" img_size="full" style="vc_box_circle_2"][/vc_column_inner][vc_column_inner width="3/4"][vc_custom_heading text="Bruno McCormick, Sr." font_container="tag:h4|text_align:left|color:%23ffffff" use_theme_fonts="yes"][vc_column_text]<span style="color: #ffffff;">An architect is someone who plans, designs, and reviews the construction of buildings.</span>[/vc_column_text][/vc_column_inner][/vc_row_inner][/vc_column][/vc_row]]]></content:encoded>
|
||||
<excerpt:encoded><![CDATA[]]></excerpt:encoded>
|
||||
<wp:post_id>1</wp:post_id>
|
||||
<wp:post_date></wp:post_date>
|
||||
<wp:post_date_gmt></wp:post_date_gmt>
|
||||
<wp:comment_status><![CDATA[closed]]></wp:comment_status>
|
||||
<wp:ping_status><![CDATA[closed]]></wp:ping_status>
|
||||
<wp:post_name><![CDATA[Case Review]]></wp:post_name>
|
||||
<wp:status><![CDATA[publish]]></wp:status>
|
||||
<wp:post_parent>0</wp:post_parent>
|
||||
<wp:menu_order>0</wp:menu_order>
|
||||
<wp:post_type><![CDATA[vc4_templates]]></wp:post_type>
|
||||
<wp:post_password><![CDATA[]]></wp:post_password>
|
||||
<wp:is_sticky>0</wp:is_sticky>
|
||||
<wp:postmeta>
|
||||
<wp:meta_key><![CDATA[_vc4_templates-version]]></wp:meta_key>
|
||||
<wp:meta_value><![CDATA[1]]></wp:meta_value>
|
||||
</wp:postmeta>
|
||||
<wp:postmeta>
|
||||
<wp:meta_key><![CDATA[_vc4_templates-id]]></wp:meta_key>
|
||||
<wp:meta_value><![CDATA[23aeb020-c824-11e6-ac6f-3beeb2c7aa51]]></wp:meta_value>
|
||||
</wp:postmeta>
|
||||
</item>
|
||||
<item>
|
||||
<title>01</title>
|
||||
<link></link>
|
||||
<pubDate></pubDate>
|
||||
<dc:creator><![CDATA[RaitisSevelis]]></dc:creator>
|
||||
<guid isPermaLink="false"></guid>
|
||||
<description></description>
|
||||
<content:encoded><![CDATA[]]></content:encoded>
|
||||
<excerpt:encoded><![CDATA[]]></excerpt:encoded>
|
||||
<wp:post_id>3297</wp:post_id>
|
||||
<wp:post_date><![CDATA[2016-10-04 11:05:01]]></wp:post_date>
|
||||
<wp:post_date_gmt><![CDATA[2016-10-04 11:05:01]]></wp:post_date_gmt>
|
||||
<wp:comment_status><![CDATA[open]]></wp:comment_status>
|
||||
<wp:ping_status><![CDATA[closed]]></wp:ping_status>
|
||||
<wp:post_name><![CDATA[01-19]]></wp:post_name>
|
||||
<wp:status><![CDATA[inherit]]></wp:status>
|
||||
<wp:post_parent>2602</wp:post_parent>
|
||||
<wp:menu_order>0</wp:menu_order>
|
||||
<wp:post_type><![CDATA[attachment]]></wp:post_type>
|
||||
<wp:post_password><![CDATA[]]></wp:post_password>
|
||||
<wp:is_sticky>0</wp:is_sticky>
|
||||
<wp:attachment_url><![CDATA[https://vc-cc-static.s3-us-west-2.amazonaws.com/templates/23aeb020-c824-11e6-ac6f-3beeb2c7aa51/assets/case-review-3297.jpg]]></wp:attachment_url>
|
||||
<wp:attachment_real_url><![CDATA[http://localhost/wp-content/uploads/2015/09/01-18.jpg]]></wp:attachment_real_url>
|
||||
<wp:postmeta>
|
||||
<wp:meta_key><![CDATA[_wp_attached_file]]></wp:meta_key>
|
||||
<wp:meta_value><![CDATA[2015/09/01-18.jpg]]></wp:meta_value>
|
||||
</wp:postmeta>
|
||||
<wp:postmeta>
|
||||
<wp:meta_key><![CDATA[_wp_attachment_metadata]]></wp:meta_key>
|
||||
<wp:meta_value><![CDATA[a:5:{s:5:"width";i:400;s:6:"height";i:600;s:4:"file";s:17:"2015/09/01-18.jpg";s:5:"sizes";a:4:{s:9:"thumbnail";a:4:{s:4:"file";s:17:"01-18-150x150.jpg";s:5:"width";i:150;s:6:"height";i:150;s:9:"mime-type";s:10:"image/jpeg";}s:6:"medium";a:4:{s:4:"file";s:17:"01-18-200x300.jpg";s:5:"width";i:200;s:6:"height";i:300;s:9:"mime-type";s:10:"image/jpeg";}s:17:"dazzling-featured";a:4:{s:4:"file";s:17:"01-18-400x410.jpg";s:5:"width";i:400;s:6:"height";i:410;s:9:"mime-type";s:10:"image/jpeg";}s:9:"tab-small";a:4:{s:4:"file";s:15:"01-18-60x60.jpg";s:5:"width";i:60;s:6:"height";i:60;s:9:"mime-type";s:10:"image/jpeg";}}s:10:"image_meta";a:12:{s:8:"aperture";s:1:"0";s:6:"credit";s:0:"";s:6:"camera";s:0:"";s:7:"caption";s:0:"";s:17:"created_timestamp";s:1:"0";s:9:"copyright";s:0:"";s:12:"focal_length";s:1:"0";s:3:"iso";s:1:"0";s:13:"shutter_speed";s:1:"0";s:5:"title";s:0:"";s:11:"orientation";s:1:"0";s:8:"keywords";a:0:{}}}]]></wp:meta_value>
|
||||
</wp:postmeta>
|
||||
</item>
|
||||
<item>
|
||||
<title>01</title>
|
||||
<link></link>
|
||||
<pubDate></pubDate>
|
||||
<dc:creator><![CDATA[RaitisSevelis]]></dc:creator>
|
||||
<guid isPermaLink="false"></guid>
|
||||
<description></description>
|
||||
<content:encoded><![CDATA[]]></content:encoded>
|
||||
<excerpt:encoded><![CDATA[]]></excerpt:encoded>
|
||||
<wp:post_id>3531</wp:post_id>
|
||||
<wp:post_date><![CDATA[2016-12-21 13:08:17]]></wp:post_date>
|
||||
<wp:post_date_gmt><![CDATA[2016-12-21 13:08:17]]></wp:post_date_gmt>
|
||||
<wp:comment_status><![CDATA[open]]></wp:comment_status>
|
||||
<wp:ping_status><![CDATA[closed]]></wp:ping_status>
|
||||
<wp:post_name><![CDATA[01-53]]></wp:post_name>
|
||||
<wp:status><![CDATA[inherit]]></wp:status>
|
||||
<wp:post_parent>3173</wp:post_parent>
|
||||
<wp:menu_order>0</wp:menu_order>
|
||||
<wp:post_type><![CDATA[attachment]]></wp:post_type>
|
||||
<wp:post_password><![CDATA[]]></wp:post_password>
|
||||
<wp:is_sticky>0</wp:is_sticky>
|
||||
<wp:attachment_url><![CDATA[https://vc-cc-static.s3-us-west-2.amazonaws.com/templates/23aeb020-c824-11e6-ac6f-3beeb2c7aa51/assets/case-review-3531.png]]></wp:attachment_url>
|
||||
<wp:attachment_real_url><![CDATA[http://localhost/wp-content/uploads/2016/08/01.png]]></wp:attachment_real_url>
|
||||
<wp:postmeta>
|
||||
<wp:meta_key><![CDATA[_wp_attached_file]]></wp:meta_key>
|
||||
<wp:meta_value><![CDATA[2016/08/01.png]]></wp:meta_value>
|
||||
</wp:postmeta>
|
||||
<wp:postmeta>
|
||||
<wp:meta_key><![CDATA[_wp_attachment_metadata]]></wp:meta_key>
|
||||
<wp:meta_value><![CDATA[a:5:{s:5:"width";i:400;s:6:"height";i:600;s:4:"file";s:14:"2016/08/01.png";s:5:"sizes";a:2:{s:9:"thumbnail";a:4:{s:4:"file";s:14:"01-150x150.png";s:5:"width";i:150;s:6:"height";i:150;s:9:"mime-type";s:9:"image/png";}s:6:"medium";a:4:{s:4:"file";s:14:"01-200x300.png";s:5:"width";i:200;s:6:"height";i:300;s:9:"mime-type";s:9:"image/png";}}s:10:"image_meta";a:12:{s:8:"aperture";s:1:"0";s:6:"credit";s:0:"";s:6:"camera";s:0:"";s:7:"caption";s:0:"";s:17:"created_timestamp";s:1:"0";s:9:"copyright";s:0:"";s:12:"focal_length";s:1:"0";s:3:"iso";s:1:"0";s:13:"shutter_speed";s:1:"0";s:5:"title";s:0:"";s:11:"orientation";s:1:"0";s:8:"keywords";a:0:{}}}]]></wp:meta_value>
|
||||
</wp:postmeta>
|
||||
</item>
|
||||
</channel>
|
||||
</rss>
|
||||
+163
@@ -0,0 +1,163 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?><!-- This is a WordPress eXtended RSS file generated by WordPress as an export of your site. -->
|
||||
<!-- It contains information about your site's posts, pages, comments, categories, and other content. -->
|
||||
<!-- You may use this file to transfer that content from one site to another. -->
|
||||
<!-- This file is not intended to serve as a complete backup of your site. -->
|
||||
|
||||
<!-- To import this information into a WordPress site follow these steps: -->
|
||||
<!-- 1. Log in to that site as an administrator. -->
|
||||
<!-- 2. Go to Tools: Import in the WordPress admin panel. -->
|
||||
<!-- 3. Install the "WordPress" importer from the list. -->
|
||||
<!-- 4. Activate & Run Importer. -->
|
||||
<!-- 5. Upload this file using the form provided on that page. -->
|
||||
<!-- 6. You will first be asked to map the authors in this export file to users -->
|
||||
<!-- on the site. For each author, you may choose to map to an -->
|
||||
<!-- existing user on the site or to create a new user. -->
|
||||
<!-- 7. WordPress will then import each of the posts, pages, comments, categories, etc. -->
|
||||
<!-- contained in this file into your site. -->
|
||||
<!-- generator="WordPress/4.6.1" created="2016-11-02 15:23" -->
|
||||
<rss version="2.0"
|
||||
xmlns:excerpt="http://wordpress.org/export/1.2/excerpt/"
|
||||
xmlns:content="http://purl.org/rss/1.0/modules/content/"
|
||||
xmlns:wfw="http://wellformedweb.org/CommentAPI/"
|
||||
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
||||
xmlns:wp="http://wordpress.org/export/1.2/"
|
||||
>
|
||||
|
||||
<channel>
|
||||
<title>WPBakery</title>
|
||||
<link>http://localhost</link>
|
||||
<description>Fun and Test</description>
|
||||
<pubDate>Wed, 02 Nov 2016 15:23:32 +0000</pubDate>
|
||||
<language>en-US</language>
|
||||
<wp:wxr_version>1.2</wp:wxr_version>
|
||||
<wp:base_site_url>http://localhost</wp:base_site_url>
|
||||
<wp:base_blog_url>http://localhost</wp:base_blog_url>
|
||||
|
||||
<item>
|
||||
<title><![CDATA[Article With Image Grid]]></title>
|
||||
<link></link>
|
||||
<pubDate></pubDate>
|
||||
<dc:creator><![CDATA[admin]]></dc:creator>
|
||||
<guid isPermaLink="false">http://vc4.dev/?post_type=vc4_templates&p=6</guid>
|
||||
<description/>
|
||||
<content:encoded><![CDATA[[vc_row][vc_column][vc_custom_heading text="Art Museum or Art Gallery" font_container="tag:h1|text_align:center" use_theme_fonts="yes"][vc_column_text]<p style="text-align: center;">An art museum or art gallery is a building or space for the exhibition of art, usually visual art. Museums can be public or private, but what distinguishes a museum is the ownership of a collection. Paintings are the most commonly displayed art objects;</p>[/vc_column_text][/vc_column][/vc_row][vc_row][vc_column width="1/3"][vc_single_image image="3286" img_size="full" alignment="center" style="vc_box_rounded"][/vc_column][vc_column width="1/3"][vc_single_image image="3287" img_size="full" alignment="center" style="vc_box_rounded"][/vc_column][vc_column width="1/3"][vc_single_image image="3288" img_size="full" alignment="center" style="vc_box_rounded"][/vc_column][/vc_row][vc_row][vc_column][vc_column_text]<p style="text-align: center;">Although primarily concerned with providing a space to show works of visual art, art galleries are sometimes used to host other artistic activities, such as performance arts, music concerts, or poetry readings.</p>[/vc_column_text][/vc_column][/vc_row]]]></content:encoded>
|
||||
<excerpt:encoded><![CDATA[]]></excerpt:encoded>
|
||||
<wp:post_id>1</wp:post_id>
|
||||
<wp:post_date></wp:post_date>
|
||||
<wp:post_date_gmt></wp:post_date_gmt>
|
||||
<wp:comment_status><![CDATA[closed]]></wp:comment_status>
|
||||
<wp:ping_status><![CDATA[closed]]></wp:ping_status>
|
||||
<wp:post_name><![CDATA[Article With Image Grid]]></wp:post_name>
|
||||
<wp:status><![CDATA[publish]]></wp:status>
|
||||
<wp:post_parent>0</wp:post_parent>
|
||||
<wp:menu_order>0</wp:menu_order>
|
||||
<wp:post_type><![CDATA[vc4_templates]]></wp:post_type>
|
||||
<wp:post_password><![CDATA[]]></wp:post_password>
|
||||
<wp:is_sticky>0</wp:is_sticky>
|
||||
<wp:postmeta>
|
||||
<wp:meta_key><![CDATA[_vc4_templates-version]]></wp:meta_key>
|
||||
<wp:meta_value><![CDATA[1]]></wp:meta_value>
|
||||
</wp:postmeta>
|
||||
<wp:postmeta>
|
||||
<wp:meta_key><![CDATA[_vc4_templates-id]]></wp:meta_key>
|
||||
<wp:meta_value><![CDATA[23f1a550-a132-11e6-af7d-87039926f2fc]]></wp:meta_value>
|
||||
</wp:postmeta>
|
||||
</item>
|
||||
<item>
|
||||
<title>01</title>
|
||||
<link></link>
|
||||
<pubDate></pubDate>
|
||||
<dc:creator><![CDATA[RaitisSevelis]]></dc:creator>
|
||||
<guid isPermaLink="false"></guid>
|
||||
<description></description>
|
||||
<content:encoded><![CDATA[]]></content:encoded>
|
||||
<excerpt:encoded><![CDATA[]]></excerpt:encoded>
|
||||
<wp:post_id>3286</wp:post_id>
|
||||
<wp:post_date><![CDATA[2016-10-04 08:54:16]]></wp:post_date>
|
||||
<wp:post_date_gmt><![CDATA[2016-10-04 08:54:16]]></wp:post_date_gmt>
|
||||
<wp:comment_status><![CDATA[open]]></wp:comment_status>
|
||||
<wp:ping_status><![CDATA[closed]]></wp:ping_status>
|
||||
<wp:post_name><![CDATA[01-15]]></wp:post_name>
|
||||
<wp:status><![CDATA[inherit]]></wp:status>
|
||||
<wp:post_parent>2602</wp:post_parent>
|
||||
<wp:menu_order>0</wp:menu_order>
|
||||
<wp:post_type><![CDATA[attachment]]></wp:post_type>
|
||||
<wp:post_password><![CDATA[]]></wp:post_password>
|
||||
<wp:is_sticky>0</wp:is_sticky>
|
||||
<wp:attachment_url><![CDATA[https://vc-cc-static.s3-us-west-2.amazonaws.com/templates/23f1a550-a132-11e6-af7d-87039926f2fc/assets/article-with-image-grid-3286.jpg]]></wp:attachment_url>
|
||||
<wp:attachment_real_url><![CDATA[http://localhost/wp-content/uploads/2015/09/01-14.jpg]]></wp:attachment_real_url>
|
||||
<wp:postmeta>
|
||||
<wp:meta_key><![CDATA[_wp_attached_file]]></wp:meta_key>
|
||||
<wp:meta_value><![CDATA[2015/09/01-14.jpg]]></wp:meta_value>
|
||||
</wp:postmeta>
|
||||
<wp:postmeta>
|
||||
<wp:meta_key><![CDATA[_wp_attachment_metadata]]></wp:meta_key>
|
||||
<wp:meta_value><![CDATA[a:5:{s:5:"width";i:800;s:6:"height";i:600;s:4:"file";s:17:"2015/09/01-14.jpg";s:5:"sizes";a:5:{s:9:"thumbnail";a:4:{s:4:"file";s:17:"01-14-150x150.jpg";s:5:"width";i:150;s:6:"height";i:150;s:9:"mime-type";s:10:"image/jpeg";}s:6:"medium";a:4:{s:4:"file";s:17:"01-14-300x225.jpg";s:5:"width";i:300;s:6:"height";i:225;s:9:"mime-type";s:10:"image/jpeg";}s:12:"medium_large";a:4:{s:4:"file";s:17:"01-14-768x576.jpg";s:5:"width";i:768;s:6:"height";i:576;s:9:"mime-type";s:10:"image/jpeg";}s:17:"dazzling-featured";a:4:{s:4:"file";s:17:"01-14-730x410.jpg";s:5:"width";i:730;s:6:"height";i:410;s:9:"mime-type";s:10:"image/jpeg";}s:9:"tab-small";a:4:{s:4:"file";s:15:"01-14-60x60.jpg";s:5:"width";i:60;s:6:"height";i:60;s:9:"mime-type";s:10:"image/jpeg";}}s:10:"image_meta";a:12:{s:8:"aperture";s:1:"0";s:6:"credit";s:0:"";s:6:"camera";s:0:"";s:7:"caption";s:0:"";s:17:"created_timestamp";s:1:"0";s:9:"copyright";s:0:"";s:12:"focal_length";s:1:"0";s:3:"iso";s:1:"0";s:13:"shutter_speed";s:1:"0";s:5:"title";s:0:"";s:11:"orientation";s:1:"0";s:8:"keywords";a:0:{}}}]]></wp:meta_value>
|
||||
</wp:postmeta>
|
||||
</item>
|
||||
<item>
|
||||
<title>02</title>
|
||||
<link></link>
|
||||
<pubDate></pubDate>
|
||||
<dc:creator><![CDATA[RaitisSevelis]]></dc:creator>
|
||||
<guid isPermaLink="false"></guid>
|
||||
<description></description>
|
||||
<content:encoded><![CDATA[]]></content:encoded>
|
||||
<excerpt:encoded><![CDATA[]]></excerpt:encoded>
|
||||
<wp:post_id>3287</wp:post_id>
|
||||
<wp:post_date><![CDATA[2016-10-04 08:54:17]]></wp:post_date>
|
||||
<wp:post_date_gmt><![CDATA[2016-10-04 08:54:17]]></wp:post_date_gmt>
|
||||
<wp:comment_status><![CDATA[open]]></wp:comment_status>
|
||||
<wp:ping_status><![CDATA[closed]]></wp:ping_status>
|
||||
<wp:post_name><![CDATA[02-11]]></wp:post_name>
|
||||
<wp:status><![CDATA[inherit]]></wp:status>
|
||||
<wp:post_parent>2602</wp:post_parent>
|
||||
<wp:menu_order>0</wp:menu_order>
|
||||
<wp:post_type><![CDATA[attachment]]></wp:post_type>
|
||||
<wp:post_password><![CDATA[]]></wp:post_password>
|
||||
<wp:is_sticky>0</wp:is_sticky>
|
||||
<wp:attachment_url><![CDATA[https://vc-cc-static.s3-us-west-2.amazonaws.com/templates/23f1a550-a132-11e6-af7d-87039926f2fc/assets/article-with-image-grid-3287.jpg]]></wp:attachment_url>
|
||||
<wp:attachment_real_url><![CDATA[http://localhost/wp-content/uploads/2015/09/02-10.jpg]]></wp:attachment_real_url>
|
||||
<wp:postmeta>
|
||||
<wp:meta_key><![CDATA[_wp_attached_file]]></wp:meta_key>
|
||||
<wp:meta_value><![CDATA[2015/09/02-10.jpg]]></wp:meta_value>
|
||||
</wp:postmeta>
|
||||
<wp:postmeta>
|
||||
<wp:meta_key><![CDATA[_wp_attachment_metadata]]></wp:meta_key>
|
||||
<wp:meta_value><![CDATA[a:5:{s:5:"width";i:800;s:6:"height";i:600;s:4:"file";s:17:"2015/09/02-10.jpg";s:5:"sizes";a:5:{s:9:"thumbnail";a:4:{s:4:"file";s:17:"02-10-150x150.jpg";s:5:"width";i:150;s:6:"height";i:150;s:9:"mime-type";s:10:"image/jpeg";}s:6:"medium";a:4:{s:4:"file";s:17:"02-10-300x225.jpg";s:5:"width";i:300;s:6:"height";i:225;s:9:"mime-type";s:10:"image/jpeg";}s:12:"medium_large";a:4:{s:4:"file";s:17:"02-10-768x576.jpg";s:5:"width";i:768;s:6:"height";i:576;s:9:"mime-type";s:10:"image/jpeg";}s:17:"dazzling-featured";a:4:{s:4:"file";s:17:"02-10-730x410.jpg";s:5:"width";i:730;s:6:"height";i:410;s:9:"mime-type";s:10:"image/jpeg";}s:9:"tab-small";a:4:{s:4:"file";s:15:"02-10-60x60.jpg";s:5:"width";i:60;s:6:"height";i:60;s:9:"mime-type";s:10:"image/jpeg";}}s:10:"image_meta";a:12:{s:8:"aperture";s:1:"0";s:6:"credit";s:0:"";s:6:"camera";s:0:"";s:7:"caption";s:0:"";s:17:"created_timestamp";s:1:"0";s:9:"copyright";s:0:"";s:12:"focal_length";s:1:"0";s:3:"iso";s:1:"0";s:13:"shutter_speed";s:1:"0";s:5:"title";s:0:"";s:11:"orientation";s:1:"0";s:8:"keywords";a:0:{}}}]]></wp:meta_value>
|
||||
</wp:postmeta>
|
||||
</item>
|
||||
<item>
|
||||
<title>03</title>
|
||||
<link></link>
|
||||
<pubDate></pubDate>
|
||||
<dc:creator><![CDATA[RaitisSevelis]]></dc:creator>
|
||||
<guid isPermaLink="false"></guid>
|
||||
<description></description>
|
||||
<content:encoded><![CDATA[]]></content:encoded>
|
||||
<excerpt:encoded><![CDATA[]]></excerpt:encoded>
|
||||
<wp:post_id>3288</wp:post_id>
|
||||
<wp:post_date><![CDATA[2016-10-04 08:54:18]]></wp:post_date>
|
||||
<wp:post_date_gmt><![CDATA[2016-10-04 08:54:18]]></wp:post_date_gmt>
|
||||
<wp:comment_status><![CDATA[open]]></wp:comment_status>
|
||||
<wp:ping_status><![CDATA[closed]]></wp:ping_status>
|
||||
<wp:post_name><![CDATA[03-5]]></wp:post_name>
|
||||
<wp:status><![CDATA[inherit]]></wp:status>
|
||||
<wp:post_parent>2602</wp:post_parent>
|
||||
<wp:menu_order>0</wp:menu_order>
|
||||
<wp:post_type><![CDATA[attachment]]></wp:post_type>
|
||||
<wp:post_password><![CDATA[]]></wp:post_password>
|
||||
<wp:is_sticky>0</wp:is_sticky>
|
||||
<wp:attachment_url><![CDATA[https://vc-cc-static.s3-us-west-2.amazonaws.com/templates/23f1a550-a132-11e6-af7d-87039926f2fc/assets/article-with-image-grid-3288.jpg]]></wp:attachment_url>
|
||||
<wp:attachment_real_url><![CDATA[http://localhost/wp-content/uploads/2015/09/03-4.jpg]]></wp:attachment_real_url>
|
||||
<wp:postmeta>
|
||||
<wp:meta_key><![CDATA[_wp_attached_file]]></wp:meta_key>
|
||||
<wp:meta_value><![CDATA[2015/09/03-4.jpg]]></wp:meta_value>
|
||||
</wp:postmeta>
|
||||
<wp:postmeta>
|
||||
<wp:meta_key><![CDATA[_wp_attachment_metadata]]></wp:meta_key>
|
||||
<wp:meta_value><![CDATA[a:5:{s:5:"width";i:800;s:6:"height";i:600;s:4:"file";s:16:"2015/09/03-4.jpg";s:5:"sizes";a:5:{s:9:"thumbnail";a:4:{s:4:"file";s:16:"03-4-150x150.jpg";s:5:"width";i:150;s:6:"height";i:150;s:9:"mime-type";s:10:"image/jpeg";}s:6:"medium";a:4:{s:4:"file";s:16:"03-4-300x225.jpg";s:5:"width";i:300;s:6:"height";i:225;s:9:"mime-type";s:10:"image/jpeg";}s:12:"medium_large";a:4:{s:4:"file";s:16:"03-4-768x576.jpg";s:5:"width";i:768;s:6:"height";i:576;s:9:"mime-type";s:10:"image/jpeg";}s:17:"dazzling-featured";a:4:{s:4:"file";s:16:"03-4-730x410.jpg";s:5:"width";i:730;s:6:"height";i:410;s:9:"mime-type";s:10:"image/jpeg";}s:9:"tab-small";a:4:{s:4:"file";s:14:"03-4-60x60.jpg";s:5:"width";i:60;s:6:"height";i:60;s:9:"mime-type";s:10:"image/jpeg";}}s:10:"image_meta";a:12:{s:8:"aperture";s:1:"0";s:6:"credit";s:0:"";s:6:"camera";s:0:"";s:7:"caption";s:0:"";s:17:"created_timestamp";s:1:"0";s:9:"copyright";s:0:"";s:12:"focal_length";s:1:"0";s:3:"iso";s:1:"0";s:13:"shutter_speed";s:1:"0";s:5:"title";s:0:"";s:11:"orientation";s:1:"0";s:8:"keywords";a:0:{}}}]]></wp:meta_value>
|
||||
</wp:postmeta>
|
||||
</item>
|
||||
</channel>
|
||||
</rss>
|
||||
+99
@@ -0,0 +1,99 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?><!-- This is a WordPress eXtended RSS file generated by WordPress as an export of your site. -->
|
||||
<!-- It contains information about your site's posts, pages, comments, categories, and other content. -->
|
||||
<!-- You may use this file to transfer that content from one site to another. -->
|
||||
<!-- This file is not intended to serve as a complete backup of your site. -->
|
||||
|
||||
<!-- To import this information into a WordPress site follow these steps: -->
|
||||
<!-- 1. Log in to that site as an administrator. -->
|
||||
<!-- 2. Go to Tools: Import in the WordPress admin panel. -->
|
||||
<!-- 3. Install the "WordPress" importer from the list. -->
|
||||
<!-- 4. Activate & Run Importer. -->
|
||||
<!-- 5. Upload this file using the form provided on that page. -->
|
||||
<!-- 6. You will first be asked to map the authors in this export file to users -->
|
||||
<!-- on the site. For each author, you may choose to map to an -->
|
||||
<!-- existing user on the site or to create a new user. -->
|
||||
<!-- 7. WordPress will then import each of the posts, pages, comments, categories, etc. -->
|
||||
<!-- contained in this file into your site. -->
|
||||
<!-- generator="WordPress/4.7.3" created="2017-03-23 13:17" -->
|
||||
<rss version="2.0"
|
||||
xmlns:excerpt="http://wordpress.org/export/1.2/excerpt/"
|
||||
xmlns:content="http://purl.org/rss/1.0/modules/content/"
|
||||
xmlns:wfw="http://wellformedweb.org/CommentAPI/"
|
||||
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
||||
xmlns:wp="http://wordpress.org/export/1.2/"
|
||||
>
|
||||
|
||||
<channel>
|
||||
<title>Rocky</title>
|
||||
<link>http://localhost</link>
|
||||
<description>Fun and Test</description>
|
||||
<pubDate>Thu, 23 Mar 2017 13:17:36 +0000</pubDate>
|
||||
<language>en-US</language>
|
||||
<wp:wxr_version>1.2</wp:wxr_version>
|
||||
<wp:base_site_url>http://localhost</wp:base_site_url>
|
||||
<wp:base_blog_url>http://localhost</wp:base_blog_url>
|
||||
|
||||
<item>
|
||||
<title><![CDATA[Editorial Section]]></title>
|
||||
<link></link>
|
||||
<pubDate></pubDate>
|
||||
<dc:creator><![CDATA[admin]]></dc:creator>
|
||||
<guid isPermaLink="false">http://vc4.dev/?post_type=vc4_templates&p=6</guid>
|
||||
<description/>
|
||||
<content:encoded><![CDATA[[vc_section full_width="stretch_row" css=".vc_custom_1490183613128{background-image: url(http://localhost/wp-content/uploads/2016/08/001-model.jpg?id=3626) !important;background-position: center !important;background-repeat: no-repeat !important;background-size: cover !important;}"][vc_row css=".vc_custom_1490183052538{margin-bottom: 0px !important;padding-bottom: 0px !important;}"][vc_column width="1/2" css=".vc_custom_1490183061477{margin-bottom: 0px !important;padding-bottom: 0px !important;}"][vc_custom_heading text="Summer Edition" font_container="tag:h4|font_size:20|text_align:left|color:%23ffffff" google_fonts="font_family:Raleway%3A100%2C200%2C300%2Cregular%2C500%2C600%2C700%2C800%2C900|font_style:500%20bold%20regular%3A500%3Anormal"][/vc_column][vc_column width="1/2" css=".vc_custom_1490183066911{margin-bottom: 0px !important;padding-bottom: 0px !important;}"][vc_custom_heading text="03" font_container="tag:h4|font_size:20|text_align:right|color:%23ffffff" google_fonts="font_family:Raleway%3A100%2C200%2C300%2Cregular%2C500%2C600%2C700%2C800%2C900|font_style:500%20bold%20regular%3A500%3Anormal"][/vc_column][/vc_row][vc_row css=".vc_custom_1490183011590{margin-top: 0px !important;padding-top: 0px !important;}"][vc_column css=".vc_custom_1490183021092{margin-top: 0px !important;padding-top: 0px !important;}"][vc_separator color="custom" align="align_left" border_width="2" accent_color="#ffffff" css=".vc_custom_1490183003947{margin-top: 0px !important;padding-top: 0px !important;}"][/vc_column][/vc_row][vc_row full_height="yes"][vc_column width="1/2"][/vc_column][vc_column width="1/2"][vc_custom_heading text="Wooden Sun" font_container="tag:h2|font_size:60|text_align:left|color:%23ffffff" google_fonts="font_family:Raleway%3A100%2C200%2C300%2Cregular%2C500%2C600%2C700%2C800%2C900|font_style:300%20light%20regular%3A300%3Anormal"][vc_column_text 0=""]<span style="color: #ffffff;">Glasses, also known as eyeglasses or spectacles, are devices consisting of glass or hard plastic lenses mounted in a frame that holds them in front of a person's eyes, typically using a bridge over the nose and arms which rest over the ears.</span>[/vc_column_text][vc_btn title="Read Full Article" style="outline-custom" outline_custom_color="#ffffff" outline_custom_hover_background="#ed834e" outline_custom_hover_text="#ffffff" shape="square"][/vc_column][/vc_row][/vc_section]]]></content:encoded>
|
||||
<excerpt:encoded><![CDATA[]]></excerpt:encoded>
|
||||
<wp:post_id>1</wp:post_id>
|
||||
<wp:post_date></wp:post_date>
|
||||
<wp:post_date_gmt></wp:post_date_gmt>
|
||||
<wp:comment_status><![CDATA[closed]]></wp:comment_status>
|
||||
<wp:ping_status><![CDATA[closed]]></wp:ping_status>
|
||||
<wp:post_name><![CDATA[Editorial Section]]></wp:post_name>
|
||||
<wp:status><![CDATA[publish]]></wp:status>
|
||||
<wp:post_parent>0</wp:post_parent>
|
||||
<wp:menu_order>0</wp:menu_order>
|
||||
<wp:post_type><![CDATA[vc4_templates]]></wp:post_type>
|
||||
<wp:post_password><![CDATA[]]></wp:post_password>
|
||||
<wp:is_sticky>0</wp:is_sticky>
|
||||
<wp:postmeta>
|
||||
<wp:meta_key><![CDATA[_vc4_templates-version]]></wp:meta_key>
|
||||
<wp:meta_value><![CDATA[1]]></wp:meta_value>
|
||||
</wp:postmeta>
|
||||
<wp:postmeta>
|
||||
<wp:meta_key><![CDATA[_vc4_templates-id]]></wp:meta_key>
|
||||
<wp:meta_value><![CDATA[28f4b1c0-0fcb-11e7-a3d9-ef785df4d291]]></wp:meta_value>
|
||||
</wp:postmeta>
|
||||
</item>
|
||||
<item>
|
||||
<title>001-model</title>
|
||||
<link></link>
|
||||
<pubDate></pubDate>
|
||||
<dc:creator><![CDATA[RaitisSevelis]]></dc:creator>
|
||||
<guid isPermaLink="false"></guid>
|
||||
<description></description>
|
||||
<content:encoded><![CDATA[]]></content:encoded>
|
||||
<excerpt:encoded><![CDATA[]]></excerpt:encoded>
|
||||
<wp:post_id>3626</wp:post_id>
|
||||
<wp:post_date><![CDATA[2017-03-22 11:53:29]]></wp:post_date>
|
||||
<wp:post_date_gmt><![CDATA[2017-03-22 11:53:29]]></wp:post_date_gmt>
|
||||
<wp:comment_status><![CDATA[open]]></wp:comment_status>
|
||||
<wp:ping_status><![CDATA[closed]]></wp:ping_status>
|
||||
<wp:post_name><![CDATA[001-model]]></wp:post_name>
|
||||
<wp:status><![CDATA[inherit]]></wp:status>
|
||||
<wp:post_parent>3173</wp:post_parent>
|
||||
<wp:menu_order>0</wp:menu_order>
|
||||
<wp:post_type><![CDATA[attachment]]></wp:post_type>
|
||||
<wp:post_password><![CDATA[]]></wp:post_password>
|
||||
<wp:is_sticky>0</wp:is_sticky>
|
||||
<wp:attachment_url><![CDATA[https://vc-cc-static.s3-us-west-2.amazonaws.com/templates/28f4b1c0-0fcb-11e7-a3d9-ef785df4d291/assets/editorial-section-3626.jpg]]></wp:attachment_url>
|
||||
<wp:attachment_real_url><![CDATA[http://localhost/wp-content/uploads/2016/08/001-model.jpg]]></wp:attachment_real_url>
|
||||
<wp:postmeta>
|
||||
<wp:meta_key><![CDATA[_wp_attached_file]]></wp:meta_key>
|
||||
<wp:meta_value><![CDATA[2016/08/001-model.jpg]]></wp:meta_value>
|
||||
</wp:postmeta>
|
||||
<wp:postmeta>
|
||||
<wp:meta_key><![CDATA[_wp_attachment_metadata]]></wp:meta_key>
|
||||
<wp:meta_value><![CDATA[a:5:{s:5:"width";i:1200;s:6:"height";i:800;s:4:"file";s:21:"2016/08/001-model.jpg";s:5:"sizes";a:4:{s:9:"thumbnail";a:4:{s:4:"file";s:21:"001-model-150x150.jpg";s:5:"width";i:150;s:6:"height";i:150;s:9:"mime-type";s:10:"image/jpeg";}s:6:"medium";a:4:{s:4:"file";s:21:"001-model-300x200.jpg";s:5:"width";i:300;s:6:"height";i:200;s:9:"mime-type";s:10:"image/jpeg";}s:12:"medium_large";a:4:{s:4:"file";s:21:"001-model-768x512.jpg";s:5:"width";i:768;s:6:"height";i:512;s:9:"mime-type";s:10:"image/jpeg";}s:5:"large";a:4:{s:4:"file";s:22:"001-model-1024x683.jpg";s:5:"width";i:1024;s:6:"height";i:683;s:9:"mime-type";s:10:"image/jpeg";}}s:10:"image_meta";a:12:{s:8:"aperture";s:1:"0";s:6:"credit";s:0:"";s:6:"camera";s:0:"";s:7:"caption";s:0:"";s:17:"created_timestamp";s:1:"0";s:9:"copyright";s:0:"";s:12:"focal_length";s:1:"0";s:3:"iso";s:1:"0";s:13:"shutter_speed";s:1:"0";s:5:"title";s:0:"";s:11:"orientation";s:1:"0";s:8:"keywords";a:0:{}}}]]></wp:meta_value>
|
||||
</wp:postmeta>
|
||||
</item>
|
||||
</channel>
|
||||
</rss>
|
||||
+131
@@ -0,0 +1,131 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?><!-- This is a WordPress eXtended RSS file generated by WordPress as an export of your site. -->
|
||||
<!-- It contains information about your site's posts, pages, comments, categories, and other content. -->
|
||||
<!-- You may use this file to transfer that content from one site to another. -->
|
||||
<!-- This file is not intended to serve as a complete backup of your site. -->
|
||||
|
||||
<!-- To import this information into a WordPress site follow these steps: -->
|
||||
<!-- 1. Log in to that site as an administrator. -->
|
||||
<!-- 2. Go to Tools: Import in the WordPress admin panel. -->
|
||||
<!-- 3. Install the "WordPress" importer from the list. -->
|
||||
<!-- 4. Activate & Run Importer. -->
|
||||
<!-- 5. Upload this file using the form provided on that page. -->
|
||||
<!-- 6. You will first be asked to map the authors in this export file to users -->
|
||||
<!-- on the site. For each author, you may choose to map to an -->
|
||||
<!-- existing user on the site or to create a new user. -->
|
||||
<!-- 7. WordPress will then import each of the posts, pages, comments, categories, etc. -->
|
||||
<!-- contained in this file into your site. -->
|
||||
<!-- generator="WordPress/4.6.1" created="2016-11-02 15:23" -->
|
||||
<rss version="2.0"
|
||||
xmlns:excerpt="http://wordpress.org/export/1.2/excerpt/"
|
||||
xmlns:content="http://purl.org/rss/1.0/modules/content/"
|
||||
xmlns:wfw="http://wellformedweb.org/CommentAPI/"
|
||||
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
||||
xmlns:wp="http://wordpress.org/export/1.2/"
|
||||
>
|
||||
|
||||
<channel>
|
||||
<title>WPBakery</title>
|
||||
<link>http://localhost</link>
|
||||
<description>Fun and Test</description>
|
||||
<pubDate>Wed, 02 Nov 2016 15:23:56 +0000</pubDate>
|
||||
<language>en-US</language>
|
||||
<wp:wxr_version>1.2</wp:wxr_version>
|
||||
<wp:base_site_url>http://localhost</wp:base_site_url>
|
||||
<wp:base_blog_url>http://localhost</wp:base_blog_url>
|
||||
|
||||
<item>
|
||||
<title><![CDATA[Profile With Description]]></title>
|
||||
<link></link>
|
||||
<pubDate></pubDate>
|
||||
<dc:creator><![CDATA[admin]]></dc:creator>
|
||||
<guid isPermaLink="false">http://vc4.dev/?post_type=vc4_templates&p=6</guid>
|
||||
<description/>
|
||||
<content:encoded><![CDATA[[vc_row full_width="stretch_row" css=".vc_custom_1478001558588{padding-top: 100px !important;padding-bottom: 100px !important;background-image: url(http://localhost/wp-content/uploads/2016/08/01-2.jpg?id=3361) !important;background-position: center !important;background-repeat: no-repeat !important;background-size: cover !important;}"][vc_column width="1/4"][/vc_column][vc_column width="1/2"][vc_single_image image="3362" alignment="center" style="vc_box_border_circle" border_color="white"][vc_custom_heading text="Macy Stewart" font_container="tag:h1|text_align:center|color:%23ffffff" use_theme_fonts="yes"][vc_column_text]<p style="text-align: center;"><span style="color: #ffffff;">Surfing is a surface water sport in which the wave rider, referred to as a surfer, rides on the forward or deep face of a moving wave, which is usually carrying the surfer towards the shore.</span></p>[/vc_column_text][vc_btn title="View Showcase" style="outline" color="white" align="center"][/vc_column][vc_column width="1/4"][/vc_column][/vc_row][vc_row][vc_column width="1/2"][vc_column_text]<p>Waves suitable for surfing are primarily found in the ocean, but can also be found in lakes or in rivers in the form of a standing wave or tidal bore. However, surfers can also utilize artificial waves such as those from boat wakes and the waves created in artificial wave pools.</p><p><br />The term surfing refers to the act of riding a wave, regardless of whether the wave is ridden with a board or without a board, and regardless of the stance used. The native peoples of the Pacific, for instance, surfed waves on alaia, paipo, and other such craft, and did so on their belly and knees.</p>[/vc_column_text][/vc_column][vc_column width="1/2"][vc_column_text]<p>Another prominent form of surfing is body boarding, when a surfer rides a wave on a bodyboard, either lying on their belly, drop knee, or sometimes even standing up on a body board.</p>[/vc_column_text][/vc_column][/vc_row]]]></content:encoded>
|
||||
<excerpt:encoded><![CDATA[]]></excerpt:encoded>
|
||||
<wp:post_id>1</wp:post_id>
|
||||
<wp:post_date></wp:post_date>
|
||||
<wp:post_date_gmt></wp:post_date_gmt>
|
||||
<wp:comment_status><![CDATA[closed]]></wp:comment_status>
|
||||
<wp:ping_status><![CDATA[closed]]></wp:ping_status>
|
||||
<wp:post_name><![CDATA[Profile With Description]]></wp:post_name>
|
||||
<wp:status><![CDATA[publish]]></wp:status>
|
||||
<wp:post_parent>0</wp:post_parent>
|
||||
<wp:menu_order>0</wp:menu_order>
|
||||
<wp:post_type><![CDATA[vc4_templates]]></wp:post_type>
|
||||
<wp:post_password><![CDATA[]]></wp:post_password>
|
||||
<wp:is_sticky>0</wp:is_sticky>
|
||||
<wp:postmeta>
|
||||
<wp:meta_key><![CDATA[_vc4_templates-version]]></wp:meta_key>
|
||||
<wp:meta_value><![CDATA[1]]></wp:meta_value>
|
||||
</wp:postmeta>
|
||||
<wp:postmeta>
|
||||
<wp:meta_key><![CDATA[_vc4_templates-id]]></wp:meta_key>
|
||||
<wp:meta_value><![CDATA[2ccc00a0-a133-11e6-ba7c-7bffc471d7ed]]></wp:meta_value>
|
||||
</wp:postmeta>
|
||||
</item>
|
||||
<item>
|
||||
<title>01</title>
|
||||
<link></link>
|
||||
<pubDate></pubDate>
|
||||
<dc:creator><![CDATA[RaitisSevelis]]></dc:creator>
|
||||
<guid isPermaLink="false"></guid>
|
||||
<description></description>
|
||||
<content:encoded><![CDATA[]]></content:encoded>
|
||||
<excerpt:encoded><![CDATA[]]></excerpt:encoded>
|
||||
<wp:post_id>3361</wp:post_id>
|
||||
<wp:post_date><![CDATA[2016-11-01 11:56:00]]></wp:post_date>
|
||||
<wp:post_date_gmt><![CDATA[2016-11-01 11:56:00]]></wp:post_date_gmt>
|
||||
<wp:comment_status><![CDATA[open]]></wp:comment_status>
|
||||
<wp:ping_status><![CDATA[closed]]></wp:ping_status>
|
||||
<wp:post_name><![CDATA[01-36]]></wp:post_name>
|
||||
<wp:status><![CDATA[inherit]]></wp:status>
|
||||
<wp:post_parent>3173</wp:post_parent>
|
||||
<wp:menu_order>0</wp:menu_order>
|
||||
<wp:post_type><![CDATA[attachment]]></wp:post_type>
|
||||
<wp:post_password><![CDATA[]]></wp:post_password>
|
||||
<wp:is_sticky>0</wp:is_sticky>
|
||||
<wp:attachment_url><![CDATA[https://vc-cc-static.s3-us-west-2.amazonaws.com/templates/2ccc00a0-a133-11e6-ba7c-7bffc471d7ed/assets/profile-with-description-3361.jpg]]></wp:attachment_url>
|
||||
<wp:attachment_real_url><![CDATA[http://localhost/wp-content/uploads/2016/08/01-2.jpg]]></wp:attachment_real_url>
|
||||
<wp:postmeta>
|
||||
<wp:meta_key><![CDATA[_wp_attached_file]]></wp:meta_key>
|
||||
<wp:meta_value><![CDATA[2016/08/01-2.jpg]]></wp:meta_value>
|
||||
</wp:postmeta>
|
||||
<wp:postmeta>
|
||||
<wp:meta_key><![CDATA[_wp_attachment_metadata]]></wp:meta_key>
|
||||
<wp:meta_value><![CDATA[a:5:{s:5:"width";i:1280;s:6:"height";i:812;s:4:"file";s:16:"2016/08/01-2.jpg";s:5:"sizes";a:6:{s:9:"thumbnail";a:4:{s:4:"file";s:16:"01-2-150x150.jpg";s:5:"width";i:150;s:6:"height";i:150;s:9:"mime-type";s:10:"image/jpeg";}s:6:"medium";a:4:{s:4:"file";s:16:"01-2-300x190.jpg";s:5:"width";i:300;s:6:"height";i:190;s:9:"mime-type";s:10:"image/jpeg";}s:12:"medium_large";a:4:{s:4:"file";s:16:"01-2-768x487.jpg";s:5:"width";i:768;s:6:"height";i:487;s:9:"mime-type";s:10:"image/jpeg";}s:5:"large";a:4:{s:4:"file";s:17:"01-2-1024x650.jpg";s:5:"width";i:1024;s:6:"height";i:650;s:9:"mime-type";s:10:"image/jpeg";}s:17:"dazzling-featured";a:4:{s:4:"file";s:16:"01-2-730x410.jpg";s:5:"width";i:730;s:6:"height";i:410;s:9:"mime-type";s:10:"image/jpeg";}s:9:"tab-small";a:4:{s:4:"file";s:14:"01-2-60x60.jpg";s:5:"width";i:60;s:6:"height";i:60;s:9:"mime-type";s:10:"image/jpeg";}}s:10:"image_meta";a:12:{s:8:"aperture";s:1:"0";s:6:"credit";s:0:"";s:6:"camera";s:0:"";s:7:"caption";s:0:"";s:17:"created_timestamp";s:1:"0";s:9:"copyright";s:0:"";s:12:"focal_length";s:1:"0";s:3:"iso";s:1:"0";s:13:"shutter_speed";s:1:"0";s:5:"title";s:0:"";s:11:"orientation";s:1:"0";s:8:"keywords";a:0:{}}}]]></wp:meta_value>
|
||||
</wp:postmeta>
|
||||
</item>
|
||||
<item>
|
||||
<title>02</title>
|
||||
<link></link>
|
||||
<pubDate></pubDate>
|
||||
<dc:creator><![CDATA[RaitisSevelis]]></dc:creator>
|
||||
<guid isPermaLink="false"></guid>
|
||||
<description></description>
|
||||
<content:encoded><![CDATA[]]></content:encoded>
|
||||
<excerpt:encoded><![CDATA[]]></excerpt:encoded>
|
||||
<wp:post_id>3362</wp:post_id>
|
||||
<wp:post_date><![CDATA[2016-11-01 11:56:23]]></wp:post_date>
|
||||
<wp:post_date_gmt><![CDATA[2016-11-01 11:56:23]]></wp:post_date_gmt>
|
||||
<wp:comment_status><![CDATA[open]]></wp:comment_status>
|
||||
<wp:ping_status><![CDATA[closed]]></wp:ping_status>
|
||||
<wp:post_name><![CDATA[02-23]]></wp:post_name>
|
||||
<wp:status><![CDATA[inherit]]></wp:status>
|
||||
<wp:post_parent>3173</wp:post_parent>
|
||||
<wp:menu_order>0</wp:menu_order>
|
||||
<wp:post_type><![CDATA[attachment]]></wp:post_type>
|
||||
<wp:post_password><![CDATA[]]></wp:post_password>
|
||||
<wp:is_sticky>0</wp:is_sticky>
|
||||
<wp:attachment_url><![CDATA[https://vc-cc-static.s3-us-west-2.amazonaws.com/templates/2ccc00a0-a133-11e6-ba7c-7bffc471d7ed/assets/profile-with-description-3362.jpg]]></wp:attachment_url>
|
||||
<wp:attachment_real_url><![CDATA[http://localhost/wp-content/uploads/2016/08/02.jpg]]></wp:attachment_real_url>
|
||||
<wp:postmeta>
|
||||
<wp:meta_key><![CDATA[_wp_attached_file]]></wp:meta_key>
|
||||
<wp:meta_value><![CDATA[2016/08/02.jpg]]></wp:meta_value>
|
||||
</wp:postmeta>
|
||||
<wp:postmeta>
|
||||
<wp:meta_key><![CDATA[_wp_attachment_metadata]]></wp:meta_key>
|
||||
<wp:meta_value><![CDATA[a:5:{s:5:"width";i:800;s:6:"height";i:600;s:4:"file";s:14:"2016/08/02.jpg";s:5:"sizes";a:5:{s:9:"thumbnail";a:4:{s:4:"file";s:14:"02-150x150.jpg";s:5:"width";i:150;s:6:"height";i:150;s:9:"mime-type";s:10:"image/jpeg";}s:6:"medium";a:4:{s:4:"file";s:14:"02-300x225.jpg";s:5:"width";i:300;s:6:"height";i:225;s:9:"mime-type";s:10:"image/jpeg";}s:12:"medium_large";a:4:{s:4:"file";s:14:"02-768x576.jpg";s:5:"width";i:768;s:6:"height";i:576;s:9:"mime-type";s:10:"image/jpeg";}s:17:"dazzling-featured";a:4:{s:4:"file";s:14:"02-730x410.jpg";s:5:"width";i:730;s:6:"height";i:410;s:9:"mime-type";s:10:"image/jpeg";}s:9:"tab-small";a:4:{s:4:"file";s:12:"02-60x60.jpg";s:5:"width";i:60;s:6:"height";i:60;s:9:"mime-type";s:10:"image/jpeg";}}s:10:"image_meta";a:12:{s:8:"aperture";s:1:"0";s:6:"credit";s:0:"";s:6:"camera";s:0:"";s:7:"caption";s:0:"";s:17:"created_timestamp";s:1:"0";s:9:"copyright";s:0:"";s:12:"focal_length";s:1:"0";s:3:"iso";s:1:"0";s:13:"shutter_speed";s:1:"0";s:5:"title";s:0:"";s:11:"orientation";s:1:"0";s:8:"keywords";a:0:{}}}]]></wp:meta_value>
|
||||
</wp:postmeta>
|
||||
</item>
|
||||
</channel>
|
||||
</rss>
|
||||
+195
@@ -0,0 +1,195 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?><!-- This is a WordPress eXtended RSS file generated by WordPress as an export of your site. -->
|
||||
<!-- It contains information about your site's posts, pages, comments, categories, and other content. -->
|
||||
<!-- You may use this file to transfer that content from one site to another. -->
|
||||
<!-- This file is not intended to serve as a complete backup of your site. -->
|
||||
|
||||
<!-- To import this information into a WordPress site follow these steps: -->
|
||||
<!-- 1. Log in to that site as an administrator. -->
|
||||
<!-- 2. Go to Tools: Import in the WordPress admin panel. -->
|
||||
<!-- 3. Install the "WordPress" importer from the list. -->
|
||||
<!-- 4. Activate & Run Importer. -->
|
||||
<!-- 5. Upload this file using the form provided on that page. -->
|
||||
<!-- 6. You will first be asked to map the authors in this export file to users -->
|
||||
<!-- on the site. For each author, you may choose to map to an -->
|
||||
<!-- existing user on the site or to create a new user. -->
|
||||
<!-- 7. WordPress will then import each of the posts, pages, comments, categories, etc. -->
|
||||
<!-- contained in this file into your site. -->
|
||||
<!-- generator="WordPress/4.6.1" created="2016-11-02 15:23" -->
|
||||
<rss version="2.0"
|
||||
xmlns:excerpt="http://wordpress.org/export/1.2/excerpt/"
|
||||
xmlns:content="http://purl.org/rss/1.0/modules/content/"
|
||||
xmlns:wfw="http://wellformedweb.org/CommentAPI/"
|
||||
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
||||
xmlns:wp="http://wordpress.org/export/1.2/"
|
||||
>
|
||||
|
||||
<channel>
|
||||
<title>WPBakery</title>
|
||||
<link>http://localhost</link>
|
||||
<description>Fun and Test</description>
|
||||
<pubDate>Wed, 02 Nov 2016 15:23:33 +0000</pubDate>
|
||||
<language>en-US</language>
|
||||
<wp:wxr_version>1.2</wp:wxr_version>
|
||||
<wp:base_site_url>http://localhost</wp:base_site_url>
|
||||
<wp:base_blog_url>http://localhost</wp:base_blog_url>
|
||||
|
||||
<item>
|
||||
<title><![CDATA[Team Members]]></title>
|
||||
<link></link>
|
||||
<pubDate></pubDate>
|
||||
<dc:creator><![CDATA[admin]]></dc:creator>
|
||||
<guid isPermaLink="false">http://vc4.dev/?post_type=vc4_templates&p=6</guid>
|
||||
<description/>
|
||||
<content:encoded><![CDATA[[vc_row][vc_column width="1/4"][vc_single_image image="3289" img_size="full" alignment="center" style="vc_box_circle_2"][vc_custom_heading text="Linda Mullen" font_container="tag:h4|text_align:center" use_theme_fonts="yes"][vc_column_text]<p style="text-align: center;">Team size and team composition affect team processes and team outcomes.</p>[/vc_column_text][/vc_column][vc_column width="1/4"][vc_single_image image="3290" img_size="full" alignment="center" style="vc_box_circle_2"][vc_custom_heading text="Thomas Wood" font_container="tag:h4|text_align:center" use_theme_fonts="yes"][vc_column_text]<p style="text-align: center;">Team members normally have different roles, like team leader and agents.</p>[/vc_column_text][/vc_column][vc_column width="1/4"][vc_single_image image="3291" img_size="full" alignment="center" style="vc_box_circle_2"][vc_custom_heading text="Karen Polski" font_container="tag:h4|text_align:center" use_theme_fonts="yes"][vc_column_text]<p style="text-align: center;">Large teams can divide into subteams according to need.</p>[/vc_column_text][/vc_column][vc_column width="1/4"][vc_single_image image="3292" img_size="full" alignment="center" style="vc_box_circle_2"][vc_custom_heading text="Teddy Bear" font_container="tag:h4|text_align:center" use_theme_fonts="yes"][vc_column_text]<p style="text-align: center;">The more homogeneous the group, the more cohesive it will be.</p>[/vc_column_text][/vc_column][/vc_row]]]></content:encoded>
|
||||
<excerpt:encoded><![CDATA[]]></excerpt:encoded>
|
||||
<wp:post_id>1</wp:post_id>
|
||||
<wp:post_date></wp:post_date>
|
||||
<wp:post_date_gmt></wp:post_date_gmt>
|
||||
<wp:comment_status><![CDATA[closed]]></wp:comment_status>
|
||||
<wp:ping_status><![CDATA[closed]]></wp:ping_status>
|
||||
<wp:post_name><![CDATA[Team Members]]></wp:post_name>
|
||||
<wp:status><![CDATA[publish]]></wp:status>
|
||||
<wp:post_parent>0</wp:post_parent>
|
||||
<wp:menu_order>0</wp:menu_order>
|
||||
<wp:post_type><![CDATA[vc4_templates]]></wp:post_type>
|
||||
<wp:post_password><![CDATA[]]></wp:post_password>
|
||||
<wp:is_sticky>0</wp:is_sticky>
|
||||
<wp:postmeta>
|
||||
<wp:meta_key><![CDATA[_vc4_templates-version]]></wp:meta_key>
|
||||
<wp:meta_value><![CDATA[1]]></wp:meta_value>
|
||||
</wp:postmeta>
|
||||
<wp:postmeta>
|
||||
<wp:meta_key><![CDATA[_vc4_templates-id]]></wp:meta_key>
|
||||
<wp:meta_value><![CDATA[327e5750-a132-11e6-9946-adda3f44d4db]]></wp:meta_value>
|
||||
</wp:postmeta>
|
||||
</item>
|
||||
<item>
|
||||
<title>01</title>
|
||||
<link></link>
|
||||
<pubDate></pubDate>
|
||||
<dc:creator><![CDATA[RaitisSevelis]]></dc:creator>
|
||||
<guid isPermaLink="false"></guid>
|
||||
<description></description>
|
||||
<content:encoded><![CDATA[]]></content:encoded>
|
||||
<excerpt:encoded><![CDATA[]]></excerpt:encoded>
|
||||
<wp:post_id>3289</wp:post_id>
|
||||
<wp:post_date><![CDATA[2016-10-04 10:10:04]]></wp:post_date>
|
||||
<wp:post_date_gmt><![CDATA[2016-10-04 10:10:04]]></wp:post_date_gmt>
|
||||
<wp:comment_status><![CDATA[open]]></wp:comment_status>
|
||||
<wp:ping_status><![CDATA[closed]]></wp:ping_status>
|
||||
<wp:post_name><![CDATA[01-16]]></wp:post_name>
|
||||
<wp:status><![CDATA[inherit]]></wp:status>
|
||||
<wp:post_parent>2602</wp:post_parent>
|
||||
<wp:menu_order>0</wp:menu_order>
|
||||
<wp:post_type><![CDATA[attachment]]></wp:post_type>
|
||||
<wp:post_password><![CDATA[]]></wp:post_password>
|
||||
<wp:is_sticky>0</wp:is_sticky>
|
||||
<wp:attachment_url><![CDATA[https://vc-cc-static.s3-us-west-2.amazonaws.com/templates/327e5750-a132-11e6-9946-adda3f44d4db/assets/team-members-3289.jpg]]></wp:attachment_url>
|
||||
<wp:attachment_real_url><![CDATA[http://localhost/wp-content/uploads/2015/09/01-15.jpg]]></wp:attachment_real_url>
|
||||
<wp:postmeta>
|
||||
<wp:meta_key><![CDATA[_wp_attached_file]]></wp:meta_key>
|
||||
<wp:meta_value><![CDATA[2015/09/01-15.jpg]]></wp:meta_value>
|
||||
</wp:postmeta>
|
||||
<wp:postmeta>
|
||||
<wp:meta_key><![CDATA[_wp_attachment_metadata]]></wp:meta_key>
|
||||
<wp:meta_value><![CDATA[a:5:{s:5:"width";i:800;s:6:"height";i:600;s:4:"file";s:17:"2015/09/01-15.jpg";s:5:"sizes";a:5:{s:9:"thumbnail";a:4:{s:4:"file";s:17:"01-15-150x150.jpg";s:5:"width";i:150;s:6:"height";i:150;s:9:"mime-type";s:10:"image/jpeg";}s:6:"medium";a:4:{s:4:"file";s:17:"01-15-300x225.jpg";s:5:"width";i:300;s:6:"height";i:225;s:9:"mime-type";s:10:"image/jpeg";}s:12:"medium_large";a:4:{s:4:"file";s:17:"01-15-768x576.jpg";s:5:"width";i:768;s:6:"height";i:576;s:9:"mime-type";s:10:"image/jpeg";}s:17:"dazzling-featured";a:4:{s:4:"file";s:17:"01-15-730x410.jpg";s:5:"width";i:730;s:6:"height";i:410;s:9:"mime-type";s:10:"image/jpeg";}s:9:"tab-small";a:4:{s:4:"file";s:15:"01-15-60x60.jpg";s:5:"width";i:60;s:6:"height";i:60;s:9:"mime-type";s:10:"image/jpeg";}}s:10:"image_meta";a:12:{s:8:"aperture";s:1:"0";s:6:"credit";s:0:"";s:6:"camera";s:0:"";s:7:"caption";s:0:"";s:17:"created_timestamp";s:1:"0";s:9:"copyright";s:0:"";s:12:"focal_length";s:1:"0";s:3:"iso";s:1:"0";s:13:"shutter_speed";s:1:"0";s:5:"title";s:0:"";s:11:"orientation";s:1:"0";s:8:"keywords";a:0:{}}}]]></wp:meta_value>
|
||||
</wp:postmeta>
|
||||
</item>
|
||||
<item>
|
||||
<title>03</title>
|
||||
<link></link>
|
||||
<pubDate></pubDate>
|
||||
<dc:creator><![CDATA[RaitisSevelis]]></dc:creator>
|
||||
<guid isPermaLink="false"></guid>
|
||||
<description></description>
|
||||
<content:encoded><![CDATA[]]></content:encoded>
|
||||
<excerpt:encoded><![CDATA[]]></excerpt:encoded>
|
||||
<wp:post_id>3290</wp:post_id>
|
||||
<wp:post_date><![CDATA[2016-10-04 10:18:46]]></wp:post_date>
|
||||
<wp:post_date_gmt><![CDATA[2016-10-04 10:18:46]]></wp:post_date_gmt>
|
||||
<wp:comment_status><![CDATA[open]]></wp:comment_status>
|
||||
<wp:ping_status><![CDATA[closed]]></wp:ping_status>
|
||||
<wp:post_name><![CDATA[03-6]]></wp:post_name>
|
||||
<wp:status><![CDATA[inherit]]></wp:status>
|
||||
<wp:post_parent>2602</wp:post_parent>
|
||||
<wp:menu_order>0</wp:menu_order>
|
||||
<wp:post_type><![CDATA[attachment]]></wp:post_type>
|
||||
<wp:post_password><![CDATA[]]></wp:post_password>
|
||||
<wp:is_sticky>0</wp:is_sticky>
|
||||
<wp:attachment_url><![CDATA[https://vc-cc-static.s3-us-west-2.amazonaws.com/templates/327e5750-a132-11e6-9946-adda3f44d4db/assets/team-members-3290.jpg]]></wp:attachment_url>
|
||||
<wp:attachment_real_url><![CDATA[http://localhost/wp-content/uploads/2015/09/03-5.jpg]]></wp:attachment_real_url>
|
||||
<wp:postmeta>
|
||||
<wp:meta_key><![CDATA[_wp_attached_file]]></wp:meta_key>
|
||||
<wp:meta_value><![CDATA[2015/09/03-5.jpg]]></wp:meta_value>
|
||||
</wp:postmeta>
|
||||
<wp:postmeta>
|
||||
<wp:meta_key><![CDATA[_wp_attachment_metadata]]></wp:meta_key>
|
||||
<wp:meta_value><![CDATA[a:5:{s:5:"width";i:800;s:6:"height";i:600;s:4:"file";s:16:"2015/09/03-5.jpg";s:5:"sizes";a:5:{s:9:"thumbnail";a:4:{s:4:"file";s:16:"03-5-150x150.jpg";s:5:"width";i:150;s:6:"height";i:150;s:9:"mime-type";s:10:"image/jpeg";}s:6:"medium";a:4:{s:4:"file";s:16:"03-5-300x225.jpg";s:5:"width";i:300;s:6:"height";i:225;s:9:"mime-type";s:10:"image/jpeg";}s:12:"medium_large";a:4:{s:4:"file";s:16:"03-5-768x576.jpg";s:5:"width";i:768;s:6:"height";i:576;s:9:"mime-type";s:10:"image/jpeg";}s:17:"dazzling-featured";a:4:{s:4:"file";s:16:"03-5-730x410.jpg";s:5:"width";i:730;s:6:"height";i:410;s:9:"mime-type";s:10:"image/jpeg";}s:9:"tab-small";a:4:{s:4:"file";s:14:"03-5-60x60.jpg";s:5:"width";i:60;s:6:"height";i:60;s:9:"mime-type";s:10:"image/jpeg";}}s:10:"image_meta";a:12:{s:8:"aperture";s:1:"0";s:6:"credit";s:0:"";s:6:"camera";s:0:"";s:7:"caption";s:0:"";s:17:"created_timestamp";s:1:"0";s:9:"copyright";s:0:"";s:12:"focal_length";s:1:"0";s:3:"iso";s:1:"0";s:13:"shutter_speed";s:1:"0";s:5:"title";s:0:"";s:11:"orientation";s:1:"0";s:8:"keywords";a:0:{}}}]]></wp:meta_value>
|
||||
</wp:postmeta>
|
||||
</item>
|
||||
<item>
|
||||
<title>02</title>
|
||||
<link></link>
|
||||
<pubDate></pubDate>
|
||||
<dc:creator><![CDATA[RaitisSevelis]]></dc:creator>
|
||||
<guid isPermaLink="false"></guid>
|
||||
<description></description>
|
||||
<content:encoded><![CDATA[]]></content:encoded>
|
||||
<excerpt:encoded><![CDATA[]]></excerpt:encoded>
|
||||
<wp:post_id>3291</wp:post_id>
|
||||
<wp:post_date><![CDATA[2016-10-04 10:18:47]]></wp:post_date>
|
||||
<wp:post_date_gmt><![CDATA[2016-10-04 10:18:47]]></wp:post_date_gmt>
|
||||
<wp:comment_status><![CDATA[open]]></wp:comment_status>
|
||||
<wp:ping_status><![CDATA[closed]]></wp:ping_status>
|
||||
<wp:post_name><![CDATA[02-12]]></wp:post_name>
|
||||
<wp:status><![CDATA[inherit]]></wp:status>
|
||||
<wp:post_parent>2602</wp:post_parent>
|
||||
<wp:menu_order>0</wp:menu_order>
|
||||
<wp:post_type><![CDATA[attachment]]></wp:post_type>
|
||||
<wp:post_password><![CDATA[]]></wp:post_password>
|
||||
<wp:is_sticky>0</wp:is_sticky>
|
||||
<wp:attachment_url><![CDATA[https://vc-cc-static.s3-us-west-2.amazonaws.com/templates/327e5750-a132-11e6-9946-adda3f44d4db/assets/team-members-3291.jpg]]></wp:attachment_url>
|
||||
<wp:attachment_real_url><![CDATA[http://localhost/wp-content/uploads/2015/09/02-11.jpg]]></wp:attachment_real_url>
|
||||
<wp:postmeta>
|
||||
<wp:meta_key><![CDATA[_wp_attached_file]]></wp:meta_key>
|
||||
<wp:meta_value><![CDATA[2015/09/02-11.jpg]]></wp:meta_value>
|
||||
</wp:postmeta>
|
||||
<wp:postmeta>
|
||||
<wp:meta_key><![CDATA[_wp_attachment_metadata]]></wp:meta_key>
|
||||
<wp:meta_value><![CDATA[a:5:{s:5:"width";i:800;s:6:"height";i:600;s:4:"file";s:17:"2015/09/02-11.jpg";s:5:"sizes";a:5:{s:9:"thumbnail";a:4:{s:4:"file";s:17:"02-11-150x150.jpg";s:5:"width";i:150;s:6:"height";i:150;s:9:"mime-type";s:10:"image/jpeg";}s:6:"medium";a:4:{s:4:"file";s:17:"02-11-300x225.jpg";s:5:"width";i:300;s:6:"height";i:225;s:9:"mime-type";s:10:"image/jpeg";}s:12:"medium_large";a:4:{s:4:"file";s:17:"02-11-768x576.jpg";s:5:"width";i:768;s:6:"height";i:576;s:9:"mime-type";s:10:"image/jpeg";}s:17:"dazzling-featured";a:4:{s:4:"file";s:17:"02-11-730x410.jpg";s:5:"width";i:730;s:6:"height";i:410;s:9:"mime-type";s:10:"image/jpeg";}s:9:"tab-small";a:4:{s:4:"file";s:15:"02-11-60x60.jpg";s:5:"width";i:60;s:6:"height";i:60;s:9:"mime-type";s:10:"image/jpeg";}}s:10:"image_meta";a:12:{s:8:"aperture";s:1:"0";s:6:"credit";s:0:"";s:6:"camera";s:0:"";s:7:"caption";s:0:"";s:17:"created_timestamp";s:1:"0";s:9:"copyright";s:0:"";s:12:"focal_length";s:1:"0";s:3:"iso";s:1:"0";s:13:"shutter_speed";s:1:"0";s:5:"title";s:0:"";s:11:"orientation";s:1:"0";s:8:"keywords";a:0:{}}}]]></wp:meta_value>
|
||||
</wp:postmeta>
|
||||
</item>
|
||||
<item>
|
||||
<title>04</title>
|
||||
<link></link>
|
||||
<pubDate></pubDate>
|
||||
<dc:creator><![CDATA[RaitisSevelis]]></dc:creator>
|
||||
<guid isPermaLink="false"></guid>
|
||||
<description></description>
|
||||
<content:encoded><![CDATA[]]></content:encoded>
|
||||
<excerpt:encoded><![CDATA[]]></excerpt:encoded>
|
||||
<wp:post_id>3292</wp:post_id>
|
||||
<wp:post_date><![CDATA[2016-10-04 10:20:05]]></wp:post_date>
|
||||
<wp:post_date_gmt><![CDATA[2016-10-04 10:20:05]]></wp:post_date_gmt>
|
||||
<wp:comment_status><![CDATA[open]]></wp:comment_status>
|
||||
<wp:ping_status><![CDATA[closed]]></wp:ping_status>
|
||||
<wp:post_name><![CDATA[04-3]]></wp:post_name>
|
||||
<wp:status><![CDATA[inherit]]></wp:status>
|
||||
<wp:post_parent>2602</wp:post_parent>
|
||||
<wp:menu_order>0</wp:menu_order>
|
||||
<wp:post_type><![CDATA[attachment]]></wp:post_type>
|
||||
<wp:post_password><![CDATA[]]></wp:post_password>
|
||||
<wp:is_sticky>0</wp:is_sticky>
|
||||
<wp:attachment_url><![CDATA[https://vc-cc-static.s3-us-west-2.amazonaws.com/templates/327e5750-a132-11e6-9946-adda3f44d4db/assets/team-members-3292.jpg]]></wp:attachment_url>
|
||||
<wp:attachment_real_url><![CDATA[http://localhost/wp-content/uploads/2015/09/04-2.jpg]]></wp:attachment_real_url>
|
||||
<wp:postmeta>
|
||||
<wp:meta_key><![CDATA[_wp_attached_file]]></wp:meta_key>
|
||||
<wp:meta_value><![CDATA[2015/09/04-2.jpg]]></wp:meta_value>
|
||||
</wp:postmeta>
|
||||
<wp:postmeta>
|
||||
<wp:meta_key><![CDATA[_wp_attachment_metadata]]></wp:meta_key>
|
||||
<wp:meta_value><![CDATA[a:5:{s:5:"width";i:800;s:6:"height";i:600;s:4:"file";s:16:"2015/09/04-2.jpg";s:5:"sizes";a:5:{s:9:"thumbnail";a:4:{s:4:"file";s:16:"04-2-150x150.jpg";s:5:"width";i:150;s:6:"height";i:150;s:9:"mime-type";s:10:"image/jpeg";}s:6:"medium";a:4:{s:4:"file";s:16:"04-2-300x225.jpg";s:5:"width";i:300;s:6:"height";i:225;s:9:"mime-type";s:10:"image/jpeg";}s:12:"medium_large";a:4:{s:4:"file";s:16:"04-2-768x576.jpg";s:5:"width";i:768;s:6:"height";i:576;s:9:"mime-type";s:10:"image/jpeg";}s:17:"dazzling-featured";a:4:{s:4:"file";s:16:"04-2-730x410.jpg";s:5:"width";i:730;s:6:"height";i:410;s:9:"mime-type";s:10:"image/jpeg";}s:9:"tab-small";a:4:{s:4:"file";s:14:"04-2-60x60.jpg";s:5:"width";i:60;s:6:"height";i:60;s:9:"mime-type";s:10:"image/jpeg";}}s:10:"image_meta";a:12:{s:8:"aperture";s:1:"0";s:6:"credit";s:0:"";s:6:"camera";s:0:"";s:7:"caption";s:0:"";s:17:"created_timestamp";s:1:"0";s:9:"copyright";s:0:"";s:12:"focal_length";s:1:"0";s:3:"iso";s:1:"0";s:13:"shutter_speed";s:1:"0";s:5:"title";s:0:"";s:11:"orientation";s:1:"0";s:8:"keywords";a:0:{}}}]]></wp:meta_value>
|
||||
</wp:postmeta>
|
||||
</item>
|
||||
</channel>
|
||||
</rss>
|
||||
+131
@@ -0,0 +1,131 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?><!-- This is a WordPress eXtended RSS file generated by WordPress as an export of your site. -->
|
||||
<!-- It contains information about your site's posts, pages, comments, categories, and other content. -->
|
||||
<!-- You may use this file to transfer that content from one site to another. -->
|
||||
<!-- This file is not intended to serve as a complete backup of your site. -->
|
||||
|
||||
<!-- To import this information into a WordPress site follow these steps: -->
|
||||
<!-- 1. Log in to that site as an administrator. -->
|
||||
<!-- 2. Go to Tools: Import in the WordPress admin panel. -->
|
||||
<!-- 3. Install the "WordPress" importer from the list. -->
|
||||
<!-- 4. Activate & Run Importer. -->
|
||||
<!-- 5. Upload this file using the form provided on that page. -->
|
||||
<!-- 6. You will first be asked to map the authors in this export file to users -->
|
||||
<!-- on the site. For each author, you may choose to map to an -->
|
||||
<!-- existing user on the site or to create a new user. -->
|
||||
<!-- 7. WordPress will then import each of the posts, pages, comments, categories, etc. -->
|
||||
<!-- contained in this file into your site. -->
|
||||
<!-- generator="WordPress/4.7" created="2016-12-22 08:53" -->
|
||||
<rss version="2.0"
|
||||
xmlns:excerpt="http://wordpress.org/export/1.2/excerpt/"
|
||||
xmlns:content="http://purl.org/rss/1.0/modules/content/"
|
||||
xmlns:wfw="http://wellformedweb.org/CommentAPI/"
|
||||
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
||||
xmlns:wp="http://wordpress.org/export/1.2/"
|
||||
>
|
||||
|
||||
<channel>
|
||||
<title>WPBakery</title>
|
||||
<link>http://localhost</link>
|
||||
<description>Fun and Test</description>
|
||||
<pubDate>Thu, 22 Dec 2016 08:53:47 +0000</pubDate>
|
||||
<language>en-US</language>
|
||||
<wp:wxr_version>1.2</wp:wxr_version>
|
||||
<wp:base_site_url>http://localhost</wp:base_site_url>
|
||||
<wp:base_blog_url>http://localhost</wp:base_blog_url>
|
||||
|
||||
<item>
|
||||
<title><![CDATA[Article With Image]]></title>
|
||||
<link></link>
|
||||
<pubDate></pubDate>
|
||||
<dc:creator><![CDATA[admin]]></dc:creator>
|
||||
<guid isPermaLink="false">http://vc4.dev/?post_type=vc4_templates&p=6</guid>
|
||||
<description/>
|
||||
<content:encoded><![CDATA[[vc_row equal_height="yes"][vc_column width="1/2"][vc_custom_heading text="The Animal Kingdom" font_container="tag:h1|text_align:left" use_theme_fonts="yes" css=".vc_custom_1482327049830{margin-bottom: 15px !important;padding-top: 35px !important;padding-right: 35px !important;padding-left: 35px !important;}"][vc_column_text css=".vc_custom_1482327038737{padding-right: 35px !important;padding-bottom: 50px !important;padding-left: 35px !important;}"]The animal kingdom emerged as a basal clade within Apoikozoa as a sister of the Choanoflagellates. Animals are motile, meaning they can move spontaneously and independently at some point in their lives.[/vc_column_text][/vc_column][vc_column width="1/2" css=".vc_custom_1482326999584{background-image: url(http://localhost/wp-content/uploads/2016/08/01-1.jpg?id=3360) !important;background-position: center !important;background-repeat: no-repeat !important;background-size: cover !important;}"][/vc_column][/vc_row][vc_row css=".vc_custom_1482327015537{padding-top: 150px !important;padding-bottom: 150px !important;background-image: url(http://localhost/wp-content/uploads/2016/08/01-19.jpg?id=3533) !important;background-position: center !important;background-repeat: no-repeat !important;background-size: cover !important;}"][vc_column][/vc_column][/vc_row]]]></content:encoded>
|
||||
<excerpt:encoded><![CDATA[]]></excerpt:encoded>
|
||||
<wp:post_id>1</wp:post_id>
|
||||
<wp:post_date></wp:post_date>
|
||||
<wp:post_date_gmt></wp:post_date_gmt>
|
||||
<wp:comment_status><![CDATA[closed]]></wp:comment_status>
|
||||
<wp:ping_status><![CDATA[closed]]></wp:ping_status>
|
||||
<wp:post_name><![CDATA[Article With Image]]></wp:post_name>
|
||||
<wp:status><![CDATA[publish]]></wp:status>
|
||||
<wp:post_parent>0</wp:post_parent>
|
||||
<wp:menu_order>0</wp:menu_order>
|
||||
<wp:post_type><![CDATA[vc4_templates]]></wp:post_type>
|
||||
<wp:post_password><![CDATA[]]></wp:post_password>
|
||||
<wp:is_sticky>0</wp:is_sticky>
|
||||
<wp:postmeta>
|
||||
<wp:meta_key><![CDATA[_vc4_templates-version]]></wp:meta_key>
|
||||
<wp:meta_value><![CDATA[1]]></wp:meta_value>
|
||||
</wp:postmeta>
|
||||
<wp:postmeta>
|
||||
<wp:meta_key><![CDATA[_vc4_templates-id]]></wp:meta_key>
|
||||
<wp:meta_value><![CDATA[36dc3fb0-c824-11e6-ae30-673ee1a9f9eb]]></wp:meta_value>
|
||||
</wp:postmeta>
|
||||
</item>
|
||||
<item>
|
||||
<title>01</title>
|
||||
<link></link>
|
||||
<pubDate></pubDate>
|
||||
<dc:creator><![CDATA[RaitisSevelis]]></dc:creator>
|
||||
<guid isPermaLink="false"></guid>
|
||||
<description></description>
|
||||
<content:encoded><![CDATA[]]></content:encoded>
|
||||
<excerpt:encoded><![CDATA[]]></excerpt:encoded>
|
||||
<wp:post_id>3360</wp:post_id>
|
||||
<wp:post_date><![CDATA[2016-11-01 11:32:05]]></wp:post_date>
|
||||
<wp:post_date_gmt><![CDATA[2016-11-01 11:32:05]]></wp:post_date_gmt>
|
||||
<wp:comment_status><![CDATA[open]]></wp:comment_status>
|
||||
<wp:ping_status><![CDATA[closed]]></wp:ping_status>
|
||||
<wp:post_name><![CDATA[01-35]]></wp:post_name>
|
||||
<wp:status><![CDATA[inherit]]></wp:status>
|
||||
<wp:post_parent>3173</wp:post_parent>
|
||||
<wp:menu_order>0</wp:menu_order>
|
||||
<wp:post_type><![CDATA[attachment]]></wp:post_type>
|
||||
<wp:post_password><![CDATA[]]></wp:post_password>
|
||||
<wp:is_sticky>0</wp:is_sticky>
|
||||
<wp:attachment_url><![CDATA[https://vc-cc-static.s3-us-west-2.amazonaws.com/templates/36dc3fb0-c824-11e6-ae30-673ee1a9f9eb/assets/article-with-image-3360.jpg]]></wp:attachment_url>
|
||||
<wp:attachment_real_url><![CDATA[http://localhost/wp-content/uploads/2016/08/01-1.jpg]]></wp:attachment_real_url>
|
||||
<wp:postmeta>
|
||||
<wp:meta_key><![CDATA[_wp_attached_file]]></wp:meta_key>
|
||||
<wp:meta_value><![CDATA[2016/08/01-1.jpg]]></wp:meta_value>
|
||||
</wp:postmeta>
|
||||
<wp:postmeta>
|
||||
<wp:meta_key><![CDATA[_wp_attachment_metadata]]></wp:meta_key>
|
||||
<wp:meta_value><![CDATA[a:5:{s:5:"width";i:1280;s:6:"height";i:812;s:4:"file";s:16:"2016/08/01-1.jpg";s:5:"sizes";a:6:{s:9:"thumbnail";a:4:{s:4:"file";s:16:"01-1-150x150.jpg";s:5:"width";i:150;s:6:"height";i:150;s:9:"mime-type";s:10:"image/jpeg";}s:6:"medium";a:4:{s:4:"file";s:16:"01-1-300x190.jpg";s:5:"width";i:300;s:6:"height";i:190;s:9:"mime-type";s:10:"image/jpeg";}s:12:"medium_large";a:4:{s:4:"file";s:16:"01-1-768x487.jpg";s:5:"width";i:768;s:6:"height";i:487;s:9:"mime-type";s:10:"image/jpeg";}s:5:"large";a:4:{s:4:"file";s:17:"01-1-1024x650.jpg";s:5:"width";i:1024;s:6:"height";i:650;s:9:"mime-type";s:10:"image/jpeg";}s:17:"dazzling-featured";a:4:{s:4:"file";s:16:"01-1-730x410.jpg";s:5:"width";i:730;s:6:"height";i:410;s:9:"mime-type";s:10:"image/jpeg";}s:9:"tab-small";a:4:{s:4:"file";s:14:"01-1-60x60.jpg";s:5:"width";i:60;s:6:"height";i:60;s:9:"mime-type";s:10:"image/jpeg";}}s:10:"image_meta";a:12:{s:8:"aperture";s:1:"0";s:6:"credit";s:0:"";s:6:"camera";s:0:"";s:7:"caption";s:0:"";s:17:"created_timestamp";s:1:"0";s:9:"copyright";s:0:"";s:12:"focal_length";s:1:"0";s:3:"iso";s:1:"0";s:13:"shutter_speed";s:1:"0";s:5:"title";s:0:"";s:11:"orientation";s:1:"0";s:8:"keywords";a:0:{}}}]]></wp:meta_value>
|
||||
</wp:postmeta>
|
||||
</item>
|
||||
<item>
|
||||
<title>01</title>
|
||||
<link></link>
|
||||
<pubDate></pubDate>
|
||||
<dc:creator><![CDATA[RaitisSevelis]]></dc:creator>
|
||||
<guid isPermaLink="false"></guid>
|
||||
<description></description>
|
||||
<content:encoded><![CDATA[]]></content:encoded>
|
||||
<excerpt:encoded><![CDATA[]]></excerpt:encoded>
|
||||
<wp:post_id>3533</wp:post_id>
|
||||
<wp:post_date><![CDATA[2016-12-21 13:28:15]]></wp:post_date>
|
||||
<wp:post_date_gmt><![CDATA[2016-12-21 13:28:15]]></wp:post_date_gmt>
|
||||
<wp:comment_status><![CDATA[open]]></wp:comment_status>
|
||||
<wp:ping_status><![CDATA[closed]]></wp:ping_status>
|
||||
<wp:post_name><![CDATA[01-54]]></wp:post_name>
|
||||
<wp:status><![CDATA[inherit]]></wp:status>
|
||||
<wp:post_parent>3173</wp:post_parent>
|
||||
<wp:menu_order>0</wp:menu_order>
|
||||
<wp:post_type><![CDATA[attachment]]></wp:post_type>
|
||||
<wp:post_password><![CDATA[]]></wp:post_password>
|
||||
<wp:is_sticky>0</wp:is_sticky>
|
||||
<wp:attachment_url><![CDATA[https://vc-cc-static.s3-us-west-2.amazonaws.com/templates/36dc3fb0-c824-11e6-ae30-673ee1a9f9eb/assets/article-with-image-3533.jpg]]></wp:attachment_url>
|
||||
<wp:attachment_real_url><![CDATA[http://localhost/wp-content/uploads/2016/08/01-19.jpg]]></wp:attachment_real_url>
|
||||
<wp:postmeta>
|
||||
<wp:meta_key><![CDATA[_wp_attached_file]]></wp:meta_key>
|
||||
<wp:meta_value><![CDATA[2016/08/01-19.jpg]]></wp:meta_value>
|
||||
</wp:postmeta>
|
||||
<wp:postmeta>
|
||||
<wp:meta_key><![CDATA[_wp_attachment_metadata]]></wp:meta_key>
|
||||
<wp:meta_value><![CDATA[a:5:{s:5:"width";i:1200;s:6:"height";i:600;s:4:"file";s:17:"2016/08/01-19.jpg";s:5:"sizes";a:4:{s:9:"thumbnail";a:4:{s:4:"file";s:17:"01-19-150x150.jpg";s:5:"width";i:150;s:6:"height";i:150;s:9:"mime-type";s:10:"image/jpeg";}s:6:"medium";a:4:{s:4:"file";s:17:"01-19-300x150.jpg";s:5:"width";i:300;s:6:"height";i:150;s:9:"mime-type";s:10:"image/jpeg";}s:12:"medium_large";a:4:{s:4:"file";s:17:"01-19-768x384.jpg";s:5:"width";i:768;s:6:"height";i:384;s:9:"mime-type";s:10:"image/jpeg";}s:5:"large";a:4:{s:4:"file";s:18:"01-19-1024x512.jpg";s:5:"width";i:1024;s:6:"height";i:512;s:9:"mime-type";s:10:"image/jpeg";}}s:10:"image_meta";a:12:{s:8:"aperture";s:1:"0";s:6:"credit";s:0:"";s:6:"camera";s:0:"";s:7:"caption";s:0:"";s:17:"created_timestamp";s:1:"0";s:9:"copyright";s:0:"";s:12:"focal_length";s:1:"0";s:3:"iso";s:1:"0";s:13:"shutter_speed";s:1:"0";s:5:"title";s:0:"";s:11:"orientation";s:1:"0";s:8:"keywords";a:0:{}}}]]></wp:meta_value>
|
||||
</wp:postmeta>
|
||||
</item>
|
||||
</channel>
|
||||
</rss>
|
||||
+131
@@ -0,0 +1,131 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?><!-- This is a WordPress eXtended RSS file generated by WordPress as an export of your site. -->
|
||||
<!-- It contains information about your site's posts, pages, comments, categories, and other content. -->
|
||||
<!-- You may use this file to transfer that content from one site to another. -->
|
||||
<!-- This file is not intended to serve as a complete backup of your site. -->
|
||||
|
||||
<!-- To import this information into a WordPress site follow these steps: -->
|
||||
<!-- 1. Log in to that site as an administrator. -->
|
||||
<!-- 2. Go to Tools: Import in the WordPress admin panel. -->
|
||||
<!-- 3. Install the "WordPress" importer from the list. -->
|
||||
<!-- 4. Activate & Run Importer. -->
|
||||
<!-- 5. Upload this file using the form provided on that page. -->
|
||||
<!-- 6. You will first be asked to map the authors in this export file to users -->
|
||||
<!-- on the site. For each author, you may choose to map to an -->
|
||||
<!-- existing user on the site or to create a new user. -->
|
||||
<!-- 7. WordPress will then import each of the posts, pages, comments, categories, etc. -->
|
||||
<!-- contained in this file into your site. -->
|
||||
<!-- generator="WordPress/4.7.3" created="2017-03-23 13:18" -->
|
||||
<rss version="2.0"
|
||||
xmlns:excerpt="http://wordpress.org/export/1.2/excerpt/"
|
||||
xmlns:content="http://purl.org/rss/1.0/modules/content/"
|
||||
xmlns:wfw="http://wellformedweb.org/CommentAPI/"
|
||||
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
||||
xmlns:wp="http://wordpress.org/export/1.2/"
|
||||
>
|
||||
|
||||
<channel>
|
||||
<title>Rocky</title>
|
||||
<link>http://localhost</link>
|
||||
<description>Fun and Test</description>
|
||||
<pubDate>Thu, 23 Mar 2017 13:18:14 +0000</pubDate>
|
||||
<language>en-US</language>
|
||||
<wp:wxr_version>1.2</wp:wxr_version>
|
||||
<wp:base_site_url>http://localhost</wp:base_site_url>
|
||||
<wp:base_blog_url>http://localhost</wp:base_blog_url>
|
||||
|
||||
<item>
|
||||
<title><![CDATA[Double Image Hero]]></title>
|
||||
<link></link>
|
||||
<pubDate></pubDate>
|
||||
<dc:creator><![CDATA[admin]]></dc:creator>
|
||||
<guid isPermaLink="false">http://vc4.dev/?post_type=vc4_templates&p=6</guid>
|
||||
<description/>
|
||||
<content:encoded><![CDATA[[vc_row full_width="stretch_row" full_height="yes" content_placement="middle" css=".vc_custom_1490184976582{background-image: url(http://localhost/wp-content/uploads/2016/08/001-background-grass.jpg?id=3632) !important;background-position: center !important;background-repeat: no-repeat !important;background-size: cover !important;}"][vc_column css=".vc_custom_1490185222153{padding-top: 100px !important;padding-right: 100px !important;padding-bottom: 100px !important;padding-left: 100px !important;background-image: url(http://localhost/wp-content/uploads/2016/08/002-background-small-grass.jpg?id=3631) !important;background-position: center !important;background-repeat: no-repeat !important;background-size: cover !important;}"][vc_custom_heading text="Nature, in the Broadest Sense" font_container="tag:h2|font_size:60|text_align:center|color:%23ffffff" google_fonts="font_family:Playfair%20Display%3Aregular%2Citalic%2C700%2C700italic%2C900%2C900italic|font_style:400%20regular%3A400%3Anormal" css=".vc_custom_1490185080805{padding-bottom: 35px !important;}"][vc_column_text]<p style="text-align: center;"><span style="color: #ffffff;">The study of nature is a large part of science. Although humans are part of nature, human activity is often understood as a separate category from other natural phenomena.</span></p>[/vc_column_text][vc_btn title="Explore & Book Now" style="outline-custom" outline_custom_color="#ffffff" outline_custom_hover_background="#61a868" outline_custom_hover_text="#ffffff" shape="square" align="center"][/vc_column][/vc_row]]]></content:encoded>
|
||||
<excerpt:encoded><![CDATA[]]></excerpt:encoded>
|
||||
<wp:post_id>1</wp:post_id>
|
||||
<wp:post_date></wp:post_date>
|
||||
<wp:post_date_gmt></wp:post_date_gmt>
|
||||
<wp:comment_status><![CDATA[closed]]></wp:comment_status>
|
||||
<wp:ping_status><![CDATA[closed]]></wp:ping_status>
|
||||
<wp:post_name><![CDATA[Double Image Hero]]></wp:post_name>
|
||||
<wp:status><![CDATA[publish]]></wp:status>
|
||||
<wp:post_parent>0</wp:post_parent>
|
||||
<wp:menu_order>0</wp:menu_order>
|
||||
<wp:post_type><![CDATA[vc4_templates]]></wp:post_type>
|
||||
<wp:post_password><![CDATA[]]></wp:post_password>
|
||||
<wp:is_sticky>0</wp:is_sticky>
|
||||
<wp:postmeta>
|
||||
<wp:meta_key><![CDATA[_vc4_templates-version]]></wp:meta_key>
|
||||
<wp:meta_value><![CDATA[1]]></wp:meta_value>
|
||||
</wp:postmeta>
|
||||
<wp:postmeta>
|
||||
<wp:meta_key><![CDATA[_vc4_templates-id]]></wp:meta_key>
|
||||
<wp:meta_value><![CDATA[3dbd65f0-0fcb-11e7-a7ca-63b6605d1286]]></wp:meta_value>
|
||||
</wp:postmeta>
|
||||
</item>
|
||||
<item>
|
||||
<title>002-background-small-grass</title>
|
||||
<link></link>
|
||||
<pubDate></pubDate>
|
||||
<dc:creator><![CDATA[RaitisSevelis]]></dc:creator>
|
||||
<guid isPermaLink="false"></guid>
|
||||
<description></description>
|
||||
<content:encoded><![CDATA[]]></content:encoded>
|
||||
<excerpt:encoded><![CDATA[]]></excerpt:encoded>
|
||||
<wp:post_id>3631</wp:post_id>
|
||||
<wp:post_date><![CDATA[2017-03-22 12:13:18]]></wp:post_date>
|
||||
<wp:post_date_gmt><![CDATA[2017-03-22 12:13:18]]></wp:post_date_gmt>
|
||||
<wp:comment_status><![CDATA[open]]></wp:comment_status>
|
||||
<wp:ping_status><![CDATA[closed]]></wp:ping_status>
|
||||
<wp:post_name><![CDATA[002-background-small-grass]]></wp:post_name>
|
||||
<wp:status><![CDATA[inherit]]></wp:status>
|
||||
<wp:post_parent>3173</wp:post_parent>
|
||||
<wp:menu_order>0</wp:menu_order>
|
||||
<wp:post_type><![CDATA[attachment]]></wp:post_type>
|
||||
<wp:post_password><![CDATA[]]></wp:post_password>
|
||||
<wp:is_sticky>0</wp:is_sticky>
|
||||
<wp:attachment_url><![CDATA[https://vc-cc-static.s3-us-west-2.amazonaws.com/templates/3dbd65f0-0fcb-11e7-a7ca-63b6605d1286/assets/double-image-hero-3631.jpg]]></wp:attachment_url>
|
||||
<wp:attachment_real_url><![CDATA[http://localhost/wp-content/uploads/2016/08/002-background-small-grass.jpg]]></wp:attachment_real_url>
|
||||
<wp:postmeta>
|
||||
<wp:meta_key><![CDATA[_wp_attached_file]]></wp:meta_key>
|
||||
<wp:meta_value><![CDATA[2016/08/002-background-small-grass.jpg]]></wp:meta_value>
|
||||
</wp:postmeta>
|
||||
<wp:postmeta>
|
||||
<wp:meta_key><![CDATA[_wp_attachment_metadata]]></wp:meta_key>
|
||||
<wp:meta_value><![CDATA[a:5:{s:5:"width";i:800;s:6:"height";i:600;s:4:"file";s:38:"2016/08/002-background-small-grass.jpg";s:5:"sizes";a:3:{s:9:"thumbnail";a:4:{s:4:"file";s:38:"002-background-small-grass-150x150.jpg";s:5:"width";i:150;s:6:"height";i:150;s:9:"mime-type";s:10:"image/jpeg";}s:6:"medium";a:4:{s:4:"file";s:38:"002-background-small-grass-300x225.jpg";s:5:"width";i:300;s:6:"height";i:225;s:9:"mime-type";s:10:"image/jpeg";}s:12:"medium_large";a:4:{s:4:"file";s:38:"002-background-small-grass-768x576.jpg";s:5:"width";i:768;s:6:"height";i:576;s:9:"mime-type";s:10:"image/jpeg";}}s:10:"image_meta";a:12:{s:8:"aperture";s:1:"0";s:6:"credit";s:0:"";s:6:"camera";s:0:"";s:7:"caption";s:0:"";s:17:"created_timestamp";s:1:"0";s:9:"copyright";s:0:"";s:12:"focal_length";s:1:"0";s:3:"iso";s:1:"0";s:13:"shutter_speed";s:1:"0";s:5:"title";s:0:"";s:11:"orientation";s:1:"0";s:8:"keywords";a:0:{}}}]]></wp:meta_value>
|
||||
</wp:postmeta>
|
||||
</item>
|
||||
<item>
|
||||
<title>001-background-grass</title>
|
||||
<link></link>
|
||||
<pubDate></pubDate>
|
||||
<dc:creator><![CDATA[RaitisSevelis]]></dc:creator>
|
||||
<guid isPermaLink="false"></guid>
|
||||
<description></description>
|
||||
<content:encoded><![CDATA[]]></content:encoded>
|
||||
<excerpt:encoded><![CDATA[]]></excerpt:encoded>
|
||||
<wp:post_id>3632</wp:post_id>
|
||||
<wp:post_date><![CDATA[2017-03-22 12:13:19]]></wp:post_date>
|
||||
<wp:post_date_gmt><![CDATA[2017-03-22 12:13:19]]></wp:post_date_gmt>
|
||||
<wp:comment_status><![CDATA[open]]></wp:comment_status>
|
||||
<wp:ping_status><![CDATA[closed]]></wp:ping_status>
|
||||
<wp:post_name><![CDATA[001-background-grass]]></wp:post_name>
|
||||
<wp:status><![CDATA[inherit]]></wp:status>
|
||||
<wp:post_parent>3173</wp:post_parent>
|
||||
<wp:menu_order>0</wp:menu_order>
|
||||
<wp:post_type><![CDATA[attachment]]></wp:post_type>
|
||||
<wp:post_password><![CDATA[]]></wp:post_password>
|
||||
<wp:is_sticky>0</wp:is_sticky>
|
||||
<wp:attachment_url><![CDATA[https://vc-cc-static.s3-us-west-2.amazonaws.com/templates/3dbd65f0-0fcb-11e7-a7ca-63b6605d1286/assets/double-image-hero-3632.jpg]]></wp:attachment_url>
|
||||
<wp:attachment_real_url><![CDATA[http://localhost/wp-content/uploads/2016/08/001-background-grass.jpg]]></wp:attachment_real_url>
|
||||
<wp:postmeta>
|
||||
<wp:meta_key><![CDATA[_wp_attached_file]]></wp:meta_key>
|
||||
<wp:meta_value><![CDATA[2016/08/001-background-grass.jpg]]></wp:meta_value>
|
||||
</wp:postmeta>
|
||||
<wp:postmeta>
|
||||
<wp:meta_key><![CDATA[_wp_attachment_metadata]]></wp:meta_key>
|
||||
<wp:meta_value><![CDATA[a:5:{s:5:"width";i:1200;s:6:"height";i:750;s:4:"file";s:32:"2016/08/001-background-grass.jpg";s:5:"sizes";a:4:{s:9:"thumbnail";a:4:{s:4:"file";s:32:"001-background-grass-150x150.jpg";s:5:"width";i:150;s:6:"height";i:150;s:9:"mime-type";s:10:"image/jpeg";}s:6:"medium";a:4:{s:4:"file";s:32:"001-background-grass-300x188.jpg";s:5:"width";i:300;s:6:"height";i:188;s:9:"mime-type";s:10:"image/jpeg";}s:12:"medium_large";a:4:{s:4:"file";s:32:"001-background-grass-768x480.jpg";s:5:"width";i:768;s:6:"height";i:480;s:9:"mime-type";s:10:"image/jpeg";}s:5:"large";a:4:{s:4:"file";s:33:"001-background-grass-1024x640.jpg";s:5:"width";i:1024;s:6:"height";i:640;s:9:"mime-type";s:10:"image/jpeg";}}s:10:"image_meta";a:12:{s:8:"aperture";s:1:"0";s:6:"credit";s:0:"";s:6:"camera";s:0:"";s:7:"caption";s:0:"";s:17:"created_timestamp";s:1:"0";s:9:"copyright";s:0:"";s:12:"focal_length";s:1:"0";s:3:"iso";s:1:"0";s:13:"shutter_speed";s:1:"0";s:5:"title";s:0:"";s:11:"orientation";s:1:"0";s:8:"keywords";a:0:{}}}]]></wp:meta_value>
|
||||
</wp:postmeta>
|
||||
</item>
|
||||
</channel>
|
||||
</rss>
|
||||
+99
@@ -0,0 +1,99 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?><!-- This is a WordPress eXtended RSS file generated by WordPress as an export of your site. -->
|
||||
<!-- It contains information about your site's posts, pages, comments, categories, and other content. -->
|
||||
<!-- You may use this file to transfer that content from one site to another. -->
|
||||
<!-- This file is not intended to serve as a complete backup of your site. -->
|
||||
|
||||
<!-- To import this information into a WordPress site follow these steps: -->
|
||||
<!-- 1. Log in to that site as an administrator. -->
|
||||
<!-- 2. Go to Tools: Import in the WordPress admin panel. -->
|
||||
<!-- 3. Install the "WordPress" importer from the list. -->
|
||||
<!-- 4. Activate & Run Importer. -->
|
||||
<!-- 5. Upload this file using the form provided on that page. -->
|
||||
<!-- 6. You will first be asked to map the authors in this export file to users -->
|
||||
<!-- on the site. For each author, you may choose to map to an -->
|
||||
<!-- existing user on the site or to create a new user. -->
|
||||
<!-- 7. WordPress will then import each of the posts, pages, comments, categories, etc. -->
|
||||
<!-- contained in this file into your site. -->
|
||||
<!-- generator="WordPress/4.6.1" created="2016-11-02 15:23" -->
|
||||
<rss version="2.0"
|
||||
xmlns:excerpt="http://wordpress.org/export/1.2/excerpt/"
|
||||
xmlns:content="http://purl.org/rss/1.0/modules/content/"
|
||||
xmlns:wfw="http://wellformedweb.org/CommentAPI/"
|
||||
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
||||
xmlns:wp="http://wordpress.org/export/1.2/"
|
||||
>
|
||||
|
||||
<channel>
|
||||
<title>WPBakery</title>
|
||||
<link>http://localhost</link>
|
||||
<description>Fun and Test</description>
|
||||
<pubDate>Wed, 02 Nov 2016 15:23:35 +0000</pubDate>
|
||||
<language>en-US</language>
|
||||
<wp:wxr_version>1.2</wp:wxr_version>
|
||||
<wp:base_site_url>http://localhost</wp:base_site_url>
|
||||
<wp:base_blog_url>http://localhost</wp:base_blog_url>
|
||||
|
||||
<item>
|
||||
<title><![CDATA[Description With Middle Image]]></title>
|
||||
<link></link>
|
||||
<pubDate></pubDate>
|
||||
<dc:creator><![CDATA[admin]]></dc:creator>
|
||||
<guid isPermaLink="false">http://vc4.dev/?post_type=vc4_templates&p=6</guid>
|
||||
<description/>
|
||||
<content:encoded><![CDATA[[vc_row][vc_column width="1/4"][vc_custom_heading text="New York City" use_theme_fonts="yes"][vc_column_text]The City of New York, often called New York City, New York, or simply The City, is the most populous city in the United States.[/vc_column_text][vc_btn title="Learn More" style="flat" color="purple"][/vc_column][vc_column width="2/4"][vc_single_image image="3293" img_size="full" alignment="center"][/vc_column][vc_column width="1/4"][vc_custom_heading text="Districts and Landmarks" use_theme_fonts="yes"][vc_column_text]New York City is situated in the Northeastern United States, in southeastern New York State, approximately halfway between Washington, D.C. and Boston.[/vc_column_text][vc_btn title="Learn More" style="flat" color="purple"][/vc_column][/vc_row]]]></content:encoded>
|
||||
<excerpt:encoded><![CDATA[]]></excerpt:encoded>
|
||||
<wp:post_id>1</wp:post_id>
|
||||
<wp:post_date></wp:post_date>
|
||||
<wp:post_date_gmt></wp:post_date_gmt>
|
||||
<wp:comment_status><![CDATA[closed]]></wp:comment_status>
|
||||
<wp:ping_status><![CDATA[closed]]></wp:ping_status>
|
||||
<wp:post_name><![CDATA[Description With Middle Image]]></wp:post_name>
|
||||
<wp:status><![CDATA[publish]]></wp:status>
|
||||
<wp:post_parent>0</wp:post_parent>
|
||||
<wp:menu_order>0</wp:menu_order>
|
||||
<wp:post_type><![CDATA[vc4_templates]]></wp:post_type>
|
||||
<wp:post_password><![CDATA[]]></wp:post_password>
|
||||
<wp:is_sticky>0</wp:is_sticky>
|
||||
<wp:postmeta>
|
||||
<wp:meta_key><![CDATA[_vc4_templates-version]]></wp:meta_key>
|
||||
<wp:meta_value><![CDATA[1]]></wp:meta_value>
|
||||
</wp:postmeta>
|
||||
<wp:postmeta>
|
||||
<wp:meta_key><![CDATA[_vc4_templates-id]]></wp:meta_key>
|
||||
<wp:meta_value><![CDATA[407ec3a0-a132-11e6-ad90-cfaeeb3d3193]]></wp:meta_value>
|
||||
</wp:postmeta>
|
||||
</item>
|
||||
<item>
|
||||
<title>01</title>
|
||||
<link></link>
|
||||
<pubDate></pubDate>
|
||||
<dc:creator><![CDATA[RaitisSevelis]]></dc:creator>
|
||||
<guid isPermaLink="false"></guid>
|
||||
<description></description>
|
||||
<content:encoded><![CDATA[]]></content:encoded>
|
||||
<excerpt:encoded><![CDATA[]]></excerpt:encoded>
|
||||
<wp:post_id>3293</wp:post_id>
|
||||
<wp:post_date><![CDATA[2016-10-04 10:31:08]]></wp:post_date>
|
||||
<wp:post_date_gmt><![CDATA[2016-10-04 10:31:08]]></wp:post_date_gmt>
|
||||
<wp:comment_status><![CDATA[open]]></wp:comment_status>
|
||||
<wp:ping_status><![CDATA[closed]]></wp:ping_status>
|
||||
<wp:post_name><![CDATA[01-17]]></wp:post_name>
|
||||
<wp:status><![CDATA[inherit]]></wp:status>
|
||||
<wp:post_parent>2602</wp:post_parent>
|
||||
<wp:menu_order>0</wp:menu_order>
|
||||
<wp:post_type><![CDATA[attachment]]></wp:post_type>
|
||||
<wp:post_password><![CDATA[]]></wp:post_password>
|
||||
<wp:is_sticky>0</wp:is_sticky>
|
||||
<wp:attachment_url><![CDATA[https://vc-cc-static.s3-us-west-2.amazonaws.com/templates/407ec3a0-a132-11e6-ad90-cfaeeb3d3193/assets/description-with-middle-image-3293.jpg]]></wp:attachment_url>
|
||||
<wp:attachment_real_url><![CDATA[http://localhost/wp-content/uploads/2015/09/01-16.jpg]]></wp:attachment_real_url>
|
||||
<wp:postmeta>
|
||||
<wp:meta_key><![CDATA[_wp_attached_file]]></wp:meta_key>
|
||||
<wp:meta_value><![CDATA[2015/09/01-16.jpg]]></wp:meta_value>
|
||||
</wp:postmeta>
|
||||
<wp:postmeta>
|
||||
<wp:meta_key><![CDATA[_wp_attachment_metadata]]></wp:meta_key>
|
||||
<wp:meta_value><![CDATA[a:5:{s:5:"width";i:400;s:6:"height";i:600;s:4:"file";s:17:"2015/09/01-16.jpg";s:5:"sizes";a:4:{s:9:"thumbnail";a:4:{s:4:"file";s:17:"01-16-150x150.jpg";s:5:"width";i:150;s:6:"height";i:150;s:9:"mime-type";s:10:"image/jpeg";}s:6:"medium";a:4:{s:4:"file";s:17:"01-16-200x300.jpg";s:5:"width";i:200;s:6:"height";i:300;s:9:"mime-type";s:10:"image/jpeg";}s:17:"dazzling-featured";a:4:{s:4:"file";s:17:"01-16-400x410.jpg";s:5:"width";i:400;s:6:"height";i:410;s:9:"mime-type";s:10:"image/jpeg";}s:9:"tab-small";a:4:{s:4:"file";s:15:"01-16-60x60.jpg";s:5:"width";i:60;s:6:"height";i:60;s:9:"mime-type";s:10:"image/jpeg";}}s:10:"image_meta";a:12:{s:8:"aperture";s:1:"0";s:6:"credit";s:0:"";s:6:"camera";s:0:"";s:7:"caption";s:0:"";s:17:"created_timestamp";s:1:"0";s:9:"copyright";s:0:"";s:12:"focal_length";s:1:"0";s:3:"iso";s:1:"0";s:13:"shutter_speed";s:1:"0";s:5:"title";s:0:"";s:11:"orientation";s:1:"0";s:8:"keywords";a:0:{}}}]]></wp:meta_value>
|
||||
</wp:postmeta>
|
||||
</item>
|
||||
</channel>
|
||||
</rss>
|
||||
+131
@@ -0,0 +1,131 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?><!-- This is a WordPress eXtended RSS file generated by WordPress as an export of your site. -->
|
||||
<!-- It contains information about your site's posts, pages, comments, categories, and other content. -->
|
||||
<!-- You may use this file to transfer that content from one site to another. -->
|
||||
<!-- This file is not intended to serve as a complete backup of your site. -->
|
||||
|
||||
<!-- To import this information into a WordPress site follow these steps: -->
|
||||
<!-- 1. Log in to that site as an administrator. -->
|
||||
<!-- 2. Go to Tools: Import in the WordPress admin panel. -->
|
||||
<!-- 3. Install the "WordPress" importer from the list. -->
|
||||
<!-- 4. Activate & Run Importer. -->
|
||||
<!-- 5. Upload this file using the form provided on that page. -->
|
||||
<!-- 6. You will first be asked to map the authors in this export file to users -->
|
||||
<!-- on the site. For each author, you may choose to map to an -->
|
||||
<!-- existing user on the site or to create a new user. -->
|
||||
<!-- 7. WordPress will then import each of the posts, pages, comments, categories, etc. -->
|
||||
<!-- contained in this file into your site. -->
|
||||
<!-- generator="WordPress/4.6.1" created="2016-11-02 15:23" -->
|
||||
<rss version="2.0"
|
||||
xmlns:excerpt="http://wordpress.org/export/1.2/excerpt/"
|
||||
xmlns:content="http://purl.org/rss/1.0/modules/content/"
|
||||
xmlns:wfw="http://wellformedweb.org/CommentAPI/"
|
||||
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
||||
xmlns:wp="http://wordpress.org/export/1.2/"
|
||||
>
|
||||
|
||||
<channel>
|
||||
<title>WPBakery</title>
|
||||
<link>http://localhost</link>
|
||||
<description>Fun and Test</description>
|
||||
<pubDate>Wed, 02 Nov 2016 15:23:57 +0000</pubDate>
|
||||
<language>en-US</language>
|
||||
<wp:wxr_version>1.2</wp:wxr_version>
|
||||
<wp:base_site_url>http://localhost</wp:base_site_url>
|
||||
<wp:base_blog_url>http://localhost</wp:base_blog_url>
|
||||
|
||||
<item>
|
||||
<title><![CDATA[Articles With Letters]]></title>
|
||||
<link></link>
|
||||
<pubDate></pubDate>
|
||||
<dc:creator><![CDATA[admin]]></dc:creator>
|
||||
<guid isPermaLink="false">http://vc4.dev/?post_type=vc4_templates&p=6</guid>
|
||||
<description/>
|
||||
<content:encoded><![CDATA[[vc_row][vc_column width="1/2"][vc_custom_heading text="A." font_container="tag:h1|font_size:100|text_align:left|line_height:1" use_theme_fonts="yes" css=".vc_custom_1478002059568{margin-bottom: 0px !important;padding-bottom: 0px !important;}"][vc_custom_heading text="the magic of letter" font_container="tag:h1|font_size:40|text_align:left" use_theme_fonts="yes" css=".vc_custom_1478002070110{margin-top: 0px !important;}"][vc_column_text]<p>A letter is a written message from one party to another containing information. Letters promote the preservation of communication between both parties; they may bring friends or relatives closer together, enrich professional relationships and provide a means of self-expression.</p>[/vc_column_text][/vc_column][vc_column width="1/2"][vc_single_image image="3363" img_size="large"][/vc_column][/vc_row][vc_row][vc_column width="1/2"][vc_single_image image="3364" img_size="large"][/vc_column][vc_column width="1/2"][vc_custom_heading text="H." font_container="tag:h1|font_size:100|text_align:left|line_height:1" use_theme_fonts="yes" css=".vc_custom_1478002558080{margin-bottom: 0px !important;padding-bottom: 0px !important;}"][vc_custom_heading text="city house" font_container="tag:h1|font_size:40|text_align:left" use_theme_fonts="yes" css=".vc_custom_1478002568823{margin-top: 0px !important;}"][vc_column_text]<p>A house is a building that functions as a home, ranging from simple dwellings such as rudimentary huts of nomadic tribes and the improvised shacks in shantytowns to complex, fixed structures of wood, brick, concrete or other materials containing plumbing, ventilation and electrical systems.</p>[/vc_column_text][/vc_column][/vc_row]]]></content:encoded>
|
||||
<excerpt:encoded><![CDATA[]]></excerpt:encoded>
|
||||
<wp:post_id>1</wp:post_id>
|
||||
<wp:post_date></wp:post_date>
|
||||
<wp:post_date_gmt></wp:post_date_gmt>
|
||||
<wp:comment_status><![CDATA[closed]]></wp:comment_status>
|
||||
<wp:ping_status><![CDATA[closed]]></wp:ping_status>
|
||||
<wp:post_name><![CDATA[Articles With Letters]]></wp:post_name>
|
||||
<wp:status><![CDATA[publish]]></wp:status>
|
||||
<wp:post_parent>0</wp:post_parent>
|
||||
<wp:menu_order>0</wp:menu_order>
|
||||
<wp:post_type><![CDATA[vc4_templates]]></wp:post_type>
|
||||
<wp:post_password><![CDATA[]]></wp:post_password>
|
||||
<wp:is_sticky>0</wp:is_sticky>
|
||||
<wp:postmeta>
|
||||
<wp:meta_key><![CDATA[_vc4_templates-version]]></wp:meta_key>
|
||||
<wp:meta_value><![CDATA[1]]></wp:meta_value>
|
||||
</wp:postmeta>
|
||||
<wp:postmeta>
|
||||
<wp:meta_key><![CDATA[_vc4_templates-id]]></wp:meta_key>
|
||||
<wp:meta_value><![CDATA[4160b1f0-a133-11e6-a796-bf961d7d7052]]></wp:meta_value>
|
||||
</wp:postmeta>
|
||||
</item>
|
||||
<item>
|
||||
<title>01</title>
|
||||
<link></link>
|
||||
<pubDate></pubDate>
|
||||
<dc:creator><![CDATA[RaitisSevelis]]></dc:creator>
|
||||
<guid isPermaLink="false"></guid>
|
||||
<description></description>
|
||||
<content:encoded><![CDATA[]]></content:encoded>
|
||||
<excerpt:encoded><![CDATA[]]></excerpt:encoded>
|
||||
<wp:post_id>3363</wp:post_id>
|
||||
<wp:post_date><![CDATA[2016-11-01 12:06:34]]></wp:post_date>
|
||||
<wp:post_date_gmt><![CDATA[2016-11-01 12:06:34]]></wp:post_date_gmt>
|
||||
<wp:comment_status><![CDATA[open]]></wp:comment_status>
|
||||
<wp:ping_status><![CDATA[closed]]></wp:ping_status>
|
||||
<wp:post_name><![CDATA[01-37]]></wp:post_name>
|
||||
<wp:status><![CDATA[inherit]]></wp:status>
|
||||
<wp:post_parent>3173</wp:post_parent>
|
||||
<wp:menu_order>0</wp:menu_order>
|
||||
<wp:post_type><![CDATA[attachment]]></wp:post_type>
|
||||
<wp:post_password><![CDATA[]]></wp:post_password>
|
||||
<wp:is_sticky>0</wp:is_sticky>
|
||||
<wp:attachment_url><![CDATA[https://vc-cc-static.s3-us-west-2.amazonaws.com/templates/4160b1f0-a133-11e6-a796-bf961d7d7052/assets/articles-with-letters-3363.jpg]]></wp:attachment_url>
|
||||
<wp:attachment_real_url><![CDATA[http://localhost/wp-content/uploads/2016/08/01-3.jpg]]></wp:attachment_real_url>
|
||||
<wp:postmeta>
|
||||
<wp:meta_key><![CDATA[_wp_attached_file]]></wp:meta_key>
|
||||
<wp:meta_value><![CDATA[2016/08/01-3.jpg]]></wp:meta_value>
|
||||
</wp:postmeta>
|
||||
<wp:postmeta>
|
||||
<wp:meta_key><![CDATA[_wp_attachment_metadata]]></wp:meta_key>
|
||||
<wp:meta_value><![CDATA[a:5:{s:5:"width";i:500;s:6:"height";i:600;s:4:"file";s:16:"2016/08/01-3.jpg";s:5:"sizes";a:4:{s:9:"thumbnail";a:4:{s:4:"file";s:16:"01-3-150x150.jpg";s:5:"width";i:150;s:6:"height";i:150;s:9:"mime-type";s:10:"image/jpeg";}s:6:"medium";a:4:{s:4:"file";s:16:"01-3-250x300.jpg";s:5:"width";i:250;s:6:"height";i:300;s:9:"mime-type";s:10:"image/jpeg";}s:17:"dazzling-featured";a:4:{s:4:"file";s:16:"01-3-500x410.jpg";s:5:"width";i:500;s:6:"height";i:410;s:9:"mime-type";s:10:"image/jpeg";}s:9:"tab-small";a:4:{s:4:"file";s:14:"01-3-60x60.jpg";s:5:"width";i:60;s:6:"height";i:60;s:9:"mime-type";s:10:"image/jpeg";}}s:10:"image_meta";a:12:{s:8:"aperture";s:1:"0";s:6:"credit";s:0:"";s:6:"camera";s:0:"";s:7:"caption";s:0:"";s:17:"created_timestamp";s:1:"0";s:9:"copyright";s:0:"";s:12:"focal_length";s:1:"0";s:3:"iso";s:1:"0";s:13:"shutter_speed";s:1:"0";s:5:"title";s:0:"";s:11:"orientation";s:1:"0";s:8:"keywords";a:0:{}}}]]></wp:meta_value>
|
||||
</wp:postmeta>
|
||||
</item>
|
||||
<item>
|
||||
<title>02</title>
|
||||
<link></link>
|
||||
<pubDate></pubDate>
|
||||
<dc:creator><![CDATA[RaitisSevelis]]></dc:creator>
|
||||
<guid isPermaLink="false"></guid>
|
||||
<description></description>
|
||||
<content:encoded><![CDATA[]]></content:encoded>
|
||||
<excerpt:encoded><![CDATA[]]></excerpt:encoded>
|
||||
<wp:post_id>3364</wp:post_id>
|
||||
<wp:post_date><![CDATA[2016-11-01 12:15:48]]></wp:post_date>
|
||||
<wp:post_date_gmt><![CDATA[2016-11-01 12:15:48]]></wp:post_date_gmt>
|
||||
<wp:comment_status><![CDATA[open]]></wp:comment_status>
|
||||
<wp:ping_status><![CDATA[closed]]></wp:ping_status>
|
||||
<wp:post_name><![CDATA[02-24]]></wp:post_name>
|
||||
<wp:status><![CDATA[inherit]]></wp:status>
|
||||
<wp:post_parent>3173</wp:post_parent>
|
||||
<wp:menu_order>0</wp:menu_order>
|
||||
<wp:post_type><![CDATA[attachment]]></wp:post_type>
|
||||
<wp:post_password><![CDATA[]]></wp:post_password>
|
||||
<wp:is_sticky>0</wp:is_sticky>
|
||||
<wp:attachment_url><![CDATA[https://vc-cc-static.s3-us-west-2.amazonaws.com/templates/4160b1f0-a133-11e6-a796-bf961d7d7052/assets/articles-with-letters-3364.jpg]]></wp:attachment_url>
|
||||
<wp:attachment_real_url><![CDATA[http://localhost/wp-content/uploads/2016/08/02-1.jpg]]></wp:attachment_real_url>
|
||||
<wp:postmeta>
|
||||
<wp:meta_key><![CDATA[_wp_attached_file]]></wp:meta_key>
|
||||
<wp:meta_value><![CDATA[2016/08/02-1.jpg]]></wp:meta_value>
|
||||
</wp:postmeta>
|
||||
<wp:postmeta>
|
||||
<wp:meta_key><![CDATA[_wp_attachment_metadata]]></wp:meta_key>
|
||||
<wp:meta_value><![CDATA[a:5:{s:5:"width";i:500;s:6:"height";i:600;s:4:"file";s:16:"2016/08/02-1.jpg";s:5:"sizes";a:4:{s:9:"thumbnail";a:4:{s:4:"file";s:16:"02-1-150x150.jpg";s:5:"width";i:150;s:6:"height";i:150;s:9:"mime-type";s:10:"image/jpeg";}s:6:"medium";a:4:{s:4:"file";s:16:"02-1-250x300.jpg";s:5:"width";i:250;s:6:"height";i:300;s:9:"mime-type";s:10:"image/jpeg";}s:17:"dazzling-featured";a:4:{s:4:"file";s:16:"02-1-500x410.jpg";s:5:"width";i:500;s:6:"height";i:410;s:9:"mime-type";s:10:"image/jpeg";}s:9:"tab-small";a:4:{s:4:"file";s:14:"02-1-60x60.jpg";s:5:"width";i:60;s:6:"height";i:60;s:9:"mime-type";s:10:"image/jpeg";}}s:10:"image_meta";a:12:{s:8:"aperture";s:1:"0";s:6:"credit";s:0:"";s:6:"camera";s:0:"";s:7:"caption";s:0:"";s:17:"created_timestamp";s:1:"0";s:9:"copyright";s:0:"";s:12:"focal_length";s:1:"0";s:3:"iso";s:1:"0";s:13:"shutter_speed";s:1:"0";s:5:"title";s:0:"";s:11:"orientation";s:1:"0";s:8:"keywords";a:0:{}}}]]></wp:meta_value>
|
||||
</wp:postmeta>
|
||||
</item>
|
||||
</channel>
|
||||
</rss>
|
||||
+99
@@ -0,0 +1,99 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?><!-- This is a WordPress eXtended RSS file generated by WordPress as an export of your site. -->
|
||||
<!-- It contains information about your site's posts, pages, comments, categories, and other content. -->
|
||||
<!-- You may use this file to transfer that content from one site to another. -->
|
||||
<!-- This file is not intended to serve as a complete backup of your site. -->
|
||||
|
||||
<!-- To import this information into a WordPress site follow these steps: -->
|
||||
<!-- 1. Log in to that site as an administrator. -->
|
||||
<!-- 2. Go to Tools: Import in the WordPress admin panel. -->
|
||||
<!-- 3. Install the "WordPress" importer from the list. -->
|
||||
<!-- 4. Activate & Run Importer. -->
|
||||
<!-- 5. Upload this file using the form provided on that page. -->
|
||||
<!-- 6. You will first be asked to map the authors in this export file to users -->
|
||||
<!-- on the site. For each author, you may choose to map to an -->
|
||||
<!-- existing user on the site or to create a new user. -->
|
||||
<!-- 7. WordPress will then import each of the posts, pages, comments, categories, etc. -->
|
||||
<!-- contained in this file into your site. -->
|
||||
<!-- generator="WordPress/4.7.3" created="2017-03-23 13:02" -->
|
||||
<rss version="2.0"
|
||||
xmlns:excerpt="http://wordpress.org/export/1.2/excerpt/"
|
||||
xmlns:content="http://purl.org/rss/1.0/modules/content/"
|
||||
xmlns:wfw="http://wellformedweb.org/CommentAPI/"
|
||||
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
||||
xmlns:wp="http://wordpress.org/export/1.2/"
|
||||
>
|
||||
|
||||
<channel>
|
||||
<title>Rocky</title>
|
||||
<link>http://localhost</link>
|
||||
<description>Fun and Test</description>
|
||||
<pubDate>Thu, 23 Mar 2017 13:02:46 +0000</pubDate>
|
||||
<language>en-US</language>
|
||||
<wp:wxr_version>1.2</wp:wxr_version>
|
||||
<wp:base_site_url>http://localhost</wp:base_site_url>
|
||||
<wp:base_blog_url>http://localhost</wp:base_blog_url>
|
||||
|
||||
<item>
|
||||
<title><![CDATA[Fashion Style Article]]></title>
|
||||
<link></link>
|
||||
<pubDate></pubDate>
|
||||
<dc:creator><![CDATA[admin]]></dc:creator>
|
||||
<guid isPermaLink="false">http://vc4.dev/?post_type=vc4_templates&p=6</guid>
|
||||
<description/>
|
||||
<content:encoded><![CDATA[[vc_row content_placement="middle" css=".vc_custom_1490025223200{padding-top: 150px !important;padding-bottom: 150px !important;background-image: url(http://localhost/wp-content/uploads/2016/08/001-fashion.jpg?id=3605) !important;background-position: center !important;background-repeat: no-repeat !important;background-size: contain !important;}"][vc_column width="1/2"][vc_custom_heading text="Make Some Hype" font_container="tag:h1|font_size:100|text_align:center|color:%23ccaa74" google_fonts="font_family:Playfair%20Display%3Aregular%2Citalic%2C700%2C700italic%2C900%2C900italic|font_style:700%20bold%20regular%3A700%3Anormal"][/vc_column][vc_column width="1/2"][vc_btn title="Follow the Revolution" style="custom" custom_background="#ccaa74" custom_text="#ffffff" shape="square" size="lg" align="center"][/vc_column][/vc_row][vc_row gap="30"][vc_column width="1/3"][vc_column_text]The idea of unisex dressing originated in the 1960s when designers such as Pierre Cardin and Rudi Gernreich created garments, such as stretch jersey tunics or leggings, meant to be worn by both males and females. The impact of unisex expands more broadly to encompass various themes in fashion including androgyny, mass-market retail, and conceptual clothing.[/vc_column_text][/vc_column][vc_column width="1/3"][vc_column_text]The fashion trends of the 1970s, such as sheepskin jackets, flight jackets, duffel coats, and unstructured clothing influenced men to attend social gatherings without a tuxedo jacket and to accessorize in new ways. Some men's styles blended the sensuality and expressiveness despite the conservative trend, the growing gay-rights movement and an emphasis on youth allowed for a new freedom to experiment with style, fabrics such as wool crepe, which had previously been associated with women's attire was used by designers when creating male clothing.[/vc_column_text][/vc_column][vc_column width="1/3"][vc_column_text]The four major current fashion capitals are acknowledged to be Paris, Milan, New York City, and London, which are all headquarters to the greatest fashion companies and are renowned for their major influence on global fashion. Fashion weeks are held in these cities, where designers exhibit their new clothing collections to audiences.[/vc_column_text][/vc_column][/vc_row]]]></content:encoded>
|
||||
<excerpt:encoded><![CDATA[]]></excerpt:encoded>
|
||||
<wp:post_id>1</wp:post_id>
|
||||
<wp:post_date></wp:post_date>
|
||||
<wp:post_date_gmt></wp:post_date_gmt>
|
||||
<wp:comment_status><![CDATA[closed]]></wp:comment_status>
|
||||
<wp:ping_status><![CDATA[closed]]></wp:ping_status>
|
||||
<wp:post_name><![CDATA[Fashion Style Article]]></wp:post_name>
|
||||
<wp:status><![CDATA[publish]]></wp:status>
|
||||
<wp:post_parent>0</wp:post_parent>
|
||||
<wp:menu_order>0</wp:menu_order>
|
||||
<wp:post_type><![CDATA[vc4_templates]]></wp:post_type>
|
||||
<wp:post_password><![CDATA[]]></wp:post_password>
|
||||
<wp:is_sticky>0</wp:is_sticky>
|
||||
<wp:postmeta>
|
||||
<wp:meta_key><![CDATA[_vc4_templates-version]]></wp:meta_key>
|
||||
<wp:meta_value><![CDATA[1]]></wp:meta_value>
|
||||
</wp:postmeta>
|
||||
<wp:postmeta>
|
||||
<wp:meta_key><![CDATA[_vc4_templates-id]]></wp:meta_key>
|
||||
<wp:meta_value><![CDATA[45aaa7f0-0fca-11e7-a982-1b252eab50b4]]></wp:meta_value>
|
||||
</wp:postmeta>
|
||||
</item>
|
||||
<item>
|
||||
<title>001-fashion</title>
|
||||
<link></link>
|
||||
<pubDate></pubDate>
|
||||
<dc:creator><![CDATA[RaitisSevelis]]></dc:creator>
|
||||
<guid isPermaLink="false"></guid>
|
||||
<description></description>
|
||||
<content:encoded><![CDATA[]]></content:encoded>
|
||||
<excerpt:encoded><![CDATA[]]></excerpt:encoded>
|
||||
<wp:post_id>3605</wp:post_id>
|
||||
<wp:post_date><![CDATA[2017-03-20 15:43:46]]></wp:post_date>
|
||||
<wp:post_date_gmt><![CDATA[2017-03-20 15:43:46]]></wp:post_date_gmt>
|
||||
<wp:comment_status><![CDATA[open]]></wp:comment_status>
|
||||
<wp:ping_status><![CDATA[closed]]></wp:ping_status>
|
||||
<wp:post_name><![CDATA[001-fashion]]></wp:post_name>
|
||||
<wp:status><![CDATA[inherit]]></wp:status>
|
||||
<wp:post_parent>3173</wp:post_parent>
|
||||
<wp:menu_order>0</wp:menu_order>
|
||||
<wp:post_type><![CDATA[attachment]]></wp:post_type>
|
||||
<wp:post_password><![CDATA[]]></wp:post_password>
|
||||
<wp:is_sticky>0</wp:is_sticky>
|
||||
<wp:attachment_url><![CDATA[https://vc-cc-static.s3-us-west-2.amazonaws.com/templates/45aaa7f0-0fca-11e7-a982-1b252eab50b4/assets/fashion-style-article-3605.jpg]]></wp:attachment_url>
|
||||
<wp:attachment_real_url><![CDATA[http://localhost/wp-content/uploads/2016/08/001-fashion.jpg]]></wp:attachment_real_url>
|
||||
<wp:postmeta>
|
||||
<wp:meta_key><![CDATA[_wp_attached_file]]></wp:meta_key>
|
||||
<wp:meta_value><![CDATA[2016/08/001-fashion.jpg]]></wp:meta_value>
|
||||
</wp:postmeta>
|
||||
<wp:postmeta>
|
||||
<wp:meta_key><![CDATA[_wp_attachment_metadata]]></wp:meta_key>
|
||||
<wp:meta_value><![CDATA[a:5:{s:5:"width";i:400;s:6:"height";i:600;s:4:"file";s:23:"2016/08/001-fashion.jpg";s:5:"sizes";a:2:{s:9:"thumbnail";a:4:{s:4:"file";s:23:"001-fashion-150x150.jpg";s:5:"width";i:150;s:6:"height";i:150;s:9:"mime-type";s:10:"image/jpeg";}s:6:"medium";a:4:{s:4:"file";s:23:"001-fashion-200x300.jpg";s:5:"width";i:200;s:6:"height";i:300;s:9:"mime-type";s:10:"image/jpeg";}}s:10:"image_meta";a:12:{s:8:"aperture";s:1:"0";s:6:"credit";s:0:"";s:6:"camera";s:0:"";s:7:"caption";s:0:"";s:17:"created_timestamp";s:1:"0";s:9:"copyright";s:0:"";s:12:"focal_length";s:1:"0";s:3:"iso";s:1:"0";s:13:"shutter_speed";s:1:"0";s:5:"title";s:0:"";s:11:"orientation";s:1:"0";s:8:"keywords";a:0:{}}}]]></wp:meta_value>
|
||||
</wp:postmeta>
|
||||
</item>
|
||||
</channel>
|
||||
</rss>
|
||||
+67
@@ -0,0 +1,67 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?><!-- This is a WordPress eXtended RSS file generated by WordPress as an export of your site. -->
|
||||
<!-- It contains information about your site's posts, pages, comments, categories, and other content. -->
|
||||
<!-- You may use this file to transfer that content from one site to another. -->
|
||||
<!-- This file is not intended to serve as a complete backup of your site. -->
|
||||
|
||||
<!-- To import this information into a WordPress site follow these steps: -->
|
||||
<!-- 1. Log in to that site as an administrator. -->
|
||||
<!-- 2. Go to Tools: Import in the WordPress admin panel. -->
|
||||
<!-- 3. Install the "WordPress" importer from the list. -->
|
||||
<!-- 4. Activate & Run Importer. -->
|
||||
<!-- 5. Upload this file using the form provided on that page. -->
|
||||
<!-- 6. You will first be asked to map the authors in this export file to users -->
|
||||
<!-- on the site. For each author, you may choose to map to an -->
|
||||
<!-- existing user on the site or to create a new user. -->
|
||||
<!-- 7. WordPress will then import each of the posts, pages, comments, categories, etc. -->
|
||||
<!-- contained in this file into your site. -->
|
||||
<!-- generator="WordPress/4.7" created="2016-12-22 08:45" -->
|
||||
<rss version="2.0"
|
||||
xmlns:excerpt="http://wordpress.org/export/1.2/excerpt/"
|
||||
xmlns:content="http://purl.org/rss/1.0/modules/content/"
|
||||
xmlns:wfw="http://wellformedweb.org/CommentAPI/"
|
||||
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
||||
xmlns:wp="http://wordpress.org/export/1.2/"
|
||||
>
|
||||
|
||||
<channel>
|
||||
<title>WPBakery</title>
|
||||
<link>http://localhost</link>
|
||||
<description>Fun and Test</description>
|
||||
<pubDate>Thu, 22 Dec 2016 08:45:39 +0000</pubDate>
|
||||
<language>en-US</language>
|
||||
<wp:wxr_version>1.2</wp:wxr_version>
|
||||
<wp:base_site_url>http://localhost</wp:base_site_url>
|
||||
<wp:base_blog_url>http://localhost</wp:base_blog_url>
|
||||
|
||||
<item>
|
||||
<title><![CDATA[Features With Color Blocks]]></title>
|
||||
<link></link>
|
||||
<pubDate></pubDate>
|
||||
<dc:creator><![CDATA[admin]]></dc:creator>
|
||||
<guid isPermaLink="false">http://vc4.dev/?post_type=vc4_templates&p=6</guid>
|
||||
<description/>
|
||||
<content:encoded><![CDATA[[vc_row][vc_column width="1/3"][vc_icon type="material" icon_material="vc-material vc-material-beach_access" color="white" background_style="rounded" background_color="custom" size="lg" align="center" custom_background_color="#f2d357"][vc_custom_heading text="Certainty or Confidence" font_container="tag:h4|text_align:center" use_theme_fonts="yes" css=".vc_custom_1482319503939{padding-right: 35px !important;padding-left: 35px !important;}"][vc_column_text css=".vc_custom_1482319517338{padding-right: 35px !important;padding-left: 35px !important;}"]<p style="text-align: center;">Two examples of image are local edge orientation and local velocity in an image sequence.</p>[/vc_column_text][/vc_column][vc_column width="1/3"][vc_icon type="material" icon_material="vc-material vc-material-card_travel" color="white" background_style="rounded" background_color="custom" size="lg" align="center" custom_background_color="#50b8e5"][vc_custom_heading text="Averageability" font_container="tag:h4|text_align:center" use_theme_fonts="yes" css=".vc_custom_1482319527619{padding-right: 35px !important;padding-left: 35px !important;}"][vc_column_text css=".vc_custom_1482319546454{padding-right: 35px !important;padding-left: 35px !important;}"]<p style="text-align: center;">In addition to having certainty measures included in the representation, the representation of the corresponding feature values may itself be suitable.</p>[/vc_column_text][/vc_column][vc_column width="1/3"][vc_icon type="material" icon_material="vc-material vc-material-texture" color="white" background_style="rounded" background_color="custom" size="lg" align="center" custom_background_color="#f2d357"][vc_custom_heading text="Feature Vectors" font_container="tag:h4|text_align:center" use_theme_fonts="yes" css=".vc_custom_1482319559558{padding-right: 35px !important;padding-left: 35px !important;}"][vc_column_text css=".vc_custom_1482319570448{padding-right: 35px !important;padding-left: 35px !important;}"]<p style="text-align: center;">In some applications it is not sufficient to extract only one type of feature to obtain the relevant information from the image data.</p>[/vc_column_text][/vc_column][/vc_row][vc_row full_width="stretch_row" gap="10" equal_height="yes"][vc_column width="1/2" css=".vc_custom_1482319156118{background-color: #f2d357 !important;}"][vc_custom_heading text="Computer Vision" font_container="tag:h2|text_align:left|color:%23ffffff" use_theme_fonts="yes" css=".vc_custom_1482319406288{padding-right: 35px !important;padding-left: 35px !important;}"][vc_column_text css=".vc_custom_1482319420947{padding-right: 35px !important;padding-left: 35px !important;}"]<p style="text-align: left;"><span style="color: #ffffff;">In computer vision and image processing, a feature is a piece of information which is relevant for solving the computational task related to a certain application.</span></p>[/vc_column_text][vc_btn title="Learn More" style="custom" custom_background="#50b8e5" custom_text="#ffffff" css=".vc_custom_1482319787775{padding-bottom: 25px !important;padding-left: 35px !important;}"][/vc_column][vc_column width="1/2" css=".vc_custom_1482319166007{background-color: #50b8e5 !important;}"][vc_custom_heading text="Feature Representation" font_container="tag:h2|text_align:left|color:%23ffffff" use_theme_fonts="yes" css=".vc_custom_1482319442940{padding-right: 35px !important;padding-left: 35px !important;}"][vc_column_text css=".vc_custom_1482319470020{padding-right: 35px !important;padding-left: 35px !important;}"]<p style="text-align: left;"><span style="color: #ffffff;">A specific image feature, defined in terms of a specific structure in the image data, can often be represented in different ways. </span></p>[/vc_column_text][vc_btn title="Learn More" style="custom" custom_background="#f2d357" custom_text="#ffffff" css=".vc_custom_1482319796742{padding-bottom: 25px !important;padding-left: 35px !important;}"][/vc_column][/vc_row]]]></content:encoded>
|
||||
<excerpt:encoded><![CDATA[]]></excerpt:encoded>
|
||||
<wp:post_id>1</wp:post_id>
|
||||
<wp:post_date></wp:post_date>
|
||||
<wp:post_date_gmt></wp:post_date_gmt>
|
||||
<wp:comment_status><![CDATA[closed]]></wp:comment_status>
|
||||
<wp:ping_status><![CDATA[closed]]></wp:ping_status>
|
||||
<wp:post_name><![CDATA[Features With Color Blocks]]></wp:post_name>
|
||||
<wp:status><![CDATA[publish]]></wp:status>
|
||||
<wp:post_parent>0</wp:post_parent>
|
||||
<wp:menu_order>0</wp:menu_order>
|
||||
<wp:post_type><![CDATA[vc4_templates]]></wp:post_type>
|
||||
<wp:post_password><![CDATA[]]></wp:post_password>
|
||||
<wp:is_sticky>0</wp:is_sticky>
|
||||
<wp:postmeta>
|
||||
<wp:meta_key><![CDATA[_vc4_templates-version]]></wp:meta_key>
|
||||
<wp:meta_value><![CDATA[1]]></wp:meta_value>
|
||||
</wp:postmeta>
|
||||
<wp:postmeta>
|
||||
<wp:meta_key><![CDATA[_vc4_templates-id]]></wp:meta_key>
|
||||
<wp:meta_value><![CDATA[464762c0-c823-11e6-88d1-d9bf9ef115fc]]></wp:meta_value>
|
||||
</wp:postmeta>
|
||||
</item>
|
||||
</channel>
|
||||
</rss>
|
||||
+131
@@ -0,0 +1,131 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?><!-- This is a WordPress eXtended RSS file generated by WordPress as an export of your site. -->
|
||||
<!-- It contains information about your site's posts, pages, comments, categories, and other content. -->
|
||||
<!-- You may use this file to transfer that content from one site to another. -->
|
||||
<!-- This file is not intended to serve as a complete backup of your site. -->
|
||||
|
||||
<!-- To import this information into a WordPress site follow these steps: -->
|
||||
<!-- 1. Log in to that site as an administrator. -->
|
||||
<!-- 2. Go to Tools: Import in the WordPress admin panel. -->
|
||||
<!-- 3. Install the "WordPress" importer from the list. -->
|
||||
<!-- 4. Activate & Run Importer. -->
|
||||
<!-- 5. Upload this file using the form provided on that page. -->
|
||||
<!-- 6. You will first be asked to map the authors in this export file to users -->
|
||||
<!-- on the site. For each author, you may choose to map to an -->
|
||||
<!-- existing user on the site or to create a new user. -->
|
||||
<!-- 7. WordPress will then import each of the posts, pages, comments, categories, etc. -->
|
||||
<!-- contained in this file into your site. -->
|
||||
<!-- generator="WordPress/4.7" created="2016-12-22 08:54" -->
|
||||
<rss version="2.0"
|
||||
xmlns:excerpt="http://wordpress.org/export/1.2/excerpt/"
|
||||
xmlns:content="http://purl.org/rss/1.0/modules/content/"
|
||||
xmlns:wfw="http://wellformedweb.org/CommentAPI/"
|
||||
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
||||
xmlns:wp="http://wordpress.org/export/1.2/"
|
||||
>
|
||||
|
||||
<channel>
|
||||
<title>WPBakery</title>
|
||||
<link>http://localhost</link>
|
||||
<description>Fun and Test</description>
|
||||
<pubDate>Thu, 22 Dec 2016 08:54:21 +0000</pubDate>
|
||||
<language>en-US</language>
|
||||
<wp:wxr_version>1.2</wp:wxr_version>
|
||||
<wp:base_site_url>http://localhost</wp:base_site_url>
|
||||
<wp:base_blog_url>http://localhost</wp:base_blog_url>
|
||||
|
||||
<item>
|
||||
<title><![CDATA[Colorful Articles With Images]]></title>
|
||||
<link></link>
|
||||
<pubDate></pubDate>
|
||||
<dc:creator><![CDATA[admin]]></dc:creator>
|
||||
<guid isPermaLink="false">http://vc4.dev/?post_type=vc4_templates&p=6</guid>
|
||||
<description/>
|
||||
<content:encoded><![CDATA[[vc_row equal_height="yes" content_placement="bottom"][vc_column width="1/4" css=".vc_custom_1482327784576{background-color: #3fcca1 !important;}"][vc_custom_heading text="Famous Hatmakers" font_container="tag:h3|text_align:left|color:%23ffffff" use_theme_fonts="yes" css=".vc_custom_1482328254732{padding-top: 200px !important;padding-right: 35px !important;padding-left: 35px !important;}"][vc_column_text css=".vc_custom_1482328233388{margin-bottom: 15px !important;padding-right: 35px !important;padding-left: 35px !important;}"]<span style="color: #ffffff;">A hat is a head covering which is worn for various reasons.</span>[/vc_column_text][vc_btn title="Learn More" style="outline" color="white" css=".vc_custom_1482328194091{padding-bottom: 35px !important;padding-left: 35px !important;}"][/vc_column][vc_column width="1/4" css=".vc_custom_1482328117815{background-image: url(http://localhost/wp-content/uploads/2016/08/01-13.jpg?id=3392) !important;background-position: center !important;background-repeat: no-repeat !important;background-size: cover !important;}"][/vc_column][vc_column width="1/4" css=".vc_custom_1482327886164{background-color: #db5c82 !important;}"][vc_custom_heading text="Birthstones Jewellery" font_container="tag:h3|text_align:left|color:%23ffffff" use_theme_fonts="yes" css=".vc_custom_1482328391713{padding-top: 200px !important;padding-right: 35px !important;padding-left: 35px !important;}"][vc_column_text css=".vc_custom_1482328306659{margin-bottom: 15px !important;padding-right: 35px !important;padding-left: 35px !important;}"]<span style="color: #ffffff;">A ring is a round band, usually in metal, worn as an ornamental.</span>[/vc_column_text][vc_btn title="Learn More" style="outline" color="white" css=".vc_custom_1482328194091{padding-bottom: 35px !important;padding-left: 35px !important;}"][/vc_column][vc_column width="1/4" css=".vc_custom_1482328136133{background-image: url(http://localhost/wp-content/uploads/2016/08/asynchronous-gallery-3374.jpg?id=3465) !important;background-position: center !important;background-repeat: no-repeat !important;background-size: cover !important;}"][/vc_column][/vc_row]]]></content:encoded>
|
||||
<excerpt:encoded><![CDATA[]]></excerpt:encoded>
|
||||
<wp:post_id>1</wp:post_id>
|
||||
<wp:post_date></wp:post_date>
|
||||
<wp:post_date_gmt></wp:post_date_gmt>
|
||||
<wp:comment_status><![CDATA[closed]]></wp:comment_status>
|
||||
<wp:ping_status><![CDATA[closed]]></wp:ping_status>
|
||||
<wp:post_name><![CDATA[Colorful Articles With Images]]></wp:post_name>
|
||||
<wp:status><![CDATA[publish]]></wp:status>
|
||||
<wp:post_parent>0</wp:post_parent>
|
||||
<wp:menu_order>0</wp:menu_order>
|
||||
<wp:post_type><![CDATA[vc4_templates]]></wp:post_type>
|
||||
<wp:post_password><![CDATA[]]></wp:post_password>
|
||||
<wp:is_sticky>0</wp:is_sticky>
|
||||
<wp:postmeta>
|
||||
<wp:meta_key><![CDATA[_vc4_templates-version]]></wp:meta_key>
|
||||
<wp:meta_value><![CDATA[1]]></wp:meta_value>
|
||||
</wp:postmeta>
|
||||
<wp:postmeta>
|
||||
<wp:meta_key><![CDATA[_vc4_templates-id]]></wp:meta_key>
|
||||
<wp:meta_value><![CDATA[472cf100-c824-11e6-aa7e-1fa78b1a9bd6]]></wp:meta_value>
|
||||
</wp:postmeta>
|
||||
</item>
|
||||
<item>
|
||||
<title>01</title>
|
||||
<link></link>
|
||||
<pubDate></pubDate>
|
||||
<dc:creator><![CDATA[RaitisSevelis]]></dc:creator>
|
||||
<guid isPermaLink="false"></guid>
|
||||
<description></description>
|
||||
<content:encoded><![CDATA[]]></content:encoded>
|
||||
<excerpt:encoded><![CDATA[]]></excerpt:encoded>
|
||||
<wp:post_id>3392</wp:post_id>
|
||||
<wp:post_date><![CDATA[2016-11-02 08:19:56]]></wp:post_date>
|
||||
<wp:post_date_gmt><![CDATA[2016-11-02 08:19:56]]></wp:post_date_gmt>
|
||||
<wp:comment_status><![CDATA[open]]></wp:comment_status>
|
||||
<wp:ping_status><![CDATA[closed]]></wp:ping_status>
|
||||
<wp:post_name><![CDATA[01-47]]></wp:post_name>
|
||||
<wp:status><![CDATA[inherit]]></wp:status>
|
||||
<wp:post_parent>3173</wp:post_parent>
|
||||
<wp:menu_order>0</wp:menu_order>
|
||||
<wp:post_type><![CDATA[attachment]]></wp:post_type>
|
||||
<wp:post_password><![CDATA[]]></wp:post_password>
|
||||
<wp:is_sticky>0</wp:is_sticky>
|
||||
<wp:attachment_url><![CDATA[https://vc-cc-static.s3-us-west-2.amazonaws.com/templates/472cf100-c824-11e6-aa7e-1fa78b1a9bd6/assets/colorful-articles-with-images-3392.jpg]]></wp:attachment_url>
|
||||
<wp:attachment_real_url><![CDATA[http://localhost/wp-content/uploads/2016/08/01-13.jpg]]></wp:attachment_real_url>
|
||||
<wp:postmeta>
|
||||
<wp:meta_key><![CDATA[_wp_attached_file]]></wp:meta_key>
|
||||
<wp:meta_value><![CDATA[2016/08/01-13.jpg]]></wp:meta_value>
|
||||
</wp:postmeta>
|
||||
<wp:postmeta>
|
||||
<wp:meta_key><![CDATA[_wp_attachment_metadata]]></wp:meta_key>
|
||||
<wp:meta_value><![CDATA[a:5:{s:5:"width";i:1200;s:6:"height";i:600;s:4:"file";s:17:"2016/08/01-13.jpg";s:5:"sizes";a:6:{s:9:"thumbnail";a:4:{s:4:"file";s:17:"01-13-150x150.jpg";s:5:"width";i:150;s:6:"height";i:150;s:9:"mime-type";s:10:"image/jpeg";}s:6:"medium";a:4:{s:4:"file";s:17:"01-13-300x150.jpg";s:5:"width";i:300;s:6:"height";i:150;s:9:"mime-type";s:10:"image/jpeg";}s:12:"medium_large";a:4:{s:4:"file";s:17:"01-13-768x384.jpg";s:5:"width";i:768;s:6:"height";i:384;s:9:"mime-type";s:10:"image/jpeg";}s:5:"large";a:4:{s:4:"file";s:18:"01-13-1024x512.jpg";s:5:"width";i:1024;s:6:"height";i:512;s:9:"mime-type";s:10:"image/jpeg";}s:17:"dazzling-featured";a:4:{s:4:"file";s:17:"01-13-730x410.jpg";s:5:"width";i:730;s:6:"height";i:410;s:9:"mime-type";s:10:"image/jpeg";}s:9:"tab-small";a:4:{s:4:"file";s:15:"01-13-60x60.jpg";s:5:"width";i:60;s:6:"height";i:60;s:9:"mime-type";s:10:"image/jpeg";}}s:10:"image_meta";a:12:{s:8:"aperture";s:1:"0";s:6:"credit";s:0:"";s:6:"camera";s:0:"";s:7:"caption";s:0:"";s:17:"created_timestamp";s:1:"0";s:9:"copyright";s:0:"";s:12:"focal_length";s:1:"0";s:3:"iso";s:1:"0";s:13:"shutter_speed";s:1:"0";s:5:"title";s:0:"";s:11:"orientation";s:1:"0";s:8:"keywords";a:0:{}}}]]></wp:meta_value>
|
||||
</wp:postmeta>
|
||||
</item>
|
||||
<item>
|
||||
<title>02</title>
|
||||
<link></link>
|
||||
<pubDate></pubDate>
|
||||
<dc:creator><![CDATA[RaitisSevelis]]></dc:creator>
|
||||
<guid isPermaLink="false"></guid>
|
||||
<description></description>
|
||||
<content:encoded><![CDATA[]]></content:encoded>
|
||||
<excerpt:encoded><![CDATA[]]></excerpt:encoded>
|
||||
<wp:post_id>3465</wp:post_id>
|
||||
<wp:post_date><![CDATA[2016-11-01 13:35:18]]></wp:post_date>
|
||||
<wp:post_date_gmt><![CDATA[2016-11-01 13:35:18]]></wp:post_date_gmt>
|
||||
<wp:comment_status><![CDATA[open]]></wp:comment_status>
|
||||
<wp:ping_status><![CDATA[closed]]></wp:ping_status>
|
||||
<wp:post_name><![CDATA[02-27-2]]></wp:post_name>
|
||||
<wp:status><![CDATA[inherit]]></wp:status>
|
||||
<wp:post_parent>0</wp:post_parent>
|
||||
<wp:menu_order>0</wp:menu_order>
|
||||
<wp:post_type><![CDATA[attachment]]></wp:post_type>
|
||||
<wp:post_password><![CDATA[]]></wp:post_password>
|
||||
<wp:is_sticky>0</wp:is_sticky>
|
||||
<wp:attachment_url><![CDATA[https://vc-cc-static.s3-us-west-2.amazonaws.com/templates/472cf100-c824-11e6-aa7e-1fa78b1a9bd6/assets/colorful-articles-with-images-3465.jpg]]></wp:attachment_url>
|
||||
<wp:attachment_real_url><![CDATA[http://localhost/wp-content/uploads/2016/08/asynchronous-gallery-3374.jpg]]></wp:attachment_real_url>
|
||||
<wp:postmeta>
|
||||
<wp:meta_key><![CDATA[_wp_attached_file]]></wp:meta_key>
|
||||
<wp:meta_value><![CDATA[2016/08/asynchronous-gallery-3374.jpg]]></wp:meta_value>
|
||||
</wp:postmeta>
|
||||
<wp:postmeta>
|
||||
<wp:meta_key><![CDATA[_wp_attachment_metadata]]></wp:meta_key>
|
||||
<wp:meta_value><![CDATA[a:5:{s:5:"width";i:500;s:6:"height";i:600;s:4:"file";s:37:"2016/08/asynchronous-gallery-3374.jpg";s:5:"sizes";a:4:{s:9:"thumbnail";a:4:{s:4:"file";s:37:"asynchronous-gallery-3374-150x150.jpg";s:5:"width";i:150;s:6:"height";i:150;s:9:"mime-type";s:10:"image/jpeg";}s:6:"medium";a:4:{s:4:"file";s:37:"asynchronous-gallery-3374-250x300.jpg";s:5:"width";i:250;s:6:"height";i:300;s:9:"mime-type";s:10:"image/jpeg";}s:17:"dazzling-featured";a:4:{s:4:"file";s:37:"asynchronous-gallery-3374-500x410.jpg";s:5:"width";i:500;s:6:"height";i:410;s:9:"mime-type";s:10:"image/jpeg";}s:9:"tab-small";a:4:{s:4:"file";s:35:"asynchronous-gallery-3374-60x60.jpg";s:5:"width";i:60;s:6:"height";i:60;s:9:"mime-type";s:10:"image/jpeg";}}s:10:"image_meta";a:12:{s:8:"aperture";s:1:"0";s:6:"credit";s:0:"";s:6:"camera";s:0:"";s:7:"caption";s:0:"";s:17:"created_timestamp";s:1:"0";s:9:"copyright";s:0:"";s:12:"focal_length";s:1:"0";s:3:"iso";s:1:"0";s:13:"shutter_speed";s:1:"0";s:5:"title";s:0:"";s:11:"orientation";s:1:"0";s:8:"keywords";a:0:{}}}]]></wp:meta_value>
|
||||
</wp:postmeta>
|
||||
</item>
|
||||
</channel>
|
||||
</rss>
|
||||
+163
@@ -0,0 +1,163 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?><!-- This is a WordPress eXtended RSS file generated by WordPress as an export of your site. -->
|
||||
<!-- It contains information about your site's posts, pages, comments, categories, and other content. -->
|
||||
<!-- You may use this file to transfer that content from one site to another. -->
|
||||
<!-- This file is not intended to serve as a complete backup of your site. -->
|
||||
|
||||
<!-- To import this information into a WordPress site follow these steps: -->
|
||||
<!-- 1. Log in to that site as an administrator. -->
|
||||
<!-- 2. Go to Tools: Import in the WordPress admin panel. -->
|
||||
<!-- 3. Install the "WordPress" importer from the list. -->
|
||||
<!-- 4. Activate & Run Importer. -->
|
||||
<!-- 5. Upload this file using the form provided on that page. -->
|
||||
<!-- 6. You will first be asked to map the authors in this export file to users -->
|
||||
<!-- on the site. For each author, you may choose to map to an -->
|
||||
<!-- existing user on the site or to create a new user. -->
|
||||
<!-- 7. WordPress will then import each of the posts, pages, comments, categories, etc. -->
|
||||
<!-- contained in this file into your site. -->
|
||||
<!-- generator="WordPress/4.6.1" created="2016-11-02 15:23" -->
|
||||
<rss version="2.0"
|
||||
xmlns:excerpt="http://wordpress.org/export/1.2/excerpt/"
|
||||
xmlns:content="http://purl.org/rss/1.0/modules/content/"
|
||||
xmlns:wfw="http://wellformedweb.org/CommentAPI/"
|
||||
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
||||
xmlns:wp="http://wordpress.org/export/1.2/"
|
||||
>
|
||||
|
||||
<channel>
|
||||
<title>WPBakery</title>
|
||||
<link>http://localhost</link>
|
||||
<description>Fun and Test</description>
|
||||
<pubDate>Wed, 02 Nov 2016 15:23:37 +0000</pubDate>
|
||||
<language>en-US</language>
|
||||
<wp:wxr_version>1.2</wp:wxr_version>
|
||||
<wp:base_site_url>http://localhost</wp:base_site_url>
|
||||
<wp:base_blog_url>http://localhost</wp:base_blog_url>
|
||||
|
||||
<item>
|
||||
<title><![CDATA[Services List With All]]></title>
|
||||
<link></link>
|
||||
<pubDate></pubDate>
|
||||
<dc:creator><![CDATA[admin]]></dc:creator>
|
||||
<guid isPermaLink="false">http://vc4.dev/?post_type=vc4_templates&p=6</guid>
|
||||
<description/>
|
||||
<content:encoded><![CDATA[[vc_row full_width="stretch_row"][vc_column width="1/3"][vc_custom_heading text="Economics and Business" use_theme_fonts="yes"][vc_column_text css=".vc_custom_1475577967890{margin-bottom: 15px !important;}"]Service design is a form of conceptual design that involves the activity of planning and organizing people, infrastructure, communication and material components of a service in order to improve its quality and the interaction between the service provider and its customers.[/vc_column_text][vc_single_image image="3293" img_size="full"][/vc_column][vc_column width="1/3"][vc_custom_heading text="Service Management" use_theme_fonts="yes"][vc_column_text css=".vc_custom_1475577980659{margin-bottom: 15px !important;}"]Service design may function as a way to inform changes to an existing service or create a new service entirely. The purpose of service design methodologies is to establish best practices for designing services according to both the needs of customers and the competencies and capabilities of service providers.[/vc_column_text][vc_single_image image="3294" img_size="full"][/vc_column][vc_column width="1/3"][vc_custom_heading text="Administrative Service" use_theme_fonts="yes"][vc_column_text css=".vc_custom_1475577993393{margin-bottom: 15px !important;}"]If a successful method of service design is employed, the service will be user-friendly and relevant to the customers, while being sustainable and competitive for the service provider. For this purpose, service design uses methods and tools derived from different disciplines, ranging from ethnography[/vc_column_text][vc_single_image image="3295" img_size="full"][/vc_column][/vc_row][vc_row][vc_column][vc_btn title="View All" style="flat" shape="square" color="inverse" size="lg" align="center" button_block="true"][/vc_column][/vc_row]]]></content:encoded>
|
||||
<excerpt:encoded><![CDATA[]]></excerpt:encoded>
|
||||
<wp:post_id>1</wp:post_id>
|
||||
<wp:post_date></wp:post_date>
|
||||
<wp:post_date_gmt></wp:post_date_gmt>
|
||||
<wp:comment_status><![CDATA[closed]]></wp:comment_status>
|
||||
<wp:ping_status><![CDATA[closed]]></wp:ping_status>
|
||||
<wp:post_name><![CDATA[Services List With All]]></wp:post_name>
|
||||
<wp:status><![CDATA[publish]]></wp:status>
|
||||
<wp:post_parent>0</wp:post_parent>
|
||||
<wp:menu_order>0</wp:menu_order>
|
||||
<wp:post_type><![CDATA[vc4_templates]]></wp:post_type>
|
||||
<wp:post_password><![CDATA[]]></wp:post_password>
|
||||
<wp:is_sticky>0</wp:is_sticky>
|
||||
<wp:postmeta>
|
||||
<wp:meta_key><![CDATA[_vc4_templates-version]]></wp:meta_key>
|
||||
<wp:meta_value><![CDATA[1]]></wp:meta_value>
|
||||
</wp:postmeta>
|
||||
<wp:postmeta>
|
||||
<wp:meta_key><![CDATA[_vc4_templates-id]]></wp:meta_key>
|
||||
<wp:meta_value><![CDATA[4f12b090-a132-11e6-9272-e5957076c6cf]]></wp:meta_value>
|
||||
</wp:postmeta>
|
||||
</item>
|
||||
<item>
|
||||
<title>01</title>
|
||||
<link></link>
|
||||
<pubDate></pubDate>
|
||||
<dc:creator><![CDATA[RaitisSevelis]]></dc:creator>
|
||||
<guid isPermaLink="false"></guid>
|
||||
<description></description>
|
||||
<content:encoded><![CDATA[]]></content:encoded>
|
||||
<excerpt:encoded><![CDATA[]]></excerpt:encoded>
|
||||
<wp:post_id>3293</wp:post_id>
|
||||
<wp:post_date><![CDATA[2016-10-04 10:31:08]]></wp:post_date>
|
||||
<wp:post_date_gmt><![CDATA[2016-10-04 10:31:08]]></wp:post_date_gmt>
|
||||
<wp:comment_status><![CDATA[open]]></wp:comment_status>
|
||||
<wp:ping_status><![CDATA[closed]]></wp:ping_status>
|
||||
<wp:post_name><![CDATA[01-17]]></wp:post_name>
|
||||
<wp:status><![CDATA[inherit]]></wp:status>
|
||||
<wp:post_parent>2602</wp:post_parent>
|
||||
<wp:menu_order>0</wp:menu_order>
|
||||
<wp:post_type><![CDATA[attachment]]></wp:post_type>
|
||||
<wp:post_password><![CDATA[]]></wp:post_password>
|
||||
<wp:is_sticky>0</wp:is_sticky>
|
||||
<wp:attachment_url><![CDATA[https://vc-cc-static.s3-us-west-2.amazonaws.com/templates/4f12b090-a132-11e6-9272-e5957076c6cf/assets/services-list-with-all-3293.jpg]]></wp:attachment_url>
|
||||
<wp:attachment_real_url><![CDATA[http://localhost/wp-content/uploads/2015/09/01-16.jpg]]></wp:attachment_real_url>
|
||||
<wp:postmeta>
|
||||
<wp:meta_key><![CDATA[_wp_attached_file]]></wp:meta_key>
|
||||
<wp:meta_value><![CDATA[2015/09/01-16.jpg]]></wp:meta_value>
|
||||
</wp:postmeta>
|
||||
<wp:postmeta>
|
||||
<wp:meta_key><![CDATA[_wp_attachment_metadata]]></wp:meta_key>
|
||||
<wp:meta_value><![CDATA[a:5:{s:5:"width";i:400;s:6:"height";i:600;s:4:"file";s:17:"2015/09/01-16.jpg";s:5:"sizes";a:4:{s:9:"thumbnail";a:4:{s:4:"file";s:17:"01-16-150x150.jpg";s:5:"width";i:150;s:6:"height";i:150;s:9:"mime-type";s:10:"image/jpeg";}s:6:"medium";a:4:{s:4:"file";s:17:"01-16-200x300.jpg";s:5:"width";i:200;s:6:"height";i:300;s:9:"mime-type";s:10:"image/jpeg";}s:17:"dazzling-featured";a:4:{s:4:"file";s:17:"01-16-400x410.jpg";s:5:"width";i:400;s:6:"height";i:410;s:9:"mime-type";s:10:"image/jpeg";}s:9:"tab-small";a:4:{s:4:"file";s:15:"01-16-60x60.jpg";s:5:"width";i:60;s:6:"height";i:60;s:9:"mime-type";s:10:"image/jpeg";}}s:10:"image_meta";a:12:{s:8:"aperture";s:1:"0";s:6:"credit";s:0:"";s:6:"camera";s:0:"";s:7:"caption";s:0:"";s:17:"created_timestamp";s:1:"0";s:9:"copyright";s:0:"";s:12:"focal_length";s:1:"0";s:3:"iso";s:1:"0";s:13:"shutter_speed";s:1:"0";s:5:"title";s:0:"";s:11:"orientation";s:1:"0";s:8:"keywords";a:0:{}}}]]></wp:meta_value>
|
||||
</wp:postmeta>
|
||||
</item>
|
||||
<item>
|
||||
<title>02</title>
|
||||
<link></link>
|
||||
<pubDate></pubDate>
|
||||
<dc:creator><![CDATA[RaitisSevelis]]></dc:creator>
|
||||
<guid isPermaLink="false"></guid>
|
||||
<description></description>
|
||||
<content:encoded><![CDATA[]]></content:encoded>
|
||||
<excerpt:encoded><![CDATA[]]></excerpt:encoded>
|
||||
<wp:post_id>3294</wp:post_id>
|
||||
<wp:post_date><![CDATA[2016-10-04 10:44:17]]></wp:post_date>
|
||||
<wp:post_date_gmt><![CDATA[2016-10-04 10:44:17]]></wp:post_date_gmt>
|
||||
<wp:comment_status><![CDATA[open]]></wp:comment_status>
|
||||
<wp:ping_status><![CDATA[closed]]></wp:ping_status>
|
||||
<wp:post_name><![CDATA[02-13]]></wp:post_name>
|
||||
<wp:status><![CDATA[inherit]]></wp:status>
|
||||
<wp:post_parent>2602</wp:post_parent>
|
||||
<wp:menu_order>0</wp:menu_order>
|
||||
<wp:post_type><![CDATA[attachment]]></wp:post_type>
|
||||
<wp:post_password><![CDATA[]]></wp:post_password>
|
||||
<wp:is_sticky>0</wp:is_sticky>
|
||||
<wp:attachment_url><![CDATA[https://vc-cc-static.s3-us-west-2.amazonaws.com/templates/4f12b090-a132-11e6-9272-e5957076c6cf/assets/services-list-with-all-3294.jpg]]></wp:attachment_url>
|
||||
<wp:attachment_real_url><![CDATA[http://localhost/wp-content/uploads/2015/09/02-12.jpg]]></wp:attachment_real_url>
|
||||
<wp:postmeta>
|
||||
<wp:meta_key><![CDATA[_wp_attached_file]]></wp:meta_key>
|
||||
<wp:meta_value><![CDATA[2015/09/02-12.jpg]]></wp:meta_value>
|
||||
</wp:postmeta>
|
||||
<wp:postmeta>
|
||||
<wp:meta_key><![CDATA[_wp_attachment_metadata]]></wp:meta_key>
|
||||
<wp:meta_value><![CDATA[a:5:{s:5:"width";i:400;s:6:"height";i:600;s:4:"file";s:17:"2015/09/02-12.jpg";s:5:"sizes";a:4:{s:9:"thumbnail";a:4:{s:4:"file";s:17:"02-12-150x150.jpg";s:5:"width";i:150;s:6:"height";i:150;s:9:"mime-type";s:10:"image/jpeg";}s:6:"medium";a:4:{s:4:"file";s:17:"02-12-200x300.jpg";s:5:"width";i:200;s:6:"height";i:300;s:9:"mime-type";s:10:"image/jpeg";}s:17:"dazzling-featured";a:4:{s:4:"file";s:17:"02-12-400x410.jpg";s:5:"width";i:400;s:6:"height";i:410;s:9:"mime-type";s:10:"image/jpeg";}s:9:"tab-small";a:4:{s:4:"file";s:15:"02-12-60x60.jpg";s:5:"width";i:60;s:6:"height";i:60;s:9:"mime-type";s:10:"image/jpeg";}}s:10:"image_meta";a:12:{s:8:"aperture";s:1:"0";s:6:"credit";s:0:"";s:6:"camera";s:0:"";s:7:"caption";s:0:"";s:17:"created_timestamp";s:1:"0";s:9:"copyright";s:0:"";s:12:"focal_length";s:1:"0";s:3:"iso";s:1:"0";s:13:"shutter_speed";s:1:"0";s:5:"title";s:0:"";s:11:"orientation";s:1:"0";s:8:"keywords";a:0:{}}}]]></wp:meta_value>
|
||||
</wp:postmeta>
|
||||
</item>
|
||||
<item>
|
||||
<title>03</title>
|
||||
<link></link>
|
||||
<pubDate></pubDate>
|
||||
<dc:creator><![CDATA[RaitisSevelis]]></dc:creator>
|
||||
<guid isPermaLink="false"></guid>
|
||||
<description></description>
|
||||
<content:encoded><![CDATA[]]></content:encoded>
|
||||
<excerpt:encoded><![CDATA[]]></excerpt:encoded>
|
||||
<wp:post_id>3295</wp:post_id>
|
||||
<wp:post_date><![CDATA[2016-10-04 10:44:18]]></wp:post_date>
|
||||
<wp:post_date_gmt><![CDATA[2016-10-04 10:44:18]]></wp:post_date_gmt>
|
||||
<wp:comment_status><![CDATA[open]]></wp:comment_status>
|
||||
<wp:ping_status><![CDATA[closed]]></wp:ping_status>
|
||||
<wp:post_name><![CDATA[03-7]]></wp:post_name>
|
||||
<wp:status><![CDATA[inherit]]></wp:status>
|
||||
<wp:post_parent>2602</wp:post_parent>
|
||||
<wp:menu_order>0</wp:menu_order>
|
||||
<wp:post_type><![CDATA[attachment]]></wp:post_type>
|
||||
<wp:post_password><![CDATA[]]></wp:post_password>
|
||||
<wp:is_sticky>0</wp:is_sticky>
|
||||
<wp:attachment_url><![CDATA[https://vc-cc-static.s3-us-west-2.amazonaws.com/templates/4f12b090-a132-11e6-9272-e5957076c6cf/assets/services-list-with-all-3295.jpg]]></wp:attachment_url>
|
||||
<wp:attachment_real_url><![CDATA[http://localhost/wp-content/uploads/2015/09/03-6.jpg]]></wp:attachment_real_url>
|
||||
<wp:postmeta>
|
||||
<wp:meta_key><![CDATA[_wp_attached_file]]></wp:meta_key>
|
||||
<wp:meta_value><![CDATA[2015/09/03-6.jpg]]></wp:meta_value>
|
||||
</wp:postmeta>
|
||||
<wp:postmeta>
|
||||
<wp:meta_key><![CDATA[_wp_attachment_metadata]]></wp:meta_key>
|
||||
<wp:meta_value><![CDATA[a:5:{s:5:"width";i:400;s:6:"height";i:600;s:4:"file";s:16:"2015/09/03-6.jpg";s:5:"sizes";a:4:{s:9:"thumbnail";a:4:{s:4:"file";s:16:"03-6-150x150.jpg";s:5:"width";i:150;s:6:"height";i:150;s:9:"mime-type";s:10:"image/jpeg";}s:6:"medium";a:4:{s:4:"file";s:16:"03-6-200x300.jpg";s:5:"width";i:200;s:6:"height";i:300;s:9:"mime-type";s:10:"image/jpeg";}s:17:"dazzling-featured";a:4:{s:4:"file";s:16:"03-6-400x410.jpg";s:5:"width";i:400;s:6:"height";i:410;s:9:"mime-type";s:10:"image/jpeg";}s:9:"tab-small";a:4:{s:4:"file";s:14:"03-6-60x60.jpg";s:5:"width";i:60;s:6:"height";i:60;s:9:"mime-type";s:10:"image/jpeg";}}s:10:"image_meta";a:12:{s:8:"aperture";s:1:"0";s:6:"credit";s:0:"";s:6:"camera";s:0:"";s:7:"caption";s:0:"";s:17:"created_timestamp";s:1:"0";s:9:"copyright";s:0:"";s:12:"focal_length";s:1:"0";s:3:"iso";s:1:"0";s:13:"shutter_speed";s:1:"0";s:5:"title";s:0:"";s:11:"orientation";s:1:"0";s:8:"keywords";a:0:{}}}]]></wp:meta_value>
|
||||
</wp:postmeta>
|
||||
</item>
|
||||
</channel>
|
||||
</rss>
|
||||
+99
@@ -0,0 +1,99 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?><!-- This is a WordPress eXtended RSS file generated by WordPress as an export of your site. -->
|
||||
<!-- It contains information about your site's posts, pages, comments, categories, and other content. -->
|
||||
<!-- You may use this file to transfer that content from one site to another. -->
|
||||
<!-- This file is not intended to serve as a complete backup of your site. -->
|
||||
|
||||
<!-- To import this information into a WordPress site follow these steps: -->
|
||||
<!-- 1. Log in to that site as an administrator. -->
|
||||
<!-- 2. Go to Tools: Import in the WordPress admin panel. -->
|
||||
<!-- 3. Install the "WordPress" importer from the list. -->
|
||||
<!-- 4. Activate & Run Importer. -->
|
||||
<!-- 5. Upload this file using the form provided on that page. -->
|
||||
<!-- 6. You will first be asked to map the authors in this export file to users -->
|
||||
<!-- on the site. For each author, you may choose to map to an -->
|
||||
<!-- existing user on the site or to create a new user. -->
|
||||
<!-- 7. WordPress will then import each of the posts, pages, comments, categories, etc. -->
|
||||
<!-- contained in this file into your site. -->
|
||||
<!-- generator="WordPress/4.7.3" created="2017-03-23 13:18" -->
|
||||
<rss version="2.0"
|
||||
xmlns:excerpt="http://wordpress.org/export/1.2/excerpt/"
|
||||
xmlns:content="http://purl.org/rss/1.0/modules/content/"
|
||||
xmlns:wfw="http://wellformedweb.org/CommentAPI/"
|
||||
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
||||
xmlns:wp="http://wordpress.org/export/1.2/"
|
||||
>
|
||||
|
||||
<channel>
|
||||
<title>Rocky</title>
|
||||
<link>http://localhost</link>
|
||||
<description>Fun and Test</description>
|
||||
<pubDate>Thu, 23 Mar 2017 13:18:49 +0000</pubDate>
|
||||
<language>en-US</language>
|
||||
<wp:wxr_version>1.2</wp:wxr_version>
|
||||
<wp:base_site_url>http://localhost</wp:base_site_url>
|
||||
<wp:base_blog_url>http://localhost</wp:base_blog_url>
|
||||
|
||||
<item>
|
||||
<title><![CDATA[Application Introduction]]></title>
|
||||
<link></link>
|
||||
<pubDate></pubDate>
|
||||
<dc:creator><![CDATA[admin]]></dc:creator>
|
||||
<guid isPermaLink="false">http://vc4.dev/?post_type=vc4_templates&p=6</guid>
|
||||
<description/>
|
||||
<content:encoded><![CDATA[[vc_row full_width="stretch_row" css=".vc_custom_1490268528082{padding-top: 50px !important;padding-bottom: 50px !important;background-color: #00bae4 !important;}"][vc_column width="1/6"][/vc_column][vc_column width="2/3"][vc_single_image image="3636" img_size="full" alignment="center" css=".vc_custom_1490268612768{margin-bottom: 0px !important;}"][vc_custom_heading text="Banana App" font_container="tag:h2|font_size:80|text_align:center|color:%23ffffff" google_fonts="font_family:Yellowtail%3Aregular|font_style:400%20regular%3A400%3Anormal" css=".vc_custom_1490268628845{margin-top: 0px !important;padding-top: 0px !important;}"][vc_column_text 0=""]<p style="text-align: center;"><span style="color: #ffffff;">Applications may be bundled with the computer and its system software or published separately, and may be coded as proprietary, open-source or university projects.</span></p>[/vc_column_text][vc_btn title="Download App Now" style="outline-custom" outline_custom_color="#ffffff" outline_custom_hover_background="#ffdf68" outline_custom_hover_text="#ffffff" shape="round" align="center"][/vc_column][vc_column width="1/6"][/vc_column][/vc_row]]]></content:encoded>
|
||||
<excerpt:encoded><![CDATA[]]></excerpt:encoded>
|
||||
<wp:post_id>1</wp:post_id>
|
||||
<wp:post_date></wp:post_date>
|
||||
<wp:post_date_gmt></wp:post_date_gmt>
|
||||
<wp:comment_status><![CDATA[closed]]></wp:comment_status>
|
||||
<wp:ping_status><![CDATA[closed]]></wp:ping_status>
|
||||
<wp:post_name><![CDATA[Application Introduction]]></wp:post_name>
|
||||
<wp:status><![CDATA[publish]]></wp:status>
|
||||
<wp:post_parent>0</wp:post_parent>
|
||||
<wp:menu_order>0</wp:menu_order>
|
||||
<wp:post_type><![CDATA[vc4_templates]]></wp:post_type>
|
||||
<wp:post_password><![CDATA[]]></wp:post_password>
|
||||
<wp:is_sticky>0</wp:is_sticky>
|
||||
<wp:postmeta>
|
||||
<wp:meta_key><![CDATA[_vc4_templates-version]]></wp:meta_key>
|
||||
<wp:meta_value><![CDATA[1]]></wp:meta_value>
|
||||
</wp:postmeta>
|
||||
<wp:postmeta>
|
||||
<wp:meta_key><![CDATA[_vc4_templates-id]]></wp:meta_key>
|
||||
<wp:meta_value><![CDATA[51f847c0-0fcb-11e7-8766-17b9c93ca6d2]]></wp:meta_value>
|
||||
</wp:postmeta>
|
||||
</item>
|
||||
<item>
|
||||
<title>001-mobile</title>
|
||||
<link></link>
|
||||
<pubDate></pubDate>
|
||||
<dc:creator><![CDATA[RaitisSevelis]]></dc:creator>
|
||||
<guid isPermaLink="false"></guid>
|
||||
<description></description>
|
||||
<content:encoded><![CDATA[]]></content:encoded>
|
||||
<excerpt:encoded><![CDATA[]]></excerpt:encoded>
|
||||
<wp:post_id>3636</wp:post_id>
|
||||
<wp:post_date><![CDATA[2017-03-23 11:24:46]]></wp:post_date>
|
||||
<wp:post_date_gmt><![CDATA[2017-03-23 11:24:46]]></wp:post_date_gmt>
|
||||
<wp:comment_status><![CDATA[open]]></wp:comment_status>
|
||||
<wp:ping_status><![CDATA[closed]]></wp:ping_status>
|
||||
<wp:post_name><![CDATA[001-mobile]]></wp:post_name>
|
||||
<wp:status><![CDATA[inherit]]></wp:status>
|
||||
<wp:post_parent>3173</wp:post_parent>
|
||||
<wp:menu_order>0</wp:menu_order>
|
||||
<wp:post_type><![CDATA[attachment]]></wp:post_type>
|
||||
<wp:post_password><![CDATA[]]></wp:post_password>
|
||||
<wp:is_sticky>0</wp:is_sticky>
|
||||
<wp:attachment_url><![CDATA[https://vc-cc-static.s3-us-west-2.amazonaws.com/templates/51f847c0-0fcb-11e7-8766-17b9c93ca6d2/assets/application-introduction-3636.png]]></wp:attachment_url>
|
||||
<wp:attachment_real_url><![CDATA[http://localhost/wp-content/uploads/2016/08/001-mobile.png]]></wp:attachment_real_url>
|
||||
<wp:postmeta>
|
||||
<wp:meta_key><![CDATA[_wp_attached_file]]></wp:meta_key>
|
||||
<wp:meta_value><![CDATA[2016/08/001-mobile.png]]></wp:meta_value>
|
||||
</wp:postmeta>
|
||||
<wp:postmeta>
|
||||
<wp:meta_key><![CDATA[_wp_attachment_metadata]]></wp:meta_key>
|
||||
<wp:meta_value><![CDATA[a:5:{s:5:"width";i:400;s:6:"height";i:700;s:4:"file";s:22:"2016/08/001-mobile.png";s:5:"sizes";a:2:{s:9:"thumbnail";a:4:{s:4:"file";s:22:"001-mobile-150x150.png";s:5:"width";i:150;s:6:"height";i:150;s:9:"mime-type";s:9:"image/png";}s:6:"medium";a:4:{s:4:"file";s:22:"001-mobile-171x300.png";s:5:"width";i:171;s:6:"height";i:300;s:9:"mime-type";s:9:"image/png";}}s:10:"image_meta";a:12:{s:8:"aperture";s:1:"0";s:6:"credit";s:0:"";s:6:"camera";s:0:"";s:7:"caption";s:0:"";s:17:"created_timestamp";s:1:"0";s:9:"copyright";s:0:"";s:12:"focal_length";s:1:"0";s:3:"iso";s:1:"0";s:13:"shutter_speed";s:1:"0";s:5:"title";s:0:"";s:11:"orientation";s:1:"0";s:8:"keywords";a:0:{}}}]]></wp:meta_value>
|
||||
</wp:postmeta>
|
||||
</item>
|
||||
</channel>
|
||||
</rss>
|
||||
+99
@@ -0,0 +1,99 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?><!-- This is a WordPress eXtended RSS file generated by WordPress as an export of your site. -->
|
||||
<!-- It contains information about your site's posts, pages, comments, categories, and other content. -->
|
||||
<!-- You may use this file to transfer that content from one site to another. -->
|
||||
<!-- This file is not intended to serve as a complete backup of your site. -->
|
||||
|
||||
<!-- To import this information into a WordPress site follow these steps: -->
|
||||
<!-- 1. Log in to that site as an administrator. -->
|
||||
<!-- 2. Go to Tools: Import in the WordPress admin panel. -->
|
||||
<!-- 3. Install the "WordPress" importer from the list. -->
|
||||
<!-- 4. Activate & Run Importer. -->
|
||||
<!-- 5. Upload this file using the form provided on that page. -->
|
||||
<!-- 6. You will first be asked to map the authors in this export file to users -->
|
||||
<!-- on the site. For each author, you may choose to map to an -->
|
||||
<!-- existing user on the site or to create a new user. -->
|
||||
<!-- 7. WordPress will then import each of the posts, pages, comments, categories, etc. -->
|
||||
<!-- contained in this file into your site. -->
|
||||
<!-- generator="WordPress/4.7" created="2016-12-22 08:54" -->
|
||||
<rss version="2.0"
|
||||
xmlns:excerpt="http://wordpress.org/export/1.2/excerpt/"
|
||||
xmlns:content="http://purl.org/rss/1.0/modules/content/"
|
||||
xmlns:wfw="http://wellformedweb.org/CommentAPI/"
|
||||
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
||||
xmlns:wp="http://wordpress.org/export/1.2/"
|
||||
>
|
||||
|
||||
<channel>
|
||||
<title>WPBakery</title>
|
||||
<link>http://localhost</link>
|
||||
<description>Fun and Test</description>
|
||||
<pubDate>Thu, 22 Dec 2016 08:54:44 +0000</pubDate>
|
||||
<language>en-US</language>
|
||||
<wp:wxr_version>1.2</wp:wxr_version>
|
||||
<wp:base_site_url>http://localhost</wp:base_site_url>
|
||||
<wp:base_blog_url>http://localhost</wp:base_blog_url>
|
||||
|
||||
<item>
|
||||
<title><![CDATA[Yellow Hero Section]]></title>
|
||||
<link></link>
|
||||
<pubDate></pubDate>
|
||||
<dc:creator><![CDATA[admin]]></dc:creator>
|
||||
<guid isPermaLink="false">http://vc4.dev/?post_type=vc4_templates&p=6</guid>
|
||||
<description/>
|
||||
<content:encoded><![CDATA[[vc_row full_width="stretch_row_content_no_spaces" equal_height="yes" css=".vc_custom_1482328850208{margin-top: 0px !important;margin-bottom: 0px !important;padding-top: 0px !important;padding-bottom: 0px !important;background-color: #febf4e !important;}"][vc_column width="1/3"][/vc_column][vc_column width="1/3"][vc_custom_heading text="Yellow Kitchen Book" font_container="tag:h1|text_align:left|color:%23ffffff" use_theme_fonts="yes" css=".vc_custom_1482329031209{padding-top: 100px !important;}"][vc_column_text]<span style="color: #ffffff;">Yellow is the color between green and orange in the spectrum of visible light. It is the color of ripe lemons, sunflowers and gold. It is a primary color in subtractive color, used in color printing.</span>[/vc_column_text][vc_btn title="Learn More" style="outline" shape="round" color="white" css=".vc_custom_1482328978828{padding-bottom: 35px !important;}"][/vc_column][vc_column width="1/3"][vc_single_image image="3536" img_size="full" alignment="right" css=".vc_custom_1482328901284{margin-top: -35px !important;margin-bottom: 0px !important;padding-top: 0px !important;padding-bottom: 0px !important;}"][/vc_column][/vc_row]]]></content:encoded>
|
||||
<excerpt:encoded><![CDATA[]]></excerpt:encoded>
|
||||
<wp:post_id>1</wp:post_id>
|
||||
<wp:post_date></wp:post_date>
|
||||
<wp:post_date_gmt></wp:post_date_gmt>
|
||||
<wp:comment_status><![CDATA[closed]]></wp:comment_status>
|
||||
<wp:ping_status><![CDATA[closed]]></wp:ping_status>
|
||||
<wp:post_name><![CDATA[Yellow Hero Section]]></wp:post_name>
|
||||
<wp:status><![CDATA[publish]]></wp:status>
|
||||
<wp:post_parent>0</wp:post_parent>
|
||||
<wp:menu_order>0</wp:menu_order>
|
||||
<wp:post_type><![CDATA[vc4_templates]]></wp:post_type>
|
||||
<wp:post_password><![CDATA[]]></wp:post_password>
|
||||
<wp:is_sticky>0</wp:is_sticky>
|
||||
<wp:postmeta>
|
||||
<wp:meta_key><![CDATA[_vc4_templates-version]]></wp:meta_key>
|
||||
<wp:meta_value><![CDATA[1]]></wp:meta_value>
|
||||
</wp:postmeta>
|
||||
<wp:postmeta>
|
||||
<wp:meta_key><![CDATA[_vc4_templates-id]]></wp:meta_key>
|
||||
<wp:meta_value><![CDATA[56a9fe60-c824-11e6-bad2-b1bb2c2f82ef]]></wp:meta_value>
|
||||
</wp:postmeta>
|
||||
</item>
|
||||
<item>
|
||||
<title>01</title>
|
||||
<link></link>
|
||||
<pubDate></pubDate>
|
||||
<dc:creator><![CDATA[RaitisSevelis]]></dc:creator>
|
||||
<guid isPermaLink="false"></guid>
|
||||
<description></description>
|
||||
<content:encoded><![CDATA[]]></content:encoded>
|
||||
<excerpt:encoded><![CDATA[]]></excerpt:encoded>
|
||||
<wp:post_id>3536</wp:post_id>
|
||||
<wp:post_date><![CDATA[2016-12-21 14:00:07]]></wp:post_date>
|
||||
<wp:post_date_gmt><![CDATA[2016-12-21 14:00:07]]></wp:post_date_gmt>
|
||||
<wp:comment_status><![CDATA[open]]></wp:comment_status>
|
||||
<wp:ping_status><![CDATA[closed]]></wp:ping_status>
|
||||
<wp:post_name><![CDATA[01-55]]></wp:post_name>
|
||||
<wp:status><![CDATA[inherit]]></wp:status>
|
||||
<wp:post_parent>3173</wp:post_parent>
|
||||
<wp:menu_order>0</wp:menu_order>
|
||||
<wp:post_type><![CDATA[attachment]]></wp:post_type>
|
||||
<wp:post_password><![CDATA[]]></wp:post_password>
|
||||
<wp:is_sticky>0</wp:is_sticky>
|
||||
<wp:attachment_url><![CDATA[https://vc-cc-static.s3-us-west-2.amazonaws.com/templates/56a9fe60-c824-11e6-bad2-b1bb2c2f82ef/assets/yellow-hero-section-3536.jpg]]></wp:attachment_url>
|
||||
<wp:attachment_real_url><![CDATA[http://localhost/wp-content/uploads/2016/08/01-20.jpg]]></wp:attachment_real_url>
|
||||
<wp:postmeta>
|
||||
<wp:meta_key><![CDATA[_wp_attached_file]]></wp:meta_key>
|
||||
<wp:meta_value><![CDATA[2016/08/01-20.jpg]]></wp:meta_value>
|
||||
</wp:postmeta>
|
||||
<wp:postmeta>
|
||||
<wp:meta_key><![CDATA[_wp_attachment_metadata]]></wp:meta_key>
|
||||
<wp:meta_value><![CDATA[a:5:{s:5:"width";i:400;s:6:"height";i:600;s:4:"file";s:17:"2016/08/01-20.jpg";s:5:"sizes";a:2:{s:9:"thumbnail";a:4:{s:4:"file";s:17:"01-20-150x150.jpg";s:5:"width";i:150;s:6:"height";i:150;s:9:"mime-type";s:10:"image/jpeg";}s:6:"medium";a:4:{s:4:"file";s:17:"01-20-200x300.jpg";s:5:"width";i:200;s:6:"height";i:300;s:9:"mime-type";s:10:"image/jpeg";}}s:10:"image_meta";a:12:{s:8:"aperture";s:1:"0";s:6:"credit";s:0:"";s:6:"camera";s:0:"";s:7:"caption";s:0:"";s:17:"created_timestamp";s:1:"0";s:9:"copyright";s:0:"";s:12:"focal_length";s:1:"0";s:3:"iso";s:1:"0";s:13:"shutter_speed";s:1:"0";s:5:"title";s:0:"";s:11:"orientation";s:1:"0";s:8:"keywords";a:0:{}}}]]></wp:meta_value>
|
||||
</wp:postmeta>
|
||||
</item>
|
||||
</channel>
|
||||
</rss>
|
||||
+67
@@ -0,0 +1,67 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?><!-- This is a WordPress eXtended RSS file generated by WordPress as an export of your site. -->
|
||||
<!-- It contains information about your site's posts, pages, comments, categories, and other content. -->
|
||||
<!-- You may use this file to transfer that content from one site to another. -->
|
||||
<!-- This file is not intended to serve as a complete backup of your site. -->
|
||||
|
||||
<!-- To import this information into a WordPress site follow these steps: -->
|
||||
<!-- 1. Log in to that site as an administrator. -->
|
||||
<!-- 2. Go to Tools: Import in the WordPress admin panel. -->
|
||||
<!-- 3. Install the "WordPress" importer from the list. -->
|
||||
<!-- 4. Activate & Run Importer. -->
|
||||
<!-- 5. Upload this file using the form provided on that page. -->
|
||||
<!-- 6. You will first be asked to map the authors in this export file to users -->
|
||||
<!-- on the site. For each author, you may choose to map to an -->
|
||||
<!-- existing user on the site or to create a new user. -->
|
||||
<!-- 7. WordPress will then import each of the posts, pages, comments, categories, etc. -->
|
||||
<!-- contained in this file into your site. -->
|
||||
<!-- generator="WordPress/4.6.1" created="2016-11-02 15:24" -->
|
||||
<rss version="2.0"
|
||||
xmlns:excerpt="http://wordpress.org/export/1.2/excerpt/"
|
||||
xmlns:content="http://purl.org/rss/1.0/modules/content/"
|
||||
xmlns:wfw="http://wellformedweb.org/CommentAPI/"
|
||||
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
||||
xmlns:wp="http://wordpress.org/export/1.2/"
|
||||
>
|
||||
|
||||
<channel>
|
||||
<title>WPBakery</title>
|
||||
<link>http://localhost</link>
|
||||
<description>Fun and Test</description>
|
||||
<pubDate>Wed, 02 Nov 2016 15:24:03 +0000</pubDate>
|
||||
<language>en-US</language>
|
||||
<wp:wxr_version>1.2</wp:wxr_version>
|
||||
<wp:base_site_url>http://localhost</wp:base_site_url>
|
||||
<wp:base_blog_url>http://localhost</wp:base_blog_url>
|
||||
|
||||
<item>
|
||||
<title><![CDATA[Three Colored Columns]]></title>
|
||||
<link></link>
|
||||
<pubDate></pubDate>
|
||||
<dc:creator><![CDATA[admin]]></dc:creator>
|
||||
<guid isPermaLink="false">http://vc4.dev/?post_type=vc4_templates&p=6</guid>
|
||||
<description/>
|
||||
<content:encoded><![CDATA[[vc_row gap="10" equal_height="yes" content_placement="bottom"][vc_column width="1/3" css=".vc_custom_1478002731974{background-color: #f2c100 !important;}"][vc_custom_heading text="quantity" font_container="tag:h1|font_size:40|text_align:left|color:%23ffffff" use_theme_fonts="yes" css=".vc_custom_1478003055766{padding-top: 200px !important;padding-bottom: 15px !important;}"][vc_column_text]<p><span style="color: #ffffff;">These physical or physiological quantifications of color, however, do not fully explain the psychophysical perception of color appearance.</span></p>[/vc_column_text][vc_btn title="Learn More" style="outline" shape="square" color="white"][/vc_column][vc_column width="1/3" css=".vc_custom_1478002750795{background-color: #007fe0 !important;}"][vc_custom_heading text="source" font_container="tag:h1|font_size:40|text_align:left|color:%23ffffff" use_theme_fonts="yes" css=".vc_custom_1478003067876{padding-top: 200px !important;padding-bottom: 15px !important;}"][vc_column_text]<p><span style="color: #ffffff;">Most light sources emit light at many different wavelengths; a source's spectrum is a distribution giving its intensity at each wavelength.</span></p>[/vc_column_text][vc_btn title="Learn More" style="outline" shape="square" color="white"][/vc_column][vc_column width="1/3" css=".vc_custom_1478002768154{background-color: #ef004f !important;}"][vc_custom_heading text="brain" font_container="tag:h1|font_size:40|text_align:left|color:%23ffffff" use_theme_fonts="yes" css=".vc_custom_1478003073463{padding-top: 200px !important;padding-bottom: 15px !important;}"][vc_column_text]<p><span style="color: #ffffff;">The color of an object depends on both the physics of the object in its environment and the characteristics of the perceiving eye and brain.</span></p>[/vc_column_text][vc_btn title="Learn More" style="outline" shape="square" color="white"][/vc_column][/vc_row]]]></content:encoded>
|
||||
<excerpt:encoded><![CDATA[]]></excerpt:encoded>
|
||||
<wp:post_id>1</wp:post_id>
|
||||
<wp:post_date></wp:post_date>
|
||||
<wp:post_date_gmt></wp:post_date_gmt>
|
||||
<wp:comment_status><![CDATA[closed]]></wp:comment_status>
|
||||
<wp:ping_status><![CDATA[closed]]></wp:ping_status>
|
||||
<wp:post_name><![CDATA[Three Colored Columns]]></wp:post_name>
|
||||
<wp:status><![CDATA[publish]]></wp:status>
|
||||
<wp:post_parent>0</wp:post_parent>
|
||||
<wp:menu_order>0</wp:menu_order>
|
||||
<wp:post_type><![CDATA[vc4_templates]]></wp:post_type>
|
||||
<wp:post_password><![CDATA[]]></wp:post_password>
|
||||
<wp:is_sticky>0</wp:is_sticky>
|
||||
<wp:postmeta>
|
||||
<wp:meta_key><![CDATA[_vc4_templates-version]]></wp:meta_key>
|
||||
<wp:meta_value><![CDATA[1]]></wp:meta_value>
|
||||
</wp:postmeta>
|
||||
<wp:postmeta>
|
||||
<wp:meta_key><![CDATA[_vc4_templates-id]]></wp:meta_key>
|
||||
<wp:meta_value><![CDATA[5e0288a0-a133-11e6-858b-9f70dbd5a719]]></wp:meta_value>
|
||||
</wp:postmeta>
|
||||
</item>
|
||||
</channel>
|
||||
</rss>
|
||||
+99
@@ -0,0 +1,99 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?><!-- This is a WordPress eXtended RSS file generated by WordPress as an export of your site. -->
|
||||
<!-- It contains information about your site's posts, pages, comments, categories, and other content. -->
|
||||
<!-- You may use this file to transfer that content from one site to another. -->
|
||||
<!-- This file is not intended to serve as a complete backup of your site. -->
|
||||
|
||||
<!-- To import this information into a WordPress site follow these steps: -->
|
||||
<!-- 1. Log in to that site as an administrator. -->
|
||||
<!-- 2. Go to Tools: Import in the WordPress admin panel. -->
|
||||
<!-- 3. Install the "WordPress" importer from the list. -->
|
||||
<!-- 4. Activate & Run Importer. -->
|
||||
<!-- 5. Upload this file using the form provided on that page. -->
|
||||
<!-- 6. You will first be asked to map the authors in this export file to users -->
|
||||
<!-- on the site. For each author, you may choose to map to an -->
|
||||
<!-- existing user on the site or to create a new user. -->
|
||||
<!-- 7. WordPress will then import each of the posts, pages, comments, categories, etc. -->
|
||||
<!-- contained in this file into your site. -->
|
||||
<!-- generator="WordPress/4.6.1" created="2016-11-02 15:23" -->
|
||||
<rss version="2.0"
|
||||
xmlns:excerpt="http://wordpress.org/export/1.2/excerpt/"
|
||||
xmlns:content="http://purl.org/rss/1.0/modules/content/"
|
||||
xmlns:wfw="http://wellformedweb.org/CommentAPI/"
|
||||
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
||||
xmlns:wp="http://wordpress.org/export/1.2/"
|
||||
>
|
||||
|
||||
<channel>
|
||||
<title>WPBakery</title>
|
||||
<link>http://localhost</link>
|
||||
<description>Fun and Test</description>
|
||||
<pubDate>Wed, 02 Nov 2016 15:23:38 +0000</pubDate>
|
||||
<language>en-US</language>
|
||||
<wp:wxr_version>1.2</wp:wxr_version>
|
||||
<wp:base_site_url>http://localhost</wp:base_site_url>
|
||||
<wp:base_blog_url>http://localhost</wp:base_blog_url>
|
||||
|
||||
<item>
|
||||
<title><![CDATA[Hero Section Full Height]]></title>
|
||||
<link></link>
|
||||
<pubDate></pubDate>
|
||||
<dc:creator><![CDATA[admin]]></dc:creator>
|
||||
<guid isPermaLink="false">http://vc4.dev/?post_type=vc4_templates&p=6</guid>
|
||||
<description/>
|
||||
<content:encoded><![CDATA[[vc_row full_width="stretch_row" full_height="yes" columns_placement="top" css=".vc_custom_1475578591667{background-image: url(http://localhost/wp-content/uploads/2015/09/01-17.jpg?id=3296) !important;background-position: center !important;background-repeat: no-repeat !important;background-size: cover !important;}"][vc_column][vc_custom_heading text="Orange County of California" font_container="tag:h1|font_size:46|text_align:center|color:%23ffffff" use_theme_fonts="yes"][vc_column_text]<p style="text-align: center;"><span style="color: #ffffff;">Orange County is included in the Los Angeles-Long Beach-Anaheim, CA Metropolitan Statistical Area. Thirty-four incorporated cities are located in the county; the newest is Aliso Viejo, which was incorporated in 2001.</span></p>[/vc_column_text][vc_btn title="Explore Now" style="flat" shape="round" color="sandy-brown" align="center"][/vc_column][/vc_row]]]></content:encoded>
|
||||
<excerpt:encoded><![CDATA[]]></excerpt:encoded>
|
||||
<wp:post_id>1</wp:post_id>
|
||||
<wp:post_date></wp:post_date>
|
||||
<wp:post_date_gmt></wp:post_date_gmt>
|
||||
<wp:comment_status><![CDATA[closed]]></wp:comment_status>
|
||||
<wp:ping_status><![CDATA[closed]]></wp:ping_status>
|
||||
<wp:post_name><![CDATA[Hero Section Full Height]]></wp:post_name>
|
||||
<wp:status><![CDATA[publish]]></wp:status>
|
||||
<wp:post_parent>0</wp:post_parent>
|
||||
<wp:menu_order>0</wp:menu_order>
|
||||
<wp:post_type><![CDATA[vc4_templates]]></wp:post_type>
|
||||
<wp:post_password><![CDATA[]]></wp:post_password>
|
||||
<wp:is_sticky>0</wp:is_sticky>
|
||||
<wp:postmeta>
|
||||
<wp:meta_key><![CDATA[_vc4_templates-version]]></wp:meta_key>
|
||||
<wp:meta_value><![CDATA[1]]></wp:meta_value>
|
||||
</wp:postmeta>
|
||||
<wp:postmeta>
|
||||
<wp:meta_key><![CDATA[_vc4_templates-id]]></wp:meta_key>
|
||||
<wp:meta_value><![CDATA[5f6b3890-a132-11e6-a989-4b76f9b37e2a]]></wp:meta_value>
|
||||
</wp:postmeta>
|
||||
</item>
|
||||
<item>
|
||||
<title>01</title>
|
||||
<link></link>
|
||||
<pubDate></pubDate>
|
||||
<dc:creator><![CDATA[RaitisSevelis]]></dc:creator>
|
||||
<guid isPermaLink="false"></guid>
|
||||
<description></description>
|
||||
<content:encoded><![CDATA[]]></content:encoded>
|
||||
<excerpt:encoded><![CDATA[]]></excerpt:encoded>
|
||||
<wp:post_id>3296</wp:post_id>
|
||||
<wp:post_date><![CDATA[2016-10-04 10:56:21]]></wp:post_date>
|
||||
<wp:post_date_gmt><![CDATA[2016-10-04 10:56:21]]></wp:post_date_gmt>
|
||||
<wp:comment_status><![CDATA[open]]></wp:comment_status>
|
||||
<wp:ping_status><![CDATA[closed]]></wp:ping_status>
|
||||
<wp:post_name><![CDATA[01-18]]></wp:post_name>
|
||||
<wp:status><![CDATA[inherit]]></wp:status>
|
||||
<wp:post_parent>2602</wp:post_parent>
|
||||
<wp:menu_order>0</wp:menu_order>
|
||||
<wp:post_type><![CDATA[attachment]]></wp:post_type>
|
||||
<wp:post_password><![CDATA[]]></wp:post_password>
|
||||
<wp:is_sticky>0</wp:is_sticky>
|
||||
<wp:attachment_url><![CDATA[https://vc-cc-static.s3-us-west-2.amazonaws.com/templates/5f6b3890-a132-11e6-a989-4b76f9b37e2a/assets/hero-section-full-height-3296.jpg]]></wp:attachment_url>
|
||||
<wp:attachment_real_url><![CDATA[http://localhost/wp-content/uploads/2015/09/01-17.jpg]]></wp:attachment_real_url>
|
||||
<wp:postmeta>
|
||||
<wp:meta_key><![CDATA[_wp_attached_file]]></wp:meta_key>
|
||||
<wp:meta_value><![CDATA[2015/09/01-17.jpg]]></wp:meta_value>
|
||||
</wp:postmeta>
|
||||
<wp:postmeta>
|
||||
<wp:meta_key><![CDATA[_wp_attachment_metadata]]></wp:meta_key>
|
||||
<wp:meta_value><![CDATA[a:5:{s:5:"width";i:1280;s:6:"height";i:812;s:4:"file";s:17:"2015/09/01-17.jpg";s:5:"sizes";a:6:{s:9:"thumbnail";a:4:{s:4:"file";s:17:"01-17-150x150.jpg";s:5:"width";i:150;s:6:"height";i:150;s:9:"mime-type";s:10:"image/jpeg";}s:6:"medium";a:4:{s:4:"file";s:17:"01-17-300x190.jpg";s:5:"width";i:300;s:6:"height";i:190;s:9:"mime-type";s:10:"image/jpeg";}s:12:"medium_large";a:4:{s:4:"file";s:17:"01-17-768x487.jpg";s:5:"width";i:768;s:6:"height";i:487;s:9:"mime-type";s:10:"image/jpeg";}s:5:"large";a:4:{s:4:"file";s:18:"01-17-1024x650.jpg";s:5:"width";i:1024;s:6:"height";i:650;s:9:"mime-type";s:10:"image/jpeg";}s:17:"dazzling-featured";a:4:{s:4:"file";s:17:"01-17-730x410.jpg";s:5:"width";i:730;s:6:"height";i:410;s:9:"mime-type";s:10:"image/jpeg";}s:9:"tab-small";a:4:{s:4:"file";s:15:"01-17-60x60.jpg";s:5:"width";i:60;s:6:"height";i:60;s:9:"mime-type";s:10:"image/jpeg";}}s:10:"image_meta";a:12:{s:8:"aperture";s:1:"0";s:6:"credit";s:0:"";s:6:"camera";s:0:"";s:7:"caption";s:0:"";s:17:"created_timestamp";s:1:"0";s:9:"copyright";s:0:"";s:12:"focal_length";s:1:"0";s:3:"iso";s:1:"0";s:13:"shutter_speed";s:1:"0";s:5:"title";s:0:"";s:11:"orientation";s:1:"0";s:8:"keywords";a:0:{}}}]]></wp:meta_value>
|
||||
</wp:postmeta>
|
||||
</item>
|
||||
</channel>
|
||||
</rss>
|
||||
+67
@@ -0,0 +1,67 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?><!-- This is a WordPress eXtended RSS file generated by WordPress as an export of your site. -->
|
||||
<!-- It contains information about your site's posts, pages, comments, categories, and other content. -->
|
||||
<!-- You may use this file to transfer that content from one site to another. -->
|
||||
<!-- This file is not intended to serve as a complete backup of your site. -->
|
||||
|
||||
<!-- To import this information into a WordPress site follow these steps: -->
|
||||
<!-- 1. Log in to that site as an administrator. -->
|
||||
<!-- 2. Go to Tools: Import in the WordPress admin panel. -->
|
||||
<!-- 3. Install the "WordPress" importer from the list. -->
|
||||
<!-- 4. Activate & Run Importer. -->
|
||||
<!-- 5. Upload this file using the form provided on that page. -->
|
||||
<!-- 6. You will first be asked to map the authors in this export file to users -->
|
||||
<!-- on the site. For each author, you may choose to map to an -->
|
||||
<!-- existing user on the site or to create a new user. -->
|
||||
<!-- 7. WordPress will then import each of the posts, pages, comments, categories, etc. -->
|
||||
<!-- contained in this file into your site. -->
|
||||
<!-- generator="WordPress/4.7.3" created="2017-03-23 13:19" -->
|
||||
<rss version="2.0"
|
||||
xmlns:excerpt="http://wordpress.org/export/1.2/excerpt/"
|
||||
xmlns:content="http://purl.org/rss/1.0/modules/content/"
|
||||
xmlns:wfw="http://wellformedweb.org/CommentAPI/"
|
||||
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
||||
xmlns:wp="http://wordpress.org/export/1.2/"
|
||||
>
|
||||
|
||||
<channel>
|
||||
<title>Rocky</title>
|
||||
<link>http://localhost</link>
|
||||
<description>Fun and Test</description>
|
||||
<pubDate>Thu, 23 Mar 2017 13:19:20 +0000</pubDate>
|
||||
<language>en-US</language>
|
||||
<wp:wxr_version>1.2</wp:wxr_version>
|
||||
<wp:base_site_url>http://localhost</wp:base_site_url>
|
||||
<wp:base_blog_url>http://localhost</wp:base_blog_url>
|
||||
|
||||
<item>
|
||||
<title><![CDATA[Black Border Articles]]></title>
|
||||
<link></link>
|
||||
<pubDate></pubDate>
|
||||
<dc:creator><![CDATA[admin]]></dc:creator>
|
||||
<guid isPermaLink="false">http://vc4.dev/?post_type=vc4_templates&p=6</guid>
|
||||
<description/>
|
||||
<content:encoded><![CDATA[[vc_row full_width="stretch_row" gap="30" equal_height="yes" content_placement="top" css=".vc_custom_1490269205951{padding-top: 100px !important;padding-bottom: 100px !important;background-color: #ededed !important;}"][vc_column width="1/2" css=".vc_custom_1490269374350{border-top-width: 7px !important;border-right-width: 7px !important;border-bottom-width: 7px !important;border-left-width: 7px !important;padding-top: 50px !important;padding-right: 50px !important;padding-bottom: 50px !important;padding-left: 50px !important;background-color: #ffffff !important;border-left-color: #3a3a3a !important;border-left-style: solid !important;border-right-color: #3a3a3a !important;border-right-style: solid !important;border-top-color: #3a3a3a !important;border-top-style: solid !important;border-bottom-color: #3a3a3a !important;border-bottom-style: solid !important;}"][vc_custom_heading text="Interaction Design" font_container="tag:h2|font_size:60|text_align:left|color:%233a3a3a" google_fonts="font_family:Voltaire%3Aregular|font_style:400%20regular%3A400%3Anormal"][vc_column_text 0=""]Design is the creation of a plan or convention for the construction of an object, system or measurable human interaction.[/vc_column_text][vc_btn title="Read Full Story" style="custom" custom_background="#3a3a3a" custom_text="#ffffff" shape="square" i_align="right" i_type="material" i_icon_material="vc-material vc-material-arrow_forward" add_icon="true"][/vc_column][vc_column width="1/2" css=".vc_custom_1490269382146{border-top-width: 7px !important;border-right-width: 7px !important;border-bottom-width: 7px !important;border-left-width: 7px !important;padding-top: 50px !important;padding-right: 50px !important;padding-bottom: 50px !important;padding-left: 50px !important;background-color: #ffffff !important;border-left-color: #3a3a3a !important;border-left-style: solid !important;border-right-color: #3a3a3a !important;border-right-style: solid !important;border-top-color: #3a3a3a !important;border-top-style: solid !important;border-bottom-color: #3a3a3a !important;border-bottom-style: solid !important;}"][vc_custom_heading text="Manufacture" font_container="tag:h2|font_size:60|text_align:left|color:%233a3a3a" google_fonts="font_family:Voltaire%3Aregular|font_style:400%20regular%3A400%3Anormal"][vc_column_text 0=""]Additional definitions, Design is planning to manufacture an object, system, component or structure. Then, the word "design" can be used as a noun or a verb.[/vc_column_text][vc_btn title="Read Full Story" style="custom" custom_background="#3a3a3a" custom_text="#ffffff" shape="square" i_align="right" i_type="material" i_icon_material="vc-material vc-material-arrow_forward" add_icon="true"][/vc_column][/vc_row]]]></content:encoded>
|
||||
<excerpt:encoded><![CDATA[]]></excerpt:encoded>
|
||||
<wp:post_id>1</wp:post_id>
|
||||
<wp:post_date></wp:post_date>
|
||||
<wp:post_date_gmt></wp:post_date_gmt>
|
||||
<wp:comment_status><![CDATA[closed]]></wp:comment_status>
|
||||
<wp:ping_status><![CDATA[closed]]></wp:ping_status>
|
||||
<wp:post_name><![CDATA[Black Border Articles]]></wp:post_name>
|
||||
<wp:status><![CDATA[publish]]></wp:status>
|
||||
<wp:post_parent>0</wp:post_parent>
|
||||
<wp:menu_order>0</wp:menu_order>
|
||||
<wp:post_type><![CDATA[vc4_templates]]></wp:post_type>
|
||||
<wp:post_password><![CDATA[]]></wp:post_password>
|
||||
<wp:is_sticky>0</wp:is_sticky>
|
||||
<wp:postmeta>
|
||||
<wp:meta_key><![CDATA[_vc4_templates-version]]></wp:meta_key>
|
||||
<wp:meta_value><![CDATA[1]]></wp:meta_value>
|
||||
</wp:postmeta>
|
||||
<wp:postmeta>
|
||||
<wp:meta_key><![CDATA[_vc4_templates-id]]></wp:meta_key>
|
||||
<wp:meta_value><![CDATA[63ec6560-0fcb-11e7-820d-eb4c21fb01ca]]></wp:meta_value>
|
||||
</wp:postmeta>
|
||||
</item>
|
||||
</channel>
|
||||
</rss>
|
||||
+139
@@ -0,0 +1,139 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?><!-- This is a WordPress eXtended RSS file generated by WordPress as an export of your site. -->
|
||||
<!-- It contains information about your site's posts, pages, comments, categories, and other content. -->
|
||||
<!-- You may use this file to transfer that content from one site to another. -->
|
||||
<!-- This file is not intended to serve as a complete backup of your site. -->
|
||||
|
||||
<!-- To import this information into a WordPress site follow these steps: -->
|
||||
<!-- 1. Log in to that site as an administrator. -->
|
||||
<!-- 2. Go to Tools: Import in the WordPress admin panel. -->
|
||||
<!-- 3. Install the "WordPress" importer from the list. -->
|
||||
<!-- 4. Activate & Run Importer. -->
|
||||
<!-- 5. Upload this file using the form provided on that page. -->
|
||||
<!-- 6. You will first be asked to map the authors in this export file to users -->
|
||||
<!-- on the site. For each author, you may choose to map to an -->
|
||||
<!-- existing user on the site or to create a new user. -->
|
||||
<!-- 7. WordPress will then import each of the posts, pages, comments, categories, etc. -->
|
||||
<!-- contained in this file into your site. -->
|
||||
<!-- generator="WordPress/4.6.1" created="2016-11-02 15:23" -->
|
||||
<rss version="2.0"
|
||||
xmlns:excerpt="http://wordpress.org/export/1.2/excerpt/"
|
||||
xmlns:content="http://purl.org/rss/1.0/modules/content/"
|
||||
xmlns:wfw="http://wellformedweb.org/CommentAPI/"
|
||||
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
||||
xmlns:wp="http://wordpress.org/export/1.2/"
|
||||
>
|
||||
|
||||
<channel>
|
||||
<title>WPBakery</title>
|
||||
<link>http://localhost</link>
|
||||
<description>Fun and Test</description>
|
||||
<pubDate>Wed, 02 Nov 2016 15:23:16 +0000</pubDate>
|
||||
<language>en-US</language>
|
||||
<wp:wxr_version>1.2</wp:wxr_version>
|
||||
<wp:base_site_url>http://localhost</wp:base_site_url>
|
||||
<wp:base_blog_url>http://localhost</wp:base_blog_url>
|
||||
|
||||
<item>
|
||||
<title><![CDATA[About Page]]></title>
|
||||
<link></link>
|
||||
<pubDate></pubDate>
|
||||
<dc:creator><![CDATA[admin]]></dc:creator>
|
||||
<guid isPermaLink="false">http://vc4.dev/?post_type=vc4_templates&p=6</guid>
|
||||
<description/>
|
||||
<content:encoded><![CDATA[[vc_row][vc_column width="2/3"][vc_custom_heading text="We Build The Future" font_container="tag:h1|text_align:left" use_theme_fonts="yes"][vc_column_text]A Company is a legal entity made up of an association of persons, be they natural, legal, or a mixture of both, for carrying on a commercial or industrial enterprise. Company members share a common purpose and unite in order to focus their various talents and organize their collectively available skills or resources to achieve specific, declared goals.
|
||||
|
||||
A company or association of persons can be created at law as legal person so that the company in itself can accept limited liability for civil responsibility and taxation incurred as members perform (or fail) to discharge their duty within the publicly declared "birth certificate" or published policy.
|
||||
|
||||
Because companies are legal persons, they also may associate and register themselves as companies – often known as a corporate group. When the company closes it may need a "death certificate" to avoid further legal obligations.[/vc_column_text][vc_custom_heading text="Towards New Horizons" use_theme_fonts="yes"][vc_column_text]A goal is a desired result that a person or a system envisions, plans and commits to achieve: a personal or organizational desired end-point in some sort of assumed development. Many people endeavor to reach goals within a finite time by setting deadlines.
|
||||
|
||||
It is roughly similar to purpose or aim, the anticipated result which guides reaction, or an end, which is an object, either a physical object or an abstract object, that has intrinsic value.
|
||||
|
||||
Goals can be long-term, intermediate, or short-term. The primary difference is the time required to achieve them.[/vc_column_text][/vc_column][vc_column width="1/3"][vc_row_inner][vc_column_inner][vc_single_image image="3253" img_size="full" style="vc_box_rounded"][vc_column_text]Short-term goals expect accomplishment in a short period of time, such as trying to get a bill paid in the next few days.[/vc_column_text][/vc_column_inner][/vc_row_inner][vc_separator][vc_row_inner][vc_column_inner][vc_single_image image="3252" img_size="full" style="vc_box_rounded"][vc_column_text]An organizational goal-management solution ensures that individual employee goals and objectives align with the vision and strategic goals of the entire organization.[/vc_column_text][/vc_column_inner][/vc_row_inner][/vc_column][/vc_row]]]></content:encoded>
|
||||
<excerpt:encoded><![CDATA[]]></excerpt:encoded>
|
||||
<wp:post_id>1</wp:post_id>
|
||||
<wp:post_date></wp:post_date>
|
||||
<wp:post_date_gmt></wp:post_date_gmt>
|
||||
<wp:comment_status><![CDATA[closed]]></wp:comment_status>
|
||||
<wp:ping_status><![CDATA[closed]]></wp:ping_status>
|
||||
<wp:post_name><![CDATA[About Page]]></wp:post_name>
|
||||
<wp:status><![CDATA[publish]]></wp:status>
|
||||
<wp:post_parent>0</wp:post_parent>
|
||||
<wp:menu_order>0</wp:menu_order>
|
||||
<wp:post_type><![CDATA[vc4_templates]]></wp:post_type>
|
||||
<wp:post_password><![CDATA[]]></wp:post_password>
|
||||
<wp:is_sticky>0</wp:is_sticky>
|
||||
<wp:postmeta>
|
||||
<wp:meta_key><![CDATA[_vc4_templates-version]]></wp:meta_key>
|
||||
<wp:meta_value><![CDATA[1]]></wp:meta_value>
|
||||
</wp:postmeta>
|
||||
<wp:postmeta>
|
||||
<wp:meta_key><![CDATA[_vc4_templates-id]]></wp:meta_key>
|
||||
<wp:meta_value><![CDATA[65554770-a131-11e6-8e33-518b24388dca]]></wp:meta_value>
|
||||
</wp:postmeta>
|
||||
</item>
|
||||
<item>
|
||||
<title>02</title>
|
||||
<link></link>
|
||||
<pubDate></pubDate>
|
||||
<dc:creator><![CDATA[RaitisSevelis]]></dc:creator>
|
||||
<guid isPermaLink="false"></guid>
|
||||
<description></description>
|
||||
<content:encoded><![CDATA[]]></content:encoded>
|
||||
<excerpt:encoded><![CDATA[]]></excerpt:encoded>
|
||||
<wp:post_id>3252</wp:post_id>
|
||||
<wp:post_date><![CDATA[2016-10-03 12:49:30]]></wp:post_date>
|
||||
<wp:post_date_gmt><![CDATA[2016-10-03 12:49:30]]></wp:post_date_gmt>
|
||||
<wp:comment_status><![CDATA[open]]></wp:comment_status>
|
||||
<wp:ping_status><![CDATA[closed]]></wp:ping_status>
|
||||
<wp:post_name><![CDATA[02]]></wp:post_name>
|
||||
<wp:status><![CDATA[inherit]]></wp:status>
|
||||
<wp:post_parent>2602</wp:post_parent>
|
||||
<wp:menu_order>0</wp:menu_order>
|
||||
<wp:post_type><![CDATA[attachment]]></wp:post_type>
|
||||
<wp:post_password><![CDATA[]]></wp:post_password>
|
||||
<wp:is_sticky>0</wp:is_sticky>
|
||||
<wp:attachment_url><![CDATA[https://vc-cc-static.s3-us-west-2.amazonaws.com/templates/65554770-a131-11e6-8e33-518b24388dca/assets/about-page-3252.jpg]]></wp:attachment_url>
|
||||
<wp:attachment_real_url><![CDATA[http://localhost/wp-content/uploads/2015/09/02.jpg]]></wp:attachment_real_url>
|
||||
<wp:postmeta>
|
||||
<wp:meta_key><![CDATA[_wp_attached_file]]></wp:meta_key>
|
||||
<wp:meta_value><![CDATA[2015/09/02.jpg]]></wp:meta_value>
|
||||
</wp:postmeta>
|
||||
<wp:postmeta>
|
||||
<wp:meta_key><![CDATA[_wp_attachment_metadata]]></wp:meta_key>
|
||||
<wp:meta_value><![CDATA[a:5:{s:5:"width";i:800;s:6:"height";i:600;s:4:"file";s:14:"2015/09/02.jpg";s:5:"sizes";a:5:{s:9:"thumbnail";a:4:{s:4:"file";s:14:"02-150x150.jpg";s:5:"width";i:150;s:6:"height";i:150;s:9:"mime-type";s:10:"image/jpeg";}s:6:"medium";a:4:{s:4:"file";s:14:"02-300x225.jpg";s:5:"width";i:300;s:6:"height";i:225;s:9:"mime-type";s:10:"image/jpeg";}s:12:"medium_large";a:4:{s:4:"file";s:14:"02-768x576.jpg";s:5:"width";i:768;s:6:"height";i:576;s:9:"mime-type";s:10:"image/jpeg";}s:17:"dazzling-featured";a:4:{s:4:"file";s:14:"02-730x410.jpg";s:5:"width";i:730;s:6:"height";i:410;s:9:"mime-type";s:10:"image/jpeg";}s:9:"tab-small";a:4:{s:4:"file";s:12:"02-60x60.jpg";s:5:"width";i:60;s:6:"height";i:60;s:9:"mime-type";s:10:"image/jpeg";}}s:10:"image_meta";a:12:{s:8:"aperture";s:1:"0";s:6:"credit";s:0:"";s:6:"camera";s:0:"";s:7:"caption";s:0:"";s:17:"created_timestamp";s:1:"0";s:9:"copyright";s:0:"";s:12:"focal_length";s:1:"0";s:3:"iso";s:1:"0";s:13:"shutter_speed";s:1:"0";s:5:"title";s:0:"";s:11:"orientation";s:1:"0";s:8:"keywords";a:0:{}}}]]></wp:meta_value>
|
||||
</wp:postmeta>
|
||||
</item>
|
||||
<item>
|
||||
<title>01</title>
|
||||
<link></link>
|
||||
<pubDate></pubDate>
|
||||
<dc:creator><![CDATA[RaitisSevelis]]></dc:creator>
|
||||
<guid isPermaLink="false"></guid>
|
||||
<description></description>
|
||||
<content:encoded><![CDATA[]]></content:encoded>
|
||||
<excerpt:encoded><![CDATA[]]></excerpt:encoded>
|
||||
<wp:post_id>3253</wp:post_id>
|
||||
<wp:post_date><![CDATA[2016-10-03 12:49:31]]></wp:post_date>
|
||||
<wp:post_date_gmt><![CDATA[2016-10-03 12:49:31]]></wp:post_date_gmt>
|
||||
<wp:comment_status><![CDATA[open]]></wp:comment_status>
|
||||
<wp:ping_status><![CDATA[closed]]></wp:ping_status>
|
||||
<wp:post_name><![CDATA[01]]></wp:post_name>
|
||||
<wp:status><![CDATA[inherit]]></wp:status>
|
||||
<wp:post_parent>2602</wp:post_parent>
|
||||
<wp:menu_order>0</wp:menu_order>
|
||||
<wp:post_type><![CDATA[attachment]]></wp:post_type>
|
||||
<wp:post_password><![CDATA[]]></wp:post_password>
|
||||
<wp:is_sticky>0</wp:is_sticky>
|
||||
<wp:attachment_url><![CDATA[https://vc-cc-static.s3-us-west-2.amazonaws.com/templates/65554770-a131-11e6-8e33-518b24388dca/assets/about-page-3253.jpg]]></wp:attachment_url>
|
||||
<wp:attachment_real_url><![CDATA[http://localhost/wp-content/uploads/2015/09/01.jpg]]></wp:attachment_real_url>
|
||||
<wp:postmeta>
|
||||
<wp:meta_key><![CDATA[_wp_attached_file]]></wp:meta_key>
|
||||
<wp:meta_value><![CDATA[2015/09/01.jpg]]></wp:meta_value>
|
||||
</wp:postmeta>
|
||||
<wp:postmeta>
|
||||
<wp:meta_key><![CDATA[_wp_attachment_metadata]]></wp:meta_key>
|
||||
<wp:meta_value><![CDATA[a:5:{s:5:"width";i:800;s:6:"height";i:600;s:4:"file";s:14:"2015/09/01.jpg";s:5:"sizes";a:5:{s:9:"thumbnail";a:4:{s:4:"file";s:14:"01-150x150.jpg";s:5:"width";i:150;s:6:"height";i:150;s:9:"mime-type";s:10:"image/jpeg";}s:6:"medium";a:4:{s:4:"file";s:14:"01-300x225.jpg";s:5:"width";i:300;s:6:"height";i:225;s:9:"mime-type";s:10:"image/jpeg";}s:12:"medium_large";a:4:{s:4:"file";s:14:"01-768x576.jpg";s:5:"width";i:768;s:6:"height";i:576;s:9:"mime-type";s:10:"image/jpeg";}s:17:"dazzling-featured";a:4:{s:4:"file";s:14:"01-730x410.jpg";s:5:"width";i:730;s:6:"height";i:410;s:9:"mime-type";s:10:"image/jpeg";}s:9:"tab-small";a:4:{s:4:"file";s:12:"01-60x60.jpg";s:5:"width";i:60;s:6:"height";i:60;s:9:"mime-type";s:10:"image/jpeg";}}s:10:"image_meta";a:12:{s:8:"aperture";s:1:"0";s:6:"credit";s:0:"";s:6:"camera";s:0:"";s:7:"caption";s:0:"";s:17:"created_timestamp";s:1:"0";s:9:"copyright";s:0:"";s:12:"focal_length";s:1:"0";s:3:"iso";s:1:"0";s:13:"shutter_speed";s:1:"0";s:5:"title";s:0:"";s:11:"orientation";s:1:"0";s:8:"keywords";a:0:{}}}]]></wp:meta_value>
|
||||
</wp:postmeta>
|
||||
</item>
|
||||
</channel>
|
||||
</rss>
|
||||
+195
@@ -0,0 +1,195 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?><!-- This is a WordPress eXtended RSS file generated by WordPress as an export of your site. -->
|
||||
<!-- It contains information about your site's posts, pages, comments, categories, and other content. -->
|
||||
<!-- You may use this file to transfer that content from one site to another. -->
|
||||
<!-- This file is not intended to serve as a complete backup of your site. -->
|
||||
|
||||
<!-- To import this information into a WordPress site follow these steps: -->
|
||||
<!-- 1. Log in to that site as an administrator. -->
|
||||
<!-- 2. Go to Tools: Import in the WordPress admin panel. -->
|
||||
<!-- 3. Install the "WordPress" importer from the list. -->
|
||||
<!-- 4. Activate & Run Importer. -->
|
||||
<!-- 5. Upload this file using the form provided on that page. -->
|
||||
<!-- 6. You will first be asked to map the authors in this export file to users -->
|
||||
<!-- on the site. For each author, you may choose to map to an -->
|
||||
<!-- existing user on the site or to create a new user. -->
|
||||
<!-- 7. WordPress will then import each of the posts, pages, comments, categories, etc. -->
|
||||
<!-- contained in this file into your site. -->
|
||||
<!-- generator="WordPress/4.6.1" created="2016-11-02 15:24" -->
|
||||
<rss version="2.0"
|
||||
xmlns:excerpt="http://wordpress.org/export/1.2/excerpt/"
|
||||
xmlns:content="http://purl.org/rss/1.0/modules/content/"
|
||||
xmlns:wfw="http://wellformedweb.org/CommentAPI/"
|
||||
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
||||
xmlns:wp="http://wordpress.org/export/1.2/"
|
||||
>
|
||||
|
||||
<channel>
|
||||
<title>WPBakery</title>
|
||||
<link>http://localhost</link>
|
||||
<description>Fun and Test</description>
|
||||
<pubDate>Wed, 02 Nov 2016 15:24:04 +0000</pubDate>
|
||||
<language>en-US</language>
|
||||
<wp:wxr_version>1.2</wp:wxr_version>
|
||||
<wp:base_site_url>http://localhost</wp:base_site_url>
|
||||
<wp:base_blog_url>http://localhost</wp:base_blog_url>
|
||||
|
||||
<item>
|
||||
<title><![CDATA[Fashion Collection Teaser]]></title>
|
||||
<link></link>
|
||||
<pubDate></pubDate>
|
||||
<dc:creator><![CDATA[admin]]></dc:creator>
|
||||
<guid isPermaLink="false">http://vc4.dev/?post_type=vc4_templates&p=6</guid>
|
||||
<description/>
|
||||
<content:encoded><![CDATA[[vc_row css=".vc_custom_1478004062451{padding-top: 150px !important;padding-bottom: 150px !important;background-image: url(http://localhost/wp-content/uploads/2016/08/01-4.jpg?id=3365) !important;background-position: center !important;background-repeat: no-repeat !important;background-size: cover !important;}"][vc_column][vc_custom_heading text="NEW COLLECTION" font_container="tag:h1|font_size:60|text_align:center|color:%23ffffff|line_height:1" use_theme_fonts="yes" css=".vc_custom_1478004113554{padding-bottom: 25px !important;}"][/vc_column][/vc_row][vc_row gap="10" equal_height="yes" content_placement="middle" css=".vc_custom_1478004250379{margin-top: 10px !important;}"][vc_column width="1/3" css=".vc_custom_1478004220283{padding-top: 100px !important;padding-bottom: 100px !important;background-image: url(http://localhost/wp-content/uploads/2016/08/02-2.jpg?id=3366) !important;background-position: center !important;background-repeat: no-repeat !important;background-size: cover !important;}"][vc_custom_heading text="BE BRAVE" font_container="tag:h2|font_size:30|text_align:center|color:%23ffffff|line_height:1" use_theme_fonts="yes" css=".vc_custom_1478004178356{padding-bottom: 25px !important;}"][/vc_column][vc_column width="1/3" css=".vc_custom_1478004264237{padding-top: 100px !important;padding-bottom: 100px !important;background-image: url(http://localhost/wp-content/uploads/2016/08/03.jpg?id=3367) !important;background-position: center !important;background-repeat: no-repeat !important;background-size: cover !important;}"][vc_custom_heading text="BE SMART" font_container="tag:h2|font_size:30|text_align:center|color:%23ffffff|line_height:1" use_theme_fonts="yes" css=".vc_custom_1478004276704{padding-bottom: 25px !important;}"][/vc_column][vc_column width="1/3" css=".vc_custom_1478004270481{padding-top: 100px !important;padding-bottom: 100px !important;background-image: url(http://localhost/wp-content/uploads/2016/08/04.jpg?id=3368) !important;background-position: center !important;background-repeat: no-repeat !important;background-size: cover !important;}"][vc_custom_heading text="BE DYNAMIC" font_container="tag:h2|font_size:30|text_align:center|color:%23ffffff|line_height:1" use_theme_fonts="yes" css=".vc_custom_1478004288989{padding-bottom: 25px !important;}"][/vc_column][/vc_row]]]></content:encoded>
|
||||
<excerpt:encoded><![CDATA[]]></excerpt:encoded>
|
||||
<wp:post_id>1</wp:post_id>
|
||||
<wp:post_date></wp:post_date>
|
||||
<wp:post_date_gmt></wp:post_date_gmt>
|
||||
<wp:comment_status><![CDATA[closed]]></wp:comment_status>
|
||||
<wp:ping_status><![CDATA[closed]]></wp:ping_status>
|
||||
<wp:post_name><![CDATA[Fashion Collection Teaser]]></wp:post_name>
|
||||
<wp:status><![CDATA[publish]]></wp:status>
|
||||
<wp:post_parent>0</wp:post_parent>
|
||||
<wp:menu_order>0</wp:menu_order>
|
||||
<wp:post_type><![CDATA[vc4_templates]]></wp:post_type>
|
||||
<wp:post_password><![CDATA[]]></wp:post_password>
|
||||
<wp:is_sticky>0</wp:is_sticky>
|
||||
<wp:postmeta>
|
||||
<wp:meta_key><![CDATA[_vc4_templates-version]]></wp:meta_key>
|
||||
<wp:meta_value><![CDATA[1]]></wp:meta_value>
|
||||
</wp:postmeta>
|
||||
<wp:postmeta>
|
||||
<wp:meta_key><![CDATA[_vc4_templates-id]]></wp:meta_key>
|
||||
<wp:meta_value><![CDATA[6b118e80-a133-11e6-9b75-3f3c961a4c58]]></wp:meta_value>
|
||||
</wp:postmeta>
|
||||
</item>
|
||||
<item>
|
||||
<title>01</title>
|
||||
<link></link>
|
||||
<pubDate></pubDate>
|
||||
<dc:creator><![CDATA[RaitisSevelis]]></dc:creator>
|
||||
<guid isPermaLink="false"></guid>
|
||||
<description></description>
|
||||
<content:encoded><![CDATA[]]></content:encoded>
|
||||
<excerpt:encoded><![CDATA[]]></excerpt:encoded>
|
||||
<wp:post_id>3365</wp:post_id>
|
||||
<wp:post_date><![CDATA[2016-11-01 12:40:46]]></wp:post_date>
|
||||
<wp:post_date_gmt><![CDATA[2016-11-01 12:40:46]]></wp:post_date_gmt>
|
||||
<wp:comment_status><![CDATA[open]]></wp:comment_status>
|
||||
<wp:ping_status><![CDATA[closed]]></wp:ping_status>
|
||||
<wp:post_name><![CDATA[01-38]]></wp:post_name>
|
||||
<wp:status><![CDATA[inherit]]></wp:status>
|
||||
<wp:post_parent>3173</wp:post_parent>
|
||||
<wp:menu_order>0</wp:menu_order>
|
||||
<wp:post_type><![CDATA[attachment]]></wp:post_type>
|
||||
<wp:post_password><![CDATA[]]></wp:post_password>
|
||||
<wp:is_sticky>0</wp:is_sticky>
|
||||
<wp:attachment_url><![CDATA[https://vc-cc-static.s3-us-west-2.amazonaws.com/templates/6b118e80-a133-11e6-9b75-3f3c961a4c58/assets/fashion-collection-teaser-3365.jpg]]></wp:attachment_url>
|
||||
<wp:attachment_real_url><![CDATA[http://localhost/wp-content/uploads/2016/08/01-4.jpg]]></wp:attachment_real_url>
|
||||
<wp:postmeta>
|
||||
<wp:meta_key><![CDATA[_wp_attached_file]]></wp:meta_key>
|
||||
<wp:meta_value><![CDATA[2016/08/01-4.jpg]]></wp:meta_value>
|
||||
</wp:postmeta>
|
||||
<wp:postmeta>
|
||||
<wp:meta_key><![CDATA[_wp_attachment_metadata]]></wp:meta_key>
|
||||
<wp:meta_value><![CDATA[a:5:{s:5:"width";i:1200;s:6:"height";i:600;s:4:"file";s:16:"2016/08/01-4.jpg";s:5:"sizes";a:6:{s:9:"thumbnail";a:4:{s:4:"file";s:16:"01-4-150x150.jpg";s:5:"width";i:150;s:6:"height";i:150;s:9:"mime-type";s:10:"image/jpeg";}s:6:"medium";a:4:{s:4:"file";s:16:"01-4-300x150.jpg";s:5:"width";i:300;s:6:"height";i:150;s:9:"mime-type";s:10:"image/jpeg";}s:12:"medium_large";a:4:{s:4:"file";s:16:"01-4-768x384.jpg";s:5:"width";i:768;s:6:"height";i:384;s:9:"mime-type";s:10:"image/jpeg";}s:5:"large";a:4:{s:4:"file";s:17:"01-4-1024x512.jpg";s:5:"width";i:1024;s:6:"height";i:512;s:9:"mime-type";s:10:"image/jpeg";}s:17:"dazzling-featured";a:4:{s:4:"file";s:16:"01-4-730x410.jpg";s:5:"width";i:730;s:6:"height";i:410;s:9:"mime-type";s:10:"image/jpeg";}s:9:"tab-small";a:4:{s:4:"file";s:14:"01-4-60x60.jpg";s:5:"width";i:60;s:6:"height";i:60;s:9:"mime-type";s:10:"image/jpeg";}}s:10:"image_meta";a:12:{s:8:"aperture";s:1:"0";s:6:"credit";s:0:"";s:6:"camera";s:0:"";s:7:"caption";s:0:"";s:17:"created_timestamp";s:1:"0";s:9:"copyright";s:0:"";s:12:"focal_length";s:1:"0";s:3:"iso";s:1:"0";s:13:"shutter_speed";s:1:"0";s:5:"title";s:0:"";s:11:"orientation";s:1:"0";s:8:"keywords";a:0:{}}}]]></wp:meta_value>
|
||||
</wp:postmeta>
|
||||
</item>
|
||||
<item>
|
||||
<title>02</title>
|
||||
<link></link>
|
||||
<pubDate></pubDate>
|
||||
<dc:creator><![CDATA[RaitisSevelis]]></dc:creator>
|
||||
<guid isPermaLink="false"></guid>
|
||||
<description></description>
|
||||
<content:encoded><![CDATA[]]></content:encoded>
|
||||
<excerpt:encoded><![CDATA[]]></excerpt:encoded>
|
||||
<wp:post_id>3366</wp:post_id>
|
||||
<wp:post_date><![CDATA[2016-11-01 12:40:47]]></wp:post_date>
|
||||
<wp:post_date_gmt><![CDATA[2016-11-01 12:40:47]]></wp:post_date_gmt>
|
||||
<wp:comment_status><![CDATA[open]]></wp:comment_status>
|
||||
<wp:ping_status><![CDATA[closed]]></wp:ping_status>
|
||||
<wp:post_name><![CDATA[02-25]]></wp:post_name>
|
||||
<wp:status><![CDATA[inherit]]></wp:status>
|
||||
<wp:post_parent>3173</wp:post_parent>
|
||||
<wp:menu_order>0</wp:menu_order>
|
||||
<wp:post_type><![CDATA[attachment]]></wp:post_type>
|
||||
<wp:post_password><![CDATA[]]></wp:post_password>
|
||||
<wp:is_sticky>0</wp:is_sticky>
|
||||
<wp:attachment_url><![CDATA[https://vc-cc-static.s3-us-west-2.amazonaws.com/templates/6b118e80-a133-11e6-9b75-3f3c961a4c58/assets/fashion-collection-teaser-3366.jpg]]></wp:attachment_url>
|
||||
<wp:attachment_real_url><![CDATA[http://localhost/wp-content/uploads/2016/08/02-2.jpg]]></wp:attachment_real_url>
|
||||
<wp:postmeta>
|
||||
<wp:meta_key><![CDATA[_wp_attached_file]]></wp:meta_key>
|
||||
<wp:meta_value><![CDATA[2016/08/02-2.jpg]]></wp:meta_value>
|
||||
</wp:postmeta>
|
||||
<wp:postmeta>
|
||||
<wp:meta_key><![CDATA[_wp_attachment_metadata]]></wp:meta_key>
|
||||
<wp:meta_value><![CDATA[a:5:{s:5:"width";i:800;s:6:"height";i:600;s:4:"file";s:16:"2016/08/02-2.jpg";s:5:"sizes";a:5:{s:9:"thumbnail";a:4:{s:4:"file";s:16:"02-2-150x150.jpg";s:5:"width";i:150;s:6:"height";i:150;s:9:"mime-type";s:10:"image/jpeg";}s:6:"medium";a:4:{s:4:"file";s:16:"02-2-300x225.jpg";s:5:"width";i:300;s:6:"height";i:225;s:9:"mime-type";s:10:"image/jpeg";}s:12:"medium_large";a:4:{s:4:"file";s:16:"02-2-768x576.jpg";s:5:"width";i:768;s:6:"height";i:576;s:9:"mime-type";s:10:"image/jpeg";}s:17:"dazzling-featured";a:4:{s:4:"file";s:16:"02-2-730x410.jpg";s:5:"width";i:730;s:6:"height";i:410;s:9:"mime-type";s:10:"image/jpeg";}s:9:"tab-small";a:4:{s:4:"file";s:14:"02-2-60x60.jpg";s:5:"width";i:60;s:6:"height";i:60;s:9:"mime-type";s:10:"image/jpeg";}}s:10:"image_meta";a:12:{s:8:"aperture";s:1:"0";s:6:"credit";s:0:"";s:6:"camera";s:0:"";s:7:"caption";s:0:"";s:17:"created_timestamp";s:1:"0";s:9:"copyright";s:0:"";s:12:"focal_length";s:1:"0";s:3:"iso";s:1:"0";s:13:"shutter_speed";s:1:"0";s:5:"title";s:0:"";s:11:"orientation";s:1:"0";s:8:"keywords";a:0:{}}}]]></wp:meta_value>
|
||||
</wp:postmeta>
|
||||
</item>
|
||||
<item>
|
||||
<title>03</title>
|
||||
<link></link>
|
||||
<pubDate></pubDate>
|
||||
<dc:creator><![CDATA[RaitisSevelis]]></dc:creator>
|
||||
<guid isPermaLink="false"></guid>
|
||||
<description></description>
|
||||
<content:encoded><![CDATA[]]></content:encoded>
|
||||
<excerpt:encoded><![CDATA[]]></excerpt:encoded>
|
||||
<wp:post_id>3367</wp:post_id>
|
||||
<wp:post_date><![CDATA[2016-11-01 12:40:48]]></wp:post_date>
|
||||
<wp:post_date_gmt><![CDATA[2016-11-01 12:40:48]]></wp:post_date_gmt>
|
||||
<wp:comment_status><![CDATA[open]]></wp:comment_status>
|
||||
<wp:ping_status><![CDATA[closed]]></wp:ping_status>
|
||||
<wp:post_name><![CDATA[03-11]]></wp:post_name>
|
||||
<wp:status><![CDATA[inherit]]></wp:status>
|
||||
<wp:post_parent>3173</wp:post_parent>
|
||||
<wp:menu_order>0</wp:menu_order>
|
||||
<wp:post_type><![CDATA[attachment]]></wp:post_type>
|
||||
<wp:post_password><![CDATA[]]></wp:post_password>
|
||||
<wp:is_sticky>0</wp:is_sticky>
|
||||
<wp:attachment_url><![CDATA[https://vc-cc-static.s3-us-west-2.amazonaws.com/templates/6b118e80-a133-11e6-9b75-3f3c961a4c58/assets/fashion-collection-teaser-3367.jpg]]></wp:attachment_url>
|
||||
<wp:attachment_real_url><![CDATA[http://localhost/wp-content/uploads/2016/08/03.jpg]]></wp:attachment_real_url>
|
||||
<wp:postmeta>
|
||||
<wp:meta_key><![CDATA[_wp_attached_file]]></wp:meta_key>
|
||||
<wp:meta_value><![CDATA[2016/08/03.jpg]]></wp:meta_value>
|
||||
</wp:postmeta>
|
||||
<wp:postmeta>
|
||||
<wp:meta_key><![CDATA[_wp_attachment_metadata]]></wp:meta_key>
|
||||
<wp:meta_value><![CDATA[a:5:{s:5:"width";i:800;s:6:"height";i:600;s:4:"file";s:14:"2016/08/03.jpg";s:5:"sizes";a:5:{s:9:"thumbnail";a:4:{s:4:"file";s:14:"03-150x150.jpg";s:5:"width";i:150;s:6:"height";i:150;s:9:"mime-type";s:10:"image/jpeg";}s:6:"medium";a:4:{s:4:"file";s:14:"03-300x225.jpg";s:5:"width";i:300;s:6:"height";i:225;s:9:"mime-type";s:10:"image/jpeg";}s:12:"medium_large";a:4:{s:4:"file";s:14:"03-768x576.jpg";s:5:"width";i:768;s:6:"height";i:576;s:9:"mime-type";s:10:"image/jpeg";}s:17:"dazzling-featured";a:4:{s:4:"file";s:14:"03-730x410.jpg";s:5:"width";i:730;s:6:"height";i:410;s:9:"mime-type";s:10:"image/jpeg";}s:9:"tab-small";a:4:{s:4:"file";s:12:"03-60x60.jpg";s:5:"width";i:60;s:6:"height";i:60;s:9:"mime-type";s:10:"image/jpeg";}}s:10:"image_meta";a:12:{s:8:"aperture";s:1:"0";s:6:"credit";s:0:"";s:6:"camera";s:0:"";s:7:"caption";s:0:"";s:17:"created_timestamp";s:1:"0";s:9:"copyright";s:0:"";s:12:"focal_length";s:1:"0";s:3:"iso";s:1:"0";s:13:"shutter_speed";s:1:"0";s:5:"title";s:0:"";s:11:"orientation";s:1:"0";s:8:"keywords";a:0:{}}}]]></wp:meta_value>
|
||||
</wp:postmeta>
|
||||
</item>
|
||||
<item>
|
||||
<title>04</title>
|
||||
<link></link>
|
||||
<pubDate></pubDate>
|
||||
<dc:creator><![CDATA[RaitisSevelis]]></dc:creator>
|
||||
<guid isPermaLink="false"></guid>
|
||||
<description></description>
|
||||
<content:encoded><![CDATA[]]></content:encoded>
|
||||
<excerpt:encoded><![CDATA[]]></excerpt:encoded>
|
||||
<wp:post_id>3368</wp:post_id>
|
||||
<wp:post_date><![CDATA[2016-11-01 12:40:48]]></wp:post_date>
|
||||
<wp:post_date_gmt><![CDATA[2016-11-01 12:40:48]]></wp:post_date_gmt>
|
||||
<wp:comment_status><![CDATA[open]]></wp:comment_status>
|
||||
<wp:ping_status><![CDATA[closed]]></wp:ping_status>
|
||||
<wp:post_name><![CDATA[04-6]]></wp:post_name>
|
||||
<wp:status><![CDATA[inherit]]></wp:status>
|
||||
<wp:post_parent>3173</wp:post_parent>
|
||||
<wp:menu_order>0</wp:menu_order>
|
||||
<wp:post_type><![CDATA[attachment]]></wp:post_type>
|
||||
<wp:post_password><![CDATA[]]></wp:post_password>
|
||||
<wp:is_sticky>0</wp:is_sticky>
|
||||
<wp:attachment_url><![CDATA[https://vc-cc-static.s3-us-west-2.amazonaws.com/templates/6b118e80-a133-11e6-9b75-3f3c961a4c58/assets/fashion-collection-teaser-3368.jpg]]></wp:attachment_url>
|
||||
<wp:attachment_real_url><![CDATA[http://localhost/wp-content/uploads/2016/08/04.jpg]]></wp:attachment_real_url>
|
||||
<wp:postmeta>
|
||||
<wp:meta_key><![CDATA[_wp_attached_file]]></wp:meta_key>
|
||||
<wp:meta_value><![CDATA[2016/08/04.jpg]]></wp:meta_value>
|
||||
</wp:postmeta>
|
||||
<wp:postmeta>
|
||||
<wp:meta_key><![CDATA[_wp_attachment_metadata]]></wp:meta_key>
|
||||
<wp:meta_value><![CDATA[a:5:{s:5:"width";i:800;s:6:"height";i:600;s:4:"file";s:14:"2016/08/04.jpg";s:5:"sizes";a:5:{s:9:"thumbnail";a:4:{s:4:"file";s:14:"04-150x150.jpg";s:5:"width";i:150;s:6:"height";i:150;s:9:"mime-type";s:10:"image/jpeg";}s:6:"medium";a:4:{s:4:"file";s:14:"04-300x225.jpg";s:5:"width";i:300;s:6:"height";i:225;s:9:"mime-type";s:10:"image/jpeg";}s:12:"medium_large";a:4:{s:4:"file";s:14:"04-768x576.jpg";s:5:"width";i:768;s:6:"height";i:576;s:9:"mime-type";s:10:"image/jpeg";}s:17:"dazzling-featured";a:4:{s:4:"file";s:14:"04-730x410.jpg";s:5:"width";i:730;s:6:"height";i:410;s:9:"mime-type";s:10:"image/jpeg";}s:9:"tab-small";a:4:{s:4:"file";s:12:"04-60x60.jpg";s:5:"width";i:60;s:6:"height";i:60;s:9:"mime-type";s:10:"image/jpeg";}}s:10:"image_meta";a:12:{s:8:"aperture";s:1:"0";s:6:"credit";s:0:"";s:6:"camera";s:0:"";s:7:"caption";s:0:"";s:17:"created_timestamp";s:1:"0";s:9:"copyright";s:0:"";s:12:"focal_length";s:1:"0";s:3:"iso";s:1:"0";s:13:"shutter_speed";s:1:"0";s:5:"title";s:0:"";s:11:"orientation";s:1:"0";s:8:"keywords";a:0:{}}}]]></wp:meta_value>
|
||||
</wp:postmeta>
|
||||
</item>
|
||||
</channel>
|
||||
</rss>
|
||||
+67
@@ -0,0 +1,67 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?><!-- This is a WordPress eXtended RSS file generated by WordPress as an export of your site. -->
|
||||
<!-- It contains information about your site's posts, pages, comments, categories, and other content. -->
|
||||
<!-- You may use this file to transfer that content from one site to another. -->
|
||||
<!-- This file is not intended to serve as a complete backup of your site. -->
|
||||
|
||||
<!-- To import this information into a WordPress site follow these steps: -->
|
||||
<!-- 1. Log in to that site as an administrator. -->
|
||||
<!-- 2. Go to Tools: Import in the WordPress admin panel. -->
|
||||
<!-- 3. Install the "WordPress" importer from the list. -->
|
||||
<!-- 4. Activate & Run Importer. -->
|
||||
<!-- 5. Upload this file using the form provided on that page. -->
|
||||
<!-- 6. You will first be asked to map the authors in this export file to users -->
|
||||
<!-- on the site. For each author, you may choose to map to an -->
|
||||
<!-- existing user on the site or to create a new user. -->
|
||||
<!-- 7. WordPress will then import each of the posts, pages, comments, categories, etc. -->
|
||||
<!-- contained in this file into your site. -->
|
||||
<!-- generator="WordPress/4.7" created="2016-12-22 08:55" -->
|
||||
<rss version="2.0"
|
||||
xmlns:excerpt="http://wordpress.org/export/1.2/excerpt/"
|
||||
xmlns:content="http://purl.org/rss/1.0/modules/content/"
|
||||
xmlns:wfw="http://wellformedweb.org/CommentAPI/"
|
||||
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
||||
xmlns:wp="http://wordpress.org/export/1.2/"
|
||||
>
|
||||
|
||||
<channel>
|
||||
<title>WPBakery</title>
|
||||
<link>http://localhost</link>
|
||||
<description>Fun and Test</description>
|
||||
<pubDate>Thu, 22 Dec 2016 08:55:12 +0000</pubDate>
|
||||
<language>en-US</language>
|
||||
<wp:wxr_version>1.2</wp:wxr_version>
|
||||
<wp:base_site_url>http://localhost</wp:base_site_url>
|
||||
<wp:base_blog_url>http://localhost</wp:base_blog_url>
|
||||
|
||||
<item>
|
||||
<title><![CDATA[Rounded Feature Blocks]]></title>
|
||||
<link></link>
|
||||
<pubDate></pubDate>
|
||||
<dc:creator><![CDATA[admin]]></dc:creator>
|
||||
<guid isPermaLink="false">http://vc4.dev/?post_type=vc4_templates&p=6</guid>
|
||||
<description/>
|
||||
<content:encoded><![CDATA[[vc_row gap="20" equal_height="yes"][vc_column width="1/3" css=".vc_custom_1482329347065{background-color: #33b8e0 !important;border-radius: 10px !important;}"][vc_icon type="material" icon_material="vc-material vc-material-devices_other" color="white" background_style="rounded" background_color="custom" size="lg" align="center" custom_background_color="#f2d357"][vc_custom_heading text="Multiple Devices" font_container="tag:h4|text_align:center|color:%23ffffff" use_theme_fonts="yes" css=".vc_custom_1482329492136{padding-right: 35px !important;padding-left: 35px !important;}"][vc_column_text css=".vc_custom_1482329614784{padding-right: 35px !important;padding-left: 35px !important;}"]<p style="text-align: center;"><span style="color: #ffffff;">Gadgets in particular are small tools powered by electronic principles.</span></p>[/vc_column_text][vc_btn title="Learn More" style="outline" shape="round" color="white" align="center" css=".vc_custom_1482329450488{padding-bottom: 35px !important;}"][/vc_column][vc_column width="1/3" css=".vc_custom_1482329407253{background-color: #3199d6 !important;border-radius: 10px !important;}"][vc_icon type="material" icon_material="vc-material vc-material-headset_mic" color="white" background_style="rounded" background_color="custom" size="lg" align="center" custom_background_color="#f2d357"][vc_custom_heading text="Online Support" font_container="tag:h4|text_align:center|color:%23ffffff" use_theme_fonts="yes" css=".vc_custom_1482329537002{padding-right: 35px !important;padding-left: 35px !important;}"][vc_column_text css=".vc_custom_1482329664982{padding-right: 35px !important;padding-left: 35px !important;}"]<p style="text-align: center;"><span style="color: #ffffff;">Most companies offer technical support for the products they sell.</span></p>[/vc_column_text][vc_btn title="Learn More" style="outline" shape="round" color="white" align="center" css=".vc_custom_1482329450488{padding-bottom: 35px !important;}"][/vc_column][vc_column width="1/3" css=".vc_custom_1482329398264{background-color: #33b8e0 !important;border-radius: 10px !important;}"][vc_icon type="material" icon_material="vc-material vc-material-mail_outline" color="white" background_style="rounded" background_color="custom" size="lg" align="center" custom_background_color="#f2d357"][vc_custom_heading text="Newsletter" font_container="tag:h4|text_align:center|color:%23ffffff" use_theme_fonts="yes" css=".vc_custom_1482329588549{padding-right: 35px !important;padding-left: 35px !important;}"][vc_column_text css=".vc_custom_1482329696337{padding-right: 35px !important;padding-left: 35px !important;}"]<p style="text-align: center;"><span style="color: #ffffff;">A newsletter is a regularly distributed publication about one topic.</span></p>[/vc_column_text][vc_btn title="Learn More" style="outline" shape="round" color="white" align="center" css=".vc_custom_1482329450488{padding-bottom: 35px !important;}"][/vc_column][/vc_row][vc_row][vc_column][/vc_column][/vc_row]]]></content:encoded>
|
||||
<excerpt:encoded><![CDATA[]]></excerpt:encoded>
|
||||
<wp:post_id>1</wp:post_id>
|
||||
<wp:post_date></wp:post_date>
|
||||
<wp:post_date_gmt></wp:post_date_gmt>
|
||||
<wp:comment_status><![CDATA[closed]]></wp:comment_status>
|
||||
<wp:ping_status><![CDATA[closed]]></wp:ping_status>
|
||||
<wp:post_name><![CDATA[Rounded Feature Blocks]]></wp:post_name>
|
||||
<wp:status><![CDATA[publish]]></wp:status>
|
||||
<wp:post_parent>0</wp:post_parent>
|
||||
<wp:menu_order>0</wp:menu_order>
|
||||
<wp:post_type><![CDATA[vc4_templates]]></wp:post_type>
|
||||
<wp:post_password><![CDATA[]]></wp:post_password>
|
||||
<wp:is_sticky>0</wp:is_sticky>
|
||||
<wp:postmeta>
|
||||
<wp:meta_key><![CDATA[_vc4_templates-version]]></wp:meta_key>
|
||||
<wp:meta_value><![CDATA[1]]></wp:meta_value>
|
||||
</wp:postmeta>
|
||||
<wp:postmeta>
|
||||
<wp:meta_key><![CDATA[_vc4_templates-id]]></wp:meta_key>
|
||||
<wp:meta_value><![CDATA[6cbbe550-c824-11e6-b275-ed2090df70f1]]></wp:meta_value>
|
||||
</wp:postmeta>
|
||||
</item>
|
||||
</channel>
|
||||
</rss>
|
||||
+131
@@ -0,0 +1,131 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?><!-- This is a WordPress eXtended RSS file generated by WordPress as an export of your site. -->
|
||||
<!-- It contains information about your site's posts, pages, comments, categories, and other content. -->
|
||||
<!-- You may use this file to transfer that content from one site to another. -->
|
||||
<!-- This file is not intended to serve as a complete backup of your site. -->
|
||||
|
||||
<!-- To import this information into a WordPress site follow these steps: -->
|
||||
<!-- 1. Log in to that site as an administrator. -->
|
||||
<!-- 2. Go to Tools: Import in the WordPress admin panel. -->
|
||||
<!-- 3. Install the "WordPress" importer from the list. -->
|
||||
<!-- 4. Activate & Run Importer. -->
|
||||
<!-- 5. Upload this file using the form provided on that page. -->
|
||||
<!-- 6. You will first be asked to map the authors in this export file to users -->
|
||||
<!-- on the site. For each author, you may choose to map to an -->
|
||||
<!-- existing user on the site or to create a new user. -->
|
||||
<!-- 7. WordPress will then import each of the posts, pages, comments, categories, etc. -->
|
||||
<!-- contained in this file into your site. -->
|
||||
<!-- generator="WordPress/4.6.1" created="2016-11-02 15:23" -->
|
||||
<rss version="2.0"
|
||||
xmlns:excerpt="http://wordpress.org/export/1.2/excerpt/"
|
||||
xmlns:content="http://purl.org/rss/1.0/modules/content/"
|
||||
xmlns:wfw="http://wellformedweb.org/CommentAPI/"
|
||||
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
||||
xmlns:wp="http://wordpress.org/export/1.2/"
|
||||
>
|
||||
|
||||
<channel>
|
||||
<title>WPBakery</title>
|
||||
<link>http://localhost</link>
|
||||
<description>Fun and Test</description>
|
||||
<pubDate>Wed, 02 Nov 2016 15:23:41 +0000</pubDate>
|
||||
<language>en-US</language>
|
||||
<wp:wxr_version>1.2</wp:wxr_version>
|
||||
<wp:base_site_url>http://localhost</wp:base_site_url>
|
||||
<wp:base_blog_url>http://localhost</wp:base_blog_url>
|
||||
|
||||
<item>
|
||||
<title><![CDATA[Image Overlay and Description]]></title>
|
||||
<link></link>
|
||||
<pubDate></pubDate>
|
||||
<dc:creator><![CDATA[admin]]></dc:creator>
|
||||
<guid isPermaLink="false">http://vc4.dev/?post_type=vc4_templates&p=6</guid>
|
||||
<description/>
|
||||
<content:encoded><![CDATA[[vc_row content_placement="middle" css=".vc_custom_1475579602783{background-position: center !important;background-repeat: no-repeat !important;background-size: cover !important;}"][vc_column width="1/2" css=".vc_custom_1475579615662{padding-right: 50px !important;}"][vc_single_image image="3298" img_size="full" alignment="center"][vc_single_image image="3297" img_size="full" alignment="center" css=".vc_custom_1475579475995{margin-top: -400px !important;margin-left: -200px !important;}"][/vc_column][vc_column width="1/2"][vc_custom_heading text="Barber and Barista Shop" font_container="tag:h1|font_size:46|text_align:left" use_theme_fonts="yes"][vc_column_text]<p style="text-align: left;">In modern times, the term "barber" is used both as a professional title and to refer to hairdressers who specialize in men's hair. Historically, all hairdressers were considered barbers. In the 20th century, the profession of cosmetology branched off from barbering, and today hairdressers may be licensed as either barbers or cosmetologists.</p>[/vc_column_text][/vc_column][/vc_row]]]></content:encoded>
|
||||
<excerpt:encoded><![CDATA[]]></excerpt:encoded>
|
||||
<wp:post_id>1</wp:post_id>
|
||||
<wp:post_date></wp:post_date>
|
||||
<wp:post_date_gmt></wp:post_date_gmt>
|
||||
<wp:comment_status><![CDATA[closed]]></wp:comment_status>
|
||||
<wp:ping_status><![CDATA[closed]]></wp:ping_status>
|
||||
<wp:post_name><![CDATA[Image Overlay and Description]]></wp:post_name>
|
||||
<wp:status><![CDATA[publish]]></wp:status>
|
||||
<wp:post_parent>0</wp:post_parent>
|
||||
<wp:menu_order>0</wp:menu_order>
|
||||
<wp:post_type><![CDATA[vc4_templates]]></wp:post_type>
|
||||
<wp:post_password><![CDATA[]]></wp:post_password>
|
||||
<wp:is_sticky>0</wp:is_sticky>
|
||||
<wp:postmeta>
|
||||
<wp:meta_key><![CDATA[_vc4_templates-version]]></wp:meta_key>
|
||||
<wp:meta_value><![CDATA[1]]></wp:meta_value>
|
||||
</wp:postmeta>
|
||||
<wp:postmeta>
|
||||
<wp:meta_key><![CDATA[_vc4_templates-id]]></wp:meta_key>
|
||||
<wp:meta_value><![CDATA[6d98e340-a132-11e6-a6d8-bb979b312bda]]></wp:meta_value>
|
||||
</wp:postmeta>
|
||||
</item>
|
||||
<item>
|
||||
<title>01</title>
|
||||
<link></link>
|
||||
<pubDate></pubDate>
|
||||
<dc:creator><![CDATA[RaitisSevelis]]></dc:creator>
|
||||
<guid isPermaLink="false"></guid>
|
||||
<description></description>
|
||||
<content:encoded><![CDATA[]]></content:encoded>
|
||||
<excerpt:encoded><![CDATA[]]></excerpt:encoded>
|
||||
<wp:post_id>3297</wp:post_id>
|
||||
<wp:post_date><![CDATA[2016-10-04 11:05:01]]></wp:post_date>
|
||||
<wp:post_date_gmt><![CDATA[2016-10-04 11:05:01]]></wp:post_date_gmt>
|
||||
<wp:comment_status><![CDATA[open]]></wp:comment_status>
|
||||
<wp:ping_status><![CDATA[closed]]></wp:ping_status>
|
||||
<wp:post_name><![CDATA[01-19]]></wp:post_name>
|
||||
<wp:status><![CDATA[inherit]]></wp:status>
|
||||
<wp:post_parent>2602</wp:post_parent>
|
||||
<wp:menu_order>0</wp:menu_order>
|
||||
<wp:post_type><![CDATA[attachment]]></wp:post_type>
|
||||
<wp:post_password><![CDATA[]]></wp:post_password>
|
||||
<wp:is_sticky>0</wp:is_sticky>
|
||||
<wp:attachment_url><![CDATA[https://vc-cc-static.s3-us-west-2.amazonaws.com/templates/6d98e340-a132-11e6-a6d8-bb979b312bda/assets/image-overlay-and-description-3297.jpg]]></wp:attachment_url>
|
||||
<wp:attachment_real_url><![CDATA[http://localhost/wp-content/uploads/2015/09/01-18.jpg]]></wp:attachment_real_url>
|
||||
<wp:postmeta>
|
||||
<wp:meta_key><![CDATA[_wp_attached_file]]></wp:meta_key>
|
||||
<wp:meta_value><![CDATA[2015/09/01-18.jpg]]></wp:meta_value>
|
||||
</wp:postmeta>
|
||||
<wp:postmeta>
|
||||
<wp:meta_key><![CDATA[_wp_attachment_metadata]]></wp:meta_key>
|
||||
<wp:meta_value><![CDATA[a:5:{s:5:"width";i:400;s:6:"height";i:600;s:4:"file";s:17:"2015/09/01-18.jpg";s:5:"sizes";a:4:{s:9:"thumbnail";a:4:{s:4:"file";s:17:"01-18-150x150.jpg";s:5:"width";i:150;s:6:"height";i:150;s:9:"mime-type";s:10:"image/jpeg";}s:6:"medium";a:4:{s:4:"file";s:17:"01-18-200x300.jpg";s:5:"width";i:200;s:6:"height";i:300;s:9:"mime-type";s:10:"image/jpeg";}s:17:"dazzling-featured";a:4:{s:4:"file";s:17:"01-18-400x410.jpg";s:5:"width";i:400;s:6:"height";i:410;s:9:"mime-type";s:10:"image/jpeg";}s:9:"tab-small";a:4:{s:4:"file";s:15:"01-18-60x60.jpg";s:5:"width";i:60;s:6:"height";i:60;s:9:"mime-type";s:10:"image/jpeg";}}s:10:"image_meta";a:12:{s:8:"aperture";s:1:"0";s:6:"credit";s:0:"";s:6:"camera";s:0:"";s:7:"caption";s:0:"";s:17:"created_timestamp";s:1:"0";s:9:"copyright";s:0:"";s:12:"focal_length";s:1:"0";s:3:"iso";s:1:"0";s:13:"shutter_speed";s:1:"0";s:5:"title";s:0:"";s:11:"orientation";s:1:"0";s:8:"keywords";a:0:{}}}]]></wp:meta_value>
|
||||
</wp:postmeta>
|
||||
</item>
|
||||
<item>
|
||||
<title>02</title>
|
||||
<link></link>
|
||||
<pubDate></pubDate>
|
||||
<dc:creator><![CDATA[RaitisSevelis]]></dc:creator>
|
||||
<guid isPermaLink="false"></guid>
|
||||
<description></description>
|
||||
<content:encoded><![CDATA[]]></content:encoded>
|
||||
<excerpt:encoded><![CDATA[]]></excerpt:encoded>
|
||||
<wp:post_id>3298</wp:post_id>
|
||||
<wp:post_date><![CDATA[2016-10-04 11:09:52]]></wp:post_date>
|
||||
<wp:post_date_gmt><![CDATA[2016-10-04 11:09:52]]></wp:post_date_gmt>
|
||||
<wp:comment_status><![CDATA[open]]></wp:comment_status>
|
||||
<wp:ping_status><![CDATA[closed]]></wp:ping_status>
|
||||
<wp:post_name><![CDATA[02-14]]></wp:post_name>
|
||||
<wp:status><![CDATA[inherit]]></wp:status>
|
||||
<wp:post_parent>2602</wp:post_parent>
|
||||
<wp:menu_order>0</wp:menu_order>
|
||||
<wp:post_type><![CDATA[attachment]]></wp:post_type>
|
||||
<wp:post_password><![CDATA[]]></wp:post_password>
|
||||
<wp:is_sticky>0</wp:is_sticky>
|
||||
<wp:attachment_url><![CDATA[https://vc-cc-static.s3-us-west-2.amazonaws.com/templates/6d98e340-a132-11e6-a6d8-bb979b312bda/assets/image-overlay-and-description-3298.jpg]]></wp:attachment_url>
|
||||
<wp:attachment_real_url><![CDATA[http://localhost/wp-content/uploads/2015/09/02-13.jpg]]></wp:attachment_real_url>
|
||||
<wp:postmeta>
|
||||
<wp:meta_key><![CDATA[_wp_attached_file]]></wp:meta_key>
|
||||
<wp:meta_value><![CDATA[2015/09/02-13.jpg]]></wp:meta_value>
|
||||
</wp:postmeta>
|
||||
<wp:postmeta>
|
||||
<wp:meta_key><![CDATA[_wp_attachment_metadata]]></wp:meta_key>
|
||||
<wp:meta_value><![CDATA[a:5:{s:5:"width";i:400;s:6:"height";i:600;s:4:"file";s:17:"2015/09/02-13.jpg";s:5:"sizes";a:4:{s:9:"thumbnail";a:4:{s:4:"file";s:17:"02-13-150x150.jpg";s:5:"width";i:150;s:6:"height";i:150;s:9:"mime-type";s:10:"image/jpeg";}s:6:"medium";a:4:{s:4:"file";s:17:"02-13-200x300.jpg";s:5:"width";i:200;s:6:"height";i:300;s:9:"mime-type";s:10:"image/jpeg";}s:17:"dazzling-featured";a:4:{s:4:"file";s:17:"02-13-400x410.jpg";s:5:"width";i:400;s:6:"height";i:410;s:9:"mime-type";s:10:"image/jpeg";}s:9:"tab-small";a:4:{s:4:"file";s:15:"02-13-60x60.jpg";s:5:"width";i:60;s:6:"height";i:60;s:9:"mime-type";s:10:"image/jpeg";}}s:10:"image_meta";a:12:{s:8:"aperture";s:1:"0";s:6:"credit";s:0:"";s:6:"camera";s:0:"";s:7:"caption";s:0:"";s:17:"created_timestamp";s:1:"0";s:9:"copyright";s:0:"";s:12:"focal_length";s:1:"0";s:3:"iso";s:1:"0";s:13:"shutter_speed";s:1:"0";s:5:"title";s:0:"";s:11:"orientation";s:1:"0";s:8:"keywords";a:0:{}}}]]></wp:meta_value>
|
||||
</wp:postmeta>
|
||||
</item>
|
||||
</channel>
|
||||
</rss>
|
||||
+131
@@ -0,0 +1,131 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?><!-- This is a WordPress eXtended RSS file generated by WordPress as an export of your site. -->
|
||||
<!-- It contains information about your site's posts, pages, comments, categories, and other content. -->
|
||||
<!-- You may use this file to transfer that content from one site to another. -->
|
||||
<!-- This file is not intended to serve as a complete backup of your site. -->
|
||||
|
||||
<!-- To import this information into a WordPress site follow these steps: -->
|
||||
<!-- 1. Log in to that site as an administrator. -->
|
||||
<!-- 2. Go to Tools: Import in the WordPress admin panel. -->
|
||||
<!-- 3. Install the "WordPress" importer from the list. -->
|
||||
<!-- 4. Activate & Run Importer. -->
|
||||
<!-- 5. Upload this file using the form provided on that page. -->
|
||||
<!-- 6. You will first be asked to map the authors in this export file to users -->
|
||||
<!-- on the site. For each author, you may choose to map to an -->
|
||||
<!-- existing user on the site or to create a new user. -->
|
||||
<!-- 7. WordPress will then import each of the posts, pages, comments, categories, etc. -->
|
||||
<!-- contained in this file into your site. -->
|
||||
<!-- generator="WordPress/4.7.3" created="2017-03-23 13:19" -->
|
||||
<rss version="2.0"
|
||||
xmlns:excerpt="http://wordpress.org/export/1.2/excerpt/"
|
||||
xmlns:content="http://purl.org/rss/1.0/modules/content/"
|
||||
xmlns:wfw="http://wellformedweb.org/CommentAPI/"
|
||||
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
||||
xmlns:wp="http://wordpress.org/export/1.2/"
|
||||
>
|
||||
|
||||
<channel>
|
||||
<title>Rocky</title>
|
||||
<link>http://localhost</link>
|
||||
<description>Fun and Test</description>
|
||||
<pubDate>Thu, 23 Mar 2017 13:19:53 +0000</pubDate>
|
||||
<language>en-US</language>
|
||||
<wp:wxr_version>1.2</wp:wxr_version>
|
||||
<wp:base_site_url>http://localhost</wp:base_site_url>
|
||||
<wp:base_blog_url>http://localhost</wp:base_blog_url>
|
||||
|
||||
<item>
|
||||
<title><![CDATA[Two Image Article]]></title>
|
||||
<link></link>
|
||||
<pubDate></pubDate>
|
||||
<dc:creator><![CDATA[admin]]></dc:creator>
|
||||
<guid isPermaLink="false">http://vc4.dev/?post_type=vc4_templates&p=6</guid>
|
||||
<description/>
|
||||
<content:encoded><![CDATA[[vc_row equal_height="yes" content_placement="bottom"][vc_column width="1/3"][vc_single_image image="3640" img_size="full"][/vc_column][vc_column width="1/3"][vc_custom_heading text="Passion of Dance" font_container="tag:h2|font_size:60|text_align:left|color:%233a3a3a" use_theme_fonts="yes"][vc_column_text 0=""]Dance is a performance art form consisting of purposefully selected sequences of human movement[/vc_column_text][/vc_column][vc_column width="1/3"][vc_single_image image="3641" img_size="full"][/vc_column][/vc_row]]]></content:encoded>
|
||||
<excerpt:encoded><![CDATA[]]></excerpt:encoded>
|
||||
<wp:post_id>1</wp:post_id>
|
||||
<wp:post_date></wp:post_date>
|
||||
<wp:post_date_gmt></wp:post_date_gmt>
|
||||
<wp:comment_status><![CDATA[closed]]></wp:comment_status>
|
||||
<wp:ping_status><![CDATA[closed]]></wp:ping_status>
|
||||
<wp:post_name><![CDATA[Two Image Article]]></wp:post_name>
|
||||
<wp:status><![CDATA[publish]]></wp:status>
|
||||
<wp:post_parent>0</wp:post_parent>
|
||||
<wp:menu_order>0</wp:menu_order>
|
||||
<wp:post_type><![CDATA[vc4_templates]]></wp:post_type>
|
||||
<wp:post_password><![CDATA[]]></wp:post_password>
|
||||
<wp:is_sticky>0</wp:is_sticky>
|
||||
<wp:postmeta>
|
||||
<wp:meta_key><![CDATA[_vc4_templates-version]]></wp:meta_key>
|
||||
<wp:meta_value><![CDATA[1]]></wp:meta_value>
|
||||
</wp:postmeta>
|
||||
<wp:postmeta>
|
||||
<wp:meta_key><![CDATA[_vc4_templates-id]]></wp:meta_key>
|
||||
<wp:meta_value><![CDATA[74363c10-0fcb-11e7-8a5c-451680414e70]]></wp:meta_value>
|
||||
</wp:postmeta>
|
||||
</item>
|
||||
<item>
|
||||
<title>001-model-bw</title>
|
||||
<link></link>
|
||||
<pubDate></pubDate>
|
||||
<dc:creator><![CDATA[RaitisSevelis]]></dc:creator>
|
||||
<guid isPermaLink="false"></guid>
|
||||
<description></description>
|
||||
<content:encoded><![CDATA[]]></content:encoded>
|
||||
<excerpt:encoded><![CDATA[]]></excerpt:encoded>
|
||||
<wp:post_id>3640</wp:post_id>
|
||||
<wp:post_date><![CDATA[2017-03-23 11:50:32]]></wp:post_date>
|
||||
<wp:post_date_gmt><![CDATA[2017-03-23 11:50:32]]></wp:post_date_gmt>
|
||||
<wp:comment_status><![CDATA[open]]></wp:comment_status>
|
||||
<wp:ping_status><![CDATA[closed]]></wp:ping_status>
|
||||
<wp:post_name><![CDATA[001-model-bw]]></wp:post_name>
|
||||
<wp:status><![CDATA[inherit]]></wp:status>
|
||||
<wp:post_parent>3173</wp:post_parent>
|
||||
<wp:menu_order>0</wp:menu_order>
|
||||
<wp:post_type><![CDATA[attachment]]></wp:post_type>
|
||||
<wp:post_password><![CDATA[]]></wp:post_password>
|
||||
<wp:is_sticky>0</wp:is_sticky>
|
||||
<wp:attachment_url><![CDATA[https://vc-cc-static.s3-us-west-2.amazonaws.com/templates/74363c10-0fcb-11e7-8a5c-451680414e70/assets/two-image-article-3640.jpg]]></wp:attachment_url>
|
||||
<wp:attachment_real_url><![CDATA[http://localhost/wp-content/uploads/2016/08/001-model-bw.jpg]]></wp:attachment_real_url>
|
||||
<wp:postmeta>
|
||||
<wp:meta_key><![CDATA[_wp_attached_file]]></wp:meta_key>
|
||||
<wp:meta_value><![CDATA[2016/08/001-model-bw.jpg]]></wp:meta_value>
|
||||
</wp:postmeta>
|
||||
<wp:postmeta>
|
||||
<wp:meta_key><![CDATA[_wp_attachment_metadata]]></wp:meta_key>
|
||||
<wp:meta_value><![CDATA[a:5:{s:5:"width";i:400;s:6:"height";i:600;s:4:"file";s:24:"2016/08/001-model-bw.jpg";s:5:"sizes";a:2:{s:9:"thumbnail";a:4:{s:4:"file";s:24:"001-model-bw-150x150.jpg";s:5:"width";i:150;s:6:"height";i:150;s:9:"mime-type";s:10:"image/jpeg";}s:6:"medium";a:4:{s:4:"file";s:24:"001-model-bw-200x300.jpg";s:5:"width";i:200;s:6:"height";i:300;s:9:"mime-type";s:10:"image/jpeg";}}s:10:"image_meta";a:12:{s:8:"aperture";s:1:"0";s:6:"credit";s:0:"";s:6:"camera";s:0:"";s:7:"caption";s:0:"";s:17:"created_timestamp";s:1:"0";s:9:"copyright";s:0:"";s:12:"focal_length";s:1:"0";s:3:"iso";s:1:"0";s:13:"shutter_speed";s:1:"0";s:5:"title";s:0:"";s:11:"orientation";s:1:"0";s:8:"keywords";a:0:{}}}]]></wp:meta_value>
|
||||
</wp:postmeta>
|
||||
</item>
|
||||
<item>
|
||||
<title>002-model-bw</title>
|
||||
<link></link>
|
||||
<pubDate></pubDate>
|
||||
<dc:creator><![CDATA[RaitisSevelis]]></dc:creator>
|
||||
<guid isPermaLink="false"></guid>
|
||||
<description></description>
|
||||
<content:encoded><![CDATA[]]></content:encoded>
|
||||
<excerpt:encoded><![CDATA[]]></excerpt:encoded>
|
||||
<wp:post_id>3641</wp:post_id>
|
||||
<wp:post_date><![CDATA[2017-03-23 11:50:32]]></wp:post_date>
|
||||
<wp:post_date_gmt><![CDATA[2017-03-23 11:50:32]]></wp:post_date_gmt>
|
||||
<wp:comment_status><![CDATA[open]]></wp:comment_status>
|
||||
<wp:ping_status><![CDATA[closed]]></wp:ping_status>
|
||||
<wp:post_name><![CDATA[002-model-bw]]></wp:post_name>
|
||||
<wp:status><![CDATA[inherit]]></wp:status>
|
||||
<wp:post_parent>3173</wp:post_parent>
|
||||
<wp:menu_order>0</wp:menu_order>
|
||||
<wp:post_type><![CDATA[attachment]]></wp:post_type>
|
||||
<wp:post_password><![CDATA[]]></wp:post_password>
|
||||
<wp:is_sticky>0</wp:is_sticky>
|
||||
<wp:attachment_url><![CDATA[https://vc-cc-static.s3-us-west-2.amazonaws.com/templates/74363c10-0fcb-11e7-8a5c-451680414e70/assets/two-image-article-3641.jpg]]></wp:attachment_url>
|
||||
<wp:attachment_real_url><![CDATA[http://localhost/wp-content/uploads/2016/08/002-model-bw.jpg]]></wp:attachment_real_url>
|
||||
<wp:postmeta>
|
||||
<wp:meta_key><![CDATA[_wp_attached_file]]></wp:meta_key>
|
||||
<wp:meta_value><![CDATA[2016/08/002-model-bw.jpg]]></wp:meta_value>
|
||||
</wp:postmeta>
|
||||
<wp:postmeta>
|
||||
<wp:meta_key><![CDATA[_wp_attachment_metadata]]></wp:meta_key>
|
||||
<wp:meta_value><![CDATA[a:5:{s:5:"width";i:400;s:6:"height";i:600;s:4:"file";s:24:"2016/08/002-model-bw.jpg";s:5:"sizes";a:2:{s:9:"thumbnail";a:4:{s:4:"file";s:24:"002-model-bw-150x150.jpg";s:5:"width";i:150;s:6:"height";i:150;s:9:"mime-type";s:10:"image/jpeg";}s:6:"medium";a:4:{s:4:"file";s:24:"002-model-bw-200x300.jpg";s:5:"width";i:200;s:6:"height";i:300;s:9:"mime-type";s:10:"image/jpeg";}}s:10:"image_meta";a:12:{s:8:"aperture";s:1:"0";s:6:"credit";s:0:"";s:6:"camera";s:0:"";s:7:"caption";s:0:"";s:17:"created_timestamp";s:1:"0";s:9:"copyright";s:0:"";s:12:"focal_length";s:1:"0";s:3:"iso";s:1:"0";s:13:"shutter_speed";s:1:"0";s:5:"title";s:0:"";s:11:"orientation";s:1:"0";s:8:"keywords";a:0:{}}}]]></wp:meta_value>
|
||||
</wp:postmeta>
|
||||
</item>
|
||||
</channel>
|
||||
</rss>
|
||||
+163
@@ -0,0 +1,163 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?><!-- This is a WordPress eXtended RSS file generated by WordPress as an export of your site. -->
|
||||
<!-- It contains information about your site's posts, pages, comments, categories, and other content. -->
|
||||
<!-- You may use this file to transfer that content from one site to another. -->
|
||||
<!-- This file is not intended to serve as a complete backup of your site. -->
|
||||
|
||||
<!-- To import this information into a WordPress site follow these steps: -->
|
||||
<!-- 1. Log in to that site as an administrator. -->
|
||||
<!-- 2. Go to Tools: Import in the WordPress admin panel. -->
|
||||
<!-- 3. Install the "WordPress" importer from the list. -->
|
||||
<!-- 4. Activate & Run Importer. -->
|
||||
<!-- 5. Upload this file using the form provided on that page. -->
|
||||
<!-- 6. You will first be asked to map the authors in this export file to users -->
|
||||
<!-- on the site. For each author, you may choose to map to an -->
|
||||
<!-- existing user on the site or to create a new user. -->
|
||||
<!-- 7. WordPress will then import each of the posts, pages, comments, categories, etc. -->
|
||||
<!-- contained in this file into your site. -->
|
||||
<!-- generator="WordPress/4.7" created="2016-12-22 08:48" -->
|
||||
<rss version="2.0"
|
||||
xmlns:excerpt="http://wordpress.org/export/1.2/excerpt/"
|
||||
xmlns:content="http://purl.org/rss/1.0/modules/content/"
|
||||
xmlns:wfw="http://wellformedweb.org/CommentAPI/"
|
||||
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
||||
xmlns:wp="http://wordpress.org/export/1.2/"
|
||||
>
|
||||
|
||||
<channel>
|
||||
<title>WPBakery</title>
|
||||
<link>http://localhost</link>
|
||||
<description>Fun and Test</description>
|
||||
<pubDate>Thu, 22 Dec 2016 08:48:12 +0000</pubDate>
|
||||
<language>en-US</language>
|
||||
<wp:wxr_version>1.2</wp:wxr_version>
|
||||
<wp:base_site_url>http://localhost</wp:base_site_url>
|
||||
<wp:base_blog_url>http://localhost</wp:base_blog_url>
|
||||
|
||||
<item>
|
||||
<title><![CDATA[News Blocks With Borders]]></title>
|
||||
<link></link>
|
||||
<pubDate></pubDate>
|
||||
<dc:creator><![CDATA[admin]]></dc:creator>
|
||||
<guid isPermaLink="false">http://vc4.dev/?post_type=vc4_templates&p=6</guid>
|
||||
<description/>
|
||||
<content:encoded><![CDATA[[vc_row gap="10" equal_height="yes"][vc_column width="1/3" css=".vc_custom_1482320298765{border: 1px solid #e8e8e8 !important;}"][vc_single_image image="3381" img_size="full" alignment="center" style="vc_box_circle_2"][vc_custom_heading text="Always Open" font_container="tag:h3|text_align:center" use_theme_fonts="yes" css=".vc_custom_1482320489377{padding-right: 35px !important;padding-left: 35px !important;}"][vc_column_text css=".vc_custom_1482320449048{padding-right: 35px !important;padding-left: 35px !important;}"]<p style="text-align: center;"> A retailer or a shop is a business that presents a selection of goods and offers to trade or sell them to customers for money or other goods.</p>[/vc_column_text][vc_btn title="Learn More" style="flat" color="turquoise" align="center"][/vc_column][vc_column width="1/3" css=".vc_custom_1482320309487{border: 1px solid #e8e8e8 !important;}"][vc_single_image image="3309" img_size="full" alignment="center" style="vc_box_circle_2"][vc_custom_heading text="Serial Publication" font_container="tag:h3|text_align:center" use_theme_fonts="yes" css=".vc_custom_1482320543546{padding-right: 35px !important;padding-left: 35px !important;}"][vc_column_text css=".vc_custom_1482320518032{padding-right: 35px !important;padding-left: 35px !important;}"]<p style="text-align: center;">Newspapers are typically published daily or weekly. News magazines are also weekly, but they have a magazine format.</p>[/vc_column_text][vc_btn title="Learn More" style="flat" color="turquoise" align="center"][/vc_column][vc_column width="1/3" css=".vc_custom_1482320320771{border: 1px solid #e8e8e8 !important;}"][vc_single_image image="3305" img_size="full" alignment="center" style="vc_box_circle_2"][vc_custom_heading text="Dutch Navy" font_container="tag:h3|text_align:center" use_theme_fonts="yes" css=".vc_custom_1482320574439{padding-right: 35px !important;padding-left: 35px !important;}"][vc_column_text css=".vc_custom_1482320561839{padding-right: 35px !important;padding-left: 35px !important;}"]<p style="text-align: center;">In modern use of the term, yachts differ from working ships mainly by their leisure purpose.</p>[/vc_column_text][vc_btn title="Learn More" style="flat" color="turquoise" align="center"][/vc_column][/vc_row]]]></content:encoded>
|
||||
<excerpt:encoded><![CDATA[]]></excerpt:encoded>
|
||||
<wp:post_id>1</wp:post_id>
|
||||
<wp:post_date></wp:post_date>
|
||||
<wp:post_date_gmt></wp:post_date_gmt>
|
||||
<wp:comment_status><![CDATA[closed]]></wp:comment_status>
|
||||
<wp:ping_status><![CDATA[closed]]></wp:ping_status>
|
||||
<wp:post_name><![CDATA[News Blocks With Borders]]></wp:post_name>
|
||||
<wp:status><![CDATA[publish]]></wp:status>
|
||||
<wp:post_parent>0</wp:post_parent>
|
||||
<wp:menu_order>0</wp:menu_order>
|
||||
<wp:post_type><![CDATA[vc4_templates]]></wp:post_type>
|
||||
<wp:post_password><![CDATA[]]></wp:post_password>
|
||||
<wp:is_sticky>0</wp:is_sticky>
|
||||
<wp:postmeta>
|
||||
<wp:meta_key><![CDATA[_vc4_templates-version]]></wp:meta_key>
|
||||
<wp:meta_value><![CDATA[1]]></wp:meta_value>
|
||||
</wp:postmeta>
|
||||
<wp:postmeta>
|
||||
<wp:meta_key><![CDATA[_vc4_templates-id]]></wp:meta_key>
|
||||
<wp:meta_value><![CDATA[744935a0-c823-11e6-8a29-ddc8e4781bff]]></wp:meta_value>
|
||||
</wp:postmeta>
|
||||
</item>
|
||||
<item>
|
||||
<title>01</title>
|
||||
<link></link>
|
||||
<pubDate></pubDate>
|
||||
<dc:creator><![CDATA[RaitisSevelis]]></dc:creator>
|
||||
<guid isPermaLink="false"></guid>
|
||||
<description></description>
|
||||
<content:encoded><![CDATA[]]></content:encoded>
|
||||
<excerpt:encoded><![CDATA[]]></excerpt:encoded>
|
||||
<wp:post_id>3305</wp:post_id>
|
||||
<wp:post_date><![CDATA[2016-10-10 10:43:45]]></wp:post_date>
|
||||
<wp:post_date_gmt><![CDATA[2016-10-10 10:43:45]]></wp:post_date_gmt>
|
||||
<wp:comment_status><![CDATA[open]]></wp:comment_status>
|
||||
<wp:ping_status><![CDATA[closed]]></wp:ping_status>
|
||||
<wp:post_name><![CDATA[01-23]]></wp:post_name>
|
||||
<wp:status><![CDATA[inherit]]></wp:status>
|
||||
<wp:post_parent>2602</wp:post_parent>
|
||||
<wp:menu_order>0</wp:menu_order>
|
||||
<wp:post_type><![CDATA[attachment]]></wp:post_type>
|
||||
<wp:post_password><![CDATA[]]></wp:post_password>
|
||||
<wp:is_sticky>0</wp:is_sticky>
|
||||
<wp:attachment_url><![CDATA[https://vc-cc-static.s3-us-west-2.amazonaws.com/templates/744935a0-c823-11e6-8a29-ddc8e4781bff/assets/news-blocks-with-borders-3305.jpg]]></wp:attachment_url>
|
||||
<wp:attachment_real_url><![CDATA[http://localhost/wp-content/uploads/2015/09/01-22.jpg]]></wp:attachment_real_url>
|
||||
<wp:postmeta>
|
||||
<wp:meta_key><![CDATA[_wp_attached_file]]></wp:meta_key>
|
||||
<wp:meta_value><![CDATA[2015/09/01-22.jpg]]></wp:meta_value>
|
||||
</wp:postmeta>
|
||||
<wp:postmeta>
|
||||
<wp:meta_key><![CDATA[_wp_attachment_metadata]]></wp:meta_key>
|
||||
<wp:meta_value><![CDATA[a:5:{s:5:"width";i:900;s:6:"height";i:600;s:4:"file";s:17:"2015/09/01-22.jpg";s:5:"sizes";a:5:{s:9:"thumbnail";a:4:{s:4:"file";s:17:"01-22-150x150.jpg";s:5:"width";i:150;s:6:"height";i:150;s:9:"mime-type";s:10:"image/jpeg";}s:6:"medium";a:4:{s:4:"file";s:17:"01-22-300x200.jpg";s:5:"width";i:300;s:6:"height";i:200;s:9:"mime-type";s:10:"image/jpeg";}s:12:"medium_large";a:4:{s:4:"file";s:17:"01-22-768x512.jpg";s:5:"width";i:768;s:6:"height";i:512;s:9:"mime-type";s:10:"image/jpeg";}s:17:"dazzling-featured";a:4:{s:4:"file";s:17:"01-22-730x410.jpg";s:5:"width";i:730;s:6:"height";i:410;s:9:"mime-type";s:10:"image/jpeg";}s:9:"tab-small";a:4:{s:4:"file";s:15:"01-22-60x60.jpg";s:5:"width";i:60;s:6:"height";i:60;s:9:"mime-type";s:10:"image/jpeg";}}s:10:"image_meta";a:12:{s:8:"aperture";s:1:"0";s:6:"credit";s:0:"";s:6:"camera";s:0:"";s:7:"caption";s:0:"";s:17:"created_timestamp";s:1:"0";s:9:"copyright";s:0:"";s:12:"focal_length";s:1:"0";s:3:"iso";s:1:"0";s:13:"shutter_speed";s:1:"0";s:5:"title";s:0:"";s:11:"orientation";s:1:"0";s:8:"keywords";a:0:{}}}]]></wp:meta_value>
|
||||
</wp:postmeta>
|
||||
</item>
|
||||
<item>
|
||||
<title>02</title>
|
||||
<link></link>
|
||||
<pubDate></pubDate>
|
||||
<dc:creator><![CDATA[RaitisSevelis]]></dc:creator>
|
||||
<guid isPermaLink="false"></guid>
|
||||
<description></description>
|
||||
<content:encoded><![CDATA[]]></content:encoded>
|
||||
<excerpt:encoded><![CDATA[]]></excerpt:encoded>
|
||||
<wp:post_id>3309</wp:post_id>
|
||||
<wp:post_date><![CDATA[2016-10-10 11:51:28]]></wp:post_date>
|
||||
<wp:post_date_gmt><![CDATA[2016-10-10 11:51:28]]></wp:post_date_gmt>
|
||||
<wp:comment_status><![CDATA[open]]></wp:comment_status>
|
||||
<wp:ping_status><![CDATA[closed]]></wp:ping_status>
|
||||
<wp:post_name><![CDATA[02-17]]></wp:post_name>
|
||||
<wp:status><![CDATA[inherit]]></wp:status>
|
||||
<wp:post_parent>2602</wp:post_parent>
|
||||
<wp:menu_order>0</wp:menu_order>
|
||||
<wp:post_type><![CDATA[attachment]]></wp:post_type>
|
||||
<wp:post_password><![CDATA[]]></wp:post_password>
|
||||
<wp:is_sticky>0</wp:is_sticky>
|
||||
<wp:attachment_url><![CDATA[https://vc-cc-static.s3-us-west-2.amazonaws.com/templates/744935a0-c823-11e6-8a29-ddc8e4781bff/assets/news-blocks-with-borders-3309.jpg]]></wp:attachment_url>
|
||||
<wp:attachment_real_url><![CDATA[http://localhost/wp-content/uploads/2015/09/02-16.jpg]]></wp:attachment_real_url>
|
||||
<wp:postmeta>
|
||||
<wp:meta_key><![CDATA[_wp_attached_file]]></wp:meta_key>
|
||||
<wp:meta_value><![CDATA[2015/09/02-16.jpg]]></wp:meta_value>
|
||||
</wp:postmeta>
|
||||
<wp:postmeta>
|
||||
<wp:meta_key><![CDATA[_wp_attachment_metadata]]></wp:meta_key>
|
||||
<wp:meta_value><![CDATA[a:5:{s:5:"width";i:600;s:6:"height";i:600;s:4:"file";s:17:"2015/09/02-16.jpg";s:5:"sizes";a:4:{s:9:"thumbnail";a:4:{s:4:"file";s:17:"02-16-150x150.jpg";s:5:"width";i:150;s:6:"height";i:150;s:9:"mime-type";s:10:"image/jpeg";}s:6:"medium";a:4:{s:4:"file";s:17:"02-16-300x300.jpg";s:5:"width";i:300;s:6:"height";i:300;s:9:"mime-type";s:10:"image/jpeg";}s:17:"dazzling-featured";a:4:{s:4:"file";s:17:"02-16-600x410.jpg";s:5:"width";i:600;s:6:"height";i:410;s:9:"mime-type";s:10:"image/jpeg";}s:9:"tab-small";a:4:{s:4:"file";s:15:"02-16-60x60.jpg";s:5:"width";i:60;s:6:"height";i:60;s:9:"mime-type";s:10:"image/jpeg";}}s:10:"image_meta";a:12:{s:8:"aperture";s:1:"0";s:6:"credit";s:0:"";s:6:"camera";s:0:"";s:7:"caption";s:0:"";s:17:"created_timestamp";s:1:"0";s:9:"copyright";s:0:"";s:12:"focal_length";s:1:"0";s:3:"iso";s:1:"0";s:13:"shutter_speed";s:1:"0";s:5:"title";s:0:"";s:11:"orientation";s:1:"0";s:8:"keywords";a:0:{}}}]]></wp:meta_value>
|
||||
</wp:postmeta>
|
||||
</item>
|
||||
<item>
|
||||
<title>01</title>
|
||||
<link></link>
|
||||
<pubDate></pubDate>
|
||||
<dc:creator><![CDATA[RaitisSevelis]]></dc:creator>
|
||||
<guid isPermaLink="false"></guid>
|
||||
<description></description>
|
||||
<content:encoded><![CDATA[]]></content:encoded>
|
||||
<excerpt:encoded><![CDATA[]]></excerpt:encoded>
|
||||
<wp:post_id>3381</wp:post_id>
|
||||
<wp:post_date><![CDATA[2016-11-01 14:16:16]]></wp:post_date>
|
||||
<wp:post_date_gmt><![CDATA[2016-11-01 14:16:16]]></wp:post_date_gmt>
|
||||
<wp:comment_status><![CDATA[open]]></wp:comment_status>
|
||||
<wp:ping_status><![CDATA[closed]]></wp:ping_status>
|
||||
<wp:post_name><![CDATA[01-43]]></wp:post_name>
|
||||
<wp:status><![CDATA[inherit]]></wp:status>
|
||||
<wp:post_parent>3173</wp:post_parent>
|
||||
<wp:menu_order>0</wp:menu_order>
|
||||
<wp:post_type><![CDATA[attachment]]></wp:post_type>
|
||||
<wp:post_password><![CDATA[]]></wp:post_password>
|
||||
<wp:is_sticky>0</wp:is_sticky>
|
||||
<wp:attachment_url><![CDATA[https://vc-cc-static.s3-us-west-2.amazonaws.com/templates/744935a0-c823-11e6-8a29-ddc8e4781bff/assets/news-blocks-with-borders-3381.jpg]]></wp:attachment_url>
|
||||
<wp:attachment_real_url><![CDATA[http://localhost/wp-content/uploads/2016/08/01-9.jpg]]></wp:attachment_real_url>
|
||||
<wp:postmeta>
|
||||
<wp:meta_key><![CDATA[_wp_attached_file]]></wp:meta_key>
|
||||
<wp:meta_value><![CDATA[2016/08/01-9.jpg]]></wp:meta_value>
|
||||
</wp:postmeta>
|
||||
<wp:postmeta>
|
||||
<wp:meta_key><![CDATA[_wp_attachment_metadata]]></wp:meta_key>
|
||||
<wp:meta_value><![CDATA[a:5:{s:5:"width";i:600;s:6:"height";i:500;s:4:"file";s:16:"2016/08/01-9.jpg";s:5:"sizes";a:4:{s:9:"thumbnail";a:4:{s:4:"file";s:16:"01-9-150x150.jpg";s:5:"width";i:150;s:6:"height";i:150;s:9:"mime-type";s:10:"image/jpeg";}s:6:"medium";a:4:{s:4:"file";s:16:"01-9-300x250.jpg";s:5:"width";i:300;s:6:"height";i:250;s:9:"mime-type";s:10:"image/jpeg";}s:17:"dazzling-featured";a:4:{s:4:"file";s:16:"01-9-600x410.jpg";s:5:"width";i:600;s:6:"height";i:410;s:9:"mime-type";s:10:"image/jpeg";}s:9:"tab-small";a:4:{s:4:"file";s:14:"01-9-60x60.jpg";s:5:"width";i:60;s:6:"height";i:60;s:9:"mime-type";s:10:"image/jpeg";}}s:10:"image_meta";a:12:{s:8:"aperture";s:1:"0";s:6:"credit";s:0:"";s:6:"camera";s:0:"";s:7:"caption";s:0:"";s:17:"created_timestamp";s:1:"0";s:9:"copyright";s:0:"";s:12:"focal_length";s:1:"0";s:3:"iso";s:1:"0";s:13:"shutter_speed";s:1:"0";s:5:"title";s:0:"";s:11:"orientation";s:1:"0";s:8:"keywords";a:0:{}}}]]></wp:meta_value>
|
||||
</wp:postmeta>
|
||||
</item>
|
||||
</channel>
|
||||
</rss>
|
||||
+195
@@ -0,0 +1,195 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?><!-- This is a WordPress eXtended RSS file generated by WordPress as an export of your site. -->
|
||||
<!-- It contains information about your site's posts, pages, comments, categories, and other content. -->
|
||||
<!-- You may use this file to transfer that content from one site to another. -->
|
||||
<!-- This file is not intended to serve as a complete backup of your site. -->
|
||||
|
||||
<!-- To import this information into a WordPress site follow these steps: -->
|
||||
<!-- 1. Log in to that site as an administrator. -->
|
||||
<!-- 2. Go to Tools: Import in the WordPress admin panel. -->
|
||||
<!-- 3. Install the "WordPress" importer from the list. -->
|
||||
<!-- 4. Activate & Run Importer. -->
|
||||
<!-- 5. Upload this file using the form provided on that page. -->
|
||||
<!-- 6. You will first be asked to map the authors in this export file to users -->
|
||||
<!-- on the site. For each author, you may choose to map to an -->
|
||||
<!-- existing user on the site or to create a new user. -->
|
||||
<!-- 7. WordPress will then import each of the posts, pages, comments, categories, etc. -->
|
||||
<!-- contained in this file into your site. -->
|
||||
<!-- generator="WordPress/4.6.1" created="2016-11-02 15:24" -->
|
||||
<rss version="2.0"
|
||||
xmlns:excerpt="http://wordpress.org/export/1.2/excerpt/"
|
||||
xmlns:content="http://purl.org/rss/1.0/modules/content/"
|
||||
xmlns:wfw="http://wellformedweb.org/CommentAPI/"
|
||||
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
||||
xmlns:wp="http://wordpress.org/export/1.2/"
|
||||
>
|
||||
|
||||
<channel>
|
||||
<title>WPBakery</title>
|
||||
<link>http://localhost</link>
|
||||
<description>Fun and Test</description>
|
||||
<pubDate>Wed, 02 Nov 2016 15:24:06 +0000</pubDate>
|
||||
<language>en-US</language>
|
||||
<wp:wxr_version>1.2</wp:wxr_version>
|
||||
<wp:base_site_url>http://localhost</wp:base_site_url>
|
||||
<wp:base_blog_url>http://localhost</wp:base_blog_url>
|
||||
|
||||
<item>
|
||||
<title><![CDATA[Features On Images]]></title>
|
||||
<link></link>
|
||||
<pubDate></pubDate>
|
||||
<dc:creator><![CDATA[admin]]></dc:creator>
|
||||
<guid isPermaLink="false">http://vc4.dev/?post_type=vc4_templates&p=6</guid>
|
||||
<description/>
|
||||
<content:encoded><![CDATA[[vc_row gap="10" equal_height="yes" content_placement="middle"][vc_column width="1/4" css=".vc_custom_1478005458145{padding-top: 50px !important;padding-bottom: 50px !important;background-image: url(http://localhost/wp-content/uploads/2016/08/01-5.jpg?id=3369) !important;background-position: center !important;background-repeat: no-repeat !important;background-size: cover !important;}"][vc_icon type="material" icon_material="vc-material vc-material-flight" color="white" background_style="rounded-outline" background_color="white" size="lg" align="center"][vc_custom_heading text="holiday pack" font_container="tag:h3|text_align:center|color:%23ffffff|line_height:1" use_theme_fonts="yes"][/vc_column][vc_column width="1/4" css=".vc_custom_1478005466571{padding-top: 50px !important;padding-bottom: 50px !important;background-image: url(http://localhost/wp-content/uploads/2016/08/02-3.jpg?id=3370) !important;background-position: center !important;background-repeat: no-repeat !important;background-size: cover !important;}"][vc_icon type="material" icon_material="vc-material vc-material-directions_run" color="white" background_style="rounded-outline" background_color="white" size="lg" align="center"][vc_custom_heading text="career growth" font_container="tag:h3|text_align:center|color:%23ffffff|line_height:1" use_theme_fonts="yes"][/vc_column][vc_column width="1/4" css=".vc_custom_1478005473695{padding-top: 50px !important;padding-bottom: 50px !important;background-image: url(http://localhost/wp-content/uploads/2016/08/03-1.jpg?id=3371) !important;background-position: center !important;background-repeat: no-repeat !important;background-size: cover !important;}"][vc_icon type="material" icon_material="vc-material vc-material-local_florist" color="white" background_style="rounded-outline" background_color="white" size="lg" align="center"][vc_custom_heading text="creative room" font_container="tag:h3|text_align:center|color:%23ffffff|line_height:1" use_theme_fonts="yes"][/vc_column][vc_column width="1/4" css=".vc_custom_1478005480375{padding-top: 50px !important;padding-bottom: 50px !important;background-image: url(http://localhost/wp-content/uploads/2016/08/04-1.jpg?id=3372) !important;background-position: center !important;background-repeat: no-repeat !important;background-size: cover !important;}"][vc_icon type="material" icon_material="vc-material vc-material-airport_shuttle" color="white" background_style="rounded-outline" background_color="white" size="lg" align="center"][vc_custom_heading text="airport pickup" font_container="tag:h3|text_align:center|color:%23ffffff|line_height:1" use_theme_fonts="yes"][/vc_column][/vc_row]]]></content:encoded>
|
||||
<excerpt:encoded><![CDATA[]]></excerpt:encoded>
|
||||
<wp:post_id>1</wp:post_id>
|
||||
<wp:post_date></wp:post_date>
|
||||
<wp:post_date_gmt></wp:post_date_gmt>
|
||||
<wp:comment_status><![CDATA[closed]]></wp:comment_status>
|
||||
<wp:ping_status><![CDATA[closed]]></wp:ping_status>
|
||||
<wp:post_name><![CDATA[Features On Images]]></wp:post_name>
|
||||
<wp:status><![CDATA[publish]]></wp:status>
|
||||
<wp:post_parent>0</wp:post_parent>
|
||||
<wp:menu_order>0</wp:menu_order>
|
||||
<wp:post_type><![CDATA[vc4_templates]]></wp:post_type>
|
||||
<wp:post_password><![CDATA[]]></wp:post_password>
|
||||
<wp:is_sticky>0</wp:is_sticky>
|
||||
<wp:postmeta>
|
||||
<wp:meta_key><![CDATA[_vc4_templates-version]]></wp:meta_key>
|
||||
<wp:meta_value><![CDATA[1]]></wp:meta_value>
|
||||
</wp:postmeta>
|
||||
<wp:postmeta>
|
||||
<wp:meta_key><![CDATA[_vc4_templates-id]]></wp:meta_key>
|
||||
<wp:meta_value><![CDATA[79e62280-a133-11e6-8e2d-717fdfb33540]]></wp:meta_value>
|
||||
</wp:postmeta>
|
||||
</item>
|
||||
<item>
|
||||
<title>01</title>
|
||||
<link></link>
|
||||
<pubDate></pubDate>
|
||||
<dc:creator><![CDATA[RaitisSevelis]]></dc:creator>
|
||||
<guid isPermaLink="false"></guid>
|
||||
<description></description>
|
||||
<content:encoded><![CDATA[]]></content:encoded>
|
||||
<excerpt:encoded><![CDATA[]]></excerpt:encoded>
|
||||
<wp:post_id>3369</wp:post_id>
|
||||
<wp:post_date><![CDATA[2016-11-01 13:03:17]]></wp:post_date>
|
||||
<wp:post_date_gmt><![CDATA[2016-11-01 13:03:17]]></wp:post_date_gmt>
|
||||
<wp:comment_status><![CDATA[open]]></wp:comment_status>
|
||||
<wp:ping_status><![CDATA[closed]]></wp:ping_status>
|
||||
<wp:post_name><![CDATA[01-39]]></wp:post_name>
|
||||
<wp:status><![CDATA[inherit]]></wp:status>
|
||||
<wp:post_parent>3173</wp:post_parent>
|
||||
<wp:menu_order>0</wp:menu_order>
|
||||
<wp:post_type><![CDATA[attachment]]></wp:post_type>
|
||||
<wp:post_password><![CDATA[]]></wp:post_password>
|
||||
<wp:is_sticky>0</wp:is_sticky>
|
||||
<wp:attachment_url><![CDATA[https://vc-cc-static.s3-us-west-2.amazonaws.com/templates/79e62280-a133-11e6-8e2d-717fdfb33540/assets/features-on-images-3369.jpg]]></wp:attachment_url>
|
||||
<wp:attachment_real_url><![CDATA[http://localhost/wp-content/uploads/2016/08/01-5.jpg]]></wp:attachment_real_url>
|
||||
<wp:postmeta>
|
||||
<wp:meta_key><![CDATA[_wp_attached_file]]></wp:meta_key>
|
||||
<wp:meta_value><![CDATA[2016/08/01-5.jpg]]></wp:meta_value>
|
||||
</wp:postmeta>
|
||||
<wp:postmeta>
|
||||
<wp:meta_key><![CDATA[_wp_attachment_metadata]]></wp:meta_key>
|
||||
<wp:meta_value><![CDATA[a:5:{s:5:"width";i:600;s:6:"height";i:500;s:4:"file";s:16:"2016/08/01-5.jpg";s:5:"sizes";a:4:{s:9:"thumbnail";a:4:{s:4:"file";s:16:"01-5-150x150.jpg";s:5:"width";i:150;s:6:"height";i:150;s:9:"mime-type";s:10:"image/jpeg";}s:6:"medium";a:4:{s:4:"file";s:16:"01-5-300x250.jpg";s:5:"width";i:300;s:6:"height";i:250;s:9:"mime-type";s:10:"image/jpeg";}s:17:"dazzling-featured";a:4:{s:4:"file";s:16:"01-5-600x410.jpg";s:5:"width";i:600;s:6:"height";i:410;s:9:"mime-type";s:10:"image/jpeg";}s:9:"tab-small";a:4:{s:4:"file";s:14:"01-5-60x60.jpg";s:5:"width";i:60;s:6:"height";i:60;s:9:"mime-type";s:10:"image/jpeg";}}s:10:"image_meta";a:12:{s:8:"aperture";s:1:"0";s:6:"credit";s:0:"";s:6:"camera";s:0:"";s:7:"caption";s:0:"";s:17:"created_timestamp";s:1:"0";s:9:"copyright";s:0:"";s:12:"focal_length";s:1:"0";s:3:"iso";s:1:"0";s:13:"shutter_speed";s:1:"0";s:5:"title";s:0:"";s:11:"orientation";s:1:"0";s:8:"keywords";a:0:{}}}]]></wp:meta_value>
|
||||
</wp:postmeta>
|
||||
</item>
|
||||
<item>
|
||||
<title>02</title>
|
||||
<link></link>
|
||||
<pubDate></pubDate>
|
||||
<dc:creator><![CDATA[RaitisSevelis]]></dc:creator>
|
||||
<guid isPermaLink="false"></guid>
|
||||
<description></description>
|
||||
<content:encoded><![CDATA[]]></content:encoded>
|
||||
<excerpt:encoded><![CDATA[]]></excerpt:encoded>
|
||||
<wp:post_id>3370</wp:post_id>
|
||||
<wp:post_date><![CDATA[2016-11-01 13:03:21]]></wp:post_date>
|
||||
<wp:post_date_gmt><![CDATA[2016-11-01 13:03:21]]></wp:post_date_gmt>
|
||||
<wp:comment_status><![CDATA[open]]></wp:comment_status>
|
||||
<wp:ping_status><![CDATA[closed]]></wp:ping_status>
|
||||
<wp:post_name><![CDATA[02-26]]></wp:post_name>
|
||||
<wp:status><![CDATA[inherit]]></wp:status>
|
||||
<wp:post_parent>3173</wp:post_parent>
|
||||
<wp:menu_order>0</wp:menu_order>
|
||||
<wp:post_type><![CDATA[attachment]]></wp:post_type>
|
||||
<wp:post_password><![CDATA[]]></wp:post_password>
|
||||
<wp:is_sticky>0</wp:is_sticky>
|
||||
<wp:attachment_url><![CDATA[https://vc-cc-static.s3-us-west-2.amazonaws.com/templates/79e62280-a133-11e6-8e2d-717fdfb33540/assets/features-on-images-3370.jpg]]></wp:attachment_url>
|
||||
<wp:attachment_real_url><![CDATA[http://localhost/wp-content/uploads/2016/08/02-3.jpg]]></wp:attachment_real_url>
|
||||
<wp:postmeta>
|
||||
<wp:meta_key><![CDATA[_wp_attached_file]]></wp:meta_key>
|
||||
<wp:meta_value><![CDATA[2016/08/02-3.jpg]]></wp:meta_value>
|
||||
</wp:postmeta>
|
||||
<wp:postmeta>
|
||||
<wp:meta_key><![CDATA[_wp_attachment_metadata]]></wp:meta_key>
|
||||
<wp:meta_value><![CDATA[a:5:{s:5:"width";i:600;s:6:"height";i:500;s:4:"file";s:16:"2016/08/02-3.jpg";s:5:"sizes";a:4:{s:9:"thumbnail";a:4:{s:4:"file";s:16:"02-3-150x150.jpg";s:5:"width";i:150;s:6:"height";i:150;s:9:"mime-type";s:10:"image/jpeg";}s:6:"medium";a:4:{s:4:"file";s:16:"02-3-300x250.jpg";s:5:"width";i:300;s:6:"height";i:250;s:9:"mime-type";s:10:"image/jpeg";}s:17:"dazzling-featured";a:4:{s:4:"file";s:16:"02-3-600x410.jpg";s:5:"width";i:600;s:6:"height";i:410;s:9:"mime-type";s:10:"image/jpeg";}s:9:"tab-small";a:4:{s:4:"file";s:14:"02-3-60x60.jpg";s:5:"width";i:60;s:6:"height";i:60;s:9:"mime-type";s:10:"image/jpeg";}}s:10:"image_meta";a:12:{s:8:"aperture";s:1:"0";s:6:"credit";s:0:"";s:6:"camera";s:0:"";s:7:"caption";s:0:"";s:17:"created_timestamp";s:1:"0";s:9:"copyright";s:0:"";s:12:"focal_length";s:1:"0";s:3:"iso";s:1:"0";s:13:"shutter_speed";s:1:"0";s:5:"title";s:0:"";s:11:"orientation";s:1:"0";s:8:"keywords";a:0:{}}}]]></wp:meta_value>
|
||||
</wp:postmeta>
|
||||
</item>
|
||||
<item>
|
||||
<title>03</title>
|
||||
<link></link>
|
||||
<pubDate></pubDate>
|
||||
<dc:creator><![CDATA[RaitisSevelis]]></dc:creator>
|
||||
<guid isPermaLink="false"></guid>
|
||||
<description></description>
|
||||
<content:encoded><![CDATA[]]></content:encoded>
|
||||
<excerpt:encoded><![CDATA[]]></excerpt:encoded>
|
||||
<wp:post_id>3371</wp:post_id>
|
||||
<wp:post_date><![CDATA[2016-11-01 13:03:22]]></wp:post_date>
|
||||
<wp:post_date_gmt><![CDATA[2016-11-01 13:03:22]]></wp:post_date_gmt>
|
||||
<wp:comment_status><![CDATA[open]]></wp:comment_status>
|
||||
<wp:ping_status><![CDATA[closed]]></wp:ping_status>
|
||||
<wp:post_name><![CDATA[03-12]]></wp:post_name>
|
||||
<wp:status><![CDATA[inherit]]></wp:status>
|
||||
<wp:post_parent>3173</wp:post_parent>
|
||||
<wp:menu_order>0</wp:menu_order>
|
||||
<wp:post_type><![CDATA[attachment]]></wp:post_type>
|
||||
<wp:post_password><![CDATA[]]></wp:post_password>
|
||||
<wp:is_sticky>0</wp:is_sticky>
|
||||
<wp:attachment_url><![CDATA[https://vc-cc-static.s3-us-west-2.amazonaws.com/templates/79e62280-a133-11e6-8e2d-717fdfb33540/assets/features-on-images-3371.jpg]]></wp:attachment_url>
|
||||
<wp:attachment_real_url><![CDATA[http://localhost/wp-content/uploads/2016/08/03-1.jpg]]></wp:attachment_real_url>
|
||||
<wp:postmeta>
|
||||
<wp:meta_key><![CDATA[_wp_attached_file]]></wp:meta_key>
|
||||
<wp:meta_value><![CDATA[2016/08/03-1.jpg]]></wp:meta_value>
|
||||
</wp:postmeta>
|
||||
<wp:postmeta>
|
||||
<wp:meta_key><![CDATA[_wp_attachment_metadata]]></wp:meta_key>
|
||||
<wp:meta_value><![CDATA[a:5:{s:5:"width";i:600;s:6:"height";i:500;s:4:"file";s:16:"2016/08/03-1.jpg";s:5:"sizes";a:4:{s:9:"thumbnail";a:4:{s:4:"file";s:16:"03-1-150x150.jpg";s:5:"width";i:150;s:6:"height";i:150;s:9:"mime-type";s:10:"image/jpeg";}s:6:"medium";a:4:{s:4:"file";s:16:"03-1-300x250.jpg";s:5:"width";i:300;s:6:"height";i:250;s:9:"mime-type";s:10:"image/jpeg";}s:17:"dazzling-featured";a:4:{s:4:"file";s:16:"03-1-600x410.jpg";s:5:"width";i:600;s:6:"height";i:410;s:9:"mime-type";s:10:"image/jpeg";}s:9:"tab-small";a:4:{s:4:"file";s:14:"03-1-60x60.jpg";s:5:"width";i:60;s:6:"height";i:60;s:9:"mime-type";s:10:"image/jpeg";}}s:10:"image_meta";a:12:{s:8:"aperture";s:1:"0";s:6:"credit";s:0:"";s:6:"camera";s:0:"";s:7:"caption";s:0:"";s:17:"created_timestamp";s:1:"0";s:9:"copyright";s:0:"";s:12:"focal_length";s:1:"0";s:3:"iso";s:1:"0";s:13:"shutter_speed";s:1:"0";s:5:"title";s:0:"";s:11:"orientation";s:1:"0";s:8:"keywords";a:0:{}}}]]></wp:meta_value>
|
||||
</wp:postmeta>
|
||||
</item>
|
||||
<item>
|
||||
<title>04</title>
|
||||
<link></link>
|
||||
<pubDate></pubDate>
|
||||
<dc:creator><![CDATA[RaitisSevelis]]></dc:creator>
|
||||
<guid isPermaLink="false"></guid>
|
||||
<description></description>
|
||||
<content:encoded><![CDATA[]]></content:encoded>
|
||||
<excerpt:encoded><![CDATA[]]></excerpt:encoded>
|
||||
<wp:post_id>3372</wp:post_id>
|
||||
<wp:post_date><![CDATA[2016-11-01 13:03:23]]></wp:post_date>
|
||||
<wp:post_date_gmt><![CDATA[2016-11-01 13:03:23]]></wp:post_date_gmt>
|
||||
<wp:comment_status><![CDATA[open]]></wp:comment_status>
|
||||
<wp:ping_status><![CDATA[closed]]></wp:ping_status>
|
||||
<wp:post_name><![CDATA[04-7]]></wp:post_name>
|
||||
<wp:status><![CDATA[inherit]]></wp:status>
|
||||
<wp:post_parent>3173</wp:post_parent>
|
||||
<wp:menu_order>0</wp:menu_order>
|
||||
<wp:post_type><![CDATA[attachment]]></wp:post_type>
|
||||
<wp:post_password><![CDATA[]]></wp:post_password>
|
||||
<wp:is_sticky>0</wp:is_sticky>
|
||||
<wp:attachment_url><![CDATA[https://vc-cc-static.s3-us-west-2.amazonaws.com/templates/79e62280-a133-11e6-8e2d-717fdfb33540/assets/features-on-images-3372.jpg]]></wp:attachment_url>
|
||||
<wp:attachment_real_url><![CDATA[http://localhost/wp-content/uploads/2016/08/04-1.jpg]]></wp:attachment_real_url>
|
||||
<wp:postmeta>
|
||||
<wp:meta_key><![CDATA[_wp_attached_file]]></wp:meta_key>
|
||||
<wp:meta_value><![CDATA[2016/08/04-1.jpg]]></wp:meta_value>
|
||||
</wp:postmeta>
|
||||
<wp:postmeta>
|
||||
<wp:meta_key><![CDATA[_wp_attachment_metadata]]></wp:meta_key>
|
||||
<wp:meta_value><![CDATA[a:5:{s:5:"width";i:600;s:6:"height";i:500;s:4:"file";s:16:"2016/08/04-1.jpg";s:5:"sizes";a:4:{s:9:"thumbnail";a:4:{s:4:"file";s:16:"04-1-150x150.jpg";s:5:"width";i:150;s:6:"height";i:150;s:9:"mime-type";s:10:"image/jpeg";}s:6:"medium";a:4:{s:4:"file";s:16:"04-1-300x250.jpg";s:5:"width";i:300;s:6:"height";i:250;s:9:"mime-type";s:10:"image/jpeg";}s:17:"dazzling-featured";a:4:{s:4:"file";s:16:"04-1-600x410.jpg";s:5:"width";i:600;s:6:"height";i:410;s:9:"mime-type";s:10:"image/jpeg";}s:9:"tab-small";a:4:{s:4:"file";s:14:"04-1-60x60.jpg";s:5:"width";i:60;s:6:"height";i:60;s:9:"mime-type";s:10:"image/jpeg";}}s:10:"image_meta";a:12:{s:8:"aperture";s:1:"0";s:6:"credit";s:0:"";s:6:"camera";s:0:"";s:7:"caption";s:0:"";s:17:"created_timestamp";s:1:"0";s:9:"copyright";s:0:"";s:12:"focal_length";s:1:"0";s:3:"iso";s:1:"0";s:13:"shutter_speed";s:1:"0";s:5:"title";s:0:"";s:11:"orientation";s:1:"0";s:8:"keywords";a:0:{}}}]]></wp:meta_value>
|
||||
</wp:postmeta>
|
||||
</item>
|
||||
</channel>
|
||||
</rss>
|
||||
+163
@@ -0,0 +1,163 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?><!-- This is a WordPress eXtended RSS file generated by WordPress as an export of your site. -->
|
||||
<!-- It contains information about your site's posts, pages, comments, categories, and other content. -->
|
||||
<!-- You may use this file to transfer that content from one site to another. -->
|
||||
<!-- This file is not intended to serve as a complete backup of your site. -->
|
||||
|
||||
<!-- To import this information into a WordPress site follow these steps: -->
|
||||
<!-- 1. Log in to that site as an administrator. -->
|
||||
<!-- 2. Go to Tools: Import in the WordPress admin panel. -->
|
||||
<!-- 3. Install the "WordPress" importer from the list. -->
|
||||
<!-- 4. Activate & Run Importer. -->
|
||||
<!-- 5. Upload this file using the form provided on that page. -->
|
||||
<!-- 6. You will first be asked to map the authors in this export file to users -->
|
||||
<!-- on the site. For each author, you may choose to map to an -->
|
||||
<!-- existing user on the site or to create a new user. -->
|
||||
<!-- 7. WordPress will then import each of the posts, pages, comments, categories, etc. -->
|
||||
<!-- contained in this file into your site. -->
|
||||
<!-- generator="WordPress/4.6.1" created="2016-11-02 15:23" -->
|
||||
<rss version="2.0"
|
||||
xmlns:excerpt="http://wordpress.org/export/1.2/excerpt/"
|
||||
xmlns:content="http://purl.org/rss/1.0/modules/content/"
|
||||
xmlns:wfw="http://wellformedweb.org/CommentAPI/"
|
||||
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
||||
xmlns:wp="http://wordpress.org/export/1.2/"
|
||||
>
|
||||
|
||||
<channel>
|
||||
<title>WPBakery</title>
|
||||
<link>http://localhost</link>
|
||||
<description>Fun and Test</description>
|
||||
<pubDate>Wed, 02 Nov 2016 15:23:17 +0000</pubDate>
|
||||
<language>en-US</language>
|
||||
<wp:wxr_version>1.2</wp:wxr_version>
|
||||
<wp:base_site_url>http://localhost</wp:base_site_url>
|
||||
<wp:base_blog_url>http://localhost</wp:base_blog_url>
|
||||
|
||||
<item>
|
||||
<title><![CDATA[About Page With Features]]></title>
|
||||
<link></link>
|
||||
<pubDate></pubDate>
|
||||
<dc:creator><![CDATA[admin]]></dc:creator>
|
||||
<guid isPermaLink="false">http://vc4.dev/?post_type=vc4_templates&p=6</guid>
|
||||
<description/>
|
||||
<content:encoded><![CDATA[[vc_row][vc_column][vc_custom_heading text="Nature of Description" font_container="tag:h1|text_align:left" use_theme_fonts="yes"][vc_column_text]Description is one of four rhetorical modes, along with exposition, argumentation, and narration. Each of the rhetorical modes is present in a variety of forms and each has its own purpose and conventions. The act of description may be related to that of definition.[/vc_column_text][/vc_column][/vc_row][vc_row][vc_column width="1/3"][vc_single_image image="3255" img_size="full" alignment="center" style="vc_box_rounded"][vc_column_text]Description is also the fiction-writing mode for transmitting a mental image of the particulars of a story.[/vc_column_text][/vc_column][vc_column width="1/3"][vc_single_image image="3256" img_size="full" alignment="center" style="vc_box_rounded"][vc_column_text]The pattern of development that presents a word picture of a thing, a person, a situation, or a series of events.[/vc_column_text][/vc_column][vc_column width="1/3"][vc_single_image image="3257" img_size="full" alignment="center" style="vc_box_rounded"][vc_column_text]The most appropriate and effective techniques for presenting description are a matter of ongoing discussion among writers and writing coaches.[/vc_column_text][/vc_column][/vc_row]]]></content:encoded>
|
||||
<excerpt:encoded><![CDATA[]]></excerpt:encoded>
|
||||
<wp:post_id>1</wp:post_id>
|
||||
<wp:post_date></wp:post_date>
|
||||
<wp:post_date_gmt></wp:post_date_gmt>
|
||||
<wp:comment_status><![CDATA[closed]]></wp:comment_status>
|
||||
<wp:ping_status><![CDATA[closed]]></wp:ping_status>
|
||||
<wp:post_name><![CDATA[About Page With Features]]></wp:post_name>
|
||||
<wp:status><![CDATA[publish]]></wp:status>
|
||||
<wp:post_parent>0</wp:post_parent>
|
||||
<wp:menu_order>0</wp:menu_order>
|
||||
<wp:post_type><![CDATA[vc4_templates]]></wp:post_type>
|
||||
<wp:post_password><![CDATA[]]></wp:post_password>
|
||||
<wp:is_sticky>0</wp:is_sticky>
|
||||
<wp:postmeta>
|
||||
<wp:meta_key><![CDATA[_vc4_templates-version]]></wp:meta_key>
|
||||
<wp:meta_value><![CDATA[1]]></wp:meta_value>
|
||||
</wp:postmeta>
|
||||
<wp:postmeta>
|
||||
<wp:meta_key><![CDATA[_vc4_templates-id]]></wp:meta_key>
|
||||
<wp:meta_value><![CDATA[7a4d40d0-a131-11e6-b219-2fac77aae95d]]></wp:meta_value>
|
||||
</wp:postmeta>
|
||||
</item>
|
||||
<item>
|
||||
<title>01</title>
|
||||
<link></link>
|
||||
<pubDate></pubDate>
|
||||
<dc:creator><![CDATA[RaitisSevelis]]></dc:creator>
|
||||
<guid isPermaLink="false"></guid>
|
||||
<description></description>
|
||||
<content:encoded><![CDATA[]]></content:encoded>
|
||||
<excerpt:encoded><![CDATA[]]></excerpt:encoded>
|
||||
<wp:post_id>3255</wp:post_id>
|
||||
<wp:post_date><![CDATA[2016-10-03 15:13:11]]></wp:post_date>
|
||||
<wp:post_date_gmt><![CDATA[2016-10-03 15:13:11]]></wp:post_date_gmt>
|
||||
<wp:comment_status><![CDATA[open]]></wp:comment_status>
|
||||
<wp:ping_status><![CDATA[closed]]></wp:ping_status>
|
||||
<wp:post_name><![CDATA[01-2]]></wp:post_name>
|
||||
<wp:status><![CDATA[inherit]]></wp:status>
|
||||
<wp:post_parent>2602</wp:post_parent>
|
||||
<wp:menu_order>0</wp:menu_order>
|
||||
<wp:post_type><![CDATA[attachment]]></wp:post_type>
|
||||
<wp:post_password><![CDATA[]]></wp:post_password>
|
||||
<wp:is_sticky>0</wp:is_sticky>
|
||||
<wp:attachment_url><![CDATA[https://vc-cc-static.s3-us-west-2.amazonaws.com/templates/7a4d40d0-a131-11e6-b219-2fac77aae95d/assets/about-page-with-features-3255.jpg]]></wp:attachment_url>
|
||||
<wp:attachment_real_url><![CDATA[http://localhost/wp-content/uploads/2015/09/01-1.jpg]]></wp:attachment_real_url>
|
||||
<wp:postmeta>
|
||||
<wp:meta_key><![CDATA[_wp_attached_file]]></wp:meta_key>
|
||||
<wp:meta_value><![CDATA[2015/09/01-1.jpg]]></wp:meta_value>
|
||||
</wp:postmeta>
|
||||
<wp:postmeta>
|
||||
<wp:meta_key><![CDATA[_wp_attachment_metadata]]></wp:meta_key>
|
||||
<wp:meta_value><![CDATA[a:5:{s:5:"width";i:800;s:6:"height";i:600;s:4:"file";s:16:"2015/09/01-1.jpg";s:5:"sizes";a:5:{s:9:"thumbnail";a:4:{s:4:"file";s:16:"01-1-150x150.jpg";s:5:"width";i:150;s:6:"height";i:150;s:9:"mime-type";s:10:"image/jpeg";}s:6:"medium";a:4:{s:4:"file";s:16:"01-1-300x225.jpg";s:5:"width";i:300;s:6:"height";i:225;s:9:"mime-type";s:10:"image/jpeg";}s:12:"medium_large";a:4:{s:4:"file";s:16:"01-1-768x576.jpg";s:5:"width";i:768;s:6:"height";i:576;s:9:"mime-type";s:10:"image/jpeg";}s:17:"dazzling-featured";a:4:{s:4:"file";s:16:"01-1-730x410.jpg";s:5:"width";i:730;s:6:"height";i:410;s:9:"mime-type";s:10:"image/jpeg";}s:9:"tab-small";a:4:{s:4:"file";s:14:"01-1-60x60.jpg";s:5:"width";i:60;s:6:"height";i:60;s:9:"mime-type";s:10:"image/jpeg";}}s:10:"image_meta";a:12:{s:8:"aperture";s:1:"0";s:6:"credit";s:0:"";s:6:"camera";s:0:"";s:7:"caption";s:0:"";s:17:"created_timestamp";s:1:"0";s:9:"copyright";s:0:"";s:12:"focal_length";s:1:"0";s:3:"iso";s:1:"0";s:13:"shutter_speed";s:1:"0";s:5:"title";s:0:"";s:11:"orientation";s:1:"0";s:8:"keywords";a:0:{}}}]]></wp:meta_value>
|
||||
</wp:postmeta>
|
||||
</item>
|
||||
<item>
|
||||
<title>02</title>
|
||||
<link></link>
|
||||
<pubDate></pubDate>
|
||||
<dc:creator><![CDATA[RaitisSevelis]]></dc:creator>
|
||||
<guid isPermaLink="false"></guid>
|
||||
<description></description>
|
||||
<content:encoded><![CDATA[]]></content:encoded>
|
||||
<excerpt:encoded><![CDATA[]]></excerpt:encoded>
|
||||
<wp:post_id>3256</wp:post_id>
|
||||
<wp:post_date><![CDATA[2016-10-03 15:13:11]]></wp:post_date>
|
||||
<wp:post_date_gmt><![CDATA[2016-10-03 15:13:11]]></wp:post_date_gmt>
|
||||
<wp:comment_status><![CDATA[open]]></wp:comment_status>
|
||||
<wp:ping_status><![CDATA[closed]]></wp:ping_status>
|
||||
<wp:post_name><![CDATA[02-2]]></wp:post_name>
|
||||
<wp:status><![CDATA[inherit]]></wp:status>
|
||||
<wp:post_parent>2602</wp:post_parent>
|
||||
<wp:menu_order>0</wp:menu_order>
|
||||
<wp:post_type><![CDATA[attachment]]></wp:post_type>
|
||||
<wp:post_password><![CDATA[]]></wp:post_password>
|
||||
<wp:is_sticky>0</wp:is_sticky>
|
||||
<wp:attachment_url><![CDATA[https://vc-cc-static.s3-us-west-2.amazonaws.com/templates/7a4d40d0-a131-11e6-b219-2fac77aae95d/assets/about-page-with-features-3256.jpg]]></wp:attachment_url>
|
||||
<wp:attachment_real_url><![CDATA[http://localhost/wp-content/uploads/2015/09/02-1.jpg]]></wp:attachment_real_url>
|
||||
<wp:postmeta>
|
||||
<wp:meta_key><![CDATA[_wp_attached_file]]></wp:meta_key>
|
||||
<wp:meta_value><![CDATA[2015/09/02-1.jpg]]></wp:meta_value>
|
||||
</wp:postmeta>
|
||||
<wp:postmeta>
|
||||
<wp:meta_key><![CDATA[_wp_attachment_metadata]]></wp:meta_key>
|
||||
<wp:meta_value><![CDATA[a:5:{s:5:"width";i:800;s:6:"height";i:600;s:4:"file";s:16:"2015/09/02-1.jpg";s:5:"sizes";a:5:{s:9:"thumbnail";a:4:{s:4:"file";s:16:"02-1-150x150.jpg";s:5:"width";i:150;s:6:"height";i:150;s:9:"mime-type";s:10:"image/jpeg";}s:6:"medium";a:4:{s:4:"file";s:16:"02-1-300x225.jpg";s:5:"width";i:300;s:6:"height";i:225;s:9:"mime-type";s:10:"image/jpeg";}s:12:"medium_large";a:4:{s:4:"file";s:16:"02-1-768x576.jpg";s:5:"width";i:768;s:6:"height";i:576;s:9:"mime-type";s:10:"image/jpeg";}s:17:"dazzling-featured";a:4:{s:4:"file";s:16:"02-1-730x410.jpg";s:5:"width";i:730;s:6:"height";i:410;s:9:"mime-type";s:10:"image/jpeg";}s:9:"tab-small";a:4:{s:4:"file";s:14:"02-1-60x60.jpg";s:5:"width";i:60;s:6:"height";i:60;s:9:"mime-type";s:10:"image/jpeg";}}s:10:"image_meta";a:12:{s:8:"aperture";s:1:"0";s:6:"credit";s:0:"";s:6:"camera";s:0:"";s:7:"caption";s:0:"";s:17:"created_timestamp";s:1:"0";s:9:"copyright";s:0:"";s:12:"focal_length";s:1:"0";s:3:"iso";s:1:"0";s:13:"shutter_speed";s:1:"0";s:5:"title";s:0:"";s:11:"orientation";s:1:"0";s:8:"keywords";a:0:{}}}]]></wp:meta_value>
|
||||
</wp:postmeta>
|
||||
</item>
|
||||
<item>
|
||||
<title>03</title>
|
||||
<link></link>
|
||||
<pubDate></pubDate>
|
||||
<dc:creator><![CDATA[RaitisSevelis]]></dc:creator>
|
||||
<guid isPermaLink="false"></guid>
|
||||
<description></description>
|
||||
<content:encoded><![CDATA[]]></content:encoded>
|
||||
<excerpt:encoded><![CDATA[]]></excerpt:encoded>
|
||||
<wp:post_id>3257</wp:post_id>
|
||||
<wp:post_date><![CDATA[2016-10-03 15:13:12]]></wp:post_date>
|
||||
<wp:post_date_gmt><![CDATA[2016-10-03 15:13:12]]></wp:post_date_gmt>
|
||||
<wp:comment_status><![CDATA[open]]></wp:comment_status>
|
||||
<wp:ping_status><![CDATA[closed]]></wp:ping_status>
|
||||
<wp:post_name><![CDATA[03]]></wp:post_name>
|
||||
<wp:status><![CDATA[inherit]]></wp:status>
|
||||
<wp:post_parent>2602</wp:post_parent>
|
||||
<wp:menu_order>0</wp:menu_order>
|
||||
<wp:post_type><![CDATA[attachment]]></wp:post_type>
|
||||
<wp:post_password><![CDATA[]]></wp:post_password>
|
||||
<wp:is_sticky>0</wp:is_sticky>
|
||||
<wp:attachment_url><![CDATA[https://vc-cc-static.s3-us-west-2.amazonaws.com/templates/7a4d40d0-a131-11e6-b219-2fac77aae95d/assets/about-page-with-features-3257.jpg]]></wp:attachment_url>
|
||||
<wp:attachment_real_url><![CDATA[http://localhost/wp-content/uploads/2015/09/03.jpg]]></wp:attachment_real_url>
|
||||
<wp:postmeta>
|
||||
<wp:meta_key><![CDATA[_wp_attached_file]]></wp:meta_key>
|
||||
<wp:meta_value><![CDATA[2015/09/03.jpg]]></wp:meta_value>
|
||||
</wp:postmeta>
|
||||
<wp:postmeta>
|
||||
<wp:meta_key><![CDATA[_wp_attachment_metadata]]></wp:meta_key>
|
||||
<wp:meta_value><![CDATA[a:5:{s:5:"width";i:800;s:6:"height";i:600;s:4:"file";s:14:"2015/09/03.jpg";s:5:"sizes";a:5:{s:9:"thumbnail";a:4:{s:4:"file";s:14:"03-150x150.jpg";s:5:"width";i:150;s:6:"height";i:150;s:9:"mime-type";s:10:"image/jpeg";}s:6:"medium";a:4:{s:4:"file";s:14:"03-300x225.jpg";s:5:"width";i:300;s:6:"height";i:225;s:9:"mime-type";s:10:"image/jpeg";}s:12:"medium_large";a:4:{s:4:"file";s:14:"03-768x576.jpg";s:5:"width";i:768;s:6:"height";i:576;s:9:"mime-type";s:10:"image/jpeg";}s:17:"dazzling-featured";a:4:{s:4:"file";s:14:"03-730x410.jpg";s:5:"width";i:730;s:6:"height";i:410;s:9:"mime-type";s:10:"image/jpeg";}s:9:"tab-small";a:4:{s:4:"file";s:12:"03-60x60.jpg";s:5:"width";i:60;s:6:"height";i:60;s:9:"mime-type";s:10:"image/jpeg";}}s:10:"image_meta";a:12:{s:8:"aperture";s:1:"0";s:6:"credit";s:0:"";s:6:"camera";s:0:"";s:7:"caption";s:0:"";s:17:"created_timestamp";s:1:"0";s:9:"copyright";s:0:"";s:12:"focal_length";s:1:"0";s:3:"iso";s:1:"0";s:13:"shutter_speed";s:1:"0";s:5:"title";s:0:"";s:11:"orientation";s:1:"0";s:8:"keywords";a:0:{}}}]]></wp:meta_value>
|
||||
</wp:postmeta>
|
||||
</item>
|
||||
</channel>
|
||||
</rss>
|
||||
Loaded 100 of 13389 files, more files were not shown because too many files have changed in this diff.
Show more
Reference in new issue
Block a user