Page Footer Links – how to use get_site_url
-
My site is http://www.aafords.com at my iPage host.
I have a local development site which I use to update my iPage hosted site from time to time using Duplicator.
I have links in the footer of each page which are hard coded in the 2013 child footer.php style.css.
When I upload my development site to my iPage host I have to manually update these hard coded links. I have been told to use “get_site_url” rather than hard coding the links. I have tried to understand “get_site_url” by searching and reading. But, I just don’t understand how to make the coding changes.
Can someone show me what the code looks like so that my hard coded links use the site url? Following is the code from my child php style.css:
<em><a title="AAFords Home" href="http://aafords.com/" target="_blank">Home</a></em> -- Copyright © 2013 - <?php echo date('Y'); ?> AA Fords, All Rights Reserved. Reproduction or publication prohibited without permission. -- <em><a title="AAFords Search" href="http://aafords.com/aafords-search" target="_blank">Search</a>, <a title="AAFords Contact" href="http://aafords.com/aafords-contact/" target="_blank">Contact</a>, <a title="AAFords Links" href="http://aafords.com/aafords-links/" target="_blank">Links</a></em>
- The topic ‘Page Footer Links – how to use get_site_url’ is closed to new replies.