I understand the new template calls the stylesheet via the get_header(); but what if I want a different stylesheet than what is in the header. For example, I have a 3 column stylesheet layout being loaded for the homepage and a different stylesheet for the rest of the site by adding the following to my functions.php in my child theme:
function my_stylesheet($content) {
// We test if we're on home or on your frontpage
if (is_home() || is_front_page()) {
// yes, we are .. now let's load the 3c-fixed layout
$content = "\t";
$content .= "<link rel=\"stylesheet\" type=\"text/css\" href=\"";
$content .= get_bloginfo('stylesheet_directory') . "/style-home.css";
$content .= "\" />";
$content .= "\n\n";
} else {
// we are not .. let's load the 2c-r-fixed layout
$content = "\t";
$content .= "<link rel=\"stylesheet\" type=\"text/css\" href=\"";
$content .= get_bloginfo('stylesheet_directory') . "/style.css";
$content .= "\" />";
$content .= "\n\n";
}
// $content will be handed back to thematic_create_stylesheet
return $content;
}
// connect the filter to thematic_create_stylesheet
add_filter ('thematic_create_stylesheet', 'my_stylesheet');
and I have defined a 2c-r-fixed.css for all other pages in the site (above) for the default drop down.
However, I want to have the option to assign yet another layout (2c-l-fixed.css) to a page (not necessarily a post at this point) so they can select the "Two Column Left" [or whatever I name it] from the drop down.
I'm confused about assigning a different layout as a drop down option. I pretty much understand add the function like above to assign a stylesheet to a front page or category etc.
Can someone point me in the right direction?