dimanche 26 octobre 2014

Wordpress Conditional Radio Button Not Working


Vote count:

0




Currently i am trying to convert HTML into WordPress plugin, i am trying the code given below. the radio button selected has value style1, but the statement in else is being executed.



$style=get_option("Style");
if($style == "style1")
{//code1
} else{
//code2
}


P.S. - I am an amateur in wordpress programming.



asked 27 secs ago

Hudixt

659






Wordpress Conditional Radio Button Not Working

Aucun commentaire:

Enregistrer un commentaire