/** * bootstrap_get_title() * * This creates the page title for the <title> tags. * This function supports the following plugins: * - Custom Title * * @return (string) : Echos the page title */ function bootstrap_get_title() { if (function_exists('get_custom_title_tag')) { # Custom Title plugin echo get_custom_title_tag(); } else { # Default title format get_page_clean_title(); echo " » "; get_site_name(); } }
<!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title> <?php if (function_exists('get_custom_title_tag')) { echo get_custom_title_tag(); } else { get_page_clean_title(); echo " — "; get_site_name(); } ?> </title> <!-- MDL The library relies on Google's Material Design fonts, icons, and the CSS of Google's Material Design Lite implementation. Load these as follows. --> <link href='https://fonts.googleapis.com/css?family=Roboto:400,300,500|Roboto+Mono|Roboto+Condensed:400,700&subset=latin,latin-ext' rel='stylesheet' type='text/css'> <link rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+Icons"> <link rel="stylesheet" href="<?php get_theme_url(); ?> /css/material.min.css" /> <link rel="stylesheet" href="<?php get_theme_url();