Experimenting With HDR

DSC_0001

Page Specific Javascript and CSS for Headway Theme

Yeah that’s right. I’m posting something. What a god awful background this theme has. Over at mortgagesbyjoe.ca, I wanted to load the javascript and css that controls the “accordion” feature that appears only on the front page of the site. There is no point to these loading on any other page of the site. Mortgagesbyjoe [...]

A different way to include stylesheets

Here’s another way to link to stylesheets. It may be overkill for some things, but definitely useful for plugin developers. I’m thinking of sending the link to every plugin author who echoes 50 lines of CSS into my page headers. Thanks alot.

Why limit yourself to Thesis Hooks?

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

Use hook to add another specialized style sheet

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’);

Drop shadow with CSS for all web browsers

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′); }