Pen Settings



CSS Base

Vendor Prefixing

Add External Stylesheets/Pens

Any URL's added here will be added as <link>s in order, and before the CSS in the editor. If you link to another Pen, it will include the CSS from that Pen. If the preprocessor matches, it will attempt to combine them before processing.

+ add another resource


Babel is required to process package imports. If you need a different preprocessor remove all packages first.

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


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.


                <!DOCTYPE html>
<html lang="en">
<title>The Avocado Girl</title>
<link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css">
<link href='' rel='stylesheet' type='text/css'>
<link href='' rel='stylesheet' type='text/css'>
<?php wp_head(); ?>
	<div class="wrapper">
	<div id="titlebar">

	<img id="logo" src="<?php bloginfo('stylesheet_directory'); ?>/images/avocado.png" width="102" height="112" alt="avocado girl" />
	<img id="title" src="<?php bloginfo('stylesheet_directory'); ?>/images/title.png" width="496" height="46" alt="TheAvocadoGirl.Com" />
	<div class="clear"></div>

	</div><!-- end titlebar -->	
	</div><!-- end wrapper -->

<div class="wrapper">
	<div id="nav">
         <?php wp_nav_menu(array( 'menu' => 'mainnav', 'menu_class' => 'nav-bar-content', 'menu_id' => 'navigation', 'container' => false, 'theme_location' => 'primary-menu', 'show_home' => '1')); ?>  
	</div><!-- end nav -->
	</div><!-- end wrapper -->
	<div class="wrapper">
	<div id="content">
        <?php get_header(); ?>  

<?php if ( ! have_posts() ) : ?>  
            <h1>Not Found</h1>  
                <p>Apologies, but no results were found for the requested archive. Perhaps searching will help find a related post</p>  
    <?php endif; ?>  
    <?php while ( have_posts() ) : the_post(); ?> 
	<div class="article">
	<h1><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h1>
	<span class="date"><?php the_date(); ?></span>
<?php if ( is_archive() || is_search() ) : // Only display excerpts for archives and search. ?>  
            <?php the_excerpt(); ?>  
    <?php else : ?>  
            <?php the_content('Read More'); ?>  
    <?php endif; ?>  
 	 	<div class="meta">
			<img src="<?php bloginfo('stylesheet_directory'); ?>/images/tag.png" width="15" height="13" alt="tags" /><span class="tags"><?php the_tags(); ?></span>
			<img src="<?php bloginfo('stylesheet_directory'); ?>/images/category.png" width="15" height="14" alt="categories" /><span class="categories"><?php the_category(', '); ?></span> </span>
			<img src="<?php bloginfo('stylesheet_directory'); ?>/images/comments.png" width="20" height="15" alt="Comments" /><span class="comments"><?php comments_popup_link('Leave a comment', '1 Comment', '% Comments'); ?></span>
<?php comments_template( '', true ); ?>  

<?php endwhile; ?> 
<div class="clear"></div>
		<?php if ( $wp_query->max_num_pages > 1 ) : ?>  
        <div id="older-posts"><?php next_posts_link('Older Posts'); ?></div>  
        <div id="newer-posts"><?php previous_posts_link('Newer Posts'); ?></div>  
<?php else: ?>  
        <div id="only-page">No newer/older posts</div>  
<?php endif; ?>
</div><!--end content -->
    <?php get_footer(); ?>  
	<div id="sidebar">
		 <?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar("sidebar") ) : ?>  
		 <?php endif; ?>
	 </div><!-- end sidebar -->
	</div><!-- end wrapper -->
<?php get_sidebar(); ?> 
</div><!-- end sidebar -->
	</div><!-- end wrapper -->
	<div class="clear"></div>
	<div class="wrapper">
		 <?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar("footer") ) : ?>  
		 <?php endif; ?>
		<span id="copyright">Copyright &copy; 2013</span>
	</div><!-- end wrapper -->
		    <?php wp_footer(); ?>