Daily archives: Monday, December 7, 2009
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 (@ 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
Editor's note: 404 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.