Switch language

wpseek.com
A WordPress-centric search engine for devs and theme authors




get_front_page_template [ WordPress Function ]

get_front_page_template ( No parameters )
Uses:
Returns:
  • (string)
Defined at:



Retrieve path of front-page template in current or parent template.

Looks for 'front-page.php'.

Source


<?php
function get_front_page_template() {
    
$templates = array('front-page.php');

    return 
get_query_template'front_page'$templates );
}
?>

Examples [ wp-snippets.com ]

Top Google zoekresultaten

Meer ...

Gebruikersdiscussies [ wordpress.org ]

0 User Note(s)

Nog geen één. Wees de eerste!

Nieuw toevoegen ...



HTML5 Powered with CSS3 / Styling, Performance & Integration, and Semantics