I want the Widget title to set below contant

You have 3 options: copy widget files, rename the widget, change HTML output. With css, set container element to postion:relative, title element position:absolute and move it with bottom:0 and left:0.. Use javascript/jQuery to swap img and title element. 1 is the best solution. 2 & 3 are kinda hacky. I can’t give you any examples … Read more

User Following System

Here are some pointers: Why are you using output buffering in tb_get_follow_unfollow_links()? I see no reason this is needed. In tb_get_follow_unfollow_links() only echo 1 button. On page load use php to decide what classes and button text you have to set. With jQuery change the button when you get a successfull ajax return. Change the … Read more

what’s different between wpdb->prefix and table_prefix

The difference is pretty simple. $wpdb->prefix is getting the prefix field from global $wpdb object. $table_prefix can be anything. Most probably it’s some local variable that contains the same value, but you can assign anything to that variable. So using $wpdb->prefix is a better idea – it’s nicer, cleaner and more obvious.