81 Billion

Websites in Singapore that are highly effective and visually appealing

Customising WordPress

Posted on | November 26, 2012 | Comments Off on Customising WordPress

Changing WordPress Login URL

Add following to the top of the .htaccess file:

RewriteRule ^login$ http://YOUR_SITE.com/wp-login.php [NC,L]

Changing the style of Visual Editor in Admin

add_filter(‘mce_css’, ‘my_editor_style’);
function my_editor_style($url) {

if ( !empty($url) )
$url .= ‘,’;

// Change the path here if using sub-directory
$url .= trailingslashit( get_stylesheet_directory_uri() ) . ‘editor-style.css’;

return $url;
}

 

 

Comments

    About

    This is an area on your website where you can add text. This will serve as an informative location on your website, where you can talk about your site.

    Subscribe to our feed

    Search

    Admin