Replace original masonry code in PinBin theme

August 28, 2016

Tags: ,

By Cris

Since the WP 4.6 update, PinBin’s masonry post arrangement no longer worked on my website. My solution was to remove the enqueued masonry js file in functions.php and replace with the following: wp_enqueue_script( ‘masonry’, ‘//cdnjs.cloudflare.com/ajax/libs/masonry/3.1.2/masonry.pkgd.js’ ); As described on David DeSandro’s masonry homepage, he outlined the following initialization (among others) method. In PinBin’s index.html file, […]

Media query set

August 26, 2016

Tags: , , ,

By Cris

I’ve recently had to come up with a series of media queries to cover a handful of mobile device sizes. Feel free to use the following code under CC BY-SA 4.0 license. Sample code includes the following devices (note: P and L designate Portrait and Landscape respectively): Nexus 10 iPad (All) iPad mini iPhone 6 […]