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 | |
// TODO: rewrite as filter | |
$class = array(); | |
$prefix = 'category-''; | |
foreach(get_the_category() as $category) { | |
$class[] = $prefix . $category->slug; | |
$class[] = $prefix . $category->cat_ID; | |
} | |
?> | |
<body <?php body_class( $class ); ?>> |
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
package { | |
import flash.geom.*; | |
import flash.display.Loader; | |
import flash.display.MovieClip; | |
import flash.display.Stage; | |
import flash.display.StageScaleMode; | |
import flash.display.StageAlign; | |
import flash.display.StageDisplayState; | |
import flash.events.Event; |
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
.form-signin { | |
max-width: 330px; | |
padding: 15px; | |
margin: 0 auto; | |
.form-signin-heading, .checkbox { | |
margin-bottom: 10px; | |
} | |
.checkbox { | |
font-weight: normal; | |
} |
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
.browsehappy { | |
margin: 0.0em 0; | |
background: #232323; | |
color: #CCC; | |
padding: 1em 0; | |
text-transform: uppercase; | |
font-size: 10px; | |
text-align: center; | |
font-weight: bold; | |
font-family: sans-serif; |
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
{ | |
"1": { | |
"1": | |
"Agga", | |
"2": | |
"Joe", | |
"3": | |
"Jack", | |
"4": | |
"Ťapka", |
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 | |
// Configuration | |
$input['letter'] = 'A'; | |
# $input['letter'] = '0-9'; // for numbers | |
// Basic arguments for WP query | |
$args = array( | |
'post_type' => 'post' | |
); |
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 | |
/** | |
* Turn mimetype into font awesome file icon name (e.g. file-text-o) | |
* @param string $mimetype File mimetype | |
* @return string Font Awesome file icon name | |
*/ | |
function mimetype2FontAwesome($mimetype = null) { | |
switch( $mimetype ) { |
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
body.login { | |
div#login { | |
h1 { | |
a { | |
} | |
} | |
form#loginform { | |
p { |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
OlderNewer