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
a { | |
color: $color__white; | |
text-transform: uppercase; | |
font-size: 1.2rem; | |
height: 24px; | |
margin: 6px 6px 6px; | |
display: block; | |
padding: 0px 4px; | |
line-height: 26px; |
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
SCSS | |
.image-container { | |
position: relative; | |
// image is a background image of this container | |
// https://github.com/verlok/lazyload/blob/master/demos/fade_in.html | |
opacity: 0; | |
@include transition(400ms); |
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 | |
// https://wordpress.stackexchange.com/a/152012 | |
// How to show monthly archive posts? | |
// this can be used for many other archive pages, see the link above. | |
if (is_category()) { | |
/* If this is a category archive */ | |
$cat = get_query_var('cat'); | |
$category = get_category($cat); |
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 | |
// =================================================== | |
// Load database info and local development parameters | |
// =================================================== | |
if ( file_exists( dirname( __FILE__ ) . '/local-config.php' ) ) { | |
define( 'WP_LOCAL_DEV', true ); | |
include( dirname( __FILE__ ) . '/local-config.php' ); | |
} else { | |
define( 'WP_LOCAL_DEV', false ); | |
define( 'DB_NAME', '%%DB_NAME%%' ); |
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
$args = array( | |
'type' => 'yearly', | |
'limit' => '', | |
'format' => 'html', | |
'before' => '', | |
'after' => '', | |
'show_post_count' => false, | |
'echo' => 0, | |
'order' => 'DESC', | |
'post_type' => 'post' |
OlderNewer