December 2012

Customize WordPress Admin Styles from Your Theme Directory

It’s better to style the /wp-admin of WordPress from your theme because it’s portable and upgrade-proof. Keeping all customizations  in ONE place is always a good idea in web development. How to style WordPress admin backend /wp-admin from your theme? Add this hook to the functions.php of your theme: function customAdmin() { ?><link rel="stylesheet" type="text/css" href="<?php bloginfo(‘stylesheet_directory’); ?>/wp-admin.css" …

Customize WordPress Admin Styles from Your Theme Directory Read More »

Super Cheap Cloud VPS: 1 Core, 1024MB, SSD, Managed – Just $21.25 / Month

Some of my sites such as ConvertHub has grown out of the 512MB box I have had for over 2 years at Linode. It’s been great but as I’m fed up with managing the server myself (I’ll come to that later), I went ahead looking for a solid VPS plan with WHM / cPanel that’s …

Super Cheap Cloud VPS: 1 Core, 1024MB, SSD, Managed – Just $21.25 / Month Read More »

Make WordPress Hooked Function to Run Only Once

Consider this hook to add something before your WordPress blog’s sidebar: function before_siderbar() { ?> <!– Something goes here, such as an AdSense links unit –> <?php } add_action( ‘get_sidebar’, ‘before_siderbar’ ); It’s usual to add an AdSense links unit there but the problem with some themes is that they run get_sidebar more than once, …

Make WordPress Hooked Function to Run Only Once Read More »

Scroll to Top