Like the blog? Get the book »

Author Profile: Jeff Starr

How to Design a Tumblelog Theme for WordPress

How to Design a Tumblelog Theme for WordPress

Tumblelogs are a great way to streamline mixed-media blogging for different types of content. Commonly used tumblelog topics include “Links”, “Photos”, “Quotes”, “Dialogue”, and “Video”. A good tumblelog presents each these different topics with its own unique format while retaining an overall sense of cohesion throughout the entire design.

Free HTML5 WordPress Theme

Free HTML5 WordPress Theme

In an effort to inspire more WordPress theme designers to embrace HTML5, I am releasing the “H5” Theme Template. The H5 Theme Template is a bare-bones WordPress theme built entirely with HTML5 and styled with some basic CSS 3.0.

As you may know, HTML5 provides greater flexibility and interoperability than previous markup languages, and enables us to build well-structured themes that are more flexible, interactive, and semantically precise. So using it to build awesome WordPress themes is a no-brainer.

WordPress Configuration Tricks

WordPress Configuration Tricks

Many WordPress users know the wp-config.php file as the key to the WordPress database. It is where you set the database name, username, password, and location (among other things like security keys, database prefix, and localized language).

Here's a screenshot of wp-config.php (aka the WordPress configuration file) for those who may not yet be familiar:

The xmlrpc.php File and Site Security

The xmlrpc.php File and Site Security

Included in the header.php template of most WordPress themes, there is an important hook called wp_head. This essential hook enables WordPress functions to output content to the browser in the <head></head> area of your web pages1.

For example, in newer versions of WordPress, wp_head() enables WordPress to output the following three lines to your theme’s <head></head>:

Add/Remove Buttons from WordPress Write Panel

Add/Remove Buttons from WordPress Write Panel

One of the features of WordPress 2.8 was a "increased speed of the Admin area", which cited compressed JavaScript files as the reason for the speed increase. One of those files that was compressed was the file quicktags.js in the /wp-includes/js/ directory.

Create a Stunning Lightbox-Style Random-Post Header Gallery

Create a Stunning Lightbox-Style Random-Post Header Gallery

In this tutorial, we’re going to take advantage of two of WordPress’ most powerful features, get_posts() and custom fields, to create a stunning random lightbox-style header gallery for your post images.

Displayed before the standard post loop, this lightbox gallery will randomly display the images that are associated with your posts while also providing a descriptive title link to the post itself. Here is a graphical representation that will help us visualize the concept:

Edit Your Options from the WordPress Admin

Edit Your Options from the WordPress Admin

Ever needed to update an option in your database without having to log into your control panel or phpMyAdmin? WordPress provides you with an easy way to view, edit and update your database options table (wp_options) by simply opening the following URL in your browser:

Welcome!

Welcome!

Welcome everyone! Chris and I are very excited to finally have this site launched. This site is going to serve as an outlet for us both to share WordPress related articles, be it news, tips and tricks, best practices, in-depth explanations, new plugins, reviews, and anything else WordPress related! Feel free to explore the archives already, there are a few good ones in there already. We have plenty of stuff lined up too, but right away we'd like to ask:

Version 2.8 is Now Available!

Version 2.8 is Now Available!

Just minutes ago, WordPress Version 2.8 was released! As usual, there is a LOT of great new functionality and features, although much of it affects developers and back-end types more than it does front-end designers or casual bloggers/users of the WP Admin Area.

Redirect Dead-End Category, Search and Tag URLs

Redirect Dead-End Category, Search and Tag URLs

Beginning with version 2.5, WordPress automatically handles many types of canonical redirects. A good example of this may be seen by typing your blog address into your browser both with and without the www prefix. If you are using WordPress 2.5 or better, one of these versions of your blog URL will be immediately redirected to the other. The same type of automatic redirect may be seen for several other non-canonical URL variations, and is handled via PHP deep in the WordPress core.

Custom WordPress Title Tags

Custom WordPress Title Tags

By default, WordPress provides a decent way of including <title></title> information for your posts, pages, and various archive views. This is important for usability and for better SEO. Most themes ship with some sort of title functionality baked right in, but for those that don't, you can add titles easily using WordPress’ wp_title tag. Using wp_title(), we can specify several useful parameters, including:

Unique Body ID’s for your Pages

Unique Body ID’s for your Pages

There are many reasons you might want to get a unique ID for your <body></body> tag. Let's say you want your header elements to be a different color on your About page, you could apply a bit of CSS via your theme's stylesheet (i.e., style.css). For example, you could target the About page with some styles something like this:

Dynamic Copyright in your WordPress Footer

Dynamic Copyright in your WordPress Footer

Many footers on websites contain text like "© 2009 Your Website". A good measure, surely. We can use some classic PHP and a built-in WordPress function to make this bit of text dynamic so that it will never need to be tampered with manually again. Here is the code to add to your theme template file (most likely footer.php):

Typography Test

Typography Test

Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Vestibulum tortor quam, feugiat vitae, ultricies eget, tempor sit amet, ante. Donec eu libero sit amet quam egestas semper. Aenean ultricies mi vitae est. Mauris placerat eleifend leo. Quisque sit amet est et sapien ullamcorper pharetra. Vestibulum erat wisi, condimentum sed, commodo vitae, ornare sit amet, wisi. Aenean fermentum, elit eget tincidunt condimentum, eros ipsum rutrum orci, sagittis tempus lacus enim ac dui. Donec non enim in turpis pulvinar facilisis. Ut felis. Mauris placerat eleifend leo.

Advertise Here

Sign up for the newsletter!

Never spam, only good stuff

Recent posts

Loading...

Random posts

Loading...
© 2009–2017 Digging Into WordPress Powered by WordPress Monzilla Media shapeSpace