News & Shit

X Theme & Pro Theme

X Theme & Pro Theme

Enabling AJAX Add to Cart on single product views, with X overlay

One simple tweak I make on many of my Woocommerce based websites is to enable the AJAX add to cart functionality. In many cases, having the user directed to a cart page isn’t ideal for your shop, and a hard reload to the same page is just silly. Someone in the Themeco community asked about how to do this, so I’m sharing the code I use.

X Theme & Pro Theme

Override the Pro Theme header assignment for specific pages and conditions

Themeco’s Pro Header Builder is pretty amazing. But what do you do when the specific page you’d like to target isn’t available as an assignment? How about when you want to show a specific header for logged in users? Or for different user roles? This little PHP snippet will do just that.

X Theme & Pro Theme

Global Blocks for Cornerstone

Have you ever wished you could create a section in Cornerstone and re-use it on multiple pages? How about doing that, and being able to edit them all in one shot? Well, wish no more. Introducing the Global Blocks for Cornerstone.

X Theme & Pro Theme

Swap Columns on Mobile

How can I swap columns on mobile? That question has been asked so many times, but sadly the answer has never been consistent. I’m going to show you two ways to achieve the effect of swapping columns on mobile with this tip.

X Theme & Pro Theme

Create Columns with Equal Heights

A common request we see on the X Theme Users forum is to create equal height columns in Cornerstone. We’re going to cover three ways to do this in X and Pro. Yup, three ways!

X Theme & Pro Theme

Add the Excerpt to Recent Posts

The Recent Posts element in Cornerstone are admittedly lean, but one simple change you can make is to add the post excerpt to them.