Functions.php as a plugin

An idea and full explanation (by Justin Tadlock).

 

Continue reading

Cropped featured image in WordPress

It may be a featured image on the front end, but is post_thumbnail when it comes to back end and actually implementing it into the site. First you need to add featured image support to your website (make sure to add it to after_setup_theme hook) – needless to say you would add it to functions.php.

Continue reading