[ Index ] |
PHP Cross Reference of GlotPress |
[Summary view] [Print] [Text view]
1 <!DOCTYPE html> 2 <html> 3 <head> 4 <meta http-equiv="Content-type" content="text/html; charset=utf-8" /> 5 <title><?php echo gp_title(); ?></title> 6 7 <?php 8 // Enqueue the base style so we don't have to load it manually on each page. 9 gp_enqueue_styles( 'gp-base' ); 10 11 gp_head(); 12 ?> 13 </head> 14 15 <body <?php body_class( 'no-js' ); ?>> 16 <script type="text/javascript">document.body.className = document.body.className.replace('no-js','js');</script> 17 18 <header class="gp-bar clearfix"> 19 <h1> 20 <a href="<?php echo esc_url( gp_url( '/' ) ); ?>" rel="home"> 21 <?php 22 /** 23 * Filter the main heading (H1) of a GlotPress page that links to the home page. 24 * 25 * @since 1.0.0 26 * 27 * @param string $title The text linking to home page. 28 */ 29 // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped 30 echo apply_filters( 'gp_home_title', 'GlotPress' ); 31 ?> 32 </a> 33 </h1> 34 35 <nav id="main-navigation" role="navigation"> 36 <?php echo gp_nav_menu(); ?> 37 </nav> 38 39 <nav id="side-navigation"> 40 <?php echo gp_nav_menu( 'side' ); ?> 41 </nav> 42 </header> 43 44 <div class="gp-content"> 45 <?php echo gp_breadcrumb(); ?> 46 47 <div id="gp-js-message" class="gp-js-message"></div> 48 49 <?php if ( gp_notice( 'error' ) ) : ?> 50 <div class="error"> 51 <?php echo gp_notice( 'error' ); ?> 52 </div> 53 <?php endif; ?> 54 55 <?php if ( gp_notice() ) : ?> 56 <div class="notice"> 57 <?php echo gp_notice(); ?> 58 </div> 59 <?php endif; ?> 60 61 <?php 62 /** 63 * Fires after the error and notice elements on the header. 64 * 65 * @since 1.0.0 66 */ 67 do_action( 'gp_after_notices' );
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
Generated: Thu Nov 21 01:01:07 2024 | Cross-referenced by PHPXref 0.7.1 |