Show wordpress locally in xammp and in iPhone via ip

You can adapt the site url which is stored in the database based on what domain you are viewing the site from. Add the following to wp-config.php: define( ‘WP_HOME’, ‘http://’ . $_SERVER[‘HTTP_HOST’] . ‘/yourwebsitename’ ); define( ‘WP_SITEURL’, WP_HOME ); If you use a subdirectory install (ie: you view the site from http://192.168.0.2/yourwebstename but the WordPress … Read more

Users – remove ‘send password’ checkbox

Here are few ideas how to deal with the neutralization of the Send Password part on the /wp-admin/user-new.php page: Idea 1: We can overwrite the wp_new_user_notification() function, because it’s pluggable: Try for example: if ( ! function_exists( ‘wp_new_user_notification’ ) ): function wp_new_user_notification($user_id, $plaintext_pass=””) { $user = get_userdata( $user_id ); // The blogname option is escaped … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)