how to change WordPress admin username

For security reasons, it is important. that default WordPress admin username to be changed. In the WordPress backend itself, there is no way to do this. This is easily performed in a MySQL admin program such as phpMyAdmin by following code:

UPDATE wp_users
SET user_login = 'newname'
WHERE
user_login = 'admin' ;

Please replace table prefix with your own if set to different then “wp_”.

How to Control Image Size in WordPress using CSS

It often happens that a picture is wider than the range is displayed in the Content. Especially if you have several authors who are not so experienced in WordPress.

In order to embed large images but to avoid destroying of the layout, simply add following lines of CSS in the styles.css file.

Control Image Size in WordPress using CSS

.Post area { img max-width: 400px; height: auto;}