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
find -type d -exec chmod 755 {} \; | |
find -type f -exec chmod 644 {} \; |
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
wget http://wordpress.org/latest.tar.gz | |
tar xfz latest.tar.gz | |
mv wordpress/* ./ | |
rmdir ./wordpress/ | |
rm -f latest.tar.gz |
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
-moz-box-shadow: 0px 0px 7px #666; | |
-webkit-box-shadow: 0px 0px 7px #666; | |
box-shadow: 0px 0px 7px #666; | |
/* For IE 8 */ | |
-ms-filter: "progid:DXImageTransform.Microsoft.Shadow(Strength=4, Direction=135, Color='#000000')"; | |
/* For IE 5.5 - 7 */ | |
filter: progid:DXImageTransform.Microsoft.Shadow(Strength=4, Direction=135, Color='#000000'); |
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
/* fonts */ | |
/* ------------------------------------------------------------------------- */ | |
/* reset */ | |
/* ------------------------------------------------------------------------- */ | |
@import url('css/reset.css'); | |
@import url('css/normalize.min.css'); |
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
# BEGIN WordPress | |
<IfModule mod_rewrite.c> | |
RewriteEngine On | |
RewriteBase / | |
RewriteRule ^index\.php$ - [L] | |
RewriteCond %{REQUEST_FILENAME} !-f | |
RewriteCond %{REQUEST_FILENAME} !-d | |
RewriteRule . /index.php [L] | |
</IfModule> | |
# END WordPress |
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
/** woocommerce remove elements **/ | |
remove_action( 'woocommerce_before_main_content','woocommerce_breadcrumb', 20, 0); | |
remove_action( 'woocommerce_before_shop_loop','woocommerce_result_count', 20, 0); | |
remove_action( 'woocommerce_before_shop_loop','woocommerce_catalog_ordering', 30, 0); | |
remove_action( 'woocommerce_single_product_summary', 'woocommerce_template_single_title', 5 ); | |
remove_action( 'woocommerce_single_product_summary', 'woocommerce_template_single_meta', 40 ); | |
remove_action( 'woocommerce_single_product_summary', 'woocommerce_template_single_price', 10 ); | |
remove_action( 'woocommerce_after_single_product_summary','woocommerce_output_product_data_tabs', 10, 0); |
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
// fixed nav on scroll | |
$(window).scroll(function(e) { | |
if ($(this).scrollTop() > 240 && !$('body').hasClass('fixed')) { | |
$('body').addClass('fixed'); | |
} | |
else if ($(this).scrollTop() <= 240 && $ ('body').hasClass('fixed')) { | |
$('body').removeClass('fixed'); | |
} | |
}); |
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
// shop thumbs header/details hover toggle | |
$('ul.products li').hover(function(){ | |
$('h3',this).slideDown(300); | |
$('.details',this).fadeIn(500); | |
}, function(){ | |
$('h3',this).slideUp(300); | |
$('.details',this).fadeOut(500); | |
}); |
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 $wp_query->query('cat=4&showposts=11'.'&paged='.$paged); ?> | |
<?php while ( have_posts() ) : the_post();?> | |
<?php endwhile; ?> | |
<!-- pagination --> | |
<?php if ( $wp_query->max_num_pages > 1 ) : ?> | |
<div class="pagination"> | |
<?php wp_pagenavi(); ?> | |
</div> |
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
<!-- logo --> | |
<a class="logo" href="<?php echo home_url( '/' ); ?>"> | |
<?php $image = wp_get_attachment_image_src(get_field('logo', 'option'), 'popup'); ?> | |
<img src="<?php echo $image[0]; ?>" alt="" /> | |
</a> | |
<!-- end logo --> |
OlderNewer