/*-----------------------------------------------------------------------------------*/ /* 1. RFBWP Columns * @deprecated since 2.0 /*-----------------------------------------------------------------------------------*/ function rfbwp_column_shortcode($atts, $content) { extract(shortcode_atts(array ( 'class' => '' ), $atts)); $i = $GLOBALS['rfbwp_column_count']; $GLOBALS['rfbwp_column'][$i] = do_shortcode ($content); $GLOBALS['rfbwp_column_class'][$i] = $class; $GLOBALS['rfbwp_column_count']++; } add_shortcode('rfbwp_column', 'rfbwp_column_shortcode'); function rfbwp_columns_shortcode($atts, $content = null ) { $GLOBALS['rfbwp_column_count'] = 0; do_shortcode ($content); extract(shortcode_atts(array( 'type' => '' ), $atts, $content)); $output = '
'; $output .= $GLOBALS['rfbwp_column'][0]; $output .= '
'; $output .= '
'; $output .= $GLOBALS['rfbwp_column'][1]; $output .= '
'; return $output; } add_shortcode('rfbwp_columns', 'rfbwp_columns_shortcode'); /*--------------------------- END Columns -------------------------------- */ /*-----------------------------------------------------------------------------------*/ /* 1. ToC Generator /*-----------------------------------------------------------------------------------*/ function rfbwp_toc_shortcode( $atts, $content = null ) { try { $items = json_decode( $content ); } catch (Exception $e) { $items = array(); } if( empty( $items ) ) return; $return = ''; return $return; } add_shortcode('rfbwp_toc', 'rfbwp_toc_shortcode'); add_filter( 'no_texturize_shortcodes', 'rfbwp_prevent_wptexturize' ); function rfbwp_prevent_wptexturize( $shortcodes ) { $shortcodes[] = 'rfbwp_toc'; return $shortcodes; } /*--------------------------- END ToC -------------------------------- */ ?>/* ---------------------------------------------------------------- */ /* Add Flipbook to Visual Composer /* ---------------------------------------------------------------- */ global $mpcrf_options; $books = array(); $books_shelf = array(); if( isset( $mpcrf_options[ 'books' ] ) ) foreach( $mpcrf_options[ 'books' ] as $book ) { if( $book['rfbwp_fb_name'] != '' ) $books[ $book[ 'rfbwp_fb_name' ] ] = strtolower( str_replace( " ", "_", $book[ 'rfbwp_fb_name' ] ) ); } foreach( $books as $key => $value ) { $books_shelf[] = array( 'value' => $value, 'label' => $key ); } if( function_exists( 'vc_map' ) ) { vc_map( array( 'name' => __('Flipbook', 'rfbwp'), 'base' => 'responsive-flipbook', 'class' => '', 'icon' => 'icon-rfbwp-flipbook', 'category' => __('MPC', 'rfbwp'), 'params' => array( array( 'type' => 'dropdown', 'heading' => __('Select Flip Book', 'rfbwp'), 'param_name' => 'id', 'value' => $books, 'admin_label' => true, 'description' => __('Select which FlipBook you would like to display.', 'rfbwp') ), ) ) ); vc_map( array( 'name' => __('Flipbook Popup', 'rfbwp'), 'base' => 'flipbook-popup', 'class' => '', 'icon' => 'icon-rfbwp-flipbook-popup', 'category' => __('MPC', 'rfbwp'), 'params' => array( array( 'type' => 'dropdown', 'heading' => __('Select Flip Book', 'rfbwp'), 'param_name' => 'id', 'value' => $books, 'admin_label' => true, 'description' => __('Select which FlipBook you would like to display.', 'rfbwp') ), array( 'type' => 'textarea', 'heading' => __('Popup content', 'rfbwp'), 'param_name' => 'content', 'value' => 'Click me!', 'admin_label' => true, 'description' => __('Specify text to trigger popup Flipbook.', 'rfbwp') ), ) ) ); vc_map( array( 'name' => __('Flipbook Shelf', 'rfbwp'), 'base' => 'flipbook-shelf', 'class' => '', 'icon' => 'icon-rfbwp-flipbook-shelf', 'category' => __('MPC', 'rfbwp'), 'params' => array( array( 'type' => 'autocomplete', 'heading' => __( 'Select flip books', 'rfbwp' ), 'param_name' => 'ids', 'description' => __( 'Select which FlipBooks you would like to display.', 'rfbwp' ), 'settings' => array( 'multiple' => true, 'values' => $books_shelf, ), 'admin_label' => true, ), array( 'type' => 'dropdown', 'heading' => __('Select style', 'rfbwp'), 'param_name' => 'style', 'value' => array( __( 'Classic', 'rfbwp' ) => 'classic', __( 'Light Wood', 'rfbwp' ) => 'wood-light' , __( 'Dark Wood', 'rfbwp' ) => 'wood-dark', __( 'Custom Color', 'rfbwp' ) => 'custom-color', __( 'Custom Image', 'rfbwp' ) => 'custom-image', ), 'admin_label' => true, 'description' => __('Select which shelf style you would like to display.', 'rfbwp') ), array( 'type' => 'colorpicker', 'param_name' => 'color', 'heading' => __( 'Shelf color', 'rfbwp' ), 'description' => __( 'Select shelf custom color', 'rfbwp' ), 'std' => '#e0e0e0', 'admin_label' => true, 'dependency' => array( 'element' => 'style', 'value' => array( 'custom-color' ), ), ), array( 'type' => 'attach_image', 'param_name' => 'image', 'heading' => __( 'Shelf image', 'rfbwp' ), 'description' => __( 'Select shelf custom image', 'rfbwp' ), 'std' => '', 'admin_label' => false, 'dependency' => array( 'element' => 'style', 'value' => array( 'custom-image' ), ), ), ) ) ); function rfbwp_vc_style() { wp_enqueue_style( 'rfbwp_vc_style', MPC_PLUGIN_ROOT . '/massive-panel/css/vc.css' ); } add_action( 'admin_enqueue_scripts', 'rfbwp_vc_style' ); } Disclaimer - VAVARUNWAY

Disclaimer

The information on this website is the property of Atanga Group LLC. Any Information on VAVA Runway may not be used without the express written permission of Atanga Group LLC. The information contained in VAVA Runway website is obtained from sources we believe to be reliable. However, because of the possibility of human and mechanical error as well as other factors, Atanga Group LLC., makes no representations or warranties, express or implied, as to the accuracy or timeliness of its information, and cannot be responsible or liable for any errors or omissions in its information or the results obtained from the use of such information. The ratings are statements of opinion and not statements of fact or recommendations to utilize any Salon or Spa services and do not constitute cosmetology advice. Users are solely responsible for determining whether the information provided is suitable for their purposes, and reliance on the information is at the users’ sole risk. Users should obtain any additional information necessary to make an informed decision. Atanga Group LLC, VAVA Runway and any of its affiliates assumes no responsibility or liability for any advice, treatment, or services rendered by any salon or spa featured on the www.vavarunway.com site. More information can be found in VAVA Runway’s Terms of Use.