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.
Author: Chris Coyier
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.
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.
Charles Stricklin’s WordPress Podcast merges with Joost De Valk’s Press This. Should be all the better for it!
Premium WordPress theme, with heavy use of intellegent grids, from legendary designer Khoi Vinh. Perhaps a little pricey at $45, but may be worth it for some folks who salivate at perfect grids =). Other features include a robust archives page, shortcode functionalities, widgets, and color-based theme options.
Stay tuned for some similar and equally delicious functionality coming to some DIW themes near you!
Update: Media Temple is saying (404 link removed 2013/10/11) that:
- They aren’t 100% sure the cause, but yes, it is their fault.
- About 10% of all (gs) users were affected.
- It’s not WordPress specific, it’s PHP specific.
- Definitely change your passwords, definitely don’t change it back to the original password.
rel="canonical" support, query for posts AND pages, post thumbnails, optimized database tables, and more!
The goal here is to make a list of posts in the sidebar that show a number of recent posts. There will be a button you can click which will replaces those links to recent posts with older posts, AJAX style. You can keep clicking the button and keep getting older and older posts. On this site, we currently show 5 recent posts. So this little section shows the 5 posts after that, then clicking the button once will show 5 more older than that, and so on.
Going the self publishing route with our book meant that we didn’t have a big fancy book editor going over our text. We of course strive to be the best writers we can be, but we are clearly better WordPress wranglers than we are wordsmiths. If you find any typos or any other kind of mistake in the book, you can submit them here in our new Errata section. We’ll be incorporating all fixes into subsequent releases of the book (which as book buyers, you get for free!). Much appreciated!
WordPress 2.9 should really be a nice release. Check out this article for some interesting stuff like the_post_image(), the trash can, image editing and oEmbed.
Jeff and I launched this blog back in May of this year, after we decided we were going to self-publish the WordPress book we were working on. After weighing all the options, we decided going it on our own was best because we would have 100% control over everything. From the content of the book, to the layout and design, to the blog, sales site, everything. Today, it all comes together!