get_footer [ WordPress Function ]
get_footer ( $name = null )
| Parameters: |
|
| Uses: | |
| Defined at: |
|
Load footer template.
Includes the footer template for a theme or if a name is specified then a specialised footer will be included.
For the parameter, if the file is called "footer-special.php" then specify "special".
Source
<?php
function get_footer( $name = null ) {
do_action( 'get_footer', $name );
$templates = array();
if ( isset($name) )
$templates[] = "footer-{$name}.php";
$templates[] = 'footer.php';
// Backward compat code will be removed in a future release
if ('' == locate_template($templates, true))
load_template( ABSPATH . WPINC . '/theme-compat/footer.php');
}
?>
Examples [ wp-snippets.com ]
Google Arama Sonuçlarý
- get_footer() - WordPress Codex
Description. Includes the footer.php template file from your current theme's directory. if a name is specified then a specialised footer footer-{name}.php will be ...
codex.wordpress.org - Include Tags « WordPress Codex
The Footer Template. <?php get_footer(); ?> The get_footer() tag includes the file footer.php or footer-{name}.php from your current theme's directory. If that file is ...
codex.wordpress.org - WordPress › Support » Tags — get_footer
Password (forgot?) Register · WordPress › Support » get_footer ...
wordpress.org - get_footer Wordpress hook details -- Adam Brown, BYU Political ...
Runs when the template calls the get_footer function, just before the footer.php template file is loaded. This description was scraped automatically from the ...
adambrown.info
Kullanýcý Tartýþmalarý [ wordpress.org ]
- NoSyMe on "search.php of twentyeleven not loading get_footer/footer.php"
- pchelovod on "get_footer('test') does not call footer-test.php"
- keesiemeijer on "get_footer('test') does not call footer-test.php"
- pchelovod on "get_footer('test') does not call footer-test.php"
- matthewv789 on "head scripts/links showing up inside body tag"
- richarduk on "Why are we forced to use checked() and get_header() for themes?"
- MiKapa on "head scripts/links showing up inside body tag"
- severus on "Showing header and footer of root Blog into a "Child" Blog"
- severus on "Showing header and footer of root Blog into a "Child" Blog"
- cavamondo on "Showing header and footer of root Blog into a "Child" Blog"