Snippets Archive

Codes that are meant to be useful for others. Commercial use of my code strictly prohibited.

Displaying Avatar of the Post Author

Displaying the Avatar of the post author in WordPress based sites are nothing new. You might have already seen such avatar of the various post author in many different website ...

Disabling Default Widgets from Admin Panel

After the installation of WordPress on your local server or on your site, it registers some standard widgets with the default theme, specially on the sidebar ...

Remove Dashboard Widgets from Admin Panel

Every time you install WordPress on your site or on local server, after you login for the first time, you would see bunch of widgets are showing up on your Dashboard, which is kind of annoying ...

Finding the Elements ID Number in WordPress

No matter how many or what type of snippet code you use on your WordPress theme's functions.php file, once in a while you will see it's necessary to find the ID number ...

Removing the Login Shake Effect

Every time you failed to login in WordPress because of wrong password or username, you must have seen the shake effect ...

Generating an XML Sitemap

For quite sometime, I used various plugins to create Sitemap for my blogs or other web sites that I had built on WordPress platform ...

Customizing Login Page Logo & Link

If you are familiar with the WordPress platform pretty well then you should have known by now that the default log in Page (wp-admin ...

Hiding Help Menu from Admin Panel

I recently came across some very interesting WordPress actions from it's Codex page. While playing around with one of them I figured a way to hide the "Help" menu from WordPress admin panel (top right hand corner of the screen) ...

Registering Custom Post Type in WordPress

Capability of registering a Custom Post Type (CPT) in WordPress is one of the most important features that WP has ever added on it's core files ...

Resetting Admin Password Using FTP

Did you ever forget your WordPress site's admin Password? Well, thank God I didn't so far but there are some who went through this kind of Problem ...

Changing Default RSS Feed URL in WordPress

If your blog site has a good number of visitors, chances are there that some of them will subscribe to your site’s RSS feed so that they can get the latest update from your site without even visiting ...