HTML5 .js google hosted
html5shiv.googlecode.com/svn/trunk/html5.js
or simply copy the code below and paste it into your header.php
<!--[if lt IE 9]><script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script><![endif]-->
var keys = [37, 38, 39, 40]; function preventDefault(e) { e = e || window.event; if (e.preventDefault) e.preventDefault(); e.returnValue = false; } function keydown(e) { for (var i = keys.length; i–;) { if (e.keyCode === keys[i]) { preventDefault(e); return; } } } function wheel(e) { preventDefault(e); } function disable_scroll() { if (window.addEventListener) { window.addEventListener('DOMMouseScroll', wheel,…
Copy the codes below to your functions.php add_filter('rtmedia_plupload_files_filter', 'rt_custom_allowed_types', 10, 1); function rt_custom_allowed_types( $types ){ global $bp; if ( $bp->current_component == 'activity' && isset( $types[0] ) && isset( $types[0]['extensions'] ) ) { $types[0]['extensions'] = 'jpg,jpeg,png,gif'; } return $types; } For more information please read this article https://rtmedia.io/docs/developers/allow-custom-media-types/
Using your Add to Wishlist button with the specific product, after clicking this will automatically add to your wishlist page. See the button mark up below. <header> <a href="#>WISH LIST COUNT : <span>0</span></a> </header> // Button only without ajax loading GIF <a href="http://yoursite.com/product/product-2/?add_to_wishlist=218" rel="nofollow" data-product-id="218" data-product-type="simple" class="add_to_wishlist">Add to Wishlist</a> // Default wishlist button mark up…
Lorem ipsum dolor sit amet, ferri oratio definitiones ei vim. Mea ei nulla noluisse dissentiunt, id dicat nominati repudiare usu. Nam maluisset consulatu gubergren cu, falli praesent vis ea. Indoctum deseruisse quo ne, pro ex lorem ancillae accusamus. Usu conceptam maiestatis at. Mei semper docendi concludaturque id. An vix paulo urbanitas consetetur. Rebum impedit an…
jQuery('.wdes-popup-title').click(function(){ jQuery(jQuery(this).attr('content-id') + ' iframe' ).attr('src', id[jQuery(this).attr('content-id').replace('#','')] ); }); var id = {}; jQuery('.wdes-popup-close').click(function(){ console.log(jQuery(this).closest('.wdes-popup-main').attr('id')); if( ! id[jQuery(this).closest('.wdes-popup-main').attr('id')] ){ id[jQuery(this).closest('.wdes-popup-main').attr('id')] = jQuery('#' + jQuery(this).closest('.wdes-popup-main').attr('id') + ' iframe' ).attr('src'); } jQuery('#' + jQuery(this).closest('.wdes-popup-main').attr('id') + ' iframe' ).attr('src', ''); });
Theme my login (TML) or WordPress login form does not show the login error. This error display after you have login the wrong username or password. The reason why it is not showing is the current login form action URL and your current page has different URL. Theme my login (TML) is using /login/ page…