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!
Monthly archives: December 2009
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..
When someone comments on your site, cookies with the information the entered are saved to their computers. WordPress makes it easy to access that information. In fact, in your comments.php template they are ready-to-go PHP variables you can spit out anywhere you'd like. Let's take a look.
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.
Implementing a solid set of navigational links for your WordPress site is one of the best ways to encourage visitors to stick around awhile and check out additional content. As discussed in our definitive guide to WordPress post navigation, there are essentially three different types of navigational tags for WordPress:
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.
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.
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:
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.
Enter a search query (normally a function or variable name) and you will get a listing of multiple results:
- Link to the page in the Function/Template Tag Reference from the WordPress Codex
- Link to a PHPXref page for your query (at http://xref.yoast.com)
- Link to the phpDoc page at WordPress.org
- 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.
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.
Update: (404 link removed 2015/05/14)
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.