WordPress Phone Verification

Of course this is possible it would just require some custom coding. This is an open ended question so I’ll give you an open ended answer of how I may go about this. Add phone number field to user contact Use the profile_update hook to store a random code associated with that number Create a … Read more

WordPress Admin Login Custom Logo

I personally like to use something like this. This will look for a logo image in your templates /images/ folder or directory, then display it in place of the default WordPress Logo. function my_login_logo() { if(file_exists(TEMPLATEPATH.’/images/logo.png’)) $logo = ‘/images/logo.png’; else if(file_exists(TEMPLATEPATH.’/images/logo.jpg’)) $logo = ‘/images/logo.jpg’; else if(file_exists(TEMPLATEPATH.’/images/logo.gif’)) $logo = ‘/images/logo.gif’; ?> <style type=”text/css”> body.login div#login h1 … Read more

Protect Passwords in wp_users with stronger protection than MD5

Password hashing/checking system in WP is pluggable, which essentially means that it is designed to be replaceable with custom implementation. This isn’t commonly done due to relying on defaults and compatibility. WP tries hard for backwards compat (such as with earliest single MD5 implementation) and portability (hashes from one WP install would work on another). … Read more

What does this code do? (Injected code hacked)

It gets code from a remote location (http://www.linos.cc/code.php) and stores it within a temporary file using sys_get_temp_dir() – http://php.net/manual/en/function.sys-get-temp-dir.php – and then creates a wp-tmp.php file with the before-mentioned code within your WordPress installation in the following locations: /wp-includes/wp-tmp.php and /wp-content/themes/your-theme-name/wp-tmp.php The code that’s stored in this file (http://www.linos.cc/code.php) appears to append content to your … Read more

API for wp menu hacks

There are several of plugins that ads that kind of functionality. They put a checkbox to the admin area, so if you uncheck it its not gonna appear in the menu. Here is a good one: http://wordpress.org/extend/plugins/exclude-pages/

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