[ASK] Multiple CSS On Wordpress
i just add this code to my theme function
array( "name" => "Choose Style",
"type" => "heading",
),
array( "name" => "choose your style",
"id" => $shortname."_choose_style",
"type" => "select",
"std" => "Red",
"options" => array("Red", "Blue")),
),
<?php $header_act = get_theme_option('header_act'); if(($header_act == '') || ($header_act == 'Red')) { ?>
<link rel="stylesheet" href="<?php bloginfo('template_directory'); ?>/red.css" type="text/css" media="screen" />
<?php } else { ?><link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen" /><?php } ?>
I Just Try in LocalHost using xampp
Get Free Email Address Of Your Choice at idlimail.com
[JVZoo Product Of The Day]
[NEW] SimpleAzon, The Wordpress Theme For Amazon Affiliates With Built-in Amazon Deal Finder
++ Theme Release News and Promotions > submit here
Affiliates - wanna make good money. Subscribe here Affiliates List
[JVZoo Product Of The Day]
[NEW] SimpleAzon, The Wordpress Theme For Amazon Affiliates With Built-in Amazon Deal Finder