Logging Errors In WordPress
To debug WordPress many sites will tell you to add the WP_DEBUG setting on its own to your wp-config.php file, but this can be quite harmful as many server configurations will start showing PHP errors and warning messages on your site pages.
The Correct Way To Load A Template File In WordPress
Since WordPress 3.0 there has been a funcion called get_template_part(), which has been used quite a bit in the new Twenty Ten default WordPress theme. This is an evolution of the usual way to include parts of themes by using functions like get_header() to include the header.php file.
Extending The WordPress Page Walker
I have looked at printing an intelligent list of WordPress pages in a previous blog post, but I wanted to revisit this topic and use the Walker classes that are part of WordPress.
Some Essential WordPress Plugins
I know what you are thinking, but this isn't just another WordPress plugin blog post. I am asked every few weeks what WordPress plugins I would recommend, and I always end up giving a disjointed list of some from the top of my head.
WordCampUK 2010: A Review
WordCampUK is an informal 2 day conference and barcamp that centers around using, working with and developing in WordPress. This year's WordCampUK was held in Manchester and so being local I could hardly miss the opportunity to attend. It was a great event, with great talks and lots of friendly people who were really enthusiastic about WordPress.
Custom Post Types In WordPress 3.0
This article relates to WordPress 3.0. Much of the code posted here won't work on previous versions and some of the information may change in newer versions.
WordPress already comes with five different content types built into the system.
Submitted by Simon Mayer on Thu, 03/18/2010 - 21:31Permalink
Submitted by philipnorton42 on Thu, 03/18/2010 - 21:55Permalink
Submitted by A4D on Tue, 04/13/2010 - 16:16Permalink
Submitted by philipnorton42 on Wed, 04/14/2010 - 12:18Permalink
Submitted by Orange County SEO on Mon, 07/05/2010 - 06:33Permalink
Submitted by Paul on Sat, 08/14/2010 - 04:06Permalink
Submitted by SEO on Fri, 10/08/2010 - 11:10Permalink
Submitted by Orange County SEO on Sat, 02/12/2011 - 10:46Permalink
how can i change my wordpress permalink into site.com/%postname%.php?pid=%post_id%
please help me
Submitted by Anonymous on Tue, 02/22/2011 - 13:54Permalink
You go into your permalinks admin area and add everything after site.com/ into the text area therein. Although I can't imagine why you would want to do that with such an ugly permaking structure...
Submitted by philipnorton42 on Tue, 02/22/2011 - 14:48Permalink
The reason some people suggest using post ID is not because of uniqueness, but because of performance.
This is taken directly from the Wordpress Codex (Using Permalinks):
"For performance reasons, it is not a good idea to start your permalink structure with the category, tag, author, or postname fields. The reason is that these are text fields, and using them at the beginning of your permalink structure it takes more time for WordPress to distinguish your Post URLs from Page URLs (which always use the text "page slug" as the URL), and to compensate, WordPress stores a lot of extra information in its database (so much that sites with lots of Pages have experienced difficulties). So, it is best to start your permalink structure with a numeric field, such as the year or post ID."
Submitted by iddaa ybk on Sat, 02/26/2011 - 02:19Permalink
Submitted by Herry on Thu, 05/10/2012 - 16:54Permalink
Add new comment