[ Index ]

MailPress 7.2

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

title

Body

[close]

/mp-content/themes/twentyeleven/ -> 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>
   4          <div  style="padding:0;margin:0;background: none repeat scroll 0 0 #E2E2E2;">
   5              <div <?php $this->classes( '* body' ); ?>>
   6  <?php if ( isset( $this->args->viewhtml ) ) { ?>
   7                  <div <?php $this->classes( 'mail_link' ); ?>>
   8                      Email not displaying correctly ? <a href="{{viewhtml}}" <?php $this->classes( 'mail_link_a a' ); ?>>View it in your browser</a>
   9                  </div>
  10  <?php } ?>
  11                  <div <?php $this->classes( '* page' ); ?>>
  12                      <header <?php $this->classes( 'branding' ); ?> role="banner">
  13                          <div <?php $this->classes( 'branding_hgroup' ); ?>>
  14                              <h1 <?php $this->classes( '* h1' ); ?>><span <?php $this->classes( '*' ); ?>><a href="<?php echo esc_url( home_url( '/' ) ); ?>" title="<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>" rel="home"  <?php $this->classes( 'h1_a' ); ?>><?php bloginfo( 'name' ); ?></a></span></h1>
  15                              <h2 <?php $this->classes( '* h2' ); ?>><?php bloginfo( 'description' ); ?></h2>
  16                          </div>
  17                          <a href="<?php echo esc_url( home_url( '/' ) ); ?>" <?php $this->classes( '* h_img_a' ); ?>>
  18                              <img style="float:left;width:760px;" src="<?php do_action( 'MailPress_theme_html_header_image', 'images/header-1.jpg', $post_id ); ?>" alt="img" />
  19                          </a>
  20                          <nav <?php $this->classes( 'nav' ); ?> role="navigation">
  21                              <ul style="font-size:13px;list-style:none outside none;margin:0 7.6%;padding-left:0;"><li><a style="color:#EEE;display:block;line-height:3.333em;padding:0 1.2125em;text-decoration:none;">&#160;</a></li></ul>
  22                          </nav><!-- #access -->
  23                      </header><!-- #branding -->
  24                      <div <?php $this->classes( 'main' ); ?>>
  25                          <div <?php $this->classes( '* primary' ); ?>>
  26                              <div <?php $this->classes( '* content' ); ?>>
  27  <!-- end header -->


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