Whether you use Sass/SCSS, Less, or Stylus to compile your CSS, one thing’s for certain; it just makes life much easier. These preprocessors give us access to variables, necessary calculations, and powerful mixins that allow us to take our front-end workflow to the next level. As time passes the projects...Continue Reading Get Loopy with Sass
“Clever code” is a term that you may have heard before, accompanied by sighs and groans from other developers. Often, people seem to think of clever code as annoying, and perhaps even harmful. In this article, I’m going to give a brief overview of what clever code is, why it’s often...Continue Reading Is Clever Code OK?
If you’ve followed along the WDS blog/Github/Twitter etc, you’ll know pretty well by now we’re a team that uses Sass as a part of our daily workflow for front-end styling. Sass is a powerful CSS preprocessor tool and it’s awesome. If you’re late to the game or new to front-end development...Continue Reading Using Sass Mixins to Power Your Projects
From time to time, you may get clients that want share counts to be displayed on their site. There are indeed SAAS (software as a service) services out there that do this for you, but what if a third party isn’t possible? Since Twitter dropped their JSON endpoint for share counts, a...Continue Reading DIY: Twitter Share Counts (Part 1)
Lately, I’ve been thinking that our current method of using inline media queries throughout our Sass partials has not been flexible enough for the projects we’ve been building. While it was simple and allowed for easy implementation, I think it is time to try yet another Sass library–specifically include-media. Eduardo...Continue Reading Create Simple Inline Media Queries with include-media
Here at WebDevStudios, we try to use CMB2 for pretty much anything form or field related. We do this for several reasons: It saves us time. It’s a framework that handles a lot of the nitty-gritty for us (creating markup, handling sanitizing, escaping and saving data, etc). It provides a...Continue Reading Use CMB2 to Create a New Post Submission Form
Have you ever wanted to add a filterable portfolio to your personal site to showcase your content? In this post, we’re going to include simple scripts for you to add to your existing theme to help make it easy to add a filterable portfolio to your project. Tools you’ll need:...Continue Reading Create a Filterable Portfolio with WordPress and Jetpack
CMB2 creates metaboxes and forms with custom fields that will blow your mind. Attached Posts in an extension of this extremely useful plugin. Every once in a while you may find yourself needing to attach various pieces of content to various other pieces of content within your site. Maybe you want...Continue Reading Attaching Posts with CMB2 for WordPress
Update 12/8/2014: I’m not going to tell you not to cache all the things. You should absolutely cache all the things. However Otto wrote up a convincing argument about why you shouldn’t cache all the things using transients in the comments. So, when you’re done reading this post, go check...Continue Reading Using Transients with WordPress to Cache All the Things!