Wordpress Conditional Radio Button Not Working -



Wordpress Conditional Radio Button Not Working -

currently trying convert html wordpress plugin, trying code given below. radio button selected has value style1, statement in else beingness executed.

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

p.s. - amateur in wordpress programming.

you're trying client-side scripting using server-side scripting language (php).

unless decide deal $_post info server, you'll need utilize javascript (or client-side language) accomplish you're trying do.

wordpress wordpress-plugin

Comments

Popular posts from this blog

maven fortify plugin : Unable to load build session with ID XXXXX .. See log file for more details -

c# - Primavera WebServices does not return any data -

android - Display emoji panel with genymotion - keyboard/touch input? -