Pen Settings

HTML

CSS

CSS Base

Vendor Prefixing

Add External Stylesheets/Pens

Any URLs added here will be added as <link>s in order, and before the CSS in the editor. You can use the CSS from another Pen by using its URL and the proper URL extension.

+ add another resource

JavaScript

Babel includes JSX processing.

Add External Scripts/Pens

Any URL's added here will be added as <script>s in order, and run before the JavaScript in the editor. You can use the URL of any other Pen and it will include the JavaScript from that Pen.

+ add another resource

Packages

Add Packages

Search for and use JavaScript packages from npm here. By selecting a package, an import statement will be added to the top of the JavaScript editor for this package.

Details

Privacy

Go PRO Window blinds lowered to protect code. Code Editor with window blinds (raised) and a light blub turned on.

Keep it secret; keep it safe.

Private Pens are hidden everywhere on CodePen, except to you. You can still share them and other people can see them, they just can't find them through searching or browsing.

Upgrade to PRO

Behavior

Save Automatically?

If active, Pens will autosave every 30 seconds after being saved once.

Auto-Updating Preview

If enabled, the preview panel updates automatically as you code. If disabled, use the "Run" button to update.

Format on Save

If enabled, your code will be formatted when you actively save your Pen. Note: your code becomes un-folded during formatting.

Editor Settings

Code Indentation

Want to change your Syntax Highlighting theme, Fonts and more?

Visit your global Editor Settings.

Template

Make Template?

Templates are Pens that can be used to start other Pens quickly from the create menu. The new Pen will copy all the code and settings from the template and make a new Pen (that is not a fork). You can view all of your templates, or learn more in the documentation.

Template URL

Any Pen can act as a template (even if you don't flip the toggle above) with a special URL you can use yourself or share with others. Here's this Pen's template URL:

Screenshot

Screenshot or Custom Thumbnail

Screenshots of Pens are shown in mobile browsers, RSS feeds, to users who chose images instead of iframes, and in social media sharing.

This Pen is using the default Screenshot, generated by CodePen. Upgrade to PRO to upload your own thumbnail that will be displayed on previews of this pen throughout the site and when sharing to social media.

Upgrade to PRO

HTML

              
                <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes(); ?>>

<head profile="http://gmpg.org/xfn/11">
<meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />

<title><?php bloginfo('name'); ?> <?php if ( is_single() ) { ?> &raquo; Blog Archive <?php } ?> <?php wp_title(); ?></title>

<meta name="generator" content="WordPress <?php bloginfo('version'); ?>" /> <!-- leave this for stats -->
<!--[if IE 7]><link rel="stylesheet" type="text/css" href="<?php echo get_bloginfo('template_url').'/iestyle.css'; ?>" /><![endif]-->
<!--[if !IE 7]><!-->
<link rel="stylesheet" href="<?php echo get_bloginfo('template_url').'/style.css'; ?>" type="text/css" media="screen" />
<!--<![endif]-->
<link rel="alternate" type="application/rss+xml" title="<?php bloginfo('name'); ?> RSS Feed" href="<?php bloginfo('rss2_url'); ?>" />
<link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />

<script type="text/javascript" src="<?php echo get_bloginfo('template_url').'/js/jquery.min.js';?>"></script>
<script type="text/javascript">

  var _gaq = _gaq || [];
  _gaq.push(['_setAccount', 'UA-31543606-1']);
  _gaq.push(['_trackPageview']);

  (function() {
    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
  })();

</script>
<?php wp_head(); ?>
</head>

<body>
<div class="container">
<!--Header Starts-->
	<div class="header">
    <div class="headertop">
    <div class="logo" style="width:220px;">
    <span class="phone"><?php echo get_option('gt_phoneno'); ?></span>
    <ul>
    <li><a href="<?php echo get_option('gt_facebook_url'); ?>"><img src="<?php echo get_bloginfo('template_url').'/images/facebook.jpg'; ?>" /></a></li>
    <li><a href="<?php echo get_option('gt_twitter_url'); ?>"><img src="<?php echo get_bloginfo('template_url').'/images/twitter.jpg'; ?>" /></a></li>
    <li><a href="<?php echo get_option('gt_foursquare_url'); ?>"><img src="<?php echo get_bloginfo('template_url').'/images/scl_nwt.jpg'; ?>" /></a></li>
	<li><a href="https://www.tripadvisor.com/Restaurant_Review-g50254-d3952850-Reviews-Glenwillow_Grille-Cuyahoga_Heights_Ohio.html"><img src="/wp-content/themes/Glenwillow/images/tripadvisor.png"></a></li>
    </ul>
    </div>
    
    <div class="mail">
    <p><a href="<?php echo get_site_url().'/?page_id=15'; ?>"><?php echo get_option('gt_email'); ?></a></p>
   <a href="<?php echo get_site_url().'/?page_id=15'; ?>">
   <img src="<?php echo get_bloginfo('template_url').'/images/contactus.jpg'; ?>" /></a>
    </div>
    </div>
   <?php  $blog_home = get_bloginfo('home');?>
    <div class="menu">
    <div class="menu_left">
    <ul>
        
       <li><a href="<?php echo $blog_home;?>">Home</a></li>
               <?php wp_nav_menu( array( 'theme_location' => 'header-left-menu','items_wrap' => '%3$s') ); ?>
        </ul>
        </div>
        <div class="glen_logo">
        <a href="<?php bloginfo('home');?>"><img src="<?php echo get_bloginfo('template_url').'/images/logo.png'; ?>" /></a>
        </div>
        <div class="menu_right">
        <ul>
       
       <?php wp_nav_menu( array( 'theme_location' => 'header-right-menu','items_wrap' => '%3$s') ); ?>
      </ul>
      </div>
      </div>
    <div class="signup">
    <p>Sign up for our<br />
    e-newsletter and latest<br />
    news and special offers</p>
    <div class="email">
    <form name="ccoptin" action="http://visitor.r20.constantcontact.com/d.jsp" target="_blank" method="post">
    <input type="text" name="ea" />
    <input type="hidden" name="llr" value="jp5ek4iab">
    <input type="hidden" name="m" value="1109152397801">
    <input type="hidden" name="p" value="oi">
    <input type="image" name="go" value="GO" src="<?php echo get_bloginfo('template_url').'/images/mail.jpg'; ?>" class="emailimage" />
    </form>
    </div>
    </div>
    
	</div> 
	<!--Content start-->

<div class="content">

    <div class="banner">

    <div class="specials">
<?php if ( is_home() ) { ?>

	 <div class="specialcontent">  

    <ul>
               	<?php 
								query_posts( array( 'category_name' => 'Our Specials','posts_per_page' => 1) );
								while ( have_posts() ) : the_post(); ?>
									<h4><?php the_title();?></h4>						
								
						         <p><?php the_content(); ?></p>
					
						
						
						
						<?php
								endwhile;
								?>
                 </ul>
	</div>
				 
<img src="<?php echo get_bloginfo('template_url').'/images/specials1.jpg'; ?>" border="0" usemap="#Map" />
<map name="Map" id="Map"><area shape="poly" coords="161,335" href="#" /><area shape="rect" coords="98,289,226,328" href="<?php echo get_site_url().'/special-menu/'; ?>" /></map>

<?php } ?>
<!--IMAGE UPLOAD-->
<?php /*?><?php
elseif(!is_page('About Us') && !is_page('Cuisine')){ ?>
<?php $upload_dir = get_option('gt_logouploaddir');
$logo_img=get_option('gt_pagelogo');

 ?>
<img src="<?php echo $upload_dir . '/' .$logo_img ?>" border="0"/>
 <!--<img src="<?php //echo get_bloginfo('template_url').'/images/specials.jpg'; ?>" border="0" usemap="#Map" />-->

<?php } ?><?php */?>

    </div>
	
	
	
<?php if ( !is_page() && !is_single() && !is_404() ) { ?>
    <div class="banner_img">
    <?php echo do_shortcode('[promoslider]') ?> 
    <!--<img src="<?php //echo get_bloginfo('template_url').'/images/banner.jpg'; ?>" />-->
    </div>
<?php } else {} ?>


    </div>
              
            
!

CSS

              
                
              
            
!

JS

              
                
              
            
!
999px
Save your sass for CSS. Everywhere else be kind.

Console