wp-snippet

Check if post image is landscape or portrait

A quick snippet to check whether the post image is naturally landscape or portrait.