这是Widget的完整代码→
<p> <input type="radio" <?php checked( $instance[ 'what_to_check_for' ], 'check_for_counter' ); ?> id="<?php echo $this->get_field_id( 'check_for_counter' ); ?>" value="check_for_counter" name="what_to_check_for" />
<label for="<?php echo $this->get_field_id( 'check_for_counter' ); ?>">Check whether to display description or not</label> </p>
<p> <input type="radio" <?php checked( $instance[ 'what_to_check_for' ], 'check_for_image' ); ?> id="<?php echo $this->get_field_id( 'check_for_image' ); ?>" value="check_for_image" name="what_to_check_for" />
<label for="<?php echo $this->get_field_id( 'check_for_image' ); ?>">Select to Post with Thumbnails</label> </p>
请指导我哪里出错了。此
isset
缺失 单选按钮?如果是的话,请帮我完成。