This file contains hidden or 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
/* Prevent text scaling on rotate for iPad/iPhone */ | |
html { -webkit-text-size-adjust: none; } |
This file contains hidden or 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
/** | |
* Fix scale on rotate issue | |
*/ | |
if (navigator.userAgent.match(/iPhone/i) || navigator.userAgent.match(/iPad/i)) { | |
var viewportmeta = document.querySelector('meta[name="viewport"]'); | |
if (viewportmeta) { | |
viewportmeta.content = 'width=device-width, minimum-scale=1.0, maximum-scale=1.0, initial-scale=1.0'; | |
document.body.addEventListener('gesturestart', function () { | |
viewportmeta.content = 'width=device-width, minimum-scale=0.25, maximum-scale=1.6'; | |
}, false); |
This file contains hidden or 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
/* Detach carousel - same as destroy but content is not removed */ | |
detach: function() { | |
this.stopAutoplay(); | |
this._itemsWrapper.unbind(this._downEvent); | |
$(document).unbind(this._moveEvent).unbind(this._upEvent); | |
$(window).unbind(this._resizeEvent); | |
if(this.settings.keyboardNav) { | |
$(document).unbind("keydown.touchcarousel"); | |
} | |
if (this._dragContainer.parent().hasClass('touchcarousel-wrapper')) { |
This file contains hidden or 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
If you remove the following code from the wpsc-shopping_cart_page.php template, I think it works normally: | |
Around line 358: | |
<?php | |
}elseif( $wpsc_checkout->checkout_item->unique_name == 'billingemail'){ ?> | |
<?php $email_markup = | |
"<div class='wpsc_email_address'> | |
<p class='" . wpsc_checkout_form_element_id() . "'> | |
<label class='wpsc_email_address' for='" . wpsc_checkout_form_element_id() . "'> |
This file contains hidden or 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 | |
class Post_Taxonomy_Columns_And_Filter { | |
/** | |
* Constructor | |
*/ | |
function Post_Taxonomy_Columns_And_Filter() { | |
add_filter( 'manage_edit-mycustomposttype_columns', array( $this, 'manage_mycustomposttype_columns' ) ); | |
add_action( 'manage_mycustomposttype_posts_custom_column', array( $this, 'show_mycustomposttype_columns' ) ); |
This file contains hidden or 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 | |
class WPSEO_Frontend { | |
function __construct() { | |
$options = get_wpseo_options(); | |
add_action( 'wp_head', array(&$this, 'head'), 1, 1 ); | |
remove_action( 'wp_head', 'rel_canonical' ); |
NewerOlder