Client already had the website, but needed a way to upload photos in an image gallery, sorted by years

Solution was to create a new custom post type called ‘photos’ and attach an Advanced Custom Fields group to the post type, specifically the excellent Gallery field. The templates use Isotope for filtering of the galleries by years along with a custom query to get the year groups in-place of wp_get_archives so I could modify the HTML for Isotope. New image sizes were added, so that when an image was uploaded it resized correctly for displaying in the gallery. Some additional optimisations were carried out in the existing template to bring it into line with modern WordPress coding standards.

Leave a comment

Your email address will not be published.

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>



+44 (0) 1442 800 500 or