wordpress current domain name code example
Example: wordpress get domain
// WORDPRESS GET SITE URL:
echo get_site_url(); // echo's http://www.yoursitename.com
// WORDPRESS GET SITE URL:
echo get_site_url(); // echo's http://www.yoursitename.com