Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- /**
- * The Header for our theme.
- *
- * Displays all of the <head> section and everything up till <div id="main">
- *
- * @package WordPress
- * @subpackage Boilerplate
- * @since Boilerplate 1.0
- */
- ?><!DOCTYPE html>
- <!--[if lt IE 7 ]><html <?php language_attributes(); ?> class="no-js ie ie6 lte7 lte8 lte9"><![endif]-->
- <!--[if IE 7 ]><html <?php language_attributes(); ?> class="no-js ie ie7 lte7 lte8 lte9"><![endif]-->
- <!--[if IE 8 ]><html <?php language_attributes(); ?> class="no-js ie ie8 lte8 lte9"><![endif]-->
- <!--[if IE 9 ]><html <?php language_attributes(); ?> class="no-js ie ie9 lte9"><![endif]-->
- <!--[if (gt IE 9)|!(IE)]><!--><html <?php language_attributes(); ?> class="no-js"><!--<![endif]-->
- <head>
- <meta charset="<?php bloginfo( 'charset' ); ?>" />
- <meta property="og:title" content="<?php the_title(); ?>" />
- <meta property="og:url" content="<?php the_permalink(); ?>" />
- <meta property="og:image" content="<?php bloginfo('stylesheet_directory'); ?>/img/logo_fb_share.png" />
- <meta property="og:description" content="Different Perspective tailors a branding and advertising strategy to fit unique needs. Through the utilization of our services and expertise, our ultimate goal is to create consumer awareness of your brand." />
- <meta name="viewport" content="width=device-width">
- <title><?php
- /*
- * Print the <title> tag based on what is being viewed.
- * We filter the output of wp_title() a bit -- see
- * boilerplate_filter_wp_title() in functions.php.
- */
- wp_title( '|', true, 'right' );
- ?></title>
- <link rel="profile" href="http://gmpg.org/xfn/11" />
- <link rel="stylesheet" href="<?php bloginfo( 'stylesheet_url' ); ?>" />
- <link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>" />
- <link rel="shortcut icon" href="/<?php bloginfo('stylesheet_directory'); ?>/img/fav.png" />
- <?php wp_head(); ?>
- </head>
- <body <?php body_class(); ?>>
- <div id="image-preload">
- <img src="<?php bloginfo('stylesheet_directory'); ?>/img/current_x.png">
- <img src="<?php bloginfo('stylesheet_directory'); ?>/img/current_con_x.png">
- <img src="<?php bloginfo('stylesheet_directory'); ?>/img/connect-box.png">
- </div>
- <div id="wrap">
- <div id="sticky_main" class="clearfix">
- <header role="banner" class="mobhide">
- <div id="logo"><?php echo '<h1 class="index_link"><a href="' . home_url( '/' ) . '">Different Perspective</a></h1>'; ?>
- </div>
- <div class="we_are">
- <h2><div class="we_are_text">we are an advertising agency.</div></h2>
- </div>
- <nav id="access" role="navigation">
- <ul class="inline full" id="main_menu">
- <li class="index_link about_link"><a href="<?php bloginfo('url'); ?>/about" class="<?php if ( is_page(54) ) { echo 'current';} ?>">about us</a></li>
- <li class="index_link results_link"><a href="<?php bloginfo('url'); ?>/results" class="<?php if ( is_page(42) || 'case_study' == get_post_type() ) { echo 'current';} ?>">results</a></li>
- <li class="index_link blog_link"><a href="<?php bloginfo('url'); ?>/blog" class="<?php if ( is_page(80) || 'post' == get_post_type() ) { echo 'current';} ?>">blog</a></li>
- <li class="social_btn" id="social_nav"><a href="#social" class="no-ajaxy">social</a>
- <div class="ddm">
- <div class="facebook" id="fb_ddm"><a href="https://www.facebook.com/dppad" target="_blank">facebook</a></div>
- <div class="twitter" id="tw_ddm"><a href="https://twitter.com/dppad/" target="_blank">twitter</a></div>
- <div class="youtube" id="yt_ddm"><a href="http://www.youtube.com/user/dppad" target="_blank">youtube</a></div>
- <div class="linkedin" id="li_ddm"><a href="http://www.linkedin.com/company/2684728?trk=tyah" target="_blank">linkedin</a></div>
- </div></li>
- <li class="con" id="connect_link"><a href="#connect" class="no-ajaxy">connect</a></li>
- <li id="phone_link"><a href="tel:+14072269774" class="phone no-ajaxy">407.226.9774</a></li>
- </ul>
- <ul class="inline tablet" id="main_menu_tab">
- <li class="index_link about_link"><a href="<?php bloginfo('url'); ?>/about-us" class="<?php if ( is_page(512) ) { echo ' current';} ?>">about us</a></li>
- <li class="index_link results_link"><a href="<?php bloginfo('url'); ?>/results" class="<?php if ( is_page(42) || 'case_study' == get_post_type() ) { echo ' current';} ?>">results</a></li>
- <li class="index_link blog_link"><a href="<?php bloginfo('url'); ?>/blog" class="<?php if ( is_page(80) || 'post' == get_post_type() ) { echo ' current';} ?>">blog</a></li>
- <li class="index_link connect_link"><a href="<?php bloginfo('url'); ?>/contact" class="<?php if ( is_page(485) ) { echo ' current'; } ?>">contact us</a></li>
- <li id="phone_link"><a href="tel:+14072269774" class="phone no-ajaxy">407.226.9774</a></li>
- </ul>
- </nav><!-- #access -->
- </header>
- <header class="mobile">
- <?php if ( !is_front_page() ) { echo '<h1 id="home-mob"><a href="' . home_url( '/' ) . '" rel="home" class="no-ajaxy">home</a></h1>'; } ?>
- </header>
- <?php if ( !is_page(485) ) { ?>
- <div id="connecttray" class="full">
- <div class="wrap">
- <div class="left">
- <h2>Get in touch</h2>
- <p><a href="tel:+14072269774" class="tel">407.226.9774</a> <a href="mailto:info@dppad.com" class="email">info@dppad.com</a></p>
- <address>
- <strong>Our Home</strong><br>
- 201 S. Orange Ave.,<br>
- Suite 890<br>
- Orlando, FL<br>
- 32801
- </address>
- </div><!-- .left -->
- <div class="right">
- <div id="stamp"></div>
- <?php echo do_shortcode('[gravityform id=2 title=true description=true ajax=true]'); ?>
- <?php //echo do_shortcode('[contact-form-7 id="619" title="Contact form 1"]'); ?>
- </div><!-- .wrap -->
- </div><!-- .wrap -->
- </div><!-- #connect -->
- <?php } ?>
- <section id="content" role="main">
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement