How to Set up a Multisite WordPress?

As you probably already know. Since WordPress 3.0 Multi-Site functionality has been included by default as the WordPress MU project has been merged into the WordPress 3.0 core. In regards to the initial setup, it might take a little bit of work if you are not familiar with php coding but what I can tell … Read more

What is the difference between feeds served by my WordPress install vs feeds served by FeedBurner?

Here are some reasons I think FB does well: feed statistics: subscribers, item view and clicks email subscription: control email template, subscribers sharing posts on social networks with FeedFlare monitize with Google Adsense reduces CPU usage on your host. Some of above features you can do with plugins, but it costs CPU usage and sometimes … Read more

Win7 Dev Environment

I’d recommend setting up XAMPP. It will allow you to run an Apache/PHP/MySQL environment on Windows. You shouldn’t have any problem moving things over from your local XAMPP setup to a LAMP setup with your host.

NGINX Multisite Rewrite rules

The Nginx Multisite method outlined below has been tested and will work for subdomain Multisite installs and will also work with the domain mapping plugin. To simplify the process of making future changes the server files are organized into 3 separate files. The first is nginx.conf which holds the basic configuration and tells the server … Read more

Different fields in My Profile page depending on user role

I’ll post whole code which have to be in functions.php it’s legit WP valid code, how it should be done 🙂 This should work, of course you have to put your role name in switch. UPDATED FOR PERFORMANCE: add_action( ‘show_user_profile’, ‘user_fields_for_admin’, 10); add_action( ‘edit_user_profile’, ‘user_fields_for_admin’, 10); function user_fields_for_admin( $user ){ switch ($user->roles[0]) { case ‘SOME … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)