David Crandall

Month: August 2014

Making Wordpress functions.php Easy
August 21, 2014

Wordpress's functions.php could easily be considered the core of your theme. It adds unique, and often necessary functionality to your blog. You can enable features, or create new ones. In this article, I'm hoping to give some insight in not just making a custom functions.php file for your theme, but making it easy to manage. How does Wordpress the functions.php file work? The short version - it extends what Wordpress does by modifying...

CSS Selectors
August 20, 2014

To preface this article, I'd like to explain the basic logic behind CSS in how it relates to HTML.  So, CSS (aka Cascading Style Sheet) is the language that visually manipulates your text objects in your browser, i.e, your HTML.  To accomplish this, your CSS selects the object by some sort of identifier, then tells it what do, or how to look. In this post I will show you just about all the CSS selectors there are - some that are pretty common,...

Dealing with older browsers
August 19, 2014

The web is constantly evolving; the HTML language is expanding, CSS is getting more advanced, and we are finding more and more ways to make the web interesting.  However, for some reason, some people don't upgrade their browsers, making it very difficult for us to share that creativity with others; so how do we deal with people who are running IE8, or even worse, IE6? In this article, I'll give you some tips and practices in no particular order...

PHP Include vs. Require - what to use and when to use it
August 18, 2014

In PHP, there's a handy dandy little function called 'include' that basically allows you to run a php script from another file in your current script.  There is also a handy dandy little function called 'require' that basically does exactly the same thing.  Basically.  Likewise, there's 'require_once' and 'include_once' which both due the same thing, but check the current document to see if its been included or required already, and won't do it a...