Home|About| Archives| Contact Us| Privacy Policy

Tutorials Archives

If you need a custom RSS feed, like for example, a feed indexing only somes categories + tags, or if you redirected all WordPress RSS feeds to Feedburner but still want to be able to get a category feed, the solution is to use a page template.

Create a new file and simply paste the following code in this file. After pasting save it with the name “my-custom-feed.php” and save it in your theme directory.

Click here to read more …

If you are a theme designer, or just enjoy customizing your existing WordPress theme, it can sometimes be a hassle digging around for the WordPress code you need. We’ve spent a lot of time to collecting a variety of snippets of code and decided to share it on our site.

Here are the snippets of code that we have collect. If you have any WordPress code you’d like me to add, please leave a comment below!

Click here to read more …

A neat way to spice up your WordPress search page is to highlight search terms within your search results. I’ve seen some tutorials on the net on how to do this, but I haven’t found one that highlights both title and post content and is a drop-in modification for WordPress. Here is the complete tutorial for highlighting search terms on your WordPress blog.

Click here to read more …

There are plenty of WordPress extensions that generate breadcrumb navigation. But you can actually create custom breadcrumb navigation with only a handful of lines of code in the template, opening up greater control and, potentially, less overhead. This approach to breadcrumbs builds on the get_post_ancestors function.

To start with, here is a basic implementation of breadcrumbs that only deals with pages and includes a breadcrumb for “home” (the front page of theblog) at the beginning of the list. Depending on the design of a particular template, some checks may need to placed around this code. In this example, it will be assumed that this code will be placed in the header.php template file, that the crumbs should appear only on pages, and that it should not show up on the front page. The current page and front page link will also be assigned special CSS classes for styling purposes.

Click here to read more …

Page 1 of 11