Use functions (not global variables) for protocol and base_url
This commit is contained in:
@ -12,7 +12,7 @@ get_header();
|
||||
|
||||
<div id="main">
|
||||
<h2 class="center">Error 404 - Page Not Found</h2>
|
||||
<p>Oops, the page you are looking for does not exist. You may search using the search box, or visit the <a href="<?php echo $base_url; ?>">homepage</a> to get back on track.</p>
|
||||
<p>Oops, the page you are looking for does not exist. You may search using the search box, or visit the <a href="<?php echo get_base_url(); ?>">homepage</a> to get back on track.</p>
|
||||
</div>
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user