How to disable style filtering in post?

Embedding a div container with an inline style attribute is not the way to do it. Your problem of WordPress stripping out certain attributes is a side effect of your real problem, not the problem itself. You shouldn’t be styling things inline, this isn’t 1997, use CSS classes instead You shouldn’t need to put custom … Read more

Multiple WordPress on Virtual Host

Thanks for comments. I can manage to host two separate WordPress site on VirtualHost EC2 Linux AMI. My mistake is I have created the vhost.conf file in under /etc/httpd/conf.d. Correct way to enable VirtualHost on EC2 Linux AMI is as follow : go to /etc/httpd/conf open httpd.conf file go to end of file uncomment NameVirtualHost … Read more

Is there a way to add a function that will get run after a blog is created?

Have you tried the action ‘wpmu_new_blog’ . The docstring for the function ‘wpmu_create_blog’ says: This function runs when a user self-registers a new site as well as when a Super Admin creates a new site. Hook to ‘wpmu_new_blog’ for events that should affect all new sites. wpmu_new_blog is called with the following parameters: do_action( ‘wpmu_new_blog’, … Read more