Tag: Wordpress

Customize Login Page

To customise your WordPress login area, typically on this URL your-domain.com/wp-login.php, you need to add the following in your theme’s function.php file. Change the login Logo The default image is the WordPress logo. You can change that image simply modifying the file path. You can add you image and adjust width and height if necessary. function custom_login_logo() { echo '<style…

How to get the Featured Image or the First Image in the WordPress post?

Supposing you want to have an image aside of each post in your post list page. The WordPress function get_the_post_thumbnail is what you need. Make sure to set a  featured image inside the edit post (or custom post) page. If you forget to set the featured image inside a post, WordPress will consider as featured image the first uploaded image from…