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
<html lang="en"> | |
<head> | |
<link rel="stylesheet" href="css/blueprint/screen.css" type="text/css" media="screen, projection"> | |
<link rel="stylesheet" href="css/blueprint/print.css" type="text/css" media="print"> | |
<link rel="stylesheet" href="css/blueprint/grid.css" type="text/css" media="print"> | |
<link rel="stylesheet" href="css/blueprint/ie.css" type="text/css" media="print"> | |
<link rel="stylesheet" href="css/blueprint/mystyles.css" type="text/css"> | |
<title>How to make a Hot Toddy!</title> | |
</head> | |
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
/* | |
Theme Name: A Thematic Child Theme | |
Theme URI: | |
Description: Use this theme to start your Thematic Child Theme development. | |
Author: Ian Stewart | |
Author URI: http://themeshaper.com/ | |
Template: thematic | |
Version: 1.0 | |
Tags: Thematic | |
. |
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 | |
// Creating the doctype | |
thematic_create_doctype(); | |
echo " "; | |
language_attributes(); | |
echo ">\n"; | |
// Creating the head profile | |
thematic_head_profile(); |
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 | |
// Adds a home link to your menu | |
// http://codex.wordpress.org/Template_Tags/wp_page_menu | |
//function childtheme_menu_args($args) { | |
// $args = array( | |
// 'show_home' => 'Home', | |
// 'sort_column' => 'menu_order', | |
// 'menu_class' => 'menu', | |
// 'echo' => true |
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
#slideshow #slidesContainer { | |
margin:0 auto; | |
width:560px; | |
height:263px; | |
overflow:auto; /* allow scrollbar */ | |
position:relative; | |
} | |
#slideshow #slidesContainer .slide { | |
margin:0 auto; | |
width:540px; /* reduce by 20 pixels to avoid horizontal scroll */ |
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
//-------------------------------------------Adding JS for Slick Slide | |
function add_slickslide_js($dropdown_options) { | |
//If we want Thematic dropdown features, we spit back the original options | |
echo $dropdown_options; | |
//Then we break out of PHP and add more stuff to the header: | |
?> | |
<script type="text/javascript" src="<?php bloginfo('stylesheet_directory'); ?>/js/jquery.js"></script> | |
<script type="text/javascript" src="<?php bloginfo('stylesheet_directory'); ?>/js/slickslide.js"></script> |
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 | |
function add_slickslide_js($dropdown_options) { | |
//If we want Thematic dropdown features, we spit back the original options | |
echo $dropdown_options; | |
//Then we break out of PHP and add more stuff to the header: | |
?> | |
<script type="text/javascript" src="<?php bloginfo('stylesheet_directory'); ?>/js/jquery.js"></script> | |
<script type="text/javascript" src="<?php bloginfo('stylesheet_directory'); ?>/js/slickslide.js"></script> | |
<?php | |
} |
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
add_theme_support('post-thumbnails');function slickslide_loop(){ ?><?php // Start the slideshow divs: ?> | |
<div id="slideshow"> | |
<div id="slidesContainer"> |
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 | |
// Create a query using the # items from the 'featured' category | |
$my_query = new WP_Query('category_name=featured&showposts=5'); | |
while ($my_query->have_posts()) : $my_query->the_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 // Construct your featured item: ?> | |
<div><?php // We are using the post thumbnail: ?> | |
<?php the_post_thumbnail();?> |
OlderNewer