Modal Popup
Javascript modal popup on page load, and exit, etc., with Jquery and Bootstrap.
Sources:
JS Onload:
JS Mouseleave:
HTML:
Backdrop Opacity
.modal-backdrop { opacity:0.7 !important; }
.modal-backdrop { opacity:0.7 !important; }
http://unminify.com/
There are a few older functions that you would implement via your own custom plugin, but I found that none of them work. This one didn’t work: if ( !function_exists( ‘wp_password_change_notification’ ) ) { function wp_password_change_notification() {} } This one didn’t work: if ( !function_exists(‘wp_new_user_notification’) ) { function wp_new_user_notification( ) {} } This one didn’t…
Restrict Woocommerce pages to logged in usesrs only: /****************** Logged in Only *************************/ function woo_loggedin_redirect() { if ( ! is_user_logged_in() && (is_woocommerce() || is_cart() || is_checkout()) ) { // feel free to customize the following line to suit your needs wp_redirect(home_url()); exit; } } add_action(‘woo-loggedin_redirect’, ‘woo_loggedin_redirect’);
Embed Youtube without an Iframe. It loads the thumbnail only, until a user clicks it, then it loads the Youtube player. Faster initial page load. Responsive. The JS: /* Responsive YouTube Embed */ /* Web: http://rooksadvertising.com */ document.addEventListener(“DOMContentLoaded”, function() { var div, n, v = document.getElementsByClassName(“youtube-player”); for (n = 0; n < v.length; n++) {…
Opposed to adding an “Empty Div” or “Overflow” to clear floats, you can use the CSS pseudo selector (:after) to clear floats. .clearfix:after { content: “.”; visibility: hidden; display: block; height: 0; clear: both; }
Internet Terms and Conditions Meetings For clients located in the Sarasota, FL, an initial physical meeting may be included in the quoted price. Any physical meetings note specified in the contract may incur fees billed at the standard hourly rate. Training Training provided to the client must be specified in the contract, which includes but…