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
'empty_name' => __( 'Please enter your name.', 'bb-powerpack' ), | |
'empty_email' => __( 'Please enter a valid email address.', 'bb-powerpack' ), | |
'empty_phone' => __( 'Please enter a valid phone number.', 'bb-powerpack' ), | |
'empty_subject' => __( 'Please enter a subject.', 'bb-powerpack' ), | |
'empty_message' => __( 'Please type your message.', 'bb-powerpack' ), | |
'captcha_error' => __( 'Please check the captcha to verify you are not a robot.', 'bb-powerpack' ), | |
'checkbox_error' => __( 'Please check this field.', 'bb-powerpack' ), | |
'failed_message' => __( 'Message failed. Please try again.', 'bb-powerpack' ), | |
'sent_message' => __( 'Message Sent!', 'bb-powerpack' ), |
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
add_filter( 'pp_contact_form_strings_i18n', function( $msgs ) { | |
// Previous msg - Please enter your name. | |
// New msg | |
$msgs['empty_name'] = 'Your custom validation message.'; | |
return $msgs; | |
} ); |
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
add_filter( 'pp_login_form_js_messages_i18n', function ( $msgs ) { | |
// Add the message that you want to be displayed when a password reset email has been sent. | |
$msgs['email_sent'] = 'A password reset email has been sent to the email address for your account, but may take several minutes to show up in your inbox. Please wait at least 10 minutes before attempting another reset.'; | |
// Add the message that you want to be displayed when password has been reset successfully. | |
$msgs['reset_success'] = 'Your password has been reset successfully.'; | |
return $msgs; | |
}, 10 ); |
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
@media only screen and ( min-width: 1024px ){ | |
.swiper-pagination { | |
text-align: right; | |
} | |
.pp-slider-arrow { | |
position: absolute; | |
top: 96.4%; | |
} | |
.pp-slider-arrow.pp-arrow-next { | |
right: -5% !important; |
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
;(function($) { | |
$(document).on('pp_expandable_row_toggle', function(e, selector) { | |
if ( selector.is('.pp-er-open') && selector.parent().find( '.fl-node-5f17183d368c0' ).length > 0 ) { | |
carousel_5f17183d368c0.swipers.main.update(); | |
} | |
}); | |
})(jQuery); |
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
(function($) { | |
$(document).ready(function() { | |
$('.pp-tabs-labels .pp-tabs-label').on('mouseover', function() { | |
if ( $(this).hasClass('pp-tab-active') ) { | |
return; | |
} | |
$(this).trigger('click'); | |
}); | |
}); | |
})(jQuery); |
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
(function($) { | |
$(window).on('load hashchange', function() { | |
if ( 'astrazeneca' === location.hash.replace('#', '') ) { | |
$('.fl-node-5eff90a74db9e .pp-er-wrap').trigger('click'); | |
} | |
}); | |
})(jQuery); |
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
form.woocommerce-cart-form { | |
max-width: 60%; | |
float: left; | |
} | |
.woocommerce .cart-collaterals, .woocommerce-page .cart-collaterals { | |
width: 35%; | |
float: right; | |
} |
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
;(function($) { | |
$('.pp-table-wrap .tablesaw-sortable-switch select').trigger('change'); | |
})(jQuery); |
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
function fl_builder_loop_query_args_filter( $query_args ) { | |
if ( 'test-grid' == $query_args['settings']->id ) { | |
$query_args['post_parent'] = 0; | |
} | |
return $query_args; | |
} | |
add_filter( 'fl_builder_loop_query_args', 'fl_builder_loop_query_args_filter' ); |
NewerOlder