Posted by dylan on May 7, 2012
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:
Posted by dylan on May 4, 2012
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 );
Posted by dylan on April 28, 2012
WP Lipsum is a simple plugin for generating dummy text/style guides for your WordPress site, using fake “lorem ipsum” text and dummy images. This intended for use by theme developers and project managers while building out sites. http://bedrocktheme.com/wp-lipsum
Posted by dylan on April 24, 2012
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.
Posted by dylan on April 23, 2012
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:
Posted by dylan on April 11, 2012
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 [...]
Posted by dylan on April 10, 2012
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 [...]
Posted by dylan on April 8, 2012
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. [...]
Posted by dylan on November 6, 2011
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 GoMockingbird.com or Balsamiq to create a lo-fi picture of what you want, pictures [...]