Skip to content

JustAskMarina/alisart-theme

Repository files navigation

alisart-theme

Custom Wordpress Theme developed for https://www.alisartbeauty.it/

This is a portfolio for a Makeup Artist, packed with pictures, so the biggest challenge was to personalize the design of the website while handling heavy images and still achieve good performance.

I've used lazysizes and it's plugin polyfill respimg, to support the few IE users left, filtering every image via 'post_thumbnail_html' and 'the_content' hooks.

Homepage and single pages are mainly galleries, styled with masonry.

The main page also is using AJAX to handle category filtering and infinite loading which, being this a wordpress theme, needed to be implemented also in the function.php with the wp_ajax hooks. Infinite loading isn't triggered by page scroll but by clicking the Load More button to be sturdier with slow connections. To behave coherently to the homepage, the category in the single pages links to the home already accordingly filtered.

In the actual site I've installed photoswipe to allow users to see pictures, in the single pages, at their original quality, to better grasp the details of the makeups.

Feel free to tell me if I've done something wrong, I'm quite new to all these techniques and always glad to improve.