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: 320px) { | |
/* Small screen, non-retina */ | |
} | |
@media | |
only screen and (-webkit-min-device-pixel-ratio: 2) and (min-width: 320px), | |
only screen and ( min--moz-device-pixel-ratio: 2) and (min-width: 320px), | |
only screen and ( -o-min-device-pixel-ratio: 2/1) and (min-width: 320px), |
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 | |
/** | |
* Remove unnecessary markup from WooCommerce: | |
* | |
* 1. Remove <meta name="generator" content="WooCommerce (version)" /> | |
* 2. Remove the addition of <body class="theme-themename"> | |
*/ | |
function woocommerce_head_cleanup() { | |
global $woocommerce; |
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 utm_welcome_redirect() { | |
if ( !is_user_logged_in() ) { | |
wp_redirect('http://www.universaltimemiami.com/welcome'); | |
exit(); | |
} | |
else { | |
wp_redirect('http://www.universaltimemiami.com/'); | |
exit(); | |
} |
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_filter('addthis_post_exclude', 'addthis_post_exclude'); | |
function addthis_post_exclude($display) { | |
if ( !is_singular( 'post' ) ) | |
$display = false; | |
return $display; | |
} | |
?> |
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
ul li { | |
background: url('../images/icons/bullet.png') no-repeat 0 5px; | |
padding-left: 20px; | |
} |
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
#header #nav li ul { | |
width: 200px; | |
padding: 0; | |
background: #fff; | |
margin: 0; | |
top: 32px; | |
line-height: 1.0; | |
/* border and top image */ | |
-moz-border-image:url("nav-top.png") 30 30 round; | |
-webkit-border-image:url("nav-top.png") 30 30 round; |
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="navbar"> | |
<div class="navbar-inner"> | |
<div class="container"> | |
<a class="btn btn-navbar collapsed" data-toggle="collapse" data-target=".navbar-responsive-collapse"> | |
<span class="icon-bar"></span> | |
<span class="icon-bar"></span> | |
<span class="icon-bar"></span> | |
</a> | |
<a class="brand" href="#">Title</a> | |
<div class="nav-collapse navbar-responsive-collapse collapse" style="height: 0px;"> |
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 | |
$my_theme = TEMPLATEPATH . '/inc/'; | |
$includes = array( | |
$my_theme . 'theme-functions.php', // Custom Theme Functions | |
$my_theme . 'theme-custom-post-types.php', // CPT's | |
$my_theme . 'fields/init.php', // Custom Fields | |
$my_theme . 'stripe/lib.php' // Integrate Stripe | |
); |
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
mysqldump -u username -p password my_db > my_db.sql |
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
mysql -u username -p password my_db < my_db.sql |
OlderNewer