Convert WordPress default Gallery into a simple Carousel without a plugin

Convert WordPress default Gallery into a simple Carousel without a plugin

I had the fun task to turn the default WordPress gallery into a carousel. Our users didn’t really like the grid of images, that WordPress ships with. Instead, our designers came up with something like below: It’s basically a carousel, with the caption in a grey area in the side, along with control buttons in […]

Add an additional Body Class to WordPress by using the Post Slug

Add an additional Body Class to WordPress by using the Post Slug

One of the real useful things I’ve come across with WordPress is the body_class() method. This adds several classes to the body element of your HTML. The output looks something like below: Why is this so great? Now you can style your pages very efficiently because you’re able to select from the template you’re using, […]

Create a Testimonials section for your WordPress site – the Right Way!

Create a Testimonials section for your WordPress site – the Right Way!

I was recently given the task of updating the testimonials section of our company WordPress site. Imagine my disappointment to see a static page with a running list of paragraphs and author names. I said to myself, we can do way better. Let’s take a glimpse of what we’re going to be building: We will […]