No option “I would like my site to be private, visible only to users I choose” in Privacy Settings

I am running WordPress 3.3.2 self-hosted. I used to see the option “I would like my site to be private, visible only to users I choose” under Privacy Settings but I no longer see this option. Instead, now I only see the options to make the blog visible or not visible to search engines, but … Read more

Can’t save options

I created theme options page using Settings API, everything works fine but I can’t save options. I tried to figure it out where I missed something but I failed. Any idea what can cause this problem? Here’s code of my options page <?php /** * This functions registers default options values for Evolutionary theme * … Read more

Enqueue Javascript Correctly for 3.5

I am trying to create tabs for admin settings page in wp, but I think I’m doing it wrong. The example below shows how I did it but I don’t know how to change this to use it correctly with no conflict ie. $. function my_plugin_load_js() { wp_deregister_script(‘jquery’); wp_register_script(‘jquery’, ‘http://code.jquery.com/jquery-1.8.3.js’); wp_enqueue_script(‘jquery’); wp_deregister_script(‘jquery-ui-core’); wp_register_script(‘jquery-ui-core’, ‘http://code.jquery.com/ui/1.9.2/jquery-ui.js’); wp_enqueue_script(‘jquery-ui-core’); … Read more

How to debug register_setting callback function

I am using the following code: register_setting( ‘myplugin_options’, //setting group name ‘myplugin_options’, //option name that will be stored in the database ‘myplugin_validate_options’//optional callback function ); function myplugin_validate_options($input) { //how can i print $input to the screen or view the output of this function for debugging purpsoses? } I just need to know how we can … Read more