This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
function wpb_lu_admin_scripts() { | |
/* Admin styles */ | |
//wp_enqueue_style( 'jquery-ui-datepicker-style' , '//code.jquery.com/ui/1.11.4/themes/smoothness/jquery-ui.css'); | |
wp_enqueue_style( 'lavel-up-admin-style', get_template_directory_uri() . '/includes/css/lavel-up-admin.css', array(), '1.0' ); | |
wp_enqueue_style( 'lavel-up-time-picker', get_template_directory_uri() . '/includes/css/jquery-ui-timepicker-addon.css', array(), '1.0' ); | |
/* Admin scripts */ | |
wp_enqueue_script( 'jquery-ui-datepicker' ); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
function wpb_lu_admin_scripts() { | |
/* Admin styles */ | |
wp_enqueue_style( 'lavel-up-admin-style', get_template_directory_uri() . '/includes/css/lavel-up-admin.css', array(), '1.0' ); | |
wp_enqueue_style( 'lavel-up-time-picker', get_template_directory_uri() . '/includes/css/jquery-ui-timepicker-addon.css', array(), '1.0' ); | |
/* Admin scripts */ | |
wp_enqueue_script( 'jquery-ui-datepicker' ); | |
wp_enqueue_script( 'wpb-lavel-up-timepicker', get_template_directory_uri() . '/includes/js/jquery-ui-timepicker-addon.js', array('jquery','jquery-ui-datepicker','jquery-ui-slider'), '1.0', true ); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="form-group">[text* your-name placeholder "Name"]</div> | |
<div class="form-group">[email* your-email placeholder "Email"]</div> | |
<div class="form-group">[text your-subject placeholder "Subject"]</div> | |
<div class="form-group">[textarea your-message placeholder "Message"]</div> | |
<div class="form-group">[submit "Send"]</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="row"> | |
<div class="col-md-6 form-group">[text* your-name class:form-control placeholder "Full Name"]</div> | |
<div class="col-md-6 form-group">[email* your-email class:form-control placeholder "Email Address"]</div> | |
<div class="col-md-6 form-group">[text your-subject class:form-control placeholder "Subject"]</div> | |
<div class="col-md-6 form-group">[text text-910 class:form-control placeholder "Company"]</div> | |
</div> | |
<div class="form-group">[textarea your-message x5 class:form-control ]</div> | |
<div class="form-group">[submit class:btn class:btn-primary "Send Message"]</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="form-group">[text* your-name class:form-control placeholder "Full Name"]</div> | |
<div class="form-group">[email* your-email class:form-control placeholder "Email Address"]</div> | |
<div class="form-group">[textarea your-message x5 class:form-control ]</div> | |
<div class="form-group">[submit class:btn class:btn-primary "Send Message"]</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="row"> | |
<div class="col-md-4 form-group">[text* your-name class:form-control placeholder "Full Name"]</div> | |
<div class="col-md-4 form-group">[email* your-email class:form-control placeholder "Email Address"]</div> | |
<div class="col-md-4 form-group">[text text-910 class:form-control placeholder "Company"]</div> | |
</div> | |
<div class="form-group">[text your-subject class:form-control placeholder "Subject"]</div> | |
<div class="form-group">[textarea your-message x5 class:form-control ]</div> | |
<div class="form-group">[submit class:btn class:btn-effect "Send Message"]</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
jQuery(function($){ | |
/* ========================================================================== | |
Same height function | |
========================================================================== */ | |
WpbEqualHeight = function(container){ | |
var currentTallest = 0, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* Add the following code to your theme functions.php file */ | |
add_action( 'init', 'remove_wpb_wl_excerpt' ); | |
function remove_wpb_wl_excerpt(){ | |
remove_action( 'wpb_wl_woocommerce_product_summary', 'woocommerce_template_single_excerpt', 20 ); | |
add_action( 'wpb_wl_woocommerce_product_summary', 'wpb_wl_get_the_content', 20 ); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="row"> | |
<div class="col-md-4 form-group">[text* your-name class:form-control placeholder "Full Name"]</div> | |
<div class="col-md-4 form-group">[email* your-email class:form-control placeholder "Email Address"]</div> | |
<div class="col-md-4 form-group">[text text-910 class:form-control placeholder "Company"]</div> | |
</div> | |
<div class="form-group">[text your-subject class:form-control placeholder "Subject"]</div> | |
<div class="form-group">[textarea your-message x5 class:form-control ]</div> | |
<div class="form-group">[submit class:btn class:btn-effect "Send Message"]</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
global $post; | |
$id = $post->ID; | |
$external_url_btn_text = wpb_fp_get_option( 'wpb_fp_view_portfolio_btn_text_', 'wpb_fp_advanced', 'View Portfolio' ); | |
$view_portfolio_btn_target = wpb_fp_get_option( 'wpb_fp_view_portfolio_btn_target', 'wpb_fp_advanced', 'new' ); | |
$btn_target = ''; | |
if( $view_portfolio_btn_target && $view_portfolio_btn_target == 'new' ){ | |
$btn_target = 'target="_blank"'; | |
} |
OlderNewer