FIX: WordPress Mobile Edition / wphone login, (tested on WP 2.5.1)
-
First, add to the home two fancy links pointing to the login and to admin, to do that copy and past the following code at the end of the sets of links up and down /wp-content/themes/wp-mobile/index.php:
<a href="wp-login.php">Login</a> | <a href="/wp-admin">Admin</a>
or
1. download fix_wp_mobile_index
2. install the new index.php page in /wp-content/themes/wp-mobileSecond, change the look of the login page in a more pda/iphone friendly way:
1. download fix_wp_login
2. install the new wp-login.php page in the root of your blog
3. download fix_login_css
4. install the new login.css inside /wp-admin/cssThird, fix the blank screen of the login redirect:
1. open up /wp-includes/pluggable.php
2. and inside the function wp_redirect go to note the code as follows:function wp_redirect($location, $status = 302) { global $is_IIS; $location = apply_filters(’wp_redirect’, $location, $status); $status = apply_filters(’wp_redirect_status’, $status, $location); if ( !$location ) return false; $location = wp_sanitize_redirect($location); // if ( $is_IIS ) { // header(”Refresh: 0;url=$location”); // } else { // if ( php_sapi_name() != "cgi-fcgi" ) status_header($status); header(”Location: $location”); // } }
- The topic ‘FIX: WordPress Mobile Edition / wphone login, (tested on WP 2.5.1)’ is closed to new replies.