[ Index ]

MailPress 7.2

[ Index ]     [ Classes ]     [ Functions ]     [ Variables ]     [ Constants ]     [ Statistics ]    

title

Body

[close]

/mp-content/themes/twentytwelve/ -> header.php (source)

   1  <?php $post_id = ( isset( $this->args->newsletter['params']['post_id'] ) ) ? $this->args->newsletter['params']['post_id'] : false; ?>
   2  <?php $this->get_template_part( 'head' ); ?>
   3      <body style="padding:0;margin:0;">
   4          <div <?php $this->classes( '* body' ); ?>>
   5  <?php if ( isset( $this->args->viewhtml ) ) { ?>
   6              <div <?php $this->classes( 'mail_link' ); ?>>
   7                  Email not displaying correctly ? <a href="{{viewhtml}}" <?php $this->classes( 'mail_link_a a' ); ?>>View it in your browser</a>
   8              </div>
   9  <?php } ?>
  10              <div <?php $this->classes( '* page' ); ?>>
  11                  <header <?php $this->classes( '* site-header' ); ?> role="banner">
  12                      <hgroup <?php $this->classes( '* hgroup' ); ?>>
  13                          <h1 <?php $this->classes( '* site-title' ); ?>>
  14                              <a href="<?php echo esc_url( home_url( '/' ) ); ?>" title="<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>" rel="home"  <?php $this->classes( 'site-title_a' ); ?>>
  15                                  <?php bloginfo( 'name' ); ?>
  16                              </a>
  17                          </h1>
  18                          <h2 <?php $this->classes( '* site-description' ); ?>><?php bloginfo( 'description' ); ?></h2>
  19                      </hgroup>
  20                      <nav <?php $this->classes( '* cb nav' ); ?> role="navigation">
  21                          <div <?php $this->classes( '*' ); ?>>
  22                              <ul <?php $this->classes( '* nav-ul' ); ?>>
  23                                  <li <?php $this->classes( '* nav-li' ); ?>><span style="line-height:48px;">&#160;</span></li>
  24                              </ul>
  25                          </div>
  26                      </nav><!-- #access -->
  27                      <img src="<?php do_action( 'MailPress_theme_html_header_image', 'images/header-1.jpg', $post_id ); ?>" style="width:760px;" alt="img" />
  28                  </header><!-- #branding -->
  29                  <div <?php $this->classes( '* cb' ); ?>>
  30                      <div <?php $this->classes( '* primary' ); ?>>
  31                          <div <?php $this->classes( '*' ); ?>>
  32  <!-- end header -->


Generated: Tue May 19 15:55:14 2020 Cross-referenced by PHPXref 0.7.1