Am I correctly adding styles to plugin?

Yes, This is the correct way. Many of us use styles to alter the look of our website, and scripts to enhance functionality. It is important to note however, that the way you add these scripts to WordPress is just as important as the content of these files. Instead of plopping them into the header … Read more

How to save default values into an option and delete those upon actvation and deactivation in wordpress?

The following code worked. According to the comment by Milo, I have been doing it wrong by using the option name. So instead I used each keys from the option and used the array to pass the defaults. Thanks milo! :_ register_activation_hook( __FILE__, ‘twmm_activate’); //activate plugin options open activation of plugin register_deactivation_hook(__FILE__, ‘twmm_deactivate’); //deactivate plugin … Read more