Back to Top

Speed Up WordPress: A Developer’s POV

Speed Up WordPress: A Developer’s POV

As an end-user, you might find WordPress ridiculously slow sometimes, not because WordPress itself is slow, but rather the way you're using WordPress is not optimized. That's why speeding up WordPress is a topic that can never get old. Mashable talked about it more than a year ago, Noupe has recently published an article about it, and even a design magazine blog has done the same thing.

All articles found on the Internet... more

URL to Post ID for Custom Post Types


In WordPress, url_to_postid is a magic function that helps you convert certain URLs to IDs. However, it is limited to built-in post types. This tip will show you how to quickly make url_to_postid work with WordPress custom post types.... more

Ten Useful WordPress Constants You Might Love

Ten Useful WordPress Constants You Might Love

A WordPress constant is simply a variable that can not be changed once it is defined. As static as a constant is, it still plays an important role in controlling how your WordPress works.

If you are asked to name some WordPress constants, it would not be a surprise if you mention ones like WP_DEBUG, ABSPATH, or WP_LANG, because they are somewhat widely used. In this article, I will list and explain other... more

Automatically Make Links Clickable


Use the magic function make_clickable() to make links in your post clickable, just like in comment text.... more

Remove pingbacks/trackbacks from Comments Feed


Your comments feed might be flooded with unimportant or even unrelated pingbacks/trackbacks. It's time to remove them entirely!... more

Properly Format your Filesize in WordPress

Awaiting Opinion...

Format the sizes of your attachments (or any other files) nicely using size_format().... more

Append a Trailing Slash to Paths and URLs


This useful function will help you easily and properly work with paths and URLs.... more

Global Options in a Multi-site WordPress


Make use of get_site_option() and update_site_option() in a Multi-site environment.... more

Enqueue Style Sheets with Conditional Statements

Awaiting Opinion...

Using a built-in but hidden feature of WordPress to enqueue your IE-specific style sheets.... more

Properly get your Plugin’s Path and URL


Yet another two undocumented WordPress functions that can help you tremendously when writing a plugin or theme.... more

Safely Redirect URLs in WordPress

Awaiting Opinion...

If you need to redirect your plugin or theme to untrusted URLs, it's best to use a function that only permits local ones.... more

Disable some WordPress Pages of Little Use


There are pages in WordPress that you might never use, such as daily archive page, attachment page, and so on. This tip will show you how to disable them!... more

Page 1 of 2 1 2