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

formatting - SAS SQL Datepart function returning odd values -

c++ - Apple Mach-O Linker Error(Duplicate Symbols For Architecture armv7) -

php - Yii 2: Unable to find a class into the extension 'yii2-admin' -