/*-----------------------------------------------------------------------------------*/
/* 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' );
}
Fast Payday Loans Online Archives - VAVARUNWAY
You are browse: Fast Payday Loans Online
01/28/2021 Fast Payday Loans Online
Pay Day Loans Dallas TX Online Pay Day Loans Texas “Dallas that is the biggest town of Texas in the usa features a populace in excess of 62 lakhs. This spot is popular for recreations like soccer. Not just recreations,.
Continue reading
01/24/2021 Fast Payday Loans Online
Walmart Among Others Provide Workers Cash Advance Alternative Even yet in a very good economy, numerous Us citizens reside paycheck to paycheck. Forty % don’t possess $400 to pay for a crisis cost, such as for example https://autotitleloansplus.com/payday-loans-va/ vehicle fix..
Continue reading
01/22/2021 Fast Payday Loans Online
Sonic Cash Loan Fast Advance Loan. $$ Sonic Cash Advance Fast Cash Loan Get Quick Pay loan On Line day. Sonic Advance Loan Fast Advance Loan. $$ Sonic Cash Advance Cash Loan Fast – Get Quick Pay loan On Line.
Continue reading
01/22/2021 Fast Payday Loans Online
payday advances in ohio on the web Ohio is actually a condition which is committed many reaso payday advances in ohio on line Ohio is actually a condition that is committed numerous reaso Apply Now For An Advance Loan Pay.
Continue reading
01/22/2021 Fast Payday Loans Online
Christmas Loans.How much do you want to borrow? In most the conditions that are above we just seek out the payment ability of this applicant. For example – an unemployed applicant requirements to demonstrate the wage slips from last manager,.
Continue reading