WordPress Bits

Hacking WordPress. Keeping the bits together.

Archive for the ‘Documentation’ Category

Tip #9 : Use trackback auto-discovery

Posted by Leonid Mamchenkov on December 18, 2007

When building WordPress themes from scratch it is easy to forget about things that “just work”.  One of such things, often forgotten by newcomers to WordPress theme development, is trackback auto-discovery – a really tiny bit of code, which is not visible to a naked eye (an eye without HTML source that is).  Trackback auto-discovery provides a specially formatted HTML code for other content management systems to find a trackback URL in your post.  Gladly, there is a Codex page that covers trackback_rdf() function.

Advertisements

Posted in Documentation, Themes, WordPress, WordPress Tips | 24 Comments »

Tip #4 : WordPress cheat sheets

Posted by Leonid Mamchenkov on August 22, 2007

There is an excellent collection of WordPress cheat sheets at Kahi’s WordPress notes.  Cheat sheets provide a simple way of getting an overview picture of one specific topic, as well as to quickly find a name of a function or a variable.  The best thing about cheat sheets is that you can print them out, fold, and put on your table, so that a quick reference is just a look away.

If this type of documentation appeals to you, Lorelle has a whole bunch of cheat sheets for all things related to WordPress development – HTML, CSS, PHP, SQL, etc.

Posted in Documentation, WordPress, WordPress Tips | 12 Comments »

Making WordPress themes III : template hierarchy

Posted by Leonid Mamchenkov on August 22, 2007

(This is the third post in “Making WordPress themes” series. If you missed the previous two, here are the links: “Making WordPress themes I : static basics” and “Making WordPress themes II : The Loop” ).

In this post we’ll see which filenames WordPress recognizes in the theme directory, and how it knows which posts to show to the visitor based on where the visitor is.

Read the rest of this entry »

Posted in Documentation, Themes, WordPress | 38 Comments »

Adding options to WordPress plugins

Posted by Leonid Mamchenkov on August 15, 2007

Most WordPress plugins out there are simple things, fixing or changing one thing at a time.  But there are also examples of more complex things, like e-commerce and banner management, advanced anti-SPAM control, more flexible content and user management, etc.  One of the common things between those “advanced” plugins is that they almost always provide a user with a way to configure them – a screen with options.

In this post, we’ll see how to create plugins which integrate into WordPress options administration.

Read the rest of this entry »

Posted in Documentation, Menu, Options, Plugins, WordPress | 55 Comments »

Navigating WordPress source code

Posted by Leonid Mamchenkov on August 14, 2007

If you really want to know how WordPress works, if you want to know what you can do with it and what you can’t, if you want to understand how to solve your problems with WordPress, there is one thing that you absolutely have to do. No matter how many plugins you play with. No matter how many themes you install. No matter how many tips and tricks you read about. You have to look inside WordPress. Spend some time with its source code.

But not to worry! I probably made it sound much more scary than it is. In this post, we’ll look at a few ways of how to get familiar with WordPress source code and what resources are out there to help us in the process.

Read the rest of this entry »

Posted in Documentation, WordPress | 23 Comments »

WordPress help. Where is it?

Posted by Leonid Mamchenkov on June 16, 2007

WordPress is a beautiful platform. It’s small, flexible, and coded well. But no matter how small and well written the platform is, chances are, once you’ll need help customizing or configuring it. WordPress is no exception.

So, where do we look for help, when the moment comes? Here are a few places:

Read the rest of this entry »

Posted in Documentation, WordPress | 1 Comment »