DiggingIntoWordPress

by Chris Coyier & Jeff Starr

The Book, in Print!

Posted by on

If you have been waiting to buy the book until the real print version is available, today is the day! The print version of Digging Into WordPress the book is now available here. We’ll probably talk more about the journey through the entire process of creating this book at a later date, but for now, let’s check out the book!

How to Develop WordPress Themes Behind the Scenes

Posted by on

A reader recently asked about how to develop a theme on a live site such that:

  • All visitors will see the current theme
  • Only the designer will see the new theme
  • All site plugins will work with the new theme
  • Smooth transition between old and new theme at launch

These are the main concerns, but there are a few other details that need addressed to ensure smooth theme development on a live site. Let’s take a look at how to achieve these goals and effectively develop themes behind the scenes..

WP Engineer Advent Calendar

The guys over at WP Engineer have been ambitiously shelling out useful daily posts all through December. This link just goes straight to their homepage, so check that out and paginate back a few times to check out all the great articles.

How to Publish Your Blog in Multiple Languages

BloggingPro.com’s Franky Branckaute provides an excellent guide showing how to use the WPML plugin to easily publish your blog in multiple different languages. Seems like a great alternative to free translation services like Google Translate or Babelfish, and you can even publish each translation to its own separate (sub)domain. This complete step-by-step guide shows you how.

Two Ways to Limit the Number of Posts without a Plugin

Posted by on

Let’s say your blog is set to display ten posts per page, as specified via the WordPress Admin under Settings > Reading. Once set, ten posts will appear on your home page, archive pages, search results, and so on. In other words, if it isn’t a single-view page or an actual “page” page, you’re gonna get ten posts per page. It’s a global setting.

Why Choose WordPress?

Alex Denning of WPShout.com asks 21 WordPress theme designers, developers and bloggers why they choose WordPress for their projects. This is the first of four questions that will posted over the next couple of days. Some very interesting responses so far, and a nice presentational style to boot!

Update: 404 link removed 2013/10/08: http://wpshout.com/why-wordpress-21-of-the-wordpress-community-answer/

Redirect Mobile Users to a Mobile WordPress Theme

Posted by on

Let’s say you want to have a special theme for your WordPress site for mobile users. You don’t want to use a pre-canned solution or anything third-party, you just want to create and design the theme yourself. So what you need to happen is for the site to detect mobile users and server up an alternate theme instead. Here is how I might do it.

WPLookup

Enter a search query (normally a function or variable name) and you will get a listing of multiple results:

  1. Link to the page in the Function/Template Tag Reference from the WordPress Codex
  2. Link to a PHPXref page for your query (at http://xref.yoast.com)
  3. Link to the phpDoc page at WordPress.org
  4. Finally, you’ll also get a list of resources and pre-populated search links to other Codex documentation and Google web search

Update (2012/10/19): WPLookup is down for the count, link removed. http://wplookup.com/

WP Questions

Ever had a “WordPress emergency” – your project is due tomorrow, but one line of code is breaking your site and you need answers fast?

WPQuestions is problem-solving community for WordPress, ideal for users seeking quick, succinct answers they can’t find in any WordPress forums. WPQ is also great for established WordPress developers who want to help problem-solve and be paid fairly for their efforts.

Remove Title from Blogroll

Posted by on

Typically when you use one of WordPress functions to output a list of “stuff” from WordPress, you can pass a parameter to eliminate the “title” that WordPress likes to put in there by default. For example, with wp_list_categories you pass along “title_li=” with nothing after the equals sign to remove the title that normally accompanies the output. With the function to output links (e.g. blogroll), you use the function wp_list_bookmarks, but unfortunately using that same parameter the same way is ineffective at removing the title.

Code is poetry