twodinks.com

Why limit yourself to Thesis Hooks?

by on Oct.15, 2010, under Snippets, Thesis, WordPress

Nuh uh. Not when you can start using WordPress Action Hooks to get more done!

Leave a Comment more...

Use hook to add another specialized style sheet

by on Oct.15, 2010, under Snippets, Thesis, WordPress

As used on Paisley Farm’s site.

function add_recipe_styles() {
$sheet = get_bloginfo('template_url') . '/custom/recipes.css';
echo "\n";
echo '<link rel="stylesheet" href="' . $sheet . '" type="text/css" media="screen, projection" />;';
}

add_action('wp_head','add_recipe_styles');

Leave a Comment more...

Drop shadow with CSS for all web browsers

by on Oct.01, 2010, under Snippets

From this site

.shadow {
-moz-box-shadow: 3px 3px 4px #000;
-webkit-box-shadow: 3px 3px 4px #000;
box-shadow: 3px 3px 4px #000;
/* 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');
}

Leave a Comment more...

Looking for something?

Use the form below to search the site:

Still not finding what you're looking for? Drop a comment on a post or contact us so we can take care of it!