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
/* For image replacement */ | |
.ir { | |
border:0; | |
font: 0/0 a; | |
text-shadow: none; | |
color: transparent; | |
background-color: transparent; | |
} |
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
<!doctype html> | |
<!--[if IE 6 ]> <html <?php language_attributes(); ?> class="no-js ie6"> <![endif]--> | |
<!--[if IE 7 ]> <html <?php language_attributes(); ?> class="no-js ie7"> <![endif]--> | |
<!--[if IE 8 ]> <html <?php language_attributes(); ?> class="no-js ie8"> <![endif]--> | |
<!--[if IE 9 ]> <html <?php language_attributes(); ?> class="no-js ie9"> <![endif]--> | |
<!--[if (gt IE 9)|!(IE)]><!--> <html <?php language_attributes(); ?> class="no-js"> <!--<![endif]--> | |
<head> | |
<meta charset="<?php bloginfo( 'charset' ); ?>"> | |
<title><?php wp_title( '|', true, 'right' ); bloginfo( 'name' ); ?></title> |
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
<ul class="slides"> | |
<?php | |
$args = array( | |
'post_type' => 'slide', | |
'orderby' => 'menu_order', | |
'order' => 'ASC', | |
'posts_per_page' => 3 | |
); | |
$slides = get_posts( $args ); |
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 | |
function the_excerpt_dynamic($num_words) { | |
global $post; | |
$text = $post->post_excerpt; | |
if ( '' == $text ) { | |
$text = get_the_content(''); | |
$text = apply_filters( 'the_content', $text ); | |
$text = str_replace( ']]>', ']]>', $text ); | |
} |
NewerOlder