Error when renaming option

I think you need to set a default value when you use get_option function plugin_setting_url() { $options = get_option(‘plugin_options’, array(’embedded_url’=>”)); echo “”; } Unless plugin_options already exists, then you would need to use wp_parse_args to merge two arrays. function plugin_setting_url() { $options = wp_parse_args(get_option(‘plugin_options’,array()),array(’embedded_url’=>”)); echo “”; }

Adding an onchange event to a custom dropdown menu in WordPress

I have added a wrapper to your html output and then written a jQuery code that you can use – function embed_url() { $dropdown_menu = ‘<select><option>OptionDefault</option><option value=”?id=1″>Option1<option value=”?id=2″>Option2</option></select>’; $full_url=”<object type=”text/html” data=” . $embed_this_url . ‘ style=”width:100%; height:100%”><p> URL could not be loaded. </p> </object>’; return ‘<div class=”site-url”>’ . $dropdown_menu . $full_url . ‘</div>’; } jQuery … Read more

How do I secure a subdomain using UCC SSL?

The UCC SSL Certificate is used to secure multiple domains like www.example.com, www. example.net, www.example.co.uk etc. and if you want to secure your subdomains like shop.example.com, distributors.example.com and careers.example.com then you should try Unified Communication Wildcard Certificate instead of UCC SSL Certificate because it protects both multi-domains as well as subdomains.