header.php 1.4 KB

1234567891011121314151617181920212223242526272829303132333435
  1. <?php
  2. /**
  3. * Auth header
  4. *
  5. * This template can be overridden by copying it to yourtheme/woocommerce/auth/header.php.
  6. *
  7. * HOWEVER, on occasion WooCommerce will need to update template files and you
  8. * (the theme developer) will need to copy the new files to your theme to
  9. * maintain compatibility. We try to do this as little as possible, but it does
  10. * happen. When this occurs the version of the template file will be bumped and
  11. * the readme will list any important changes.
  12. *
  13. * @see https://docs.woocommerce.com/document/template-structure/
  14. * @author WooThemes
  15. * @package WooCommerce/Templates/Auth
  16. * @version 2.4.0
  17. */
  18. if ( ! defined( 'ABSPATH' ) ) {
  19. exit;
  20. }
  21. ?><!DOCTYPE html>
  22. <html <?php language_attributes(); ?>>
  23. <head>
  24. <meta name="viewport" content="width=device-width" />
  25. <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  26. <meta name="robots" content="noindex, nofollow" />
  27. <title><?php _e( 'Application authentication request', 'woocommerce' ); ?></title>
  28. <?php wp_admin_css( 'install', true ); ?>
  29. <link rel="stylesheet" href="<?php echo esc_url( str_replace( array( 'http:', 'https:' ), '', WC()->plugin_url() ) . '/assets/css/auth.css' ); ?>" type="text/css" />
  30. </head>
  31. <body class="wc-auth wp-core-ui">
  32. <h1 id="wc-logo"><img src="<?php echo WC()->plugin_url(); ?>/assets/images/woocommerce_logo.png" alt="WooCommerce" /></h1>
  33. <div class="wc-auth-content">