Install theme on multiple domains

That will work fine – just make sure they all have read and write access to that shared folder. The symlink command should be: ln -s StackOverflow question: Can two different WordPress blogs on the same server use a common theme folder?

Opendir and WordPress Path

Here is an example… //..path/to/wp-content/plugins/your-plugin-basedir/ $path = plugin_dir_path( __FILE__); //..directory within your plugin $path .= ‘templates’; //..continue with your script… $dir_handle = @opendir($path) or die(“Cannot open the damn file $path”); UPDATE I tested the rest of your script by the way, to see if it in fact did read the directory and list files with … Read more

Second wordpress installation on subdirectory

It’s probably not the best idea, but you can absolutely create a second install in a subdirectory. If you create a /blog subdirectory and install WordPress there, you’ll have a whole new site, with a whole new WP dashboard. example.com/wp-admin/ and example.com/blog/wp-admin/ You could set up the new WP config to read the WordPress core … Read more