wordpress get site link code example
Example 1: wordpress get domain
// WORDPRESS GET SITE URL:
echo get_site_url(); // echo's http://www.yoursitename.com
Example 2: wordpress get link
<a href="<?php the_permalink(); ?>">
// WORDPRESS GET SITE URL:
echo get_site_url(); // echo's http://www.yoursitename.com
<a href="<?php the_permalink(); ?>">