Save 50% on web hosting @ Bluehost with FREE domain.

Category Archives: General

Download older plugin versions from WordPress.org

When a new plugin update causes trouble, the first thing we can do is to roll back to previous known good version. In last version of WordPress.org, we can easily find history versions of a plugin at Other Versions section under Developer tab. With current WordPress.org website, it takes me a while to figure out where it is. Think I better share it here:

Continue Reading →

Troubleshooting WordPress: Disable All Plugins?

Troubleshooting a WordPress website is challenging. Troubleshooting a live site posses more challenges. You may have read a lot of advice on the Internet from somewhere, among which, “disable all plugins” is one that mentioned most.

Should you?

Continue Reading →

My Top 20 Most Popular WordPress Plugins 2014

I like listening to Matt Report podcast (A WordPress business podcast for entrepreneurs, startups and freelancers). One interesting question Matt asks his guests in the famous lightening round is, “What is the one plugin you can not live without?”. Interestingly, like myself, most guests vote “Gravity Forms” as their favorite plugin. I trust statistics more than personal feeling and know Gravityforms is my favorite. But curiosity drove me to dig deeper on this subject. I indeed conducted a study to gather statistics among WordPress sites I have access to the admin panel. The result is obvious, and also surprising.

Continue Reading →

Top 25 Worst Passwords of 2014

In previous post, I showed you how to possibly discover username on a WordPress site using WPScan. On a regular site without extra layer of security such as 2 factor authentication, username and password are all one needs to gain access to WordPress dashboard.

WPScan has “brute force” option which can brute force test (or say attack if you like) any WordPress site. To use this feature is easy, a valid username and a common password wordlist.

Continue Reading →

How to Create a WordPress Plugin

Plugins are ways to extend and add to the functionality that already exists in WordPress. We don’t have to be a dedicated plugin developer to write WordPress plugin. There are situation where we need to alter some existing functions, or add some features to existing site. You may learn from various resources that, to add this, you need to drop code snippet to function.php. The fact is, making changes to function.php isn’t always the best solution.

Continue Reading →

Take Control of Post Revisions

WordPress revisions system saves a record of each saved draft or published update. This feature is important to site owners, because it provides some sort of “backup” for the content in case you accidentally edit posts the wrong way. By default, WordPress saves every copy of revision when you click Save button. All the revision copies take up room in database, will eventually slow down the query time, especially on sites with many blogs.

Continue Reading →

Restore Custom Post Type from History that doesn’t have Revisions Enabled

I know the title sounds a little wired, here is the background story. WordPress has Revisions system stores a record of each saved draft or published update. It is enabled for Post & Page. But in Custom Post Type, Revisions support is up to the theme developer to enable it. As long as you use themes, you should have noticed that, in some themes, the revisions is disabled on Custom Post Type by default. When Custom Post Type is used for short content such as Testimonial, it isn’t much of trouble to restore a revision. But not for a CPT post with a lot of content.

Continue Reading →

List All WordPress Posts by Category

If you are looking for a way to automatically generate a post index page, with all the post title & link in a WordPress website, the simple way is to use WP_Query, with “posts_per_page=-1” as $args.

There are ways to organize the list, for example, group the post by Category. In this case, we can add a new parameter in $args, which is “cat”, and put the query inside a category loop. Here are the code snippets.

Continue Reading →

Safe and Easy Terminal Login with SSH Config File

Managing so many WordPress websites, dealing with Terminal & command lines is inevitable. I use Mac OS X, so Terminal app and SSH command are the tools get me connected with remote machines occasionally. Although Coda 2 is my main code editor, FTP client & Terminal app, there is time I like to pop up the simple Terminal app, and use few command lines for a quick checkup.

Continue Reading →