Create a Function to Create WordPress Widgets

I've taken to the practice of doing something like this whenever I need to create multiple widgets in a theme that all have the same basic parameters. function create_widget($name, $id, $description) { register_sidebar(array( 'name' => __( $name ), 'id' => $id, 'description' => __( $description ), 'before_widget' => ' ', 'after_widget' => ' ', 'before_title' … Continue reading Create a Function to Create WordPress Widgets

10 Simple Steps to Migrate WordPress from Local to Live Server

When you start to develop a lot of WordPress themes, you will find your natural rhythm moving sites from local development to live testing or production environments. Here is a simple 10 step process for doing just that. The process works even if the sites have different URLs. Backup your WordPress site using WordPressBackUp or … Continue reading 10 Simple Steps to Migrate WordPress from Local to Live Server