WordPress wants to make a judgment, if it is a mobile phone access to the site, footer only get a portion of the PC-side footer information into the "All rights reserved."
The code is as follows:
2015 Phiops.com , all rights reserved .
问答 关于
Reply content:
WordPress wants to make a judgment, if it is a mobile phone access to the site, footer only get a portion of the PC-side footer information into the "All rights reserved."
The code is as follows:
2015 Phiops.com , all rights reserved .
问答 关于
The Get_footer () function is used to include the current theme common bottom footer.php template file. Of course, we can also specify the bottom file name for different pages to specify a different bottom template, in the format: footer-{$name}.php.
The corresponding location changes on the page:
if (Is_home ()):
get_footer('home');
ElseIf (is_404 ()):
get_footer('404');
else:
get_footer();
endif
?>