How to customize a plugin?

If the plugin has action hooks or filters you can make your changes from your theme without modifying the plugin itself. an action hook: do_action( ‘my_plugin_do_something’ ); a filter: apply_filters( ‘my_plugin_filter_something’, $something ); If the plugin doesn’t have those where you need them, you could try suggesting them to the author. For example if the … Read more

Plugins in WP_Options but not Active

Yes you will need to activate the plugins on the plugins page. A side note: For future reference if you need to disable plugins during a migration. Don’t migrate the plugins across and wordpress will automatically disable them. Then you would copy them to the plugins folder and active as usual. This would also keep … Read more

WordPress Jquery UI Spinner

Just found it here http://codex.wordpress.org/Function_Reference/wp_register_script Here is an example how to load it on a plugin: function load_jquey_spinner() { wp_enqueue_script( ‘jquery-ui-spinner’ ); } add_action(‘wp_enqueue_scripts’, ‘load_jquey_spinner’);

add_action into another add_action not working

The preferred method of creating a settings page is to use the WordPress Settings API. From your code example, it looks like it’s too late to remove the admin_notices hook inside your callback in the admin_menu hook. You should try to move the logic from the customfunc() callback into another callback activated from some earlier … Read more

Is wp-app.php or wp-apps.php needed for WordPress?

But if they’re needed by WP I don’t want to compromise site functions. Those are not Core files. It is possible that a plugin has added the files legitimately but the behavior described suggests a hack. Recovering from hacks is off-topic here though, as it usually requires hands-on server access and is often very localized.

How can I show a different theme for admin users? WP 3.8+

You can use the filter stylesheet: <?php add_filter( ‘stylesheet’, ‘wpse149620_stylesheet’ ); function wpse149620_stylesheet( $stylesheet ) { if ( ! is_admin() && current_user_can( ‘administrator’ ) ) { $stylesheet=”admin-theme”; } return $stylesheet; } ?> However, this must be loaded before the first time the “current theme” is requested, which can only be done (without editing core) by … Read more