Introducing Bedrock, a Minimal Base Theme for WordPress

Since I started building frontend templates and WordPress themes, I’ve been collecting my own bag of tricks and reusable code snippets. Now at long last, I’ve put them together and gotten them up on the web. Introducing Bedrock – a simple base theme for WordPress web development. There’s a few different parts to this:

The Secret to Enqueuing Scripts in the WordPress Footer

WordPress offers the enqueue_scripts feature, which allows theme developers to carefully manage their script dependencies and versions.  Here’s the syntax: First your register your script – <?php wp_register_script( $handle, $src, $deps, $ver, $in_footer ); ?> Then enqueue it, and pass it the handle that you gave it: wp_enqueue_script( $handle ,$src ,$deps ,$ver ,$in_footer );

The Ultimate Guide to WordPress Post Excerpts

Displaying post excerts in WordPress can be surprisingly confusing. Here’s an explanation of the options.   WordPress Default Excerpts A WP post lets you define the main content, and an optional excerpt.  By default, pages do not offer excerpts, but you can change that. 

The Ultimate List of Useful WordPress Plugins

The WordPress plugin universe is awesome, but sometimes it’s just too big. It can be hard to find plugins that are stable (with the latest WP version) and easy to integrate. So I went ahead and made a list of useful and reliable WP plugins, here it is: 

Getting Started with Frontend Web Development

So you want to be a web developer, awesome! Welcome to the future. If you’re just beginning with web programming – especially if you’re not a “natural born” programmer – then I recommend starting with frontend web development. The frontend is the part of the website that the end user sees, aka the programming for […]

The 5 Most Important WordPress Resources

WordPress is a pretty amazing platform but it can be a little overwhelming at first. The WP Codex has a wealth of information, but it’s not always organized the best (or completely thorough, for that matter).  Here’s a list of my essential WordPress resources, from inside the Codex and out. Hopefully these help guide you […]

How to Query WordPress Posts from Outside of WordPress

It’s surprisingly easy, just 2 lines lets us put on a disguise and start digging into WordPress: define(‘WP_USE_THEMES’, false); require(‘../wp-load.php’); That’s it!  (Replace the path to wp-load with the path to your WordPress root.) After loading these files, you can query WordPress as normal and do whatever you want with all the juicy post data. […]

Some quick tips Project Management tips for keeping your WordPress project under control

To keep the project from spiraling out of control and things getting bogged down, here’s a few quick project management tips for building a WordPress site – 1. A Wireframe is Worth a Million Conversations Wireframes are the greatest thing ever!  Use or Balsamiq to create a lo-fi picture of what you want, pictures […]