<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>[554] sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer: Update theme for developer.wordpress.org to the version being developed on GitHub.</title>
</head>
<body>
<style type="text/css"><!--
#msg dl.meta { border: 1px #006 solid; background: #369; padding: 6px; color: #fff; }
#msg dl.meta dt { float: left; width: 6em; font-weight: bold; }
#msg dt:after { content:':';}
#msg dl, #msg dt, #msg ul, #msg li, #header, #footer, #logmsg { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; }
#msg dl a { font-weight: bold}
#msg dl a:link { color:#fc3; }
#msg dl a:active { color:#ff0; }
#msg dl a:visited { color:#cc6; }
h3 { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; font-weight: bold; }
#msg pre { overflow: auto; background: #ffc; border: 1px #fa0 solid; padding: 6px; }
#logmsg { background: #ffc; border: 1px #fa0 solid; padding: 1em 1em 0 1em; }
#logmsg p, #logmsg pre, #logmsg blockquote { margin: 0 0 1em 0; }
#logmsg p, #logmsg li, #logmsg dt, #logmsg dd { line-height: 14pt; }
#logmsg h1, #logmsg h2, #logmsg h3, #logmsg h4, #logmsg h5, #logmsg h6 { margin: .5em 0; }
#logmsg h1:first-child, #logmsg h2:first-child, #logmsg h3:first-child, #logmsg h4:first-child, #logmsg h5:first-child, #logmsg h6:first-child { margin-top: 0; }
#logmsg ul, #logmsg ol { padding: 0; list-style-position: inside; margin: 0 0 0 1em; }
#logmsg ul { text-indent: -1em; padding-left: 1em; }#logmsg ol { text-indent: -1.5em; padding-left: 1.5em; }
#logmsg > ul, #logmsg > ol { margin: 0 0 1em 0; }
#logmsg pre { background: #eee; padding: 1em; }
#logmsg blockquote { border: 1px solid #fa0; border-left-width: 10px; padding: 1em 1em 0 1em; background: white;}
#logmsg dl { margin: 0; }
#logmsg dt { font-weight: bold; }
#logmsg dd { margin: 0; padding: 0 0 0.5em 0; }
#logmsg dd:before { content:'\00bb';}
#logmsg table { border-spacing: 0px; border-collapse: collapse; border-top: 4px solid #fa0; border-bottom: 1px solid #fa0; background: #fff; }
#logmsg table th { text-align: left; font-weight: normal; padding: 0.2em 0.5em; border-top: 1px dotted #fa0; }
#logmsg table td { text-align: right; border-top: 1px dotted #fa0; padding: 0.2em 0.5em; }
#logmsg table thead th { text-align: center; border-bottom: 1px solid #fa0; }
#logmsg table th.Corner { text-align: left; }
#logmsg hr { border: none 0; border-top: 2px dashed #fa0; height: 1px; }
#header, #footer { color: #fff; background: #636; border: 1px #300 solid; padding: 6px; }
#patch { width: 100%; }
#patch h4 {font-family: verdana,arial,helvetica,sans-serif;font-size:10pt;padding:8px;background:#369;color:#fff;margin:0;}
#patch .propset h4, #patch .binary h4 {margin:0;}
#patch pre {padding:0;line-height:1.2em;margin:0;}
#patch .diff {width:100%;background:#eee;padding: 0 0 10px 0;overflow:auto;}
#patch .propset .diff, #patch .binary .diff {padding:10px 0;}
#patch span {display:block;padding:0 10px;}
#patch .modfile, #patch .addfile, #patch .delfile, #patch .propset, #patch .binary, #patch .copfile {border:1px solid #ccc;margin:10px 0;}
#patch ins {background:#dfd;text-decoration:none;display:block;padding:0 10px;}
#patch del {background:#fdd;text-decoration:none;display:block;padding:0 10px;}
#patch .lines, .info {color:#888;background:#fff;}
--></style>
<div id="msg">
<dl class="meta">
<dt>Revision</dt> <dd><a href="http://meta.trac.wordpress.org/changeset/554">554</a></dd>
<dt>Author</dt> <dd>coffee2code</dd>
<dt>Date</dt> <dd>2014-04-24 22:19:39 +0000 (Thu, 24 Apr 2014)</dd>
</dl>
<h3>Log Message</h3>
<pre>Update theme for developer.wordpress.org to the version being developed on GitHub.</pre>
<h3>Modified Paths</h3>
<ul>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporgdeveloperfooterphp">sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/footer.php</a></li>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporgdeveloperfunctionsphp">sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/functions.php</a></li>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporgdeveloperheaderphp">sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/header.php</a></li>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporgdeveloperindexphp">sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/index.php</a></li>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporgdeveloperstylecss">sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/style.css</a></li>
</ul>
<h3>Added Paths</h3>
<ul>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporgdeveloper404php">sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/404.php</a></li>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporgdeveloperREADMEmd">sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/README.md</a></li>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporgdeveloperarchivephp">sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/archive.php</a></li>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporgdevelopercommentsphp">sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/comments.php</a></li>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporgdevelopercontentnonephp">sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/content-none.php</a></li>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporgdevelopercontentpagephp">sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/content-page.php</a></li>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporgdevelopercontentreferencephp">sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/content-reference.php</a></li>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporgdevelopercontentsinglephp">sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/content-single.php</a></li>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporgdevelopercontentwpparserhookphp">sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/content-wp-parser-hook.php</a></li>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporgdevelopercontentphp">sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/content.php</a></li>
<li>sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/inc/</li>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporgdeveloperincbreadcrumbtrailphp">sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/inc/breadcrumb-trail.php</a></li>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporgdeveloperinccustomizerphp">sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/inc/customizer.php</a></li>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporgdeveloperincextrasphp">sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/inc/extras.php</a></li>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporgdeveloperincjetpackphp">sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/inc/jetpack.php</a></li>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporgdeveloperinclooppaginationphp">sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/inc/loop-pagination.php</a></li>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporgdeveloperinctemplatetagsphp">sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/inc/template-tags.php</a></li>
<li>sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/js/</li>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporgdeveloperjscustomizerjs">sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/js/customizer.js</a></li>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporgdeveloperjsnavigationjs">sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/js/navigation.js</a></li>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporgdeveloperjsskiplinkfocusfixjs">sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/js/skip-link-focus-fix.js</a></li>
<li>sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/languages/</li>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporgdeveloperlanguagesreadmetxt">sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/languages/readme.txt</a></li>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporgdeveloperlanguageswporgdeveloperpot">sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/languages/wporg-developer.pot</a></li>
<li>sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/layouts/</li>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporgdeveloperlayoutscontentsidebarcss">sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/layouts/content-sidebar.css</a></li>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporgdeveloperlayoutssidebarcontentcss">sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/layouts/sidebar-content.css</a></li>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporgdevelopermaincss">sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/main.css</a></li>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporgdevelopermainscss">sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/main.scss</a></li>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporgdeveloperpagehomelandingphp">sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/page-home-landing.php</a></li>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporgdeveloperpagereferencelandingphp">sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/page-reference-landing.php</a></li>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporgdeveloperpagephp">sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/page.php</a></li>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporgdeveloperrtlcss">sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/rtl.css</a></li>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporgdeveloperscreenshotpng">sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/screenshot.png</a></li>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporgdevelopersearchphp">sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/search.php</a></li>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporgdevelopersearchformphp">sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/searchform.php</a></li>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporgdevelopersidebarphp">sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/sidebar.php</a></li>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporgdevelopersinglepostphp">sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/single-post.php</a></li>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporgdevelopersinglephp">sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/single.php</a></li>
</ul>
<h3>Removed Paths</h3>
<ul>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporgdeveloperfrontpagephp">sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/front-page.php</a></li>
</ul>
</div>
<div id="patch">
<h3>Diff</h3>
<a id="sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporgdeveloper404php"></a>
<div class="addfile"><h4>Added: sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/404.php (0 => 554)</h4>
<pre class="diff"><span>
<span class="info">--- sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/404.php (rev 0)
+++ sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/404.php 2014-04-24 22:19:39 UTC (rev 554)
</span><span class="lines">@@ -0,0 +1,56 @@
</span><ins>+<?php
+/**
+ * The template for displaying 404 pages (Not Found).
+ *
+ * @package wporg-developer
+ */
+
+get_header(); ?>
+
+ <div id="primary" class="content-area">
+ <main id="main" class="site-main" role="main">
+
+ <section class="error-404 not-found">
+ <header class="page-header">
+ <h1 class="page-title"><?php _e( 'Oops! That page can’t be found.', 'wporg' ); ?></h1>
+ </header><!-- .page-header -->
+
+ <div class="page-content">
+ <p><?php _e( 'It looks like nothing was found at this location. Maybe try one of the links below or a search?', 'wporg' ); ?></p>
+
+ <?php get_search_form(); ?>
+
+ <?php the_widget( 'WP_Widget_Recent_Posts' ); ?>
+
+ <?php if ( wporg_developer_categorized_blog() ) : // Only show the widget if site has multiple categories. ?>
+ <div class="widget widget_categories">
+ <h2 class="widgettitle"><?php _e( 'Most Used Categories', 'wporg' ); ?></h2>
+ <ul>
+ <?php
+ wp_list_categories( array(
+ 'orderby' => 'count',
+ 'order' => 'DESC',
+ 'show_count' => 1,
+ 'title_li' => '',
+ 'number' => 10,
+ ) );
+ ?>
+ </ul>
+ </div><!-- .widget -->
+ <?php endif; ?>
+
+ <?php
+ /* translators: %1$s: smiley */
+ $archive_content = '<p>' . sprintf( __( 'Try looking in the monthly archives. %1$s', 'wporg' ), convert_smilies( ':)' ) ) . '</p>';
+ the_widget( 'WP_Widget_Archives', 'dropdown=1', "after_title=</h2>$archive_content" );
+ ?>
+
+ <?php the_widget( 'WP_Widget_Tag_Cloud' ); ?>
+
+ </div><!-- .page-content -->
+ </section><!-- .error-404 -->
+
+ </main><!-- #main -->
+ </div><!-- #primary -->
+
+<?php get_footer(); ?>
</ins><span class="cx">\ No newline at end of file
</span><span class="cx">Property changes on: sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/404.php
</span><span class="cx">___________________________________________________________________
</span></span></pre></div>
<a id="svnexecutable"></a>
<div class="addfile"><h4>Added: svn:executable</h4></div>
<ins>+*
</ins><span class="cx">\ No newline at end of property
</span><a id="svneolstyle"></a>
<div class="addfile"><h4>Added: svn:eol-style</h4></div>
<ins>+native
</ins><span class="cx">\ No newline at end of property
</span><a id="sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporgdeveloperREADMEmd"></a>
<div class="addfile"><h4>Added: sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/README.md (0 => 554)</h4>
<pre class="diff"><span>
<span class="info">--- sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/README.md (rev 0)
+++ sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/README.md 2014-04-24 22:19:39 UTC (rev 554)
</span><span class="lines">@@ -0,0 +1,15 @@
</span><ins>+# developer.wordpress.org
+
+developer.wordpress.org is the forthcoming resource for developers working with WordPress
+
+There are a number of ways to get involved:
+
+* get set up with the [devhub development environment](https://meta.trac.wordpress.org/wiki/DevHub) to help with development
+* help out with the [inline docs efforts](http://make.wordpress.org/core/tag/inline-docs)
+* help out with the [plugin](http://make.wordpress.org/docs/plugin-developer-handbook/) and [theme](http://make.wordpress.org/docs/theme-developer-handbook/) developer handbooks
+
+The regular devhub meeting is on Tuesdays at 15:00 UTC in irc.freenode.net #wordpress-sfd.
+
+Discussion occurs on [make.wordpress.org/docs](http://make.wordpress.org/docs/tag/devhub/)
+
+Issues are on trac on the [developer.wordpress.org component](https://meta.trac.wordpress.org/query?status=!closed&component=developer.wordpress.org).
</ins><span class="cx">Property changes on: sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/README.md
</span><span class="cx">___________________________________________________________________
</span></span></pre></div>
<a id="svnexecutable"></a>
<div class="addfile"><h4>Added: svn:executable</h4></div>
<ins>+*
</ins><span class="cx">\ No newline at end of property
</span><a id="sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporgdeveloperarchivephp"></a>
<div class="addfile"><h4>Added: sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/archive.php (0 => 554)</h4>
<pre class="diff"><span>
<span class="info">--- sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/archive.php (rev 0)
+++ sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/archive.php 2014-04-24 22:19:39 UTC (rev 554)
</span><span class="lines">@@ -0,0 +1,48 @@
</span><ins>+<?php namespace DevHub;
+
+/**
+ * The template for displaying Archive pages.
+ *
+ * Learn more: http://codex.wordpress.org/Template_Hierarchy
+ *
+ * @package wporg-developer
+ */
+
+get_header(); ?>
+
+<div class="<?php body_class( 'pagebody' ) ?>">
+ <div class="wrapper">
+ <header class="page-header">
+ <?php breadcrumb_trail(); ?>
+ </header><!-- .page-header -->
+
+ <?php if ( have_posts() ) : ?>
+
+
+ <?php /* Start the Loop */ ?>
+ <?php while ( have_posts() ) : the_post(); ?>
+
+ <?php
+ /* Include the Post-Format-specific template for the content.
+ * If you want to override this in a child theme, then include a file
+ * called content-___.php (where ___ is the Post Format name) and that will be used instead.
+ */
+ get_template_part( 'content', get_template_part_name() );
+ ?>
+
+ <?php endwhile; ?>
+
+ <?php //wporg_developer_paging_nav(); ?>
+
+ <?php else : ?>
+
+ <?php get_template_part( 'content', 'none' ); ?>
+
+ <?php endif; ?>
+ <?php loop_pagination(); ?>
+
+ </div>
+ <!-- /wrapper -->
+</div><!-- /pagebody -->
+
+<?php get_footer(); ?>
</ins><span class="cx">\ No newline at end of file
</span><span class="cx">Property changes on: sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/archive.php
</span><span class="cx">___________________________________________________________________
</span></span></pre></div>
<a id="svneolstyle"></a>
<div class="addfile"><h4>Added: svn:eol-style</h4></div>
<ins>+native
</ins><span class="cx">\ No newline at end of property
</span><a id="svnexecutable"></a>
<div class="addfile"><h4>Added: svn:executable</h4></div>
<ins>+*
</ins><span class="cx">\ No newline at end of property
</span><a id="sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporgdevelopercommentsphp"></a>
<div class="addfile"><h4>Added: sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/comments.php (0 => 554)</h4>
<pre class="diff"><span>
<span class="info">--- sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/comments.php (rev 0)
+++ sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/comments.php 2014-04-24 22:19:39 UTC (rev 554)
</span><span class="lines">@@ -0,0 +1,74 @@
</span><ins>+<?php
+/**
+ * The template for displaying Comments.
+ *
+ * The area of the page that contains both current comments
+ * and the comment form. The actual display of comments is
+ * handled by a callback to wporg_developer_comment() which is
+ * located in the inc/template-tags.php file.
+ *
+ * @package wporg-developer
+ */
+
+/*
+ * If the current post is protected by a password and
+ * the visitor has not yet entered the password we will
+ * return early without loading the comments.
+ */
+if ( post_password_required() ) {
+ return;
+}
+?>
+
+<div id="comments" class="comments-area">
+
+ <?php // You can start editing here -- including this comment! ?>
+
+ <?php if ( have_comments() ) : ?>
+ <h2 class="comments-title">
+ <?php
+ printf( _nx( 'One thought on “%2$s”', '%1$s thoughts on “%2$s”', get_comments_number(), 'comments title', 'wporg' ),
+ number_format_i18n( get_comments_number() ), '<span>' . get_the_title() . '</span>' );
+ ?>
+ </h2>
+
+ <?php if ( get_comment_pages_count() > 1 && get_option( 'page_comments' ) ) : // are there comments to navigate through ?>
+ <nav id="comment-nav-above" class="comment-navigation" role="navigation">
+ <h1 class="screen-reader-text"><?php _e( 'Comment navigation', 'wporg' ); ?></h1>
+ <div class="nav-previous"><?php previous_comments_link( __( '← Older Comments', 'wporg' ) ); ?></div>
+ <div class="nav-next"><?php next_comments_link( __( 'Newer Comments →', 'wporg' ) ); ?></div>
+ </nav><!-- #comment-nav-above -->
+ <?php endif; // check for comment navigation ?>
+
+ <ol class="comment-list">
+ <?php
+ /* Loop through and list the comments. Tell wp_list_comments()
+ * to use wporg_developer_comment() to format the comments.
+ * If you want to override this in a child theme, then you can
+ * define wporg_developer_comment() and that will be used instead.
+ * See wporg_developer_comment() in inc/template-tags.php for more.
+ */
+ wp_list_comments( array( 'callback' => 'wporg_developer_comment' ) );
+ ?>
+ </ol><!-- .comment-list -->
+
+ <?php if ( get_comment_pages_count() > 1 && get_option( 'page_comments' ) ) : // are there comments to navigate through ?>
+ <nav id="comment-nav-below" class="comment-navigation" role="navigation">
+ <h1 class="screen-reader-text"><?php _e( 'Comment navigation', 'wporg' ); ?></h1>
+ <div class="nav-previous"><?php previous_comments_link( __( '← Older Comments', 'wporg' ) ); ?></div>
+ <div class="nav-next"><?php next_comments_link( __( 'Newer Comments →', 'wporg' ) ); ?></div>
+ </nav><!-- #comment-nav-below -->
+ <?php endif; // check for comment navigation ?>
+
+ <?php endif; // have_comments() ?>
+
+ <?php
+ // If comments are closed and there are comments, let's leave a little note, shall we?
+ if ( ! comments_open() && '0' != get_comments_number() && post_type_supports( get_post_type(), 'comments' ) ) :
+ ?>
+ <p class="no-comments"><?php _e( 'Comments are closed.', 'wporg' ); ?></p>
+ <?php endif; ?>
+
+ <?php comment_form(); ?>
+
+</div><!-- #comments -->
</ins><span class="cx">Property changes on: sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/comments.php
</span><span class="cx">___________________________________________________________________
</span></span></pre></div>
<a id="svneolstyle"></a>
<div class="addfile"><h4>Added: svn:eol-style</h4></div>
<ins>+native
</ins><span class="cx">\ No newline at end of property
</span><a id="svnexecutable"></a>
<div class="addfile"><h4>Added: svn:executable</h4></div>
<ins>+*
</ins><span class="cx">\ No newline at end of property
</span><a id="sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporgdevelopercontentnonephp"></a>
<div class="addfile"><h4>Added: sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/content-none.php (0 => 554)</h4>
<pre class="diff"><span>
<span class="info">--- sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/content-none.php (rev 0)
+++ sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/content-none.php 2014-04-24 22:19:39 UTC (rev 554)
</span><span class="lines">@@ -0,0 +1,33 @@
</span><ins>+<?php
+/**
+ * The template part for displaying a message that posts cannot be found.
+ *
+ * Learn more: http://codex.wordpress.org/Template_Hierarchy
+ *
+ * @package wporg-developer
+ */
+?>
+
+<section class="no-results not-found">
+ <header class="page-header">
+ <h1 class="page-title"><?php _e( 'Nothing Found', 'wporg' ); ?></h1>
+ </header><!-- .page-header -->
+
+ <div class="page-content">
+ <?php if ( is_home() && current_user_can( 'publish_posts' ) ) : ?>
+
+ <p><?php printf( __( 'Ready to publish your first post? <a href="%1$s">Get started here</a>.', 'wporg' ), esc_url( admin_url( 'post-new.php' ) ) ); ?></p>
+
+ <?php elseif ( is_search() ) : ?>
+
+ <p><?php _e( 'Sorry, but nothing matched your search terms. Please try again with some different keywords.', 'wporg' ); ?></p>
+ <?php get_search_form(); ?>
+
+ <?php else : ?>
+
+ <p><?php _e( 'It seems we can’t find what you’re looking for. Perhaps searching can help.', 'wporg' ); ?></p>
+ <?php get_search_form(); ?>
+
+ <?php endif; ?>
+ </div><!-- .page-content -->
+</section><!-- .no-results -->
</ins><span class="cx">Property changes on: sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/content-none.php
</span><span class="cx">___________________________________________________________________
</span></span></pre></div>
<a id="svneolstyle"></a>
<div class="addfile"><h4>Added: svn:eol-style</h4></div>
<ins>+native
</ins><span class="cx">\ No newline at end of property
</span><a id="svnexecutable"></a>
<div class="addfile"><h4>Added: svn:executable</h4></div>
<ins>+*
</ins><span class="cx">\ No newline at end of property
</span><a id="sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporgdevelopercontentpagephp"></a>
<div class="addfile"><h4>Added: sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/content-page.php (0 => 554)</h4>
<pre class="diff"><span>
<span class="info">--- sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/content-page.php (rev 0)
+++ sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/content-page.php 2014-04-24 22:19:39 UTC (rev 554)
</span><span class="lines">@@ -0,0 +1,24 @@
</span><ins>+<?php
+/**
+ * The template used for displaying page content in page.php
+ *
+ * @package wporg-developer
+ */
+?>
+
+<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
+ <header class="entry-header">
+ <h1 class="single-entry-title entry-title"><?php the_title(); ?></h1>
+ </header><!-- .entry-header -->
+
+ <div class="entry-content">
+ <?php the_content(); ?>
+ <?php
+ wp_link_pages( array(
+ 'before' => '<div class="page-links">' . __( 'Pages:', 'wporg' ),
+ 'after' => '</div>',
+ ) );
+ ?>
+ </div><!-- .entry-content -->
+ <?php edit_post_link( __( 'Edit', 'wporg' ), '<footer class="entry-meta"><span class="edit-link">', '</span></footer>' ); ?>
+</article><!-- #post-## -->
</ins><span class="cx">Property changes on: sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/content-page.php
</span><span class="cx">___________________________________________________________________
</span></span></pre></div>
<a id="svneolstyle"></a>
<div class="addfile"><h4>Added: svn:eol-style</h4></div>
<ins>+native
</ins><span class="cx">\ No newline at end of property
</span><a id="svnexecutable"></a>
<div class="addfile"><h4>Added: svn:executable</h4></div>
<ins>+*
</ins><span class="cx">\ No newline at end of property
</span><a id="sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporgdevelopercontentreferencephp"></a>
<div class="addfile"><h4>Added: sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/content-reference.php (0 => 554)</h4>
<pre class="diff"><span>
<span class="info">--- sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/content-reference.php (rev 0)
+++ sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/content-reference.php 2014-04-24 22:19:39 UTC (rev 554)
</span><span class="lines">@@ -0,0 +1,90 @@
</span><ins>+<?php namespace DevHub; ?>
+
+<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
+
+ <h1><a href="<?php the_permalink() ?>"><?php echo get_signature(); ?></a></h1>
+
+ <section class="description">
+ <?php the_excerpt(); ?>
+ </section>
+ <section class="long-description">
+ <?php the_content(); ?>
+ </section>
+ <section class="return"><p><strong>Return:</strong> <?php echo get_return(); ?></p></section>
+
+ <?php
+ $since = get_since();
+if ( ! empty( $since ) ) : ?>
+ <section class="since">
+ <p><strong>Since:</strong> WordPress <a href="<?php echo get_since_link( $since ); ?>"><?php echo esc_html( $since ); ?></a></p>
+ </section>
+<?php endif; ?>
+
+ <?php
+ $source_file = get_source_file();
+ if ( ! empty( $source_file ) ) : ?>
+ <section class="source">
+ <p><strong><?php _e( 'Source:', 'wporg' ); ?></strong> <a href="<?php echo get_source_file_link( $source_file ); ?>"><?php echo esc_html( $source_file ); ?></a></p>
+ </section>
+ <?php endif; ?>
+
+<?php /* if ( is_archive() ) : ?>
+ <section class="meta">Used by TODO | Uses TODO | TODO Examples</section>
+<?php endif; */ ?>
+<?php if ( is_single() ) : ?>
+ <!--
+ <hr/>
+ <section class="explanation">
+ <h2><?php _e( 'Explanation', 'wporg' ); ?></h2>
+ </section>
+ -->
+
+ <?php if ( $params = get_params() ) : ?>
+ <hr/>
+ <section class="parameters">
+ <h2><?php _e( 'Parameters', 'wporg-developer' ); ?></h2>
+ <dl>
+ <?php foreach ( $params as $param ) : ?>
+ <?php if ( ! empty( $param['variable'] ) ) : ?>
+ <dt><?php echo esc_html( $param['variable'] ); ?></dt>
+ <?php endif; ?>
+ <dd>
+ <p class="desc">
+ <?php if ( ! empty( $param['types'] ) ) : ?>
+ <span class="type">(<?php echo wp_kses_post( $param['types'] ); ?>)</span>
+ <?php endif; ?>
+ <?php if ( ! empty( $param['required'] ) ) : ?>
+ <span class="required">(<?php echo esc_html( $param['required'] ); ?>)</span>
+ <?php endif; ?>
+ <?php if ( ! empty( $param['content'] ) ) : ?>
+ <span class="description"><?php echo wp_kses_post( $param['content'] ); ?></span>
+ <?php endif; ?>
+ </p>
+ <?php if ( ! empty( $param['default'] ) ) : ?>
+ <p class="default"><?php _e( 'Default value:', 'wporg-developer' );?> <?php echo esc_html( $param['default'] ); ?></p>
+ <?php endif; ?>
+ </dd>
+ <?php endforeach; ?>
+ </dl>
+ </section>
+ <?php endif; ?>
+
+ <?php if ( $arguments = get_arguments() ) : //todo: output arg data ?>
+ <hr/>
+ <section class="arguments">
+ <h2><?php _e( 'Arguments', 'wporg' ); ?></h2>
+ </section>
+ <?php endif; ?>
+ <!--
+ <hr/>
+ <section class="learn-more">
+ <h2><?php _e( 'Learn More', 'wporg' ); ?></h2>
+ </section>
+ <hr/>
+ <section class="examples">
+ <h2><?php _e( 'Examples', 'wporg' ); ?></h2>
+ </section>
+ -->
+<?php endif; ?>
+
+</article>
</ins><span class="cx">Property changes on: sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/content-reference.php
</span><span class="cx">___________________________________________________________________
</span></span></pre></div>
<a id="svneolstyle"></a>
<div class="addfile"><h4>Added: svn:eol-style</h4></div>
<ins>+native
</ins><span class="cx">\ No newline at end of property
</span><a id="sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporgdevelopercontentsinglephp"></a>
<div class="addfile"><h4>Added: sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/content-single.php (0 => 554)</h4>
<pre class="diff"><span>
<span class="info">--- sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/content-single.php (rev 0)
+++ sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/content-single.php 2014-04-24 22:19:39 UTC (rev 554)
</span><span class="lines">@@ -0,0 +1,62 @@
</span><ins>+<?php
+/**
+ * @package wporg-developer
+ */
+?>
+
+<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
+ <header class="entry-header entry-header">
+ <h1 class="single-entry-title entry-title"><?php the_title(); ?></h1>
+
+ <div class="entry-meta">
+ <?php wporg_developer_posted_on(); ?>
+ </div><!-- .entry-meta -->
+ </header><!-- .entry-header -->
+
+ <div class="entry-content">
+ <?php the_content(); ?>
+ <?php
+ wp_link_pages( array(
+ 'before' => '<div class="page-links">' . __( 'Pages:', 'wporg' ),
+ 'after' => '</div>',
+ ) );
+ ?>
+ </div><!-- .entry-content -->
+
+ <footer class="entry-meta">
+ <?php
+ /* translators: used between list items, there is a space after the comma */
+ $category_list = get_the_category_list( __( ', ', 'wporg' ) );
+
+ /* translators: used between list items, there is a space after the comma */
+ $tag_list = get_the_tag_list( '', __( ', ', 'wporg' ) );
+
+ if ( ! wporg_developer_categorized_blog() ) {
+ // This blog only has 1 category so we just need to worry about tags in the meta text
+ if ( '' != $tag_list ) {
+ $meta_text = __( 'This entry was tagged %2$s. Bookmark the <a href="%3$s" rel="bookmark">permalink</a>.', 'wporg' );
+ } else {
+ $meta_text = __( 'Bookmark the <a href="%3$s" rel="bookmark">permalink</a>.', 'wporg' );
+ }
+
+ } else {
+ // But this blog has loads of categories so we should probably display them here
+ if ( '' != $tag_list ) {
+ $meta_text = __( 'This entry was posted in %1$s and tagged %2$s. Bookmark the <a href="%3$s" rel="bookmark">permalink</a>.', 'wporg' );
+ } else {
+ $meta_text = __( 'This entry was posted in %1$s. Bookmark the <a href="%3$s" rel="bookmark">permalink</a>.', 'wporg' );
+ }
+
+ } // end check for categories on this blog
+
+ printf(
+ $meta_text,
+ $category_list,
+ $tag_list,
+ get_permalink()
+ );
+ ?>
+
+ <?php edit_post_link( __( 'Edit', 'wporg' ), '<span class="edit-link">', '</span>' ); ?>
+ </footer><!-- .entry-meta -->
+</article><!-- #post-## -->
</ins><span class="cx">Property changes on: sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/content-single.php
</span><span class="cx">___________________________________________________________________
</span></span></pre></div>
<a id="svneolstyle"></a>
<div class="addfile"><h4>Added: svn:eol-style</h4></div>
<ins>+native
</ins><span class="cx">\ No newline at end of property
</span><a id="svnexecutable"></a>
<div class="addfile"><h4>Added: svn:executable</h4></div>
<ins>+*
</ins><span class="cx">\ No newline at end of property
</span><a id="sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporgdevelopercontentwpparserhookphp"></a>
<div class="addfile"><h4>Added: sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/content-wp-parser-hook.php (0 => 554)</h4>
<pre class="diff"><span>
<span class="info">--- sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/content-wp-parser-hook.php (rev 0)
+++ sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/content-wp-parser-hook.php 2014-04-24 22:19:39 UTC (rev 554)
</span><span class="lines">@@ -0,0 +1,84 @@
</span><ins>+<?php namespace DevHub; ?>
+
+<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
+
+ <h1><a href="<?php the_permalink() ?>"><?php echo get_signature(); ?></a></h1>
+
+ <section class="description">
+ <?php the_excerpt(); ?>
+ </section>
+ <section class="long-description">
+ <?php the_content(); ?>
+ </section>
+
+ <?php
+ $since = get_since();
+ if ( ! empty( $since ) ) : ?>
+ <section class="since">
+ <p><strong><?php _e( 'Since:</strong> WordPress' ); ?> <a href="<?php echo get_since_link( $since ); ?>"><?php echo esc_html( $since ); ?></a></p>
+ </section>
+ <?php endif; ?>
+
+ <?php
+ $source_file = get_source_file();
+ if ( ! empty( $source_file ) ) : ?>
+ <section class="source">
+ <p><strong><?php _e( 'Source:', 'wporg' ); ?></strong> <a href="<?php echo get_source_file_link( $source_file ); ?>"><?php echo esc_html( $source_file ); ?></a></p>
+ </section>
+ <?php endif; ?>
+
+ <?php /* if ( is_archive() ) : ?>
+ <section class="meta">Used by TODO | Uses TODO | TODO Examples</section>
+ <?php endif; */ ?>
+
+ <?php if ( is_single() ) : ?>
+ <!--
+ <hr/>
+ <section class="explanation">
+ <h2><?php _e( 'Explanation', 'wporg' ); ?></h2>
+ </section>
+ -->
+
+ <?php if ( $params = get_params() ) : ?>
+
+ <hr/>
+ <section class="parameters">
+ <h2><?php _e( 'Parameters', 'wporg-developer' ); ?></h2>
+ <dl>
+ <?php foreach ( $params as $param ) : ?>
+ <?php if ( ! empty( $param['variable'] ) ) : ?>
+ <dt><?php echo esc_html( $param['variable'] ); ?></dt>
+ <?php endif; ?>
+ <dd>
+ <p class="desc">
+ <?php if ( ! empty( $param['types'] ) ) : ?>
+ <span class="type">(<?php echo wp_kses_post( $param['types'] ); ?>)</span>
+ <?php endif; ?>
+
+ <?php if ( ! empty( $param['content'] ) ) : ?>
+ <span class="description"><?php echo wp_kses_post( $param['content'] ); ?></span>
+ <?php endif; ?>
+ </p>
+
+ <?php if ( ! empty( $param['default'] ) ) : ?>
+ <p class="default"><?php _e( 'Default value:', 'wporg' );?> <?php echo esc_html( $param['default'] ); ?></p>
+ <?php endif; ?>
+ </dd>
+ <?php endforeach; ?>
+ </dl>
+ </section>
+ <?php endif; ?>
+
+ <hr/>
+ <!--
+ <section class="learn-more">
+ <h2><?php _e( 'Learn More', 'wporg' ); ?></h2>
+ </section>
+ <hr/>
+ <section class="examples">
+ <h2><?php _e( 'Examples', 'wporg' ); ?></h2>
+ </section>
+ -->
+ <?php endif; ?>
+
+</article>
</ins><span class="cx">Property changes on: sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/content-wp-parser-hook.php
</span><span class="cx">___________________________________________________________________
</span></span></pre></div>
<a id="svneolstyle"></a>
<div class="addfile"><h4>Added: svn:eol-style</h4></div>
<ins>+native
</ins><span class="cx">\ No newline at end of property
</span><a id="sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporgdevelopercontentphp"></a>
<div class="addfile"><h4>Added: sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/content.php (0 => 554)</h4>
<pre class="diff"><span>
<span class="info">--- sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/content.php (rev 0)
+++ sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/content.php 2014-04-24 22:19:39 UTC (rev 554)
</span><span class="lines">@@ -0,0 +1,62 @@
</span><ins>+<?php namespace DevHub;
+/**
+ * @package wporg-developer
+ */
+?>
+<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
+ <header class="entry-header">
+ <h2 class="entry-title"><a href="<?php the_permalink(); ?>" rel="bookmark"><?php the_title(); ?></a></h2>
+
+ <?php if ( 'post' == get_post_type() ) : ?>
+ <div class="entry-meta">
+ <?php wporg_developer_posted_on(); ?>
+ </div><!-- .entry-meta -->
+ <?php endif; ?>
+ </header><!-- .entry-header -->
+
+ <?php if ( is_search() ) : // Only display Excerpts for Search ?>
+ <div class="entry-summary">
+ <?php the_excerpt(); ?>
+ </div><!-- .entry-summary -->
+ <?php else : ?>
+ <div class="entry-content">
+ <?php the_content( __( 'Continue reading <span class="meta-nav">→</span>', 'wporg' ) ); ?>
+ <?php
+ wp_link_pages( array(
+ 'before' => '<div class="page-links">' . __( 'Pages:', 'wporg' ),
+ 'after' => '</div>',
+ ) );
+ ?>
+ </div><!-- .entry-content -->
+ <?php endif; ?>
+
+ <footer class="entry-meta">
+ <?php if ( 'post' == get_post_type() ) : // Hide category and tag text for pages on Search ?>
+ <?php
+ /* translators: used between list items, there is a space after the comma */
+ $categories_list = get_the_category_list( __( ', ', 'wporg' ) );
+ if ( $categories_list && wporg_developer_categorized_blog() ) :
+ ?>
+ <span class="cat-links">
+ <?php printf( __( 'Posted in %1$s', 'wporg' ), $categories_list ); ?>
+ </span>
+ <?php endif; // End if categories ?>
+
+ <?php
+ /* translators: used between list items, there is a space after the comma */
+ $tags_list = get_the_tag_list( '', __( ', ', 'wporg' ) );
+ if ( $tags_list ) :
+ ?>
+ <span class="tags-links">
+ <?php printf( __( 'Tagged %1$s', 'wporg' ), $tags_list ); ?>
+ </span>
+ <?php endif; // End if $tags_list ?>
+ <?php endif; // End if 'post' == get_post_type() ?>
+
+ <?php if ( ! post_password_required() && ( comments_open() || '0' != get_comments_number() ) ) : ?>
+ <span class="comments-link"><?php comments_popup_link( __( 'Leave a comment', 'wporg' ), __( '1 Comment', 'wporg' ), __( '% Comments', 'wporg' ) ); ?></span>
+ <?php endif; ?>
+
+ <?php edit_post_link( __( 'Edit', 'wporg' ), '<span class="edit-link">', '</span>' ); ?>
+ </footer><!-- .entry-meta -->
+</article><!-- #post-## -->
</ins><span class="cx">Property changes on: sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/content.php
</span><span class="cx">___________________________________________________________________
</span></span></pre></div>
<a id="svneolstyle"></a>
<div class="addfile"><h4>Added: svn:eol-style</h4></div>
<ins>+native
</ins><span class="cx">\ No newline at end of property
</span><a id="svnexecutable"></a>
<div class="addfile"><h4>Added: svn:executable</h4></div>
<ins>+*
</ins><span class="cx">\ No newline at end of property
</span><a id="sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporgdeveloperfooterphp"></a>
<div class="modfile"><h4>Modified: sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/footer.php (553 => 554)</h4>
<pre class="diff"><span>
<span class="info">--- sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/footer.php 2014-04-24 15:05:48 UTC (rev 553)
+++ sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/footer.php 2014-04-24 22:19:39 UTC (rev 554)
</span><span class="lines">@@ -1,5 +1,17 @@
</span><del>-</div> <!-- /#wrapper -->
</del><ins>+<?php
+/**
+ * The template for displaying the footer.
+ *
+ * Contains the closing of the #content div and all content after
+ *
+ * @package wporg-developer
+ */
+?>
</ins><span class="cx">
</span><ins>+ </div><!-- #content -->
+
+</div><!-- #page -->
+
</ins><span class="cx"> <?php
</span><del>-require WPORGPATH . 'footer.php';
</del><span class="cx">
</span><ins>+require WPORGPATH . 'footer.php';
</ins><span class="cx">\ No newline at end of file
</span></span></pre></div>
<a id="sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporgdeveloperfrontpagephp"></a>
<div class="delfile"><h4>Deleted: sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/front-page.php (553 => 554)</h4>
<pre class="diff"><span>
<span class="info">--- sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/front-page.php 2014-04-24 15:05:48 UTC (rev 553)
+++ sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/front-page.php 2014-04-24 22:19:39 UTC (rev 554)
</span><span class="lines">@@ -1,12 +0,0 @@
</span><del>-<?php get_header(); ?>
-
-<div class="pagebody">
- <div class="wrapper">
-
- <div style="margin: 3em 0 1em; color: #666; text-transform: uppercase; font-size: 15px; text-align: center">(As announced at WordCamp San Francisco 2013)</div>
- <div style="margin: 1em 0 3em; font-size: 16px; text-align: center">Coming soon. In the meantime, <a href="http://codex.wordpress.org/">the Codex</a> is still pretty great.</div>
-
- </div><!-- /wrapper -->
-</div><!-- /pagebody -->
-
-<?php get_footer(); ?>
</del></span></pre></div>
<a id="sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporgdeveloperfunctionsphp"></a>
<div class="modfile"><h4>Modified: sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/functions.php (553 => 554)</h4>
<pre class="diff"><span>
<span class="info">--- sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/functions.php 2014-04-24 15:05:48 UTC (rev 553)
+++ sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/functions.php 2014-04-24 22:19:39 UTC (rev 554)
</span><span class="lines">@@ -1,50 +1,287 @@
</span><span class="cx"> <?php
</span><span class="cx">
</span><ins>+namespace DevHub;
</ins><span class="cx">
</span><del>-add_action( 'wp_enqueue_scripts', 'theme_scripts_styles' );
-function theme_scripts_styles() {
- wp_enqueue_style( 'wp-doc-style', get_stylesheet_uri() );
- wp_enqueue_style( 'droid-sans-mono', '//fonts.googleapis.com/css?family=Droid+Sans+Mono' );
</del><ins>+/**
+ * Custom template tags for this theme.
+ */
+require __DIR__ . '/inc/template-tags.php';
</ins><span class="cx">
</span><del>- ## wp_enqueue_script( 'ace-editor', 'http://rawgithub.com/ajaxorg/ace-builds/master/src-noconflict/ace.js' );
</del><ins>+/**
+ * Custom functions that act independently of the theme templates.
+ */
+require __DIR__ . '/inc/extras.php';
+
+/**
+ * Customizer additions.
+ */
+require __DIR__ . '/inc/customizer.php';
+
+/**
+ * Load Jetpack compatibility file.
+ */
+require __DIR__ . '/inc/jetpack.php';
+
+if ( ! function_exists( 'loop_pagination' ) ) {
+ require __DIR__ . '/inc/loop-pagination.php';
</ins><span class="cx"> }
</span><span class="cx">
</span><del>-function wp_doc_comment( $comment, $args, $depth ) {
- ?>
- <li <?php comment_class(); ?> id="li-comment-<?php comment_ID(); ?>">
- <article id="comment-<?php comment_ID(); ?>" class="comment">
</del><ins>+if ( ! function_exists( 'breadcrumb_trail' ) ) {
+ require __DIR__ . '/inc/breadcrumb-trail.php';
+}
</ins><span class="cx">
</span><del>- <?php if ( $comment->comment_approved == '0' ) : ?>
- <em class="comment-awaiting-moderation"><?php _e('Your example is awaiting moderation.'); ?></em>
- <br />
- <?php endif; ?>
</del><ins>+/**
+ * Set the content width based on the theme's design and stylesheet.
+ */
+if ( ! isset( $content_width ) ) {
+ $content_width = 640; /* pixels */
+}
</ins><span class="cx">
</span><del>- <pre class="example-content"><?php echo htmlentities( get_comment_text() ); ?></pre>
</del><span class="cx">
</span><del>- <footer class="comment-meta">
- <div class="comment-author vcard">
- <?php
- echo get_avatar( $comment );
</del><ins>+add_action( 'init', __NAMESPACE__ . '\\init' );
</ins><span class="cx">
</span><del>- /* translators: 1: comment author, 2: date and time */
- printf( __('Contributed by %1$s on %2$s'),
- sprintf( '<span class="fn">%s</span>', get_comment_author_link() ),
- sprintf( '<a href="%1$s"><time datetime="%2$s">%3$s</time></a>',
- esc_url( get_comment_link( $comment->comment_ID ) ),
- get_comment_time( 'c' ),
- /* translators: 1: date, 2: time */
- sprintf( __('%1$s at %2$s'), get_comment_date(), get_comment_time() )
- )
- );
- ?>
</del><span class="cx">
</span><del>- <?php edit_comment_link( __('Edit'), '<span class="edit-link">', '</span>' ); ?>
- </div><!-- .comment-author .vcard -->
</del><ins>+function init() {
</ins><span class="cx">
</span><del>- </footer>
</del><ins>+ register_post_types();
+ register_taxonomies();
+ add_action( 'widgets_init', __NAMESPACE__ . '\\widgets_init' );
+ add_action( 'pre_get_posts', __NAMESPACE__ . '\\pre_get_posts' );
+ add_action( 'wp_enqueue_scripts', __NAMESPACE__ . '\\theme_scripts_styles' );
+ add_filter( 'post_type_link', __NAMESPACE__ . '\\method_permalink', 10, 2 );
+ add_theme_support( 'automatic-feed-links' );
+ add_theme_support( 'post-thumbnails' );
</ins><span class="cx">
</span><del>- </article><!-- #comment-## -->
</del><ins>+ // Temporarily disable comments
+ add_filter( 'comments_open', '__return_false' );
+}
</ins><span class="cx">
</span><del>- <?php
</del><ins>+
+/**
+ * widgets_init function.
+ *
+ * @access public
+ * @return void
+ */
+function widgets_init() {
+ register_sidebar( array(
+ 'name' => __( 'Sidebar', 'wporg' ),
+ 'id' => 'sidebar-1',
+ 'before_widget' => '<aside id="%1$s" class="box gray widget %2$s">',
+ 'after_widget' => '</div></aside>',
+ 'before_title' => '<h1 class="widget-title">',
+ 'after_title' => '</h1><div class="widget-content">',
+ ) );
</ins><span class="cx"> }
</span><span class="cx">
</span><ins>+/**
+ * @param \WP_Query $query
+ */
+function pre_get_posts( $query ) {
+
+ if ( $query->is_main_query() && $query->is_post_type_archive() ) {
+ $query->set( 'orderby', 'title' );
+ $query->set( 'order', 'ASC' );
+ }
+}
+
+/**
+ * Register the function and class post types
+ */
+function register_post_types() {
+ $supports = array(
+ 'comments',
+ 'custom-fields',
+ 'editor',
+ 'excerpt',
+ 'revisions',
+ 'title',
+ );
+
+ // Functions
+ register_post_type( 'wp-parser-function', array(
+ 'has_archive' => 'reference/functions',
+ 'label' => __( 'Functions', 'wporg' ),
+ 'labels' => array(
+ 'name' => __( 'Functions', 'wporg' ),
+ 'singular_name' => __( 'Function', 'wporg' ),
+ 'all_items' => __( 'Functions', 'wporg' ),
+ 'new_item' => __( 'New Function', 'wporg' ),
+ 'add_new' => __( 'Add New', 'wporg' ),
+ 'add_new_item' => __( 'Add New Function', 'wporg' ),
+ 'edit_item' => __( 'Edit Function', 'wporg' ),
+ 'view_item' => __( 'View Function', 'wporg' ),
+ 'search_items' => __( 'Search Functions', 'wporg' ),
+ 'not_found' => __( 'No Functions found', 'wporg' ),
+ 'not_found_in_trash' => __( 'No Functions found in trash', 'wporg' ),
+ 'parent_item_colon' => __( 'Parent Function', 'wporg' ),
+ 'menu_name' => __( 'Functions', 'wporg' ),
+ ),
+ 'public' => true,
+ 'rewrite' => array(
+ 'feeds' => false,
+ 'slug' => 'reference/function',
+ 'with_front' => false,
+ ),
+ 'supports' => $supports,
+ ) );
+
+ // Methods
+ add_rewrite_rule( 'method/([^/]+)/([^/]+)/?$', 'index.php?post_type=wp-parser-function&name=$matches[1]-$matches[2]', 'top' );
+
+ // Classes
+ register_post_type( 'wp-parser-class', array(
+ 'has_archive' => 'reference/classes',
+ 'label' => __( 'Classes', 'wporg' ),
+ 'labels' => array(
+ 'name' => __( 'Classes', 'wporg' ),
+ 'singular_name' => __( 'Class', 'wporg' ),
+ 'all_items' => __( 'Classes', 'wporg' ),
+ 'new_item' => __( 'New Class', 'wporg' ),
+ 'add_new' => __( 'Add New', 'wporg' ),
+ 'add_new_item' => __( 'Add New Class', 'wporg' ),
+ 'edit_item' => __( 'Edit Class', 'wporg' ),
+ 'view_item' => __( 'View Class', 'wporg' ),
+ 'search_items' => __( 'Search Classes', 'wporg' ),
+ 'not_found' => __( 'No Classes found', 'wporg' ),
+ 'not_found_in_trash' => __( 'No Classes found in trash', 'wporg' ),
+ 'parent_item_colon' => __( 'Parent Class', 'wporg' ),
+ 'menu_name' => __( 'Classes', 'wporg' ),
+ ),
+ 'public' => true,
+ 'rewrite' => array(
+ 'feeds' => false,
+ 'slug' => 'reference/class',
+ 'with_front' => false,
+ ),
+ 'supports' => $supports,
+ ) );
+
+ // Hooks
+ register_post_type( 'wp-parser-hook', array(
+ 'has_archive' => 'reference/hooks',
+ 'label' => __( 'Hooks', 'wporg' ),
+ 'labels' => array(
+ 'name' => __( 'Hooks', 'wporg' ),
+ 'singular_name' => __( 'Hook', 'wporg' ),
+ 'all_items' => __( 'Hooks', 'wporg' ),
+ 'new_item' => __( 'New Hook', 'wporg' ),
+ 'add_new' => __( 'Add New', 'wporg' ),
+ 'add_new_item' => __( 'Add New Hook', 'wporg' ),
+ 'edit_item' => __( 'Edit Hook', 'wporg' ),
+ 'view_item' => __( 'View Hook', 'wporg' ),
+ 'search_items' => __( 'Search Hooks', 'wporg' ),
+ 'not_found' => __( 'No Hooks found', 'wporg' ),
+ 'not_found_in_trash' => __( 'No Hooks found in trash', 'wporg' ),
+ 'parent_item_colon' => __( 'Parent Hook', 'wporg' ),
+ 'menu_name' => __( 'Hooks', 'wporg' ),
+ ),
+ 'public' => true,
+ 'rewrite' => array(
+ 'feeds' => false,
+ 'slug' => 'reference/hook',
+ 'with_front' => false,
+ ),
+ 'supports' => $supports,
+ ) );
+
+ // Methods
+ register_post_type( 'wp-parser-method', array(
+ 'has_archive' => 'reference/methods',
+ 'label' => __( 'Methods', 'wporg' ),
+ 'labels' => array(
+ 'name' => __( 'Methods', 'wporg' ),
+ 'singular_name' => __( 'Method', 'wporg' ),
+ 'all_items' => __( 'Methods', 'wporg' ),
+ 'new_item' => __( 'New Method', 'wporg' ),
+ 'add_new' => __( 'Add New', 'wporg' ),
+ 'add_new_item' => __( 'Add New Method', 'wporg' ),
+ 'edit_item' => __( 'Edit Method', 'wporg' ),
+ 'view_item' => __( 'View Method', 'wporg' ),
+ 'search_items' => __( 'Search Methods', 'wporg' ),
+ 'not_found' => __( 'No Methods found', 'wporg' ),
+ 'not_found_in_trash' => __( 'No Methods found in trash', 'wporg' ),
+ 'parent_item_colon' => __( 'Parent Method', 'wporg' ),
+ 'menu_name' => __( 'Methods', 'wporg' ),
+ ),
+ 'public' => true,
+ 'rewrite' => array(
+ 'feeds' => false,
+ 'slug' => 'method',
+ 'with_front' => false,
+ ),
+ 'supports' => $supports,
+ ) );
+}
+
+/**
+ * Register the file and @since taxonomies
+ */
+function register_taxonomies() {
+ // Files
+ register_taxonomy( 'wp-parser-source-file', array( 'wp-parser-class', 'wp-parser-function', 'wp-parser-hook', 'wp-parser-method' ), array(
+ 'label' => __( 'Files', 'wporg' ),
+ 'labels' => array(
+ 'name' => __( 'Files', 'wporg' ),
+ 'singular_name' => _x( 'File', 'taxonomy general name', 'wporg' ),
+ 'search_items' => __( 'Search Files', 'wporg' ),
+ 'popular_items' => null,
+ 'all_items' => __( 'All Files', 'wporg' ),
+ 'parent_item' => __( 'Parent File', 'wporg' ),
+ 'parent_item_colon' => __( 'Parent File:', 'wporg' ),
+ 'edit_item' => __( 'Edit File', 'wporg' ),
+ 'update_item' => __( 'Update File', 'wporg' ),
+ 'add_new_item' => __( 'New File', 'wporg' ),
+ 'new_item_name' => __( 'New File', 'wporg' ),
+ 'separate_items_with_commas' => __( 'Files separated by comma', 'wporg' ),
+ 'add_or_remove_items' => __( 'Add or remove Files', 'wporg' ),
+ 'choose_from_most_used' => __( 'Choose from the most used Files', 'wporg' ),
+ 'menu_name' => __( 'Files', 'wporg' ),
+ ),
+ 'public' => true,
+ 'rewrite' => array( 'slug' => 'reference/files' ),
+ 'sort' => false,
+ 'update_count_callback' => '_update_post_term_count',
+ ) );
+
+ // Package
+ register_taxonomy( 'wp-parser-package', array( 'wp-parser-class', 'wp-parser-function', 'wp-parser-hook', 'wp-parser-method' ), array(
+ 'hierarchical' => true,
+ 'label' => '@package',
+ 'public' => true,
+ 'rewrite' => array( 'slug' => 'reference/package' ),
+ 'sort' => false,
+ 'update_count_callback' => '_update_post_term_count',
+ ) );
+
+ // @since
+ register_taxonomy( 'wp-parser-since', array( 'wp-parser-class', 'wp-parser-function', 'wp-parser-hook', 'wp-parser-method' ), array(
+ 'hierarchical' => true,
+ 'label' => __( '@since', 'wporg' ),
+ 'public' => true,
+ 'rewrite' => array( 'slug' => 'reference/since' ),
+ 'sort' => false,
+ 'update_count_callback' => '_update_post_term_count',
+ ) );
+}
+
+function method_permalink( $link, $post ) {
+ if ( $post->post_type !== 'wp-parser-function' || $post->post_parent == 0 )
+ return $link;
+
+ list( $class, $method ) = explode( '-', $post->post_name );
+ $link = home_url( user_trailingslashit( "method/$class/$method" ) );
+ return $link;
+}
+
+function theme_scripts_styles() {
+ wp_enqueue_style( 'dashicons' );
+ wp_enqueue_style( 'open-sans', '//fonts.googleapis.com/css?family=Open+Sans:300italic,400italic,600italic,400,300,600' );
+ wp_enqueue_style( 'wporg-developer-style', get_stylesheet_uri() );
+ wp_enqueue_style( 'wp-dev-sass-compiled', get_template_directory_uri() . '/main.css', array( 'wporg-developer-style' ), '20140424' );
+ wp_enqueue_script( 'wporg-developer-navigation', get_template_directory_uri() . '/js/navigation.js', array(), '20120206', true );
+ wp_enqueue_script( 'wporg-developer-skip-link-focus-fix', get_template_directory_uri() . '/js/skip-link-focus-fix.js', array(), '20130115', true );
+ if ( is_singular() && comments_open() && get_option( 'thread_comments' ) ) {
+ wp_enqueue_script( 'comment-reply' );
+ }
+}
</ins></span></pre></div>
<a id="sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporgdeveloperheaderphp"></a>
<div class="modfile"><h4>Modified: sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/header.php (553 => 554)</h4>
<pre class="diff"><span>
<span class="info">--- sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/header.php 2014-04-24 15:05:48 UTC (rev 553)
+++ sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/header.php 2014-04-24 22:19:39 UTC (rev 554)
</span><span class="lines">@@ -1,13 +1,25 @@
</span><span class="cx"> <?php
</span><del>-global $pagetitle;
-$pagetitle = wp_title( '«', false, 'right' ) . ' ' . get_bloginfo( 'name' );
-wp_enqueue_style( 'wporg-developer', get_bloginfo( 'stylesheet_url' ), array(), 1, 'screen' );
</del><ins>+/**
+ * The Header for our theme.
+ *
+ * Displays all of the <head> section and everything up till <div id="content">
+ *
+ * @package wporg-developer
+ */
</ins><span class="cx"> require WPORGPATH . 'header.php';
</span><span class="cx"> ?>
</span><del>-<div id="headline">
- <div class="wrapper">
- <h2><a href="<?php echo home_url( '/' ); ?>"><?php bloginfo( 'name' ); ?></a></h2>
- </div>
-</div>
</del><span class="cx">
</span><del>-<div id="wrapper">
</del><ins>+<div id="page" class="hfeed site devhub-wrap">
+ <?php do_action( 'before' ); ?>
+ <header id="masthead" class="site-header" role="banner">
+ <div class="inner-wrap">
+ <div class="site-branding">
+ <?php if ( ! is_front_page() ) : ?>
+ <h1 class="site-title"><a href="<?php echo esc_url( home_url( '/reference/' ) ); ?>" rel="home"><?php echo DevHub\get_site_section_title(); ?></a></h1>
+ <?php else : ?>
+ <span class="site-title"><a href="<?php echo esc_url( home_url( '/' ) ); ?>" rel="home"><?php echo DevHub\get_site_section_title(); ?></a></span>
+ <?php endif; ?>
+ </div>
+ </div><!-- .inner-wrap -->
+ </header><!-- #masthead -->
+ <div id="content" class="site-content">
</ins></span></pre></div>
<a id="sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporgdeveloperincbreadcrumbtrailphp"></a>
<div class="addfile"><h4>Added: sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/inc/breadcrumb-trail.php (0 => 554)</h4>
<pre class="diff"><span>
<span class="info">--- sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/inc/breadcrumb-trail.php (rev 0)
+++ sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/inc/breadcrumb-trail.php 2014-04-24 22:19:39 UTC (rev 554)
</span><span class="lines">@@ -0,0 +1,1225 @@
</span><ins>+<?php
+/**
+ * Breadcrumb Trail - A breadcrumb menu script for WordPress.
+ *
+ * Breadcrumb Trail is a script for showing a breadcrumb trail for any type of page. It tries to
+ * anticipate any type of structure and display the best possible trail that matches your site's
+ * permalink structure. While not perfect, it attempts to fill in the gaps left by many other
+ * breadcrumb scripts.
+ *
+ * This program is free software; you can redistribute it and/or modify it under the terms of the GNU
+ * General Public License as published by the Free Software Foundation; either version 2 of the License,
+ * or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without
+ * even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+ *
+ * @package BreadcrumbTrail
+ * @version 0.6.1
+ * @author Justin Tadlock <justin@justintadlock.com>
+ * @copyright Copyright (c) 2008 - 2013, Justin Tadlock
+ * @link http://themehybrid.com/plugins/breadcrumb-trail
+ * @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
+ */
+
+/**
+ * Shows a breadcrumb for all types of pages. This is a wrapper function for the Breadcrumb_Trail class,
+ * which should be used in theme templates.
+ *
+ * @since 0.1.0
+ * @access public
+ * @param array $args Arguments to pass to Breadcrumb_Trail.
+ * @return void
+ */
+function breadcrumb_trail( $args = array() ) {
+
+ if ( function_exists( 'is_bbpress' ) && is_bbpress() )
+ $breadcrumb = new bbPress_Breadcrumb_Trail( $args );
+ else
+ $breadcrumb = new Breadcrumb_Trail( $args );
+
+ $breadcrumb->trail();
+}
+
+/**
+ * Creates a breadcrumbs menu for the site based on the current page that's being viewed by the user.
+ *
+ * @since 0.6.0
+ */
+class Breadcrumb_Trail {
+
+ /**
+ * Array of items belonging to the current breadcrumb trail.
+ *
+ * @since 0.1.0
+ * @access public
+ * @var array
+ */
+ public $items = array();
+
+ /**
+ * Arguments used to build the breadcrumb trail.
+ *
+ * @since 0.1.0
+ * @access public
+ * @var array
+ */
+ public $args = array();
+
+ /**
+ * Sets up the breadcrumb trail.
+ *
+ * @since 0.6.0
+ * @access public
+ * @param array $args The arguments for how to build the breadcrumb trail.
+ * @return void
+ */
+ public function __construct( $args = array() ) {
+
+ /* Remove the bbPress breadcrumbs. */
+ add_filter( 'bbp_get_breadcrumb', '__return_false' );
+
+ $defaults = array(
+ 'container' => 'div',
+ 'separator' => '/',
+ 'before' => '',
+ 'after' => '',
+ 'show_on_front' => true,
+ 'network' => false,
+ //'show_edit_link' => false,
+ 'show_title' => true,
+ 'show_browse' => true,
+ 'echo' => true,
+
+ /* Post taxonomy (examples follow). */
+ 'post_taxonomy' => array(
+ // 'post' => 'post_tag',
+ // 'book' => 'genre',
+ ),
+
+ /* Labels for text used (see Breadcrumb_Trail::default_labels). */
+ 'labels' => array()
+ );
+
+ $this->args = apply_filters( 'breadcrumb_trail_args', wp_parse_args( $args, $defaults ) );
+
+ /* Merge the user-added labels with the defaults. */
+ $this->args['labels'] = wp_parse_args( $this->args['labels'], $this->default_labels() );
+
+ $this->do_trail_items();
+ }
+
+ /**
+ * Formats and outputs the breadcrumb trail.
+ *
+ * @since 0.6.0
+ * @access public
+ * @return string
+ */
+ public function trail() {
+
+ $breadcrumb = '';
+
+ /* Connect the breadcrumb trail if there are items in the trail. */
+ if ( !empty( $this->items ) && is_array( $this->items ) ) {
+
+ /* Make sure we have a unique array of items. */
+ $this->items = array_unique( $this->items );
+
+ /* Open the breadcrumb trail containers. */
+ $breadcrumb = "\n\t\t" . '<' . tag_escape( $this->args['container'] ) . ' class="breadcrumb-trail breadcrumbs" itemprop="breadcrumb">';
+
+ /* If $before was set, wrap it in a container. */
+ $breadcrumb .= ( !empty( $this->args['before'] ) ? "\n\t\t\t" . '<span class="trail-before">' . $this->args['before'] . '</span> ' . "\n\t\t\t" : '' );
+
+ /* Add 'browse' label if it should be shown. */
+ if ( true === $this->args['show_browse'] )
+ $breadcrumb .= "\n\t\t\t" . '<span class="trail-browse">' . $this->args['labels']['browse'] . '</span> ';
+
+ /* Adds the 'trail-begin' class around first item if there's more than one item. */
+ if ( 1 < count( $this->items ) )
+ array_unshift( $this->items, '<span class="trail-begin">' . array_shift( $this->items ) . '</span>' );
+
+ /* Adds the 'trail-end' class around last item. */
+ array_push( $this->items, '<span class="trail-end">' . array_pop( $this->items ) . '</span>' );
+
+ /* Format the separator. */
+ $separator = ( !empty( $this->args['separator'] ) ? '<span class="sep">' . $this->args['separator'] . '</span>' : '<span class="sep">/</span>' );
+
+ /* Join the individual trail items into a single string. */
+ $breadcrumb .= join( "\n\t\t\t {$separator} ", $this->items );
+
+ /* If $after was set, wrap it in a container. */
+ $breadcrumb .= ( !empty( $this->args['after'] ) ? "\n\t\t\t" . ' <span class="trail-after">' . $this->args['after'] . '</span>' : '' );
+
+ /* Close the breadcrumb trail containers. */
+ $breadcrumb .= "\n\t\t" . '</' . tag_escape( $this->args['container'] ) . '>';
+ }
+
+ /* Allow developers to filter the breadcrumb trail HTML. */
+ $breadcrumb = apply_filters( 'breadcrumb_trail', $breadcrumb, $this->args );
+
+ if ( true === $this->args['echo'] )
+ echo $breadcrumb;
+ else
+ return $breadcrumb;
+ }
+
+ /**
+ * Returns an array of the default labels.
+ *
+ * @since 0.6.0
+ * @access public
+ * @return array
+ */
+ public function default_labels() {
+
+ $labels = array(
+ 'browse' => __( 'Browse:', 'breadcrumb-trail' ),
+ 'home' => __( 'Home', 'breadcrumb-trail' ),
+ 'search' => __( 'Search results for "%s"', 'breadcrumb-trail' ),
+ 'error_404' => __( '404 Not Found', 'breadcrumb-trail' ),
+ 'paged' => __( 'Page %d', 'breadcrumb-trail' ),
+ 'archives' => __( 'Archives', 'breadcrumb-trail' ),
+ 'archive_minute_hour' => __( 'g:i a', 'breadcrumb-trail' ),
+ 'archive_minute' => __( 'Minute %d', 'breadcrumb-trail' ),
+ 'archive_hour' => __( 'g a', 'breadcrumb-trail' ),
+ 'archive_day' => __( 'd', 'breadcrumb-trail' ),
+ 'archive_week' => __( 'Week %d', 'breadcrumb-trail' ),
+ 'archive_month' => __( 'F', 'breadcrumb-trail' ),
+ 'archive_year' => __( 'Y', 'breadcrumb-trail' ),
+ // 'edit' => __( 'Edit', 'breadcrumb-trail' ), // @todo Implement edit link
+ );
+
+ return $labels;
+ }
+
+ /**
+ * Runs through the various WordPress conditional tags to check the current page being viewed. Once
+ * a condition is met, a specific method is launched to add items to the $items array.
+ *
+ * @since 0.6.0
+ * @access public
+ * @return void
+ */
+ public function do_trail_items() {
+
+ /* If viewing the front page. */
+ if ( is_front_page() ) {
+ $this->do_front_page_items();
+ }
+
+ /* If not viewing the front page. */
+ else {
+
+ /* Add the network and site home links. */
+ $this->do_network_home_link();
+ $this->do_site_home_link();
+
+ /* If viewing the home/blog page. */
+ if ( is_home() ) {
+ $this->do_posts_page_items();
+ }
+
+ /* If viewing a single post. */
+ elseif ( is_singular() ) {
+ $this->do_singular_items();
+ }
+
+ /* If viewing an archive page. */
+ elseif ( is_archive() ) {
+
+ if ( is_post_type_archive() )
+ $this->do_post_type_archive_items();
+
+ elseif ( is_category() || is_tag() || is_tax() )
+ $this->do_term_archive_items();
+
+ elseif ( is_author() )
+ $this->do_user_archive_items();
+
+ elseif ( get_query_var( 'minute' ) && get_query_var( 'hour' ) )
+ $this->do_minute_hour_archive_items();
+
+ elseif ( get_query_var( 'minute' ) )
+ $this->do_minute_archive_items();
+
+ elseif ( get_query_var( 'hour' ) )
+ $this->do_hour_archive_items();
+
+ elseif ( is_day() )
+ $this->do_day_archive_items();
+
+ elseif ( get_query_var( 'w' ) )
+ $this->do_week_archive_items();
+
+ elseif ( is_month() )
+ $this->do_month_archive_items();
+
+ elseif ( is_year() )
+ $this->do_year_archive_items();
+
+ else
+ $this->do_default_archive_items();
+ }
+
+ /* If viewing a search results page. */
+ elseif ( is_search() ) {
+ $this->do_search_items();
+ }
+
+ /* If viewing the 404 page. */
+ elseif ( is_404() ) {
+ $this->do_404_items();
+ }
+ }
+
+ /* Add paged items if they exist. */
+ $this->do_paged_items();
+
+ /* Allow developers to overwrite the items for the breadcrumb trail. */
+ $this->items = apply_filters( 'breadcrumb_trail_items', $this->items, $this->args );
+ }
+
+ /**
+ * Gets front items based on $wp_rewrite->front.
+ *
+ * @since 0.6.0
+ * @access public
+ * @return void
+ */
+ public function do_rewrite_front_items() {
+ global $wp_rewrite;
+
+ if ( $wp_rewrite->front )
+ $this->do_path_parents( $wp_rewrite->front );
+ }
+
+ /**
+ * Adds the page/paged number to the items array.
+ *
+ * @since 0.6.0
+ * @access public
+ * @return void
+ */
+ public function do_paged_items() {
+
+ /* If viewing a paged singular post. */
+ if ( is_singular() && 1 < get_query_var( 'page' ) && true === $this->args['show_title'] )
+ $this->items[] = sprintf( $this->args['labels']['paged'], absint( get_query_var( 'page' ) ) );
+
+ /* If viewing a paged archive-type page. */
+ elseif ( is_paged() && true === $this->args['show_title'] )
+ $this->items[] = sprintf( $this->args['labels']['paged'], absint( get_query_var( 'paged' ) ) );
+
+ }
+
+ /**
+ * Adds the network (all sites) home page link to the items array.
+ *
+ * @since 0.6.0
+ * @access public
+ * @return void
+ */
+ public function do_network_home_link() {
+ if ( is_multisite() && !is_main_site() && true === $this->args['network'] )
+ $this->items[] = '<a href="' . network_home_url() . '" title="' . esc_attr( $this->args['labels']['home'] ) . '" rel="home">' . $this->args['labels']['home'] . '</a>';
+ }
+
+ /**
+ * Adds the current site's home page link to the items array.
+ *
+ * @since 0.6.0
+ * @access public
+ * @return void
+ */
+ public function do_site_home_link() {
+ $label = ( is_multisite() && !is_main_site() && true === $this->args['network'] ) ? get_bloginfo( 'name' ) : $this->args['labels']['home'];
+ $rel = ( is_multisite() && !is_main_site() && true === $this->args['network'] ) ? '' : ' rel="home"';
+ $this->items[] = '<a href="' . home_url() . '" title="' . esc_attr( get_bloginfo( 'name' ) ) . '"' . $rel .'>' . $label . '</a>';
+ }
+
+ /**
+ * Adds items for the front page to the items array.
+ *
+ * @since 0.6.0
+ * @access public
+ * @return void
+ */
+ public function do_front_page_items() {
+
+ /* Only show front items if the 'show_on_front' argument is set to 'true'. */
+ if ( true === $this->args['show_on_front'] || is_paged() || ( is_singular() && 1 < get_query_var( 'page' ) ) ) {
+
+ /* If on a paged view, add the home link items. */
+ if ( is_paged() ) {
+ $this->do_network_home_link();
+ $this->do_site_home_link();
+ }
+
+ /* If on the main front page, add the network home link item and the home item. */
+ else {
+ $this->do_network_home_link();
+
+ if ( true === $this->args['show_title'] )
+ $this->items[] = ( is_multisite() && true === $this->args['network'] ) ? get_bloginfo( 'name' ) : $this->args['labels']['home'];
+ }
+ }
+ }
+
+ /**
+ * Adds items for the posts page (i.e., is_home()) to the items array.
+ *
+ * @since 0.6.0
+ * @access public
+ * @return void
+ */
+ public function do_posts_page_items() {
+
+ /* Get the post ID and post. */
+ $post_id = get_queried_object_id();
+ $post = get_page( $post_id );
+
+ /* If the post has parents, add them to the trail. */
+ if ( 0 < $post->post_parent )
+ $this->do_post_parents( $post->post_parent );
+
+ /* Get the page title. */
+ $title = get_the_title( $post_id );
+
+ /* Add the posts page item. */
+ if ( is_paged() )
+ $this->items[] = '<a href="' . get_permalink( $post_id ) . '" title="' . esc_attr( $title ) . '">' . $title . '</a>';
+
+ elseif ( $title && true === $this->args['show_title'] )
+ $this->items[] = $title;
+ }
+
+ /**
+ * Adds singular post items to the items array.
+ *
+ * @since 0.6.0
+ * @access public
+ * @return void
+ */
+ public function do_singular_items() {
+
+ /* Get the queried post. */
+ $post = get_queried_object();
+ $post_id = get_queried_object_id();
+
+ /* If the post has a parent, follow the parent trail. */
+ if ( 0 < $post->post_parent )
+ $this->do_post_parents( $post->post_parent );
+
+ /* If the post doesn't have a parent, get its hierarchy based off the post type. */
+ else
+ $this->do_post_hierarchy( $post_id );
+
+ /* Display terms for specific post type taxonomy if requested. */
+ $this->do_post_terms( $post_id );
+
+ /* End with the post title. */
+ if ( $post_title = single_post_title( '', false ) ) {
+
+ if ( 1 < get_query_var( 'page' ) )
+ $this->items[] = '<a href="' . get_permalink( $post_id ) . '" title="' . esc_attr( $post_title ) . '">' . $post_title . '</a>';
+
+ elseif ( true === $this->args['show_title'] )
+ $this->items[] = $post_title;
+ }
+ }
+
+ /**
+ * Adds a specific post's parents to the items array.
+ *
+ * @since 0.6.0
+ * @access public
+ * @param int $post_id The ID of the post to get the parents of.
+ * @return void
+ */
+ public function do_post_parents( $post_id ) {
+ $parents = array();
+
+ while ( $post_id ) {
+
+ /* Get the post by ID. */
+ $post = get_post( $post_id );
+
+ /* Add the formatted post link to the array of parents. */
+ $parents[] = '<a href="' . get_permalink( $post_id ) . '" title="' . esc_attr( get_the_title( $post_id ) ) . '">' . get_the_title( $post_id ) . '</a>';
+
+ /* If there's no longer a post parent, brea out of the loop. */
+ if ( 0 >= $post->post_parent )
+ break;
+
+ /* Change the post ID to the parent post to continue looping. */
+ $post_id = $post->post_parent;
+ }
+
+ /* Get the post hierarchy based off the final parent post. */
+ $this->do_post_hierarchy( $post_id );
+
+ /* Merge the parent items into the items array. */
+ $this->items = array_merge( $this->items, array_reverse( $parents ) );
+ }
+
+ /**
+ * Adds a post's terms from a specific taxonomy to the items array.
+ *
+ * @since 0.6.0
+ * @access public
+ * @param int $post_id The ID of the post to get the terms for.
+ * @return void
+ */
+ public function do_post_terms( $post_id ) {
+
+ /* Get the post type. */
+ $post_type = get_post_type( $post_id );
+
+ /* Add the terms of the taxonomy for this post. */
+ if ( !empty( $this->args['post_taxonomy'][ $post_type ] ) )
+ $this->items[] = get_the_term_list( $post_id, $this->args['post_taxonomy'][ $post_type ], '', ', ', '' );
+ }
+
+ /**
+ * Adds a specific post's hierarchy to the items array. The hierarchy is determined by post type's
+ * rewrite arguments and whether it has an archive page.
+ *
+ * @since 0.6.0
+ * @access public
+ * @param int $post_id The ID of the post to get the hierarchy for.
+ * @return void
+ */
+ public function do_post_hierarchy( $post_id ) {
+
+ /* Get the post type. */
+ $post_type = get_post_type( $post_id );
+ $post_type_object = get_post_type_object( $post_type );
+
+ /* If this is the 'post' post type, get the rewrite front items and map the rewrite tags. */
+ if ( 'post' === $post_type ) {
+
+ /* Add $wp_rewrite->front to the trail. */
+ $this->do_rewrite_front_items();
+
+ /* Map the rewrite tags. */
+ $this->map_rewrite_tags( $post_id, get_option( 'permalink_structure' ) );
+ }
+
+ /* If the post type has rewrite rules. */
+ elseif ( false !== $post_type_object->rewrite ) {
+
+ /* If 'with_front' is true, add $wp_rewrite->front to the trail. */
+ if ( $post_type_object->rewrite['with_front'] )
+ $this->do_rewrite_front_items();
+
+ /* If there's a path, check for parents. */
+ if ( !empty( $post_type_object->rewrite['slug'] ) )
+ $this->do_path_parents( $post_type_object->rewrite['slug'] );
+ }
+
+ /* If there's an archive page, add it to the trail. */
+ if ( !empty( $post_type_object->has_archive ) ) {
+
+ /* Add support for a non-standard label of 'archive_title' (special use case). */
+ $label = !empty( $post_type_object->labels->archive_title ) ? $post_type_object->labels->archive_title : $post_type_object->labels->name;
+
+ $this->items[] = '<a href="' . get_post_type_archive_link( $post_type ) . '">' . $label . '</a>';
+ }
+ }
+
+ /**
+ * Gets post types by slug. This is needed because the get_post_types() function doesn't exactly
+ * match the 'has_archive' argument when it's set as a string instead of a boolean.
+ *
+ * @since 0.6.0
+ * @access public
+ * @param int $slug The post type archive slug to search for.
+ * @return void
+ */
+ public function get_post_types_by_slug( $slug ) {
+
+ $return = array();
+
+ $post_types = get_post_types( array(), 'objects' );
+
+ foreach ( $post_types as $type ) {
+
+ if ( $slug === $type->has_archive || ( true === $type->has_archive && $slug === $type->rewrite['slug'] ) )
+ $return[] = $type;
+ }
+
+ return $return;
+ }
+
+ /**
+ * Adds the items to the trail items array for taxonomy term archives.
+ *
+ * @since 0.6.0
+ * @access public
+ * @global object $wp_rewrite
+ * @return void
+ */
+ public function do_term_archive_items() {
+ global $wp_rewrite;
+
+ /* Get some taxonomy and term variables. */
+ $term = get_queried_object();
+ $taxonomy = get_taxonomy( $term->taxonomy );
+
+ /* If there are rewrite rules for the taxonomy. */
+ if ( false !== $taxonomy->rewrite ) {
+
+ /* If 'with_front' is true, dd $wp_rewrite->front to the trail. */
+ if ( $taxonomy->rewrite['with_front'] && $wp_rewrite->front )
+ $this->do_rewrite_front_items();
+
+ /* Get parent pages by path if they exist. */
+ $this->do_path_parents( $taxonomy->rewrite['slug'] );
+
+ /* Add post type archive if its 'has_archive' matches the taxonomy rewrite 'slug'. */
+ if ( $taxonomy->rewrite['slug'] ) {
+
+ $slug = trim( $taxonomy->rewrite['slug'], '/' );
+
+ /**
+ * Deals with the situation if the slug has a '/' between multiple strings. For
+ * example, "movies/genres" where "movies" is the post type archive.
+ */
+ $matches = explode( '/', $slug );
+
+ /* If matches are found for the path. */
+ if ( isset( $matches ) ) {
+
+ /* Reverse the array of matches to search for posts in the proper order. */
+ $matches = array_reverse( $matches );
+
+ /* Loop through each of the path matches. */
+ foreach ( $matches as $match ) {
+
+ /* If a match is found. */
+ $slug = $match;
+
+ /* Get public post types that match the rewrite slug. */
+ $post_types = $this->get_post_types_by_slug( $match );
+
+ if ( !empty( $post_types ) ) {
+
+ $post_type_object = $post_types[0];
+
+ /* Add support for a non-standard label of 'archive_title' (special use case). */
+ $label = !empty( $post_type_object->labels->archive_title ) ? $post_type_object->labels->archive_title : $post_type_object->labels->name;
+
+ /* Add the post type archive link to the trail. */
+ $this->items[] = '<a href="' . get_post_type_archive_link( $post_type_object->name ) . '" title="' . esc_attr( $label ) . '">' . $label . '</a>';
+
+ /* Break out of the loop. */
+ break;
+ }
+ }
+ }
+ }
+ }
+
+ /* If the taxonomy is hierarchical, list its parent terms. */
+ if ( is_taxonomy_hierarchical( $term->taxonomy ) && $term->parent )
+ $this->do_term_parents( $term->parent, $term->taxonomy );
+
+ /* Add the term name to the trail end. */
+ if ( is_paged() )
+ $this->items[] = '<a href="' . esc_url( get_term_link( $term, $term->taxonomy ) ) . '" title="' . esc_attr( single_term_title( '', false ) ) . '">' . single_term_title( '', false ) . '</a>';
+
+ elseif ( true === $this->args['show_title'] )
+ $this->items[] = single_term_title( '', false );
+ }
+
+ /**
+ * Adds the items to the trail items array for post type archives.
+ *
+ * @since 0.6.0
+ * @access public
+ * @return void
+ */
+ public function do_post_type_archive_items() {
+
+ /* Get the post type object. */
+ $post_type_object = get_post_type_object( get_query_var( 'post_type' ) );
+
+ if ( false !== $post_type_object->rewrite ) {
+
+ /* If 'with_front' is true, add $wp_rewrite->front to the trail. */
+ if ( $post_type_object->rewrite['with_front'] )
+ $this->do_rewrite_front_items();
+
+ /* If there's a rewrite slug, check for parents. */
+ if ( !empty( $post_type_object->rewrite['slug'] ) )
+ $this->do_path_parents( $post_type_object->rewrite['slug'] );
+ }
+
+ /* Add the post type [plural] name to the trail end. */
+ if ( is_paged() )
+ $this->items[] = '<a href="' . esc_url( get_post_type_archive_link( $post_type_object->name ) ) . '" title="' . esc_attr( post_type_archive_title( '', false ) ) . '">' . post_type_archive_title( '', false ) . '</a>';
+
+ elseif ( true === $this->args['show_title'] )
+ $this->items[] = post_type_archive_title( '', false );
+ }
+
+ /**
+ * Adds the items to the trail items array for user (author) archives.
+ *
+ * @since 0.6.0
+ * @access public
+ * @global object $wp_rewrite
+ * @return void
+ */
+ public function do_user_archive_items() {
+ global $wp_rewrite;
+
+ /* Add $wp_rewrite->front to the trail. */
+ $this->do_rewrite_front_items();
+
+ /* Get the user ID. */
+ $user_id = get_query_var( 'author' );
+
+ /* If $author_base exists, check for parent pages. */
+ if ( !empty( $wp_rewrite->author_base ) )
+ $this->do_path_parents( $wp_rewrite->author_base );
+
+ /* Add the author's display name to the trail end. */
+ if ( is_paged() )
+ $this->items[] = '<a href="'. esc_url( get_author_posts_url( $user_id ) ) . '" title="' . esc_attr( get_the_author_meta( 'display_name', $user_id ) ) . '">' . get_the_author_meta( 'display_name', $user_id ) . '</a>';
+
+ elseif ( true === $this->args['show_title'] )
+ $this->items[] = get_the_author_meta( 'display_name', $user_id );
+ }
+
+ /**
+ * Adds the items to the trail items array for minute + hour archives.
+ *
+ * @since 0.6.0
+ * @access public
+ * @return void
+ */
+ public function do_minute_hour_archive_items() {
+
+ /* Add $wp_rewrite->front to the trail. */
+ $this->do_rewrite_front_items();
+
+ /* Add the minute + hour item. */
+ if ( true === $this->args['show_title'] )
+ $this->items[] = get_the_time( $this->args['labels']['archive_minute_hour'] );
+ }
+
+ /**
+ * Adds the items to the trail items array for minute archives.
+ *
+ * @since 0.6.0
+ * @access public
+ * @return void
+ */
+ public function do_minute_archive_items() {
+
+ /* Add $wp_rewrite->front to the trail. */
+ $this->do_rewrite_front_items();
+
+ /* Add the minute item. */
+ if ( true === $this->args['show_title'] )
+ $this->items[] = sprintf( $this->args['labels']['archive_minute'], date_i18n( 'i', get_the_time( 'U' ) ) );
+ }
+
+ /**
+ * Adds the items to the trail items array for hour archives.
+ *
+ * @since 0.6.0
+ * @access public
+ * @return void
+ */
+ public function do_hour_archive_items() {
+
+ /* Add $wp_rewrite->front to the trail. */
+ $this->do_rewrite_front_items();
+
+ /* Add the hour item. */
+ if ( true === $this->args['show_title'] )
+ $this->items[] = get_the_time( $this->args['labels']['archive_hour'] );
+ }
+
+ /**
+ * Adds the items to the trail items array for day archives.
+ *
+ * @since 0.6.0
+ * @access public
+ * @return void
+ */
+ public function do_day_archive_items() {
+
+ /* Add $wp_rewrite->front to the trail. */
+ $this->do_rewrite_front_items();
+
+ /* Get year, month, and day. */
+ $year = get_the_time( $this->args['labels']['archive_year'] );
+ $month = get_the_time( $this->args['labels']['archive_month'] );
+ $day = get_the_time( $this->args['labels']['archive_day'] );
+
+ /* Add the year and month items. */
+ $this->items[] = '<a href="' . get_year_link( get_the_time( 'Y' ) ) . '" title="' . esc_attr( $year ) . '">' . $year . '</a>';
+ $this->items[] = '<a href="' . get_month_link( get_the_time( 'Y' ), get_the_time( 'm' ) ) . '" title="' . esc_attr( $month ) . '">' . $month . '</a>';
+
+ /* Add the day item. */
+ if ( is_paged() )
+ $this->items[] = '<a href="' . get_day_link( get_the_time( 'Y' ), get_the_time( 'm' ), get_the_time( 'd' ) ) . '" title="' . esc_attr( $day ) . '">' . $day . '</a>';
+
+ elseif ( true === $this->args['show_title'] )
+ $this->items[] = $day;
+ }
+
+ /**
+ * Adds the items to the trail items array for week archives.
+ *
+ * @since 0.6.0
+ * @access public
+ * @return void
+ */
+ public function do_week_archive_items() {
+
+ /* Add $wp_rewrite->front to the trail. */
+ $this->do_rewrite_front_items();
+
+ /* Get the year and week. */
+ $year = get_the_time( $this->args['labels']['archive_year'] );
+ $week = sprintf( $this->args['labels']['archive_week'], date_i18n( 'W', get_the_time( 'U' ) ) );
+
+ /* Add the year item. */
+ $this->items[] = '<a href="' . get_year_link( get_the_time( 'Y' ) ) . '" title="' . esc_attr( $year ) . '">' . $year . '</a>';
+
+ /* Add the week item. */
+ if ( is_paged() )
+ $this->items[] = get_archives_link( add_query_arg( array( 'm' => get_the_time( 'Y' ), 'w' => get_the_time( 'W' ) ), home_url() ), $week, false );
+
+ elseif ( true === $this->args['show_title'] )
+ $this->items[] = $week;
+ }
+
+ /**
+ * Adds the items to the trail items array for month archives.
+ *
+ * @since 0.6.0
+ * @access public
+ * @return void
+ */
+ public function do_month_archive_items() {
+
+ /* Add $wp_rewrite->front to the trail. */
+ $this->do_rewrite_front_items();
+
+ /* Get the year and month. */
+ $year = get_the_time( $this->args['labels']['archive_year'] );
+ $month = get_the_time( $this->args['labels']['archive_month'] );
+
+ /* Add the year item. */
+ $this->items[] = '<a href="' . get_year_link( get_the_time( 'Y' ) ) . '" title="' . esc_attr( $year ) . '">' . $year . '</a>';
+
+ /* Add the month item. */
+ if ( is_paged() )
+ $this->items[] = '<a href="' . get_month_link( get_the_time( 'Y' ), get_the_time( 'm' ) ) . '" title="' . esc_attr( $month ) . '">' . $month . '</a>';
+
+ elseif ( true === $this->args['show_title'] )
+ $this->items[] = $month;
+ }
+
+ /**
+ * Adds the items to the trail items array for year archives.
+ *
+ * @since 0.6.0
+ * @access public
+ * @return void
+ */
+ public function do_year_archive_items() {
+
+ /* Add $wp_rewrite->front to the trail. */
+ $this->do_rewrite_front_items();
+
+ /* Get the year. */
+ $year = get_the_time( $this->args['labels']['archive_year'] );
+
+ /* Add the year item. */
+ if ( is_paged() )
+ $this->items[] = '<a href="' . get_year_link( get_the_time( 'Y' ) ) . '" title="' . esc_attr( $year ) . '">' . $year . '</a>';
+
+ elseif ( true === $this->args['show_title'] )
+ $this->items[] = $year;
+ }
+
+ /**
+ * Adds the items to the trail items array for archives that don't have a more specific method
+ * defined in this class.
+ *
+ * @since 0.6.0
+ * @access public
+ * @return void
+ */
+ public function do_default_archive_items() {
+
+ /* If this is a date-/time-based archive, add $wp_rewrite->front to the trail. */
+ if ( is_date() || is_time() )
+ $this->do_rewrite_front_items();
+
+ if ( true === $this->args['show_title'] )
+ $this->items[] = $this->args['labels']['archives'];
+ }
+
+ /**
+ * Adds the items to the trail items array for search results.
+ *
+ * @since 0.6.0
+ * @access public
+ * @return void
+ */
+ public function do_search_items() {
+
+ if ( is_paged() )
+ $this->items[] = '<a href="' . get_search_link() . '" title="' . esc_attr( sprintf( $this->args['labels']['search'], get_search_query() ) ) . '">' . sprintf( $this->args['labels']['search'], get_search_query() ) . '</a>';
+
+ elseif ( true === $this->args['show_title'] )
+ $this->items[] = sprintf( $this->args['labels']['search'], get_search_query() );
+ }
+
+ /**
+ * Adds the items to the trail items array for 404 pages.
+ *
+ * @since 0.6.0
+ * @access public
+ * @return void
+ */
+ public function do_404_items() {
+
+ if ( true === $this->args['show_title'] )
+ $this->items[] = $this->args['labels']['error_404'];
+ }
+
+ /**
+ * Get parent posts by path. Currently, this method only supports getting parents of the 'page'
+ * post type. The goal of this function is to create a clear path back to home given what would
+ * normally be a "ghost" directory. If any page matches the given path, it'll be added.
+ *
+ * @since 0.6.0
+ * @access public
+ * @param string $path The path (slug) to search for posts by.
+ * @return void
+ */
+ function do_path_parents( $path ) {
+
+ /* Trim '/' off $path in case we just got a simple '/' instead of a real path. */
+ $path = trim( $path, '/' );
+
+ /* If there's no path, return. */
+ if ( empty( $path ) )
+ return;
+
+ /* Get parent post by the path. */
+ $post = get_page_by_path( $path );
+
+ if ( !empty( $post ) ) {
+ $this->do_post_parents( $post->ID );
+ }
+
+ elseif ( is_null( $post ) ) {
+
+ /* Separate post names into separate paths by '/'. */
+ $path = trim( $path, '/' );
+ preg_match_all( "/\/.*?\z/", $path, $matches );
+
+ /* If matches are found for the path. */
+ if ( isset( $matches ) ) {
+
+ /* Reverse the array of matches to search for posts in the proper order. */
+ $matches = array_reverse( $matches );
+
+ /* Loop through each of the path matches. */
+ foreach ( $matches as $match ) {
+
+ /* If a match is found. */
+ if ( isset( $match[0] ) ) {
+
+ /* Get the parent post by the given path. */
+ $path = str_replace( $match[0], '', $path );
+ $post = get_page_by_path( trim( $path, '/' ) );
+
+ /* If a parent post is found, set the $post_id and break out of the loop. */
+ if ( !empty( $post ) && 0 < $post->ID ) {
+ $this->do_post_parents( $post->ID );
+ break;
+ }
+ }
+ }
+ }
+ }
+ }
+
+ /**
+ * Searches for term parents of hierarchical taxonomies. This function is similar to the WordPress
+ * function get_category_parents() but handles any type of taxonomy.
+ *
+ * @since 0.6.0
+ * @param int $term_id ID of the term to get the parents of.
+ * @param string $taxonomy Name of the taxonomy for the given term.
+ * @return void
+ */
+ function do_term_parents( $term_id, $taxonomy ) {
+
+ /* Set up some default arrays. */
+ $parents = array();
+
+ /* While there is a parent ID, add the parent term link to the $parents array. */
+ while ( $term_id ) {
+
+ /* Get the parent term. */
+ $term = get_term( $term_id, $taxonomy );
+
+ /* Add the formatted term link to the array of parent terms. */
+ $parents[] = '<a href="' . get_term_link( $term, $taxonomy ) . '" title="' . esc_attr( $term->name ) . '">' . $term->name . '</a>';
+
+ /* Set the parent term's parent as the parent ID. */
+ $term_id = $term->parent;
+ }
+
+ /* If we have parent terms, reverse the array to put them in the proper order for the trail. */
+ if ( !empty( $parents ) )
+ $this->items = array_merge( $this->items, $parents );
+ }
+
+ /**
+ * Turns %tag% from permalink structures into usable links for the breadcrumb trail. This feels kind of
+ * hackish for now because we're checking for specific %tag% examples and only doing it for the 'post'
+ * post type. In the future, maybe it'll handle a wider variety of possibilities, especially for custom post
+ * types.
+ *
+ * @since 0.6.0
+ * @access public
+ * @param int $post_id ID of the post whose parents we want.
+ * @param string $path Path of a potential parent page.
+ * @param array $args Mixed arguments for the menu.
+ * @return array
+ */
+ public function map_rewrite_tags( $post_id, $path ) {
+
+ /* Get the post based on the post ID. */
+ $post = get_post( $post_id );
+
+ /* If no post is returned, an error is returned, or the post does not have a 'post' post type, return. */
+ if ( empty( $post ) || is_wp_error( $post ) || 'post' !== $post->post_type )
+ return $trail;
+
+ /* Trim '/' from both sides of the $path. */
+ $path = trim( $path, '/' );
+
+ /* Split the $path into an array of strings. */
+ $matches = explode( '/', $path );
+
+ /* If matches are found for the path. */
+ if ( is_array( $matches ) ) {
+
+ /* Loop through each of the matches, adding each to the $trail array. */
+ foreach ( $matches as $match ) {
+
+ /* Trim any '/' from the $match. */
+ $tag = trim( $match, '/' );
+
+ /* If using the %year% tag, add a link to the yearly archive. */
+ if ( '%year%' == $tag )
+ $this->items[] = '<a href="' . get_year_link( get_the_time( 'Y', $post_id ) ) . '" title="' . get_the_time( __( 'Y', 'breadcrumb-trail' ), $post_id ) . '">' . get_the_time( $this->args['labels']['archive_year'], $post_id ) . '</a>';
+
+ /* If using the %monthnum% tag, add a link to the monthly archive. */
+ elseif ( '%monthnum%' == $tag )
+ $this->items[] = '<a href="' . get_month_link( get_the_time( 'Y', $post_id ), get_the_time( 'm', $post_id ) ) . '" title="' . get_the_time( esc_attr__( 'F Y', 'breadcrumb-trail' ), $post_id ) . '">' . get_the_time( $this->args['labels']['archive_month'], $post_id ) . '</a>';
+
+ /* If using the %day% tag, add a link to the daily archive. */
+ elseif ( '%day%' == $tag )
+ $this->items[] = '<a href="' . get_day_link( get_the_time( 'Y', $post_id ), get_the_time( 'm', $post_id ), get_the_time( 'd', $post_id ) ) . '" title="' . get_the_time( esc_attr__( 'F j, Y', 'breadcrumb-trail' ), $post_id ) . '">' . get_the_time( $this->args['labels']['archive_day'], $post_id ) . '</a>';
+
+ /* If using the %author% tag, add a link to the post author archive. */
+ elseif ( '%author%' == $tag )
+ $this->items[] = '<a href="' . get_author_posts_url( $post->post_author ) . '" title="' . esc_attr( get_the_author_meta( 'display_name', $post->post_author ) ) . '">' . get_the_author_meta( 'display_name', $post->post_author ) . '</a>';
+
+ /* If using the %category% tag, add a link to the first category archive to match permalinks. */
+ elseif ( '%category%' == $tag ) {
+
+ /* Force override terms in this post type. */
+ $this->args['post_taxonomy'][ $post->post_type ] = false;
+
+ /* Get the post categories. */
+ $terms = get_the_category( $post_id );
+
+ /* Check that categories were returned. */
+ if ( $terms ) {
+
+ /* Sort the terms by ID and get the first category. */
+ usort( $terms, '_usort_terms_by_ID' );
+ $term = get_term( $terms[0], 'category' );
+
+ /* If the category has a parent, add the hierarchy to the trail. */
+ if ( 0 < $term->parent )
+ $this->do_term_parents( $term->parent, 'category' );
+
+ /* Add the category archive link to the trail. */
+ $this->items[] = '<a href="' . get_term_link( $term, 'category' ) . '" title="' . esc_attr( $term->name ) . '">' . $term->name . '</a>';
+ }
+ }
+ }
+ }
+ }
+}
+
+/**
+ * Extends the Breadcrumb_Trail class for bbPress. Only use this if bbPress is in use. This should
+ * serve as an example for other plugin developers to build custom breadcrumb items.
+ *
+ * @since 0.6.0
+ * @access public
+ */
+class bbPress_Breadcrumb_Trail extends Breadcrumb_Trail {
+
+ /**
+ * Runs through the various bbPress conditional tags to check the current page being viewed. Once
+ * a condition is met, add items to the $items array.
+ *
+ * @since 0.6.0
+ * @access public
+ * @return void
+ */
+ public function do_trail_items() {
+
+ /* Add the network and site home links. */
+ $this->do_network_home_link();
+ $this->do_site_home_link();
+
+ /* Get the forum post type object. */
+ $post_type_object = get_post_type_object( bbp_get_forum_post_type() );
+
+ /* If not viewing the forum root/archive page and a forum archive exists, add it. */
+ if ( !empty( $post_type_object->has_archive ) && !bbp_is_forum_archive() )
+ $this->items[] = '<a href="' . get_post_type_archive_link( bbp_get_forum_post_type() ) . '">' . bbp_get_forum_archive_title() . '</a>';
+
+ /* If viewing the forum root/archive. */
+ if ( bbp_is_forum_archive() ) {
+
+ if ( true === $this->args['show_title'] )
+ $this->items[] = bbp_get_forum_archive_title();
+ }
+
+ /* If viewing the topics archive. */
+ elseif ( bbp_is_topic_archive() ) {
+
+ if ( true === $this->args['show_title'] )
+ $this->items[] = bbp_get_topic_archive_title();
+ }
+
+ /* If viewing a topic tag archive. */
+ elseif ( bbp_is_topic_tag() ) {
+
+ if ( true === $this->args['show_title'] )
+ $this->items[] = bbp_get_topic_tag_name();
+ }
+
+ /* If viewing a topic tag edit page. */
+ elseif ( bbp_is_topic_tag_edit() ) {
+ $this->items[] = '<a href="' . bbp_get_topic_tag_link() . '">' . bbp_get_topic_tag_name() . '</a>';
+
+ if ( true === $this->args['show_title'] )
+ $this->items[] = __( 'Edit', 'breadcrumb-trail' );
+ }
+
+ /* If viewing a "view" page. */
+ elseif ( bbp_is_single_view() ) {
+
+ if ( true === $this->args['show_title'] )
+ $this->items[] = bbp_get_view_title();
+ }
+
+ /* If viewing a single topic page. */
+ elseif ( bbp_is_single_topic() ) {
+
+ /* Get the queried topic. */
+ $topic_id = get_queried_object_id();
+
+ /* Get the parent items for the topic, which would be its forum (and possibly forum grandparents). */
+ $this->do_post_parents( bbp_get_topic_forum_id( $topic_id ) );
+
+ /* If viewing a split, merge, or edit topic page, show the link back to the topic. Else, display topic title. */
+ if ( bbp_is_topic_split() || bbp_is_topic_merge() || bbp_is_topic_edit() )
+ $this->items[] = '<a href="' . bbp_get_topic_permalink( $topic_id ) . '">' . bbp_get_topic_title( $topic_id ) . '</a>';
+
+ elseif ( true === $this->args['show_title'] )
+ $this->items[] = bbp_get_topic_title( $topic_id );
+
+ /* If viewing a topic split page. */
+ if ( bbp_is_topic_split() && true === $this->args['show_title'] )
+ $this->items[] = __( 'Split', 'breadcrumb-trail' );
+
+ /* If viewing a topic merge page. */
+ elseif ( bbp_is_topic_merge() && true === $this->args['show_title'] )
+ $this->items[] = __( 'Merge', 'breadcrumb-trail' );
+
+ /* If viewing a topic edit page. */
+ elseif ( bbp_is_topic_edit() && true === $this->args['show_title'] )
+ $this->items[] = __( 'Edit', 'breadcrumb-trail' );
+ }
+
+ /* If viewing a single reply page. */
+ elseif ( bbp_is_single_reply() ) {
+
+ /* Get the queried reply object ID. */
+ $reply_id = get_queried_object_id();
+
+ /* Get the parent items for the reply, which should be its topic. */
+ $this->do_post_parents( bbp_get_reply_topic_id( $reply_id ) );
+
+ /* If viewing a reply edit page, link back to the reply. Else, display the reply title. */
+ if ( bbp_is_reply_edit() ) {
+ $this->items[] = '<a href="' . bbp_get_reply_url( $reply_id ) . '">' . bbp_get_reply_title( $reply_id ) . '</a>';
+
+ if ( true === $this->args['show_title'] )
+ $this->items[] = __( 'Edit', 'breadcrumb-trail' );
+
+ } elseif ( true === $this->args['show_title'] ) {
+ $this->items[] = bbp_get_reply_title( $reply_id );
+ }
+
+ }
+
+ /* If viewing a single forum. */
+ elseif ( bbp_is_single_forum() ) {
+
+ /* Get the queried forum ID and its parent forum ID. */
+ $forum_id = get_queried_object_id();
+ $forum_parent_id = bbp_get_forum_parent_id( $forum_id );
+
+ /* If the forum has a parent forum, get its parent(s). */
+ if ( 0 !== $forum_parent_id)
+ $this->do_post_parents( $forum_parent_id );
+
+ /* Add the forum title to the end of the trail. */
+ if ( true === $this->args['show_title'] )
+ $this->items[] = bbp_get_forum_title( $forum_id );
+ }
+
+ /* If viewing a user page or user edit page. */
+ elseif ( bbp_is_single_user() || bbp_is_single_user_edit() ) {
+
+ if ( bbp_is_single_user_edit() ) {
+ $this->items[] = '<a href="' . bbp_get_user_profile_url() . '">' . bbp_get_displayed_user_field( 'display_name' ) . '</a>';
+
+ if ( true === $this->args['show_title'] )
+ $this->items[] = __( 'Edit', 'breadcrumb-trail' );
+ } elseif ( true === $this->args['show_title'] ) {
+ $this->items[] = bbp_get_displayed_user_field( 'display_name' );
+ }
+ }
+
+ /* Return the bbPress breadcrumb trail items. */
+ $this->items = apply_filters( 'breadcrumb_trail_get_bbpress_items', $this->items, $this->args );
+ }
+}
+
+?>
</ins><span class="cx">\ No newline at end of file
</span><span class="cx">Property changes on: sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/inc/breadcrumb-trail.php
</span><span class="cx">___________________________________________________________________
</span></span></pre></div>
<a id="svneolstyle"></a>
<div class="addfile"><h4>Added: svn:eol-style</h4></div>
<ins>+native
</ins><span class="cx">\ No newline at end of property
</span><a id="sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporgdeveloperinccustomizerphp"></a>
<div class="addfile"><h4>Added: sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/inc/customizer.php (0 => 554)</h4>
<pre class="diff"><span>
<span class="info">--- sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/inc/customizer.php (rev 0)
+++ sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/inc/customizer.php 2014-04-24 22:19:39 UTC (rev 554)
</span><span class="lines">@@ -0,0 +1,26 @@
</span><ins>+<?php
+/**
+ * wporg-developer Theme Customizer
+ *
+ * @package wporg-developer
+ */
+
+/**
+ * Add postMessage support for site title and description for the Theme Customizer.
+ *
+ * @param WP_Customize_Manager $wp_customize Theme Customizer object.
+ */
+function wporg_developer_customize_register( $wp_customize ) {
+ $wp_customize->get_setting( 'blogname' )->transport = 'postMessage';
+ $wp_customize->get_setting( 'blogdescription' )->transport = 'postMessage';
+ $wp_customize->get_setting( 'header_textcolor' )->transport = 'postMessage';
+}
+add_action( 'customize_register', 'wporg_developer_customize_register' );
+
+/**
+ * Binds JS handlers to make Theme Customizer preview reload changes asynchronously.
+ */
+function wporg_developer_customize_preview_js() {
+ wp_enqueue_script( 'wporg_developer_customizer', get_template_directory_uri() . '/js/customizer.js', array( 'customize-preview' ), '20130508', true );
+}
+add_action( 'customize_preview_init', 'wporg_developer_customize_preview_js' );
</ins><span class="cx">Property changes on: sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/inc/customizer.php
</span><span class="cx">___________________________________________________________________
</span></span></pre></div>
<a id="svnexecutable"></a>
<div class="addfile"><h4>Added: svn:executable</h4></div>
<ins>+*
</ins><span class="cx">\ No newline at end of property
</span><a id="svneolstyle"></a>
<div class="addfile"><h4>Added: svn:eol-style</h4></div>
<ins>+native
</ins><span class="cx">\ No newline at end of property
</span><a id="sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporgdeveloperincextrasphp"></a>
<div class="addfile"><h4>Added: sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/inc/extras.php (0 => 554)</h4>
<pre class="diff"><span>
<span class="info">--- sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/inc/extras.php (rev 0)
+++ sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/inc/extras.php 2014-04-24 22:19:39 UTC (rev 554)
</span><span class="lines">@@ -0,0 +1,68 @@
</span><ins>+<?php
+/**
+ * Custom functions that act independently of the theme templates
+ *
+ * Eventually, some of the functionality here could be replaced by core features
+ *
+ * @package wporg-developer
+ */
+
+/**
+ * Get our wp_nav_menu() fallback, wp_page_menu(), to show a home link.
+ *
+ * @param array $args Configuration arguments.
+ * @return array
+ */
+function wporg_developer_page_menu_args( $args ) {
+ $args['show_home'] = true;
+ return $args;
+}
+add_filter( 'wp_page_menu_args', 'wporg_developer_page_menu_args' );
+
+/**
+ * Adds custom classes to the array of body classes.
+ *
+ * @param array $classes Classes for the body element.
+ * @return array
+ */
+function wporg_developer_body_classes( $classes ) {
+ // Adds a class of group-blog to blogs with more than 1 published author.
+ if ( is_multi_author() ) {
+ $classes[] = 'group-blog';
+ }
+
+ return $classes;
+}
+add_filter( 'body_class', 'wporg_developer_body_classes' );
+
+/**
+ * Filters wp_title to print a neat <title> tag based on what is being viewed.
+ *
+ * @param string $title Default title text for current view.
+ * @param string $sep Optional separator.
+ * @return string The filtered title.
+ */
+function wporg_developer_wp_title( $title, $sep ) {
+ global $page, $paged;
+
+ if ( is_feed() ) {
+ return $title;
+ }
+
+ // Add the blog name
+ $title .= get_bloginfo( 'name' );
+
+ // Add the blog description for the home/front page.
+ $site_description = get_bloginfo( 'description', 'display' );
+ if ( $site_description && ( is_home() || is_front_page() ) ) {
+ $title .= " $sep $site_description";
+ }
+
+ // Add a page number if necessary:
+ if ( $paged >= 2 || $page >= 2 ) {
+ $title .= " $sep " . sprintf( __( 'Page %s', 'wporg' ), max( $paged, $page ) );
+ }
+
+ return $title;
+}
+add_filter( 'wp_title', 'wporg_developer_wp_title', 10, 2 );
</ins><span class="cx">Property changes on: sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/inc/extras.php
</span><span class="cx">___________________________________________________________________
</span></span></pre></div>
<a id="svneolstyle"></a>
<div class="addfile"><h4>Added: svn:eol-style</h4></div>
<ins>+native
</ins><span class="cx">\ No newline at end of property
</span><a id="svnexecutable"></a>
<div class="addfile"><h4>Added: svn:executable</h4></div>
<ins>+*
</ins><span class="cx">\ No newline at end of property
</span><a id="sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporgdeveloperincjetpackphp"></a>
<div class="addfile"><h4>Added: sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/inc/jetpack.php (0 => 554)</h4>
<pre class="diff"><span>
<span class="info">--- sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/inc/jetpack.php (rev 0)
+++ sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/inc/jetpack.php 2014-04-24 22:19:39 UTC (rev 554)
</span><span class="lines">@@ -0,0 +1,19 @@
</span><ins>+<?php
+/**
+ * Jetpack Compatibility File
+ * See: http://jetpack.me/
+ *
+ * @package wporg-developer
+ */
+
+/**
+ * Add theme support for Infinite Scroll.
+ * See: http://jetpack.me/support/infinite-scroll/
+ */
+function wporg_developer_jetpack_setup() {
+ add_theme_support( 'infinite-scroll', array(
+ 'container' => 'main',
+ 'footer' => 'page',
+ ) );
+}
+add_action( 'after_setup_theme', 'wporg_developer_jetpack_setup' );
</ins><span class="cx">Property changes on: sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/inc/jetpack.php
</span><span class="cx">___________________________________________________________________
</span></span></pre></div>
<a id="svneolstyle"></a>
<div class="addfile"><h4>Added: svn:eol-style</h4></div>
<ins>+native
</ins><span class="cx">\ No newline at end of property
</span><a id="svnexecutable"></a>
<div class="addfile"><h4>Added: svn:executable</h4></div>
<ins>+*
</ins><span class="cx">\ No newline at end of property
</span><a id="sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporgdeveloperinclooppaginationphp"></a>
<div class="addfile"><h4>Added: sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/inc/loop-pagination.php (0 => 554)</h4>
<pre class="diff"><span>
<span class="info">--- sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/inc/loop-pagination.php (rev 0)
+++ sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/inc/loop-pagination.php 2014-04-24 22:19:39 UTC (rev 554)
</span><span class="lines">@@ -0,0 +1,113 @@
</span><ins>+<?php
+/**
+ * Loop Pagination - A WordPress script for creating paginated links on archive-type pages.
+ *
+ * The Loop Pagination script was designed to give theme authors a quick way to paginate archive-type
+ * (archive, search, and blog) pages without having to worry about which of the many plugins a user might
+ * possibly be using. Instead, they can simply build pagination right into their themes.
+ *
+ * This program is free software; you can redistribute it and/or modify it under the terms of the GNU
+ * General Public License as published by the Free Software Foundation; either version 2 of the License,
+ * or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without
+ * even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+ *
+ * @package LoopPagination
+ * @version 0.3.0
+ * @author Justin Tadlock <justin@justintadlock.com>
+ * @copyright Copyright (c) 2010 - 2013, Justin Tadlock
+ * @link http://themehybrid.com/docs/tutorials/loop-pagination
+ * @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
+ */
+
+/**
+ * Loop pagination function for paginating loops with multiple posts. This should be used on archive, blog, and
+ * search pages. It is not for singular views.
+ *
+ * @since 0.1.0
+ * @access public
+ * @uses paginate_links() Creates a string of paginated links based on the arguments given.
+ * @param array $args Arguments to customize how the page links are output.
+ * @return string $page_links
+ */
+function loop_pagination( $args = array() ) {
+ global $wp_rewrite, $wp_query;
+
+ /* If there's not more than one page, return nothing. */
+ if ( 1 >= $wp_query->max_num_pages )
+ return;
+
+ /* Get the current page. */
+ $current = ( get_query_var( 'paged' ) ? absint( get_query_var( 'paged' ) ) : 1 );
+
+ /* Get the max number of pages. */
+ $max_num_pages = intval( $wp_query->max_num_pages );
+
+ /* Get the pagination base. */
+ $pagination_base = $wp_rewrite->pagination_base;
+
+ /* Set up some default arguments for the paginate_links() function. */
+ $defaults = array(
+ 'base' => add_query_arg( 'paged', '%#%' ),
+ 'format' => '',
+ 'total' => $max_num_pages,
+ 'current' => $current,
+ 'prev_next' => true,
+ //'prev_text' => __( '« Previous' ), // This is the WordPress default.
+ //'next_text' => __( 'Next »' ), // This is the WordPress default.
+ 'show_all' => false,
+ 'end_size' => 1,
+ 'mid_size' => 1,
+ 'add_fragment' => '',
+ 'type' => 'plain',
+
+ // Begin loop_pagination() arguments.
+ 'before' => '<nav class="pagination loop-pagination">',
+ 'after' => '</nav>',
+ 'echo' => true,
+ );
+
+ /* Add the $base argument to the array if the user is using permalinks. */
+ if ( $wp_rewrite->using_permalinks() && !is_search() )
+ $defaults['base'] = user_trailingslashit( trailingslashit( get_pagenum_link() ) . "{$pagination_base}/%#%" );
+
+ /* Allow developers to overwrite the arguments with a filter. */
+ $args = apply_filters( 'loop_pagination_args', $args );
+
+ /* Merge the arguments input with the defaults. */
+ $args = wp_parse_args( $args, $defaults );
+
+ /* Don't allow the user to set this to an array. */
+ if ( 'array' == $args['type'] )
+ $args['type'] = 'plain';
+
+ /* Get the paginated links. */
+ $page_links = paginate_links( $args );
+
+ /* Remove 'page/1' from the entire output since it's not needed. */
+ $page_links = preg_replace(
+ array(
+ "#(href=['\"].*?){$pagination_base}/1(['\"])#", // 'page/1'
+ "#(href=['\"].*?){$pagination_base}/1/(['\"])#", // 'page/1/'
+ "#(href=['\"].*?)\?paged=1(['\"])#", // '?paged=1'
+ "#(href=['\"].*?)&\#038;paged=1(['\"])#" // '&paged=1'
+ ),
+ '$1$2',
+ $page_links
+ );
+
+ /* Wrap the paginated links with the $before and $after elements. */
+ $page_links = $args['before'] . $page_links . $args['after'];
+
+ /* Allow devs to completely overwrite the output. */
+ $page_links = apply_filters( 'loop_pagination', $page_links );
+
+ /* Return the paginated links for use in themes. */
+ if ( $args['echo'] )
+ echo $page_links;
+ else
+ return $page_links;
+}
+
+?>
</ins><span class="cx">\ No newline at end of file
</span><span class="cx">Property changes on: sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/inc/loop-pagination.php
</span><span class="cx">___________________________________________________________________
</span></span></pre></div>
<a id="svneolstyle"></a>
<div class="addfile"><h4>Added: svn:eol-style</h4></div>
<ins>+native
</ins><span class="cx">\ No newline at end of property
</span><a id="sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporgdeveloperinctemplatetagsphp"></a>
<div class="addfile"><h4>Added: sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/inc/template-tags.php (0 => 554)</h4>
<pre class="diff"><span>
<span class="info">--- sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/inc/template-tags.php (rev 0)
+++ sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/inc/template-tags.php 2014-04-24 22:19:39 UTC (rev 554)
</span><span class="lines">@@ -0,0 +1,559 @@
</span><ins>+<?php
+
+namespace {
+
+ /**
+ * Custom template tags for this theme.
+ *
+ * Eventually, some of the functionality here could be replaced by core features.
+ *
+ * @package wporg-developer
+ */
+
+ if ( ! function_exists( 'wporg_developer_paging_nav' ) ) :
+ /**
+ * Display navigation to next/previous set of posts when applicable.
+ *
+ * @return void
+ */
+ function wporg_developer_paging_nav() {
+ // Don't print empty markup if there's only one page.
+ if ( $GLOBALS['wp_query']->max_num_pages < 2 ) {
+ return;
+ }
+ ?>
+ <nav class="navigation paging-navigation" role="navigation">
+ <h1 class="screen-reader-text"><?php _e( 'Posts navigation', 'wporg' ); ?></h1>
+
+ <div class="nav-links">
+
+ <?php if ( get_next_posts_link() ) : ?>
+ <div class="nav-previous"><?php next_posts_link( __( '<span class="meta-nav">←</span> Older posts', 'wporg' ) ); ?></div>
+ <?php endif; ?>
+
+ <?php if ( get_previous_posts_link() ) : ?>
+ <div class="nav-next"><?php previous_posts_link( __( 'Newer posts <span class="meta-nav">→</span>', 'wporg' ) ); ?></div>
+ <?php endif; ?>
+
+ </div>
+ <!-- .nav-links -->
+ </nav><!-- .navigation -->
+ <?php
+ }
+ endif;
+
+ if ( ! function_exists( 'wporg_developer_post_nav' ) ) :
+ /**
+ * Display navigation to next/previous post when applicable.
+ *
+ * @return void
+ */
+ function wporg_developer_post_nav() {
+ // Don't print empty markup if there's nowhere to navigate.
+ $previous = ( is_attachment() ) ? get_post( get_post()->post_parent ) : get_adjacent_post( false, '', true );
+ $next = get_adjacent_post( false, '', false );
+
+ if ( ! $next && ! $previous ) {
+ return;
+ }
+ ?>
+ <nav class="navigation post-navigation" role="navigation">
+ <h1 class="screen-reader-text"><?php _e( 'Post navigation', 'wporg' ); ?></h1>
+
+ <div class="nav-links">
+
+ <?php previous_post_link( '%link', _x( '<span class="meta-nav">←</span> %title', 'Previous post link', 'wporg' ) ); ?>
+ <?php next_post_link( '%link', _x( '%title <span class="meta-nav">→</span>', 'Next post link', 'wporg' ) ); ?>
+
+ </div>
+ <!-- .nav-links -->
+ </nav><!-- .navigation -->
+ <?php
+ }
+ endif;
+
+ if ( ! function_exists( 'wporg_developer_comment' ) ) :
+ /**
+ * Template for comments and pingbacks.
+ *
+ * Used as a callback by wp_list_comments() for displaying the comments.
+ */
+ function wporg_developer_comment( $comment, $args, $depth ) {
+ $GLOBALS['comment'] = $comment;
+
+ if ( 'pingback' == $comment->comment_type || 'trackback' == $comment->comment_type ) : ?>
+
+ <li id="comment-<?php comment_ID(); ?>" <?php comment_class(); ?>>
+ <div class="comment-body">
+ <?php _e( 'Pingback:', 'wporg' ); ?> <?php comment_author_link(); ?> <?php edit_comment_link( __( 'Edit', 'wporg' ), '<span class="edit-link">', '</span>' ); ?>
+ </div>
+
+ <?php else : ?>
+
+ <li id="comment-<?php comment_ID(); ?>" <?php comment_class( empty( $args['has_children'] ) ? '' : 'parent' ); ?>>
+ <article id="div-comment-<?php comment_ID(); ?>" class="comment-body">
+ <footer class="comment-meta">
+ <div class="comment-author vcard">
+ <?php if ( 0 != $args['avatar_size'] ) {
+ echo get_avatar( $comment, $args['avatar_size'] );
+ } ?>
+ <?php printf( __( '%s <span class="says">says:</span>', 'wporg' ), sprintf( '<cite class="fn">%s</cite>', get_comment_author_link() ) ); ?>
+ </div>
+ <!-- .comment-author -->
+
+ <div class="comment-metadata">
+ <a href="<?php echo esc_url( get_comment_link( $comment->comment_ID ) ); ?>">
+ <time datetime="<?php comment_time( 'c' ); ?>">
+ <?php printf( _x( '%1$s at %2$s', '1: date, 2: time', 'wporg' ), get_comment_date(), get_comment_time() ); ?>
+ </time>
+ </a>
+ <?php edit_comment_link( __( 'Edit', 'wporg' ), '<span class="edit-link">', '</span>' ); ?>
+ </div>
+ <!-- .comment-metadata -->
+
+ <?php if ( '0' == $comment->comment_approved ) : ?>
+ <p class="comment-awaiting-moderation"><?php _e( 'Your comment is awaiting moderation.', 'wporg' ); ?></p>
+ <?php endif; ?>
+ </footer>
+ <!-- .comment-meta -->
+
+ <div class="comment-content">
+ <?php comment_text(); ?>
+ </div>
+ <!-- .comment-content -->
+
+ <?php
+ comment_reply_link( array_merge( $args, array(
+ 'add_below' => 'div-comment',
+ 'depth' => $depth,
+ 'max_depth' => $args['max_depth'],
+ 'before' => '<div class="reply">',
+ 'after' => '</div>',
+ ) ) );
+ ?>
+ </article><!-- .comment-body -->
+
+ <?php
+ endif;
+ }
+ endif; // ends check for wporg_developer_comment()
+
+ if ( ! function_exists( 'wporg_developer_posted_on' ) ) :
+ /**
+ * Prints HTML with meta information for the current post-date/time and author.
+ */
+ function wporg_developer_posted_on() {
+ $time_string = '<time class="entry-date published" datetime="%1$s">%2$s</time>';
+ if ( get_the_time( 'U' ) !== get_the_modified_time( 'U' ) ) {
+ $time_string .= '<time class="updated" datetime="%3$s">%4$s</time>';
+ }
+
+ $time_string = sprintf( $time_string,
+ esc_attr( get_the_date( 'c' ) ),
+ esc_html( get_the_date() ),
+ esc_attr( get_the_modified_date( 'c' ) ),
+ esc_html( get_the_modified_date() )
+ );
+
+ printf( __( '<span class="posted-on">Posted on %1$s</span><span class="byline"> by %2$s</span>', 'wporg' ),
+ sprintf( '<a href="%1$s" rel="bookmark">%2$s</a>',
+ esc_url( get_permalink() ),
+ $time_string
+ ),
+ sprintf( '<span class="author vcard"><a class="url fn n" href="%1$s">%2$s</a></span>',
+ esc_url( get_author_posts_url( get_the_author_meta( 'ID' ) ) ),
+ esc_html( get_the_author() )
+ )
+ );
+ }
+ endif;
+
+ /**
+ * Returns true if a blog has more than 1 category.
+ */
+ function wporg_developer_categorized_blog() {
+ if ( false === ( $all_the_cool_cats = get_transient( 'all_the_cool_cats' ) ) ) {
+ // Create an array of all the categories that are attached to posts.
+ $all_the_cool_cats = get_categories( array(
+ 'hide_empty' => 1,
+ ) );
+
+ // Count the number of categories that are attached to the posts.
+ $all_the_cool_cats = count( $all_the_cool_cats );
+
+ set_transient( 'all_the_cool_cats', $all_the_cool_cats );
+ }
+
+ if ( '1' != $all_the_cool_cats ) {
+ // This blog has more than 1 category so wporg_developer_categorized_blog should return true.
+ return true;
+ } else {
+ // This blog has only 1 category so wporg_developer_categorized_blog should return false.
+ return false;
+ }
+ }
+
+ /**
+ * Flush out the transients used in wporg_developer_categorized_blog.
+ */
+ function wporg_developer_category_transient_flusher() {
+ // Like, beat it. Dig?
+ delete_transient( 'all_the_cool_cats' );
+ }
+
+ add_action( 'edit_category', 'wporg_developer_category_transient_flusher' );
+ add_action( 'save_post', 'wporg_developer_category_transient_flusher' );
+}
+
+namespace DevHub {
+
+ function wp_doc_comment( $comment, $args, $depth ) {
+ ?>
+ <li <?php comment_class(); ?> id="li-comment-<?php comment_ID(); ?>">
+ <article id="comment-<?php comment_ID(); ?>" class="comment">
+
+ <?php if ( $comment->comment_approved == '0' ) : ?>
+ <em class="comment-awaiting-moderation"><?php _e( 'Your example is awaiting moderation.', 'wporg' ); ?></em>
+ <br />
+ <?php endif; ?>
+
+ <pre class="example-content"><?php echo htmlentities( get_comment_text() ); ?></pre>
+
+ <footer class="comment-meta">
+ <div class="comment-author vcard">
+ <?php
+ echo get_avatar( $comment );
+
+ /* translators: 1: comment author, 2: date and time */
+ printf( __( 'Contributed by %1$s on %2$s', 'wporg' ),
+ sprintf( '<span class="fn">%s</span>', get_comment_author_link() ),
+ sprintf( '<a href="%1$s"><time datetime="%2$s">%3$s</time></a>',
+ esc_url( get_comment_link( $comment->comment_ID ) ),
+ get_comment_time( 'c' ),
+ /* translators: 1: date, 2: time */
+ sprintf( __( '%1$s at %2$s', 'wporg' ), get_comment_date(), get_comment_time() )
+ )
+ );
+ ?>
+
+ <?php edit_comment_link( __( 'Edit', 'wporg' ), '<span class="edit-link">', '</span>' ); ?>
+ </div>
+ <!-- .comment-author .vcard -->
+
+ </footer>
+
+ </article>
+ <!-- #comment-## -->
+
+ <?php
+ }
+
+ /**
+ * Get current (latest) since version
+ *
+ * @return object
+ */
+ function get_current_version() {
+
+ $current_version = defined( 'WP_CORE_LATEST_RELEASE' ) ? WP_CORE_LATEST_RELEASE : '3.9';
+ if ( substr_count( $current_version, '.' ) ) {
+ $current_version .= '.0';
+ }
+
+ $version = get_terms( 'wp-parser-since', array(
+ 'number' => '1',
+ 'order' => 'DESC',
+ 'slug' => $current_version,
+ ) );
+
+ return $version[0];
+ }
+
+ /**
+ * Get site section from url path
+ *
+ * @return string
+ */
+ function get_site_section_title() {
+ $parts = explode( '/', $_SERVER['REQUEST_URI'] );
+ switch ( $parts[1] ) {
+ case 'reference':
+ return 'Code Reference';
+ default:
+ return 'Developer Resources';
+ }
+ }
+ /**
+ * Get template part name
+ *
+ * @return string
+ */
+ function get_template_part_name( $post_type = null ) {
+ if ( empty( $post_type ) ) {
+ $post_type = get_post_type();
+ }
+
+ $reference = array( 'wp-parser-class', 'wp-parser-function', 'wp-parser-method' );
+ if ( in_array( $post_type, $reference ) ) {
+ $part = 'reference';
+ } else {
+ $part = $post_type;
+ }
+
+ return $part;
+ }
+
+ /**
+ * Get post type name
+ *
+ * @param string $post_type
+ * @param bool $plural
+ *
+ * @return string
+ */
+ function get_post_type_name( $post_type = null, $plural = false ) {
+ if ( empty( $post_type ) ) {
+ $post_type = get_post_type();
+ }
+
+ $name = substr( $post_type, 6 );
+
+ if ( $plural ) {
+ $name .= ( 'class' == $name ) ? 'es' : 's';
+ }
+ return $name;
+ }
+
+ /**
+ * Retrieve function name and arguments as signature string
+ *
+ * @param int $post_id
+ *
+ * @return string
+ */
+ function get_signature( $post_id = null ) {
+
+ if ( empty( $post_id ) ) {
+ $post_id = get_the_ID();
+ }
+
+ $args = get_post_meta( $post_id, '_wp-parser_args', true );
+ $tags = get_post_meta( $post_id, '_wp-parser_tags', true );
+ $signature = get_the_title( $post_id );
+ $params = get_params();
+ $args_strings = array();
+ $types = array();
+
+ if ( $tags ) {
+ foreach ( $tags as $tag ) {
+ if ( 'param' == $tag['name'] ) {
+ $types[ $tag['variable'] ] = implode( '|', $tag['types'] );
+ }
+ }
+ }
+
+ // Decorate and return hook arguments.
+ if ( 'wp-parser-hook' === get_post_type( $post_id ) ) {
+ $arg_string = '';
+ if ( ! empty( $types ) ) {
+ foreach ( $types as $arg => $type ) {
+ $arg_string .= ' <span class="arg-type">' . esc_html( $type ) . '</span>';
+ $arg_string .= ' <span class="arg-name">' . esc_html( $arg ) . '</span>';
+ $arg_string .= $arg === end( array_keys( $types ) ) ? ' ' : ',';
+ }
+ if ( ! empty( $arg_string ) ) {
+ $signature .= " ($arg_string)";
+ }
+ }
+ return $signature;
+ }
+
+ // Decorate and return function/class arguments.
+ $signature .= ' (';
+
+ if ( $args ) {
+ foreach ( $args as $arg ) {
+ $arg_string = '';
+ if ( ! empty( $arg['name'] ) && ! empty( $types[ $arg['name'] ] ) ) {
+ $arg_string .= ' <span class="arg-type">' . $types[ $arg['name'] ] . '</span>';
+ }
+
+ if ( ! empty( $arg['name'] ) ) {
+ $arg_string .= ' <span class="arg-name">' . $arg['name'] . '</span> ';
+ }
+
+ if ( is_array( $arg ) && array_key_exists( 'default', $arg ) ) {
+
+ if ( is_null( $arg['default'] ) ) {
+ $arg['default'] = 'null';
+ }
+
+ $arg_string .= '= <span class="arg-default">' . $arg['default'] . "</span>";
+ }
+
+ $args_strings[] = $arg_string;
+ }
+ }
+
+ $signature .= implode( ', ', $args_strings ) . ' )';
+
+ return wp_kses_post( $signature );
+ }
+
+ /**
+ * Retrieve parameters as an array
+ *
+ * @param int $post_id
+ *
+ * @return array
+ */
+ function get_params( $post_id = null ) {
+
+ if ( empty( $post_id ) ) {
+ $post_id = get_the_ID();
+ }
+ $params = '';
+ $args = get_post_meta( $post_id, '_wp-parser_args', true );
+ $tags = get_post_meta( $post_id, '_wp-parser_tags', true );
+
+ if ( $tags ) {
+ foreach ( $tags as $tag ) {
+ if ( 'param' == $tag['name'] ) {
+ $params[ $tag['variable'] ] = $tag;
+ foreach ( $tag['types'] as $i => $v ) {
+ $types[ $i ] = "<span class=\"{$v}\">{$v}</span>";
+ }
+ $params[ $tag['variable'] ]['types'] = implode( '|', $types );
+ if ( strtolower( substr( $tag['content'], 0, 8 ) ) == "optional." ) {
+ $params[ $tag['variable'] ]['required'] = 'Optional';
+ $params[ $tag['variable'] ]['content'] = substr( $tag['content'], 9 );
+ } else {
+ $params[ $tag['variable'] ]['required'] = 'Required';
+ }
+ }
+ }
+ }
+
+ if ( $args ) {
+ foreach ( $args as $arg ) {
+ if ( ! empty( $arg['name'] ) && ! empty( $params[ $arg['name'] ] ) ) {
+ $params[ $arg['name'] ]['default'] = $arg['default'];
+ }
+
+ }
+ }
+
+ return $params;
+ }
+
+ /**
+ * Retrieve arguments as an array
+ *
+ * @param int $post_id
+ *
+ * @return array
+ */
+ function get_arguments( $post_id = null ) {
+
+ if ( empty( $post_id ) ) {
+ $post_id = get_the_ID();
+ }
+ $arguments = array();
+ $args = get_post_meta( $post_id, '_wp-parser_args', true );
+
+ if ( $args ) {
+ foreach ( $args as $arg ) {
+ if ( ! empty( $arg['type'] ) ) {
+ $arguments[ $arg['name'] ] = $arg['type'];
+ }
+ }
+ }
+
+ return $arguments;
+ }
+
+ /**
+ * Retrieve return type and description if available
+ *
+ * @param int $post_id
+ *
+ * @return string
+ */
+ function get_return( $post_id = null ) {
+
+ if ( empty( $post_id ) ) {
+ $post_id = get_the_ID();
+ }
+
+ $tags = get_post_meta( $post_id, '_wp-parser_tags', true );
+ $return = wp_filter_object_list( $tags, array( 'name' => 'return' ) );
+
+ if ( empty( $return ) ) {
+ $description = '';
+ $type = 'void';
+ } else {
+ $return = array_shift( $return );
+ $description = empty( $return['content'] ) ? '' : esc_html( $return['content'] );
+ $type = empty( $return['types'] ) ? '' : esc_html( implode( '|', $return['types'] ) );
+ }
+
+ return "<span class='return-type'>{$type}</span> $description";
+ }
+
+ /**
+ * Retrieve URL to since version archive
+ *
+ * @param string $name
+ *
+ * @return string
+ */
+ function get_since_link( $name = null ) {
+
+ $since_object = get_term_by( 'name', empty( $name ) ? get_since() : $name, 'wp-parser-since' );
+
+ return empty( $since_object ) ? '' : esc_url( get_term_link( $since_object ) );
+ }
+
+ /**
+ * Retrieve name of since version
+ *
+ * @param int $post_id
+ *
+ * @return string
+ */
+ function get_since( $post_id = null ) {
+
+ $since_object = wp_get_post_terms( empty( $post_id ) ? get_the_ID() : $post_id, 'wp-parser-since', array( 'fields' => 'names' ) );
+
+ return empty( $since_object ) ? '' : esc_html( $since_object[0] );
+ }
+
+ /**
+ * Retrieve URL to source file archive
+ *
+ * @param string $name
+ *
+ * @return string
+ */
+ function get_source_file_link( $name = null ) {
+
+ $source_file_object = get_term_by( 'name', empty( $name ) ? get_source_file() : $name, 'wp-parser-source-file' );
+
+ return empty( $source_file_object ) ? '' : esc_url( get_term_link( $source_file_object ) );
+ }
+
+ /**
+ * Retrieve name of source file
+ *
+ * @param int $post_id
+ *
+ * @return string
+ */
+ function get_source_file( $post_id = null ) {
+
+ $source_file_object = wp_get_post_terms( empty( $post_id ) ? get_the_ID() : $post_id, 'wp-parser-source-file', array( 'fields' => 'names' ) );
+
+ return empty( $source_file_object ) ? '' : esc_html( $source_file_object[0] );
+ }
+
+}
</ins><span class="cx">\ No newline at end of file
</span><span class="cx">Property changes on: sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/inc/template-tags.php
</span><span class="cx">___________________________________________________________________
</span></span></pre></div>
<a id="svnexecutable"></a>
<div class="addfile"><h4>Added: svn:executable</h4></div>
<ins>+*
</ins><span class="cx">\ No newline at end of property
</span><a id="svneolstyle"></a>
<div class="addfile"><h4>Added: svn:eol-style</h4></div>
<ins>+native
</ins><span class="cx">\ No newline at end of property
</span><a id="sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporgdeveloperindexphp"></a>
<div class="modfile"><h4>Modified: sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/index.php (553 => 554)</h4>
<pre class="diff"><span>
<span class="info">--- sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/index.php 2014-04-24 15:05:48 UTC (rev 553)
+++ sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/index.php 2014-04-24 22:19:39 UTC (rev 554)
</span><span class="lines">@@ -1,30 +1,47 @@
</span><del>-<?php get_header(); ?>
</del><ins>+<?php
+/**
+ * The main template file.
+ *
+ * This is the most generic template file in a WordPress theme
+ * and one of the two required files for a theme (the other being style.css).
+ * It is used to display a page when nothing more specific matches a query.
+ * E.g., it puts together the home page when no home.php file exists.
+ * Learn more: http://codex.wordpress.org/Template_Hierarchy
+ *
+ * @package wporg-developer
+ */
</ins><span class="cx">
</span><del>-<div class="pagebody">
- <div class="wrapper">
- <?php // get_template_part( 'breadcrumbs' ); ?>
</del><ins>+get_header(); ?>
</ins><span class="cx">
</span><del>- <?php if ( have_posts() ) : the_post(); ?>
</del><ins>+ <div id="primary" class="content-area has-sidebar">
+ <main id="main" class="site-main" role="main">
</ins><span class="cx">
</span><del>- <article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
</del><ins>+ <?php if ( have_posts() ) : ?>
</ins><span class="cx">
</span><del>- <h1><?php the_title(); ?></h1>
</del><ins>+ <?php /* Start the Loop */ ?>
+ <?php while ( have_posts() ) : the_post(); ?>
</ins><span class="cx">
</span><del>- <section class="content">
- <?php the_content(); ?>
- </section>
</del><ins>+ <?php
+ /* Include the Post-Format-specific template for the content.
+ * If you want to override this in a child theme, then include a file
+ * called content-___.php (where ___ is the Post Format name) and that will be used instead.
+ */
+ get_template_part( 'content', get_post_format() );
+ ?>
</ins><span class="cx">
</span><del>- <?php // comments_template( '/examples.php' ); ?>
</del><ins>+ <?php endwhile; ?>
</ins><span class="cx">
</span><del>- </article>
-
</del><ins>+ <?php wporg_developer_paging_nav(); ?>
+
</ins><span class="cx"> <?php else : ?>
</span><del>-
- <h1><?php _e('Not Found'); ?></h1>
-
</del><ins>+
+ <?php get_template_part( 'content', 'none' ); ?>
+
</ins><span class="cx"> <?php endif; ?>
</span><span class="cx">
</span><del>- </div><!-- /wrapper -->
-</div><!-- /pagebody -->
</del><ins>+ <?php loop_pagination(); ?>
</ins><span class="cx">
</span><ins>+ </main><!-- #main -->
+ <?php get_sidebar(); ?>
+ </div><!-- #primary -->
</ins><span class="cx"> <?php get_footer(); ?>
</span></span></pre></div>
<a id="sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporgdeveloperjscustomizerjs"></a>
<div class="addfile"><h4>Added: sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/js/customizer.js (0 => 554)</h4>
<pre class="diff"><span>
<span class="info">--- sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/js/customizer.js (rev 0)
+++ sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/js/customizer.js 2014-04-24 22:19:39 UTC (rev 554)
</span><span class="lines">@@ -0,0 +1,36 @@
</span><ins>+/**
+ * Theme Customizer enhancements for a better user experience.
+ *
+ * Contains handlers to make Theme Customizer preview reload changes asynchronously.
+ */
+
+( function( $ ) {
+ // Site title and description.
+ wp.customize( 'blogname', function( value ) {
+ value.bind( function( to ) {
+ $( '.site-title a' ).text( to );
+ } );
+ } );
+ wp.customize( 'blogdescription', function( value ) {
+ value.bind( function( to ) {
+ $( '.site-description' ).text( to );
+ } );
+ } );
+ // Header text color.
+ wp.customize( 'header_textcolor', function( value ) {
+ value.bind( function( to ) {
+ if ( 'blank' === to ) {
+ $( '.site-title, .site-description' ).css( {
+ 'clip': 'rect(1px, 1px, 1px, 1px)',
+ 'position': 'absolute'
+ } );
+ } else {
+ $( '.site-title, .site-description' ).css( {
+ 'clip': 'auto',
+ 'color': to,
+ 'position': 'relative'
+ } );
+ }
+ } );
+ } );
+} )( jQuery );
</ins><span class="cx">Property changes on: sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/js/customizer.js
</span><span class="cx">___________________________________________________________________
</span></span></pre></div>
<a id="svnexecutable"></a>
<div class="addfile"><h4>Added: svn:executable</h4></div>
<ins>+*
</ins><span class="cx">\ No newline at end of property
</span><a id="sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporgdeveloperjsnavigationjs"></a>
<div class="addfile"><h4>Added: sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/js/navigation.js (0 => 554)</h4>
<pre class="diff"><span>
<span class="info">--- sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/js/navigation.js (rev 0)
+++ sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/js/navigation.js 2014-04-24 22:19:39 UTC (rev 554)
</span><span class="lines">@@ -0,0 +1,34 @@
</span><ins>+/**
+ * navigation.js
+ *
+ * Handles toggling the navigation menu for small screens.
+ */
+( function() {
+ var container, button, menu;
+
+ container = document.getElementById( 'site-navigation' );
+ if ( ! container )
+ return;
+
+ button = container.getElementsByTagName( 'h1' )[0];
+ if ( 'undefined' === typeof button )
+ return;
+
+ menu = container.getElementsByTagName( 'ul' )[0];
+
+ // Hide menu toggle button if menu is empty and return early.
+ if ( 'undefined' === typeof menu ) {
+ button.style.display = 'none';
+ return;
+ }
+
+ if ( -1 === menu.className.indexOf( 'nav-menu' ) )
+ menu.className += ' nav-menu';
+
+ button.onclick = function() {
+ if ( -1 !== container.className.indexOf( 'toggled' ) )
+ container.className = container.className.replace( ' toggled', '' );
+ else
+ container.className += ' toggled';
+ };
+} )();
</ins><span class="cx">Property changes on: sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/js/navigation.js
</span><span class="cx">___________________________________________________________________
</span></span></pre></div>
<a id="svnexecutable"></a>
<div class="addfile"><h4>Added: svn:executable</h4></div>
<ins>+*
</ins><span class="cx">\ No newline at end of property
</span><a id="sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporgdeveloperjsskiplinkfocusfixjs"></a>
<div class="addfile"><h4>Added: sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/js/skip-link-focus-fix.js (0 => 554)</h4>
<pre class="diff"><span>
<span class="info">--- sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/js/skip-link-focus-fix.js (rev 0)
+++ sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/js/skip-link-focus-fix.js 2014-04-24 22:19:39 UTC (rev 554)
</span><span class="lines">@@ -0,0 +1,19 @@
</span><ins>+( function() {
+ var is_webkit = navigator.userAgent.toLowerCase().indexOf( 'webkit' ) > -1,
+ is_opera = navigator.userAgent.toLowerCase().indexOf( 'opera' ) > -1,
+ is_ie = navigator.userAgent.toLowerCase().indexOf( 'msie' ) > -1;
+
+ if ( ( is_webkit || is_opera || is_ie ) && 'undefined' !== typeof( document.getElementById ) ) {
+ var eventMethod = ( window.addEventListener ) ? 'addEventListener' : 'attachEvent';
+ window[ eventMethod ]( 'hashchange', function() {
+ var element = document.getElementById( location.hash.substring( 1 ) );
+
+ if ( element ) {
+ if ( ! /^(?:a|select|input|button|textarea)$/i.test( element.tagName ) )
+ element.tabIndex = -1;
+
+ element.focus();
+ }
+ }, false );
+ }
+})();
</ins><span class="cx">Property changes on: sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/js/skip-link-focus-fix.js
</span><span class="cx">___________________________________________________________________
</span></span></pre></div>
<a id="svnexecutable"></a>
<div class="addfile"><h4>Added: svn:executable</h4></div>
<ins>+*
</ins><span class="cx">\ No newline at end of property
</span><a id="sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporgdeveloperlanguagesreadmetxt"></a>
<div class="addfile"><h4>Added: sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/languages/readme.txt (0 => 554)</h4>
<pre class="diff"><span>
<span class="info">--- sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/languages/readme.txt (rev 0)
+++ sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/languages/readme.txt 2014-04-24 22:19:39 UTC (rev 554)
</span><span class="lines">@@ -0,0 +1,6 @@
</span><ins>+Place your theme language files in this directory.
+
+Please visit the following links to learn more about translating WordPress themes:
+
+http://codex.wordpress.org/Translating_WordPress
+http://codex.wordpress.org/Function_Reference/load_theme_textdomain
</ins><span class="cx">Property changes on: sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/languages/readme.txt
</span><span class="cx">___________________________________________________________________
</span></span></pre></div>
<a id="svnexecutable"></a>
<div class="addfile"><h4>Added: svn:executable</h4></div>
<ins>+*
</ins><span class="cx">\ No newline at end of property
</span><a id="sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporgdeveloperlanguageswporgdeveloperpot"></a>
<div class="addfile"><h4>Added: sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/languages/wporg-developer.pot (0 => 554)</h4>
<pre class="diff"><span>
<span class="info">--- sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/languages/wporg-developer.pot (rev 0)
+++ sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/languages/wporg-developer.pot 2014-04-24 22:19:39 UTC (rev 554)
</span><span class="lines">@@ -0,0 +1,311 @@
</span><ins>+# Copyright (C) 2013 Automattic
+# This file is distributed under the GNU General Public License v2 or later.
+msgid ""
+msgstr ""
+"Project-Id-Version: _s 1.3-wpcom\n"
+"Report-Msgid-Bugs-To: http://wordpress.org/tags/_s\n"
+"POT-Creation-Date: 2013-09-25 22:06:45+00:00\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"PO-Revision-Date: 2013-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+
+#: 404.php:15
+msgid "Oops! That page can’t be found."
+msgstr ""
+
+#: 404.php:19
+msgid ""
+"It looks like nothing was found at this location. Maybe try one of the links "
+"below or a search?"
+msgstr ""
+
+#: 404.php:27
+msgid "Most Used Categories"
+msgstr ""
+
+#. translators: %1$s: smiley
+#: 404.php:44
+msgid "Try looking in the monthly archives. %1$s"
+msgstr ""
+
+#: archive.php:31
+msgid "Author: %s"
+msgstr ""
+
+#: archive.php:39
+msgid "Day: %s"
+msgstr ""
+
+#: archive.php:42
+msgid "Month: %s"
+msgstr ""
+
+#: archive.php:45
+msgid "Year: %s"
+msgstr ""
+
+#: archive.php:48
+msgid "Asides"
+msgstr ""
+
+#: archive.php:51
+msgid "Images"
+msgstr ""
+
+#: archive.php:54
+msgid "Videos"
+msgstr ""
+
+#: archive.php:57
+msgid "Quotes"
+msgstr ""
+
+#: archive.php:60
+msgid "Links"
+msgstr ""
+
+#: archive.php:63 sidebar.php:17
+msgid "Archives"
+msgstr ""
+
+#: comments.php:29
+msgctxt "comments title"
+msgid "One thought on “%2$s”"
+msgid_plural "%1$s thoughts on “%2$s”"
+msgstr[0] ""
+msgstr[1] ""
+
+#: comments.php:36 comments.php:56
+msgid "Comment navigation"
+msgstr ""
+
+#: comments.php:37 comments.php:57
+msgid "← Older Comments"
+msgstr ""
+
+#: comments.php:38 comments.php:58
+msgid "Newer Comments →"
+msgstr ""
+
+#: comments.php:68
+msgid "Comments are closed."
+msgstr ""
+
+#: content-none.php:13
+msgid "Nothing Found"
+msgstr ""
+
+#: content-none.php:19
+msgid ""
+"Ready to publish your first post? <a href=\"%1$s\">Get started here</a>."
+msgstr ""
+
+#: content-none.php:23
+msgid ""
+"Sorry, but nothing matched your search terms. Please try again with some "
+"different keywords."
+msgstr ""
+
+#: content-none.php:28
+msgid ""
+"It seems we can’t find what you’re looking for. Perhaps "
+"searching can help."
+msgstr ""
+
+#: content-page.php:18 content-single.php:20 content.php:27 image.php:58
+msgid "Pages:"
+msgstr ""
+
+#: content-page.php:23 content-single.php:60 content.php:61 image.php:32
+#: image.php:64 inc/template-tags.php:71 inc/template-tags.php:90
+msgid "Edit"
+msgstr ""
+
+#. translators: used between list items, there is a space after the comma
+#: content-single.php:29 content-single.php:32 content.php:38 content.php:48
+msgid ", "
+msgstr ""
+
+#: content-single.php:37
+msgid ""
+"This entry was tagged %2$s. Bookmark the <a href=\"%3$s\" rel=\"bookmark"
+"\">permalink</a>."
+msgstr ""
+
+#: content-single.php:39
+msgid "Bookmark the <a href=\"%3$s\" rel=\"bookmark\">permalink</a>."
+msgstr ""
+
+#: content-single.php:45
+msgid ""
+"This entry was posted in %1$s and tagged %2$s. Bookmark the <a href=\"%3$s\" "
+"rel=\"bookmark\">permalink</a>."
+msgstr ""
+
+#: content-single.php:47
+msgid ""
+"This entry was posted in %1$s. Bookmark the <a href=\"%3$s\" rel=\"bookmark"
+"\">permalink</a>."
+msgstr ""
+
+#: content.php:24
+msgid "Continue reading <span class=\"meta-nav\">→</span>"
+msgstr ""
+
+#: content.php:42
+msgid "Posted in %1$s"
+msgstr ""
+
+#: content.php:52
+msgid "Tagged %1$s"
+msgstr ""
+
+#: content.php:58
+msgid "Leave a comment"
+msgstr ""
+
+#: content.php:58
+msgid "1 Comment"
+msgstr ""
+
+#: content.php:58
+msgid "% Comments"
+msgstr ""
+
+#: footer.php:16
+msgid "Proudly powered by %s"
+msgstr ""
+
+#: footer.php:18
+msgid "Theme: %1$s by %2$s."
+msgstr ""
+
+#: functions.php:48
+msgid "Primary Menu"
+msgstr ""
+
+#: functions.php:72
+msgid "Sidebar"
+msgstr ""
+
+#: header.php:31
+msgid "Menu"
+msgstr ""
+
+#: header.php:32
+msgid "Skip to content"
+msgstr ""
+
+#: image.php:22
+msgid ""
+"Published <span class=\"entry-date\"><time class=\"entry-date\" datetime="
+"\"%1$s\">%2$s</time></span> at <a href=\"%3$s\">%4$s × %5$s</a> in <a "
+"href=\"%6$s\" rel=\"gallery\">%7$s</a>"
+msgstr ""
+
+#: image.php:37
+msgid "<span class=\"meta-nav\">←</span> Previous"
+msgstr ""
+
+#: image.php:38
+msgid "Next <span class=\"meta-nav\">→</span>"
+msgstr ""
+
+#: inc/extras.php:66
+msgid "Page %s"
+msgstr ""
+
+#: inc/template-tags.php:34
+msgid "Post navigation"
+msgstr ""
+
+#: inc/template-tags.php:38
+msgctxt "Previous post link"
+msgid "←"
+msgstr ""
+
+#: inc/template-tags.php:39
+msgctxt "Next post link"
+msgid "→"
+msgstr ""
+
+#: inc/template-tags.php:44
+msgid "<span class=\"meta-nav\">←</span> Older posts"
+msgstr ""
+
+#: inc/template-tags.php:48
+msgid "Newer posts <span class=\"meta-nav\">→</span>"
+msgstr ""
+
+#: inc/template-tags.php:71
+msgid "Pingback:"
+msgstr ""
+
+#: inc/template-tags.php:81
+msgid "%s <span class=\"says\">says:</span>"
+msgstr ""
+
+#: inc/template-tags.php:87
+msgctxt "1: date, 2: time"
+msgid "%1$s at %2$s"
+msgstr ""
+
+#: inc/template-tags.php:94
+msgid "Your comment is awaiting moderation."
+msgstr ""
+
+#: inc/template-tags.php:185
+msgid ""
+"<span class=\"posted-on\">Posted on %1$s</span><span class=\"byline\"> by "
+"%2$s</span>"
+msgstr ""
+
+#: search.php:16
+msgid "Search Results for: %s"
+msgstr ""
+
+#: searchform.php:10
+msgctxt "label"
+msgid "Search for:"
+msgstr ""
+
+#: searchform.php:11
+msgctxt "placeholder"
+msgid "Search …"
+msgstr ""
+
+#: searchform.php:13
+msgctxt "submit button"
+msgid "Search"
+msgstr ""
+
+#: sidebar.php:24
+msgid "Meta"
+msgstr ""
+
+#. Theme Name of the plugin/theme
+msgid "_s"
+msgstr ""
+
+#. Theme URI of the plugin/theme
+msgid "http://underscores.me"
+msgstr ""
+
+#. Description of the plugin/theme
+msgid ""
+"Hi. I'm a starter theme called <code>_s</code>, or <em>underscores</em>, if "
+"you like. I'm a theme meant for hacking so don't use me as a <em>Parent "
+"Theme</em>. Instead try turning me into the next, most awesome, WordPress "
+"theme out there. That's what I'm here for."
+msgstr ""
+
+#. Author of the plugin/theme
+msgid "Automattic"
+msgstr ""
+
+#. Author URI of the plugin/theme
+msgid "http://automattic.com/"
+msgstr ""
</ins><span class="cx">Property changes on: sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/languages/wporg-developer.pot
</span><span class="cx">___________________________________________________________________
</span></span></pre></div>
<a id="svnexecutable"></a>
<div class="addfile"><h4>Added: svn:executable</h4></div>
<ins>+*
</ins><span class="cx">\ No newline at end of property
</span><a id="sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporgdeveloperlayoutscontentsidebarcss"></a>
<div class="addfile"><h4>Added: sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/layouts/content-sidebar.css (0 => 554)</h4>
<pre class="diff"><span>
<span class="info">--- sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/layouts/content-sidebar.css (rev 0)
+++ sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/layouts/content-sidebar.css 2014-04-24 22:19:39 UTC (rev 554)
</span><span class="lines">@@ -0,0 +1,22 @@
</span><ins>+/*
+Theme Name: wporg-developer
+Layout: Content-Sidebar
+*/
+
+.content-area {
+ float: left;
+ margin: 0 -25% 0 0;
+ width: 100%;
+}
+.site-main {
+ margin: 0 25% 0 0;
+}
+.site-content .widget-area {
+ float: right;
+ overflow: hidden;
+ width: 25%;
+}
+.site-footer {
+ clear: both;
+ width: 100%;
+}
</ins><span class="cx">\ No newline at end of file
</span><span class="cx">Property changes on: sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/layouts/content-sidebar.css
</span><span class="cx">___________________________________________________________________
</span></span></pre></div>
<a id="svneolstyle"></a>
<div class="addfile"><h4>Added: svn:eol-style</h4></div>
<ins>+native
</ins><span class="cx">\ No newline at end of property
</span><a id="svnexecutable"></a>
<div class="addfile"><h4>Added: svn:executable</h4></div>
<ins>+*
</ins><span class="cx">\ No newline at end of property
</span><a id="sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporgdeveloperlayoutssidebarcontentcss"></a>
<div class="addfile"><h4>Added: sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/layouts/sidebar-content.css (0 => 554)</h4>
<pre class="diff"><span>
<span class="info">--- sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/layouts/sidebar-content.css (rev 0)
+++ sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/layouts/sidebar-content.css 2014-04-24 22:19:39 UTC (rev 554)
</span><span class="lines">@@ -0,0 +1,18 @@
</span><ins>+/*
+Theme Name: wporg-developer
+Layout: Sidebar-Content
+*/
+
+.content-area {
+ float: right;
+ margin: 0 0 0 -25%;
+ width: 100%;
+}
+.site-main {
+ margin: 0 0 0 25%;
+}
+.site-content .widget-area {
+ float: left;
+ overflow: hidden;
+ width: 25%;
+}
</ins><span class="cx">Property changes on: sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/layouts/sidebar-content.css
</span><span class="cx">___________________________________________________________________
</span></span></pre></div>
<a id="svnexecutable"></a>
<div class="addfile"><h4>Added: svn:executable</h4></div>
<ins>+*
</ins><span class="cx">\ No newline at end of property
</span><a id="svneolstyle"></a>
<div class="addfile"><h4>Added: svn:eol-style</h4></div>
<ins>+native
</ins><span class="cx">\ No newline at end of property
</span><a id="sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporgdevelopermaincss"></a>
<div class="addfile"><h4>Added: sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/main.css (0 => 554)</h4>
<pre class="diff"><span>
<span class="info">--- sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/main.css (rev 0)
+++ sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/main.css 2014-04-24 22:19:39 UTC (rev 554)
</span><span class="lines">@@ -0,0 +1,1251 @@
</span><ins>+/* =Reset
+-------------------------------------------------------------- */
+html, body, div, span, applet, object, iframe,
+h1, h2, h3, h4, h5, h6, p, blockquote, pre,
+a, abbr, acronym, address, big, cite, code,
+del, dfn, em, font, ins, kbd, q, s, samp,
+small, strike, strong, sub, sup, tt, var,
+dl, dt, dd, ol, ul, li,
+fieldset, form, label, legend,
+table, caption, tbody, tfoot, thead, tr, th, td {
+ border: 0;
+ font-family: inherit;
+ font-size: 100%;
+ font-style: inherit;
+ font-weight: inherit;
+ margin: 0;
+ outline: 0;
+ padding: 0;
+ vertical-align: baseline;
+}
+
+html {
+ font-size: 62.5%;
+ /* Corrects text resizing oddly in IE6/7 when body font-size is set using em units http://clagnut.com/blog/348/#c790 */
+ overflow-y: scroll;
+ /* Keeps page centered in all browsers regardless of content height */
+ -webkit-text-size-adjust: 100%;
+ /* Prevents iOS text size adjust after orientation change, without disabling user zoom */
+ -ms-text-size-adjust: 100%;
+ /* www.456bereastreet.com/archive/201012/controlling_text_size_in_safari_for_ios_without_disabling_user_zoom/ */
+}
+
+body {
+ background: #fff;
+}
+
+article,
+aside,
+details,
+figcaption,
+figure,
+footer,
+header,
+main,
+nav,
+section {
+ display: block;
+}
+
+ol, ul {
+ list-style: none;
+}
+
+table {
+ /* tables still need 'cellspacing="0"' in the markup */
+ border-collapse: separate;
+ border-spacing: 0;
+}
+
+caption, th, td {
+ font-weight: normal;
+ text-align: left;
+}
+
+blockquote:before, blockquote:after,
+q:before, q:after {
+ content: "";
+}
+
+blockquote, q {
+ quotes: "" "";
+}
+
+a:focus {
+ outline: thin dotted;
+}
+
+a:hover,
+a:active {
+ outline: 0;
+}
+
+a img {
+ border: 0;
+}
+
+/* =Global
+----------------------------------------------- */
+body,
+button,
+input,
+select,
+textarea {
+ color: #404040;
+ font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
+ font-size: 16px;
+ font-size: 1.6rem;
+ line-height: 1.5;
+}
+
+/*
+* =========== Devhub Custom ========== Devhub Custom ========== Devhub Custom =====
+* =========== Devhub Custom ========== Devhub Custom ========== Devhub Custom =====
+* =========== Devhub Custom ========== Devhub Custom ========== Devhub Custom =====
+* =========== Devhub Custom ========== Devhub Custom ========== Devhub Custom =====
+* =========== Devhub Custom ========== Devhub Custom ========== Devhub Custom =====
+* =========== Devhub Custom ========== Devhub Custom ========== Devhub Custom =====
+* =========== Devhub Custom ========== Devhub Custom ========== Devhub Custom =====
+*/
+
+#page {
+ padding-bottom: 1.5em;
+}
+.devhub-wrap {
+ /*
+ * =========== Port _s defaults ========== Port _s defaults ========== Port _s defaults =====
+ * =========== Port _s defaults ========== Port _s defaults ========== Port _s defaults =====
+ * =========== Port _s defaults ========== Port _s defaults ========== Port _s defaults =====
+ * =========== Port _s defaults ========== Port _s defaults ========== Port _s defaults =====
+ * =========== Port _s defaults ========== Port _s defaults ========== Port _s defaults =====
+ */
+ /* Headings */
+ /* Text elements */
+ /* Alignment */
+ /* Text meant only for screen readers */
+ /* Clearing */
+ /* =Content
+ ----------------------------------------------- */
+ /* =Media
+ ----------------------------------------------- */
+ /* Make sure embeds and iframes fit their containers */
+ /* =Comments
+ ----------------------------------------------- */
+ /* =Widgets
+ ----------------------------------------------- */
+ /* Make sure select elements fit in widgets */
+ /* Search widget */
+ /* =Infinite Scroll
+ ----------------------------------------------- */
+ /* Globally hidden elements when Infinite Scroll is supported and in use. */
+ /* When Infinite Scroll has reached its end we need to re-display elements that were hidden (via .neverending) before */
+ /*
+ * Header area
+ */
+ /*
+ * section styles
+ */
+ /* Comments */
+}
+.devhub-wrap h1, .devhub-wrap h2, .devhub-wrap h3, .devhub-wrap h4, .devhub-wrap h5, .devhub-wrap h6 {
+ clear: both;
+}
+.devhub-wrap hr {
+ background-color: #dfdfdf;
+ border: 0;
+ height: 1px;
+ margin: 1.5em 0;
+}
+.devhub-wrap p {
+ margin-bottom: 1.5em;
+}
+.devhub-wrap ul, .devhub-wrap ol {
+ margin: 0 0 1.5em 3em;
+}
+.devhub-wrap ul {
+ list-style: disc;
+}
+.devhub-wrap ol {
+ list-style: decimal;
+}
+.devhub-wrap li > ul,
+.devhub-wrap li > ol {
+ margin-bottom: 0;
+ margin-left: 1.5em;
+}
+.devhub-wrap dt {
+ font-weight: bold;
+}
+.devhub-wrap dd {
+ margin: 0 1.5em 1.5em;
+}
+.devhub-wrap b, .devhub-wrap strong {
+ font-weight: bold;
+}
+.devhub-wrap dfn, .devhub-wrap cite, .devhub-wrap em, .devhub-wrap i {
+ font-style: italic;
+}
+.devhub-wrap blockquote {
+ margin: 0 1.5em;
+}
+.devhub-wrap address {
+ margin: 0 0 1.5em;
+}
+.devhub-wrap pre {
+ background: #eee;
+ font-family: "Courier 10 Pitch", Courier, monospace;
+ font-size: 15px;
+ font-size: 1.5rem;
+ line-height: 1.6;
+ margin-bottom: 1.6em;
+ max-width: 100%;
+ overflow: auto;
+ padding: 1.6em;
+}
+.devhub-wrap code, .devhub-wrap kbd, .devhub-wrap tt, .devhub-wrap var {
+ font: 15px Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
+}
+.devhub-wrap abbr, .devhub-wrap acronym {
+ border-bottom: 1px dotted #666;
+ cursor: help;
+}
+.devhub-wrap mark, .devhub-wrap ins {
+ background: #fff9c0;
+ text-decoration: none;
+}
+.devhub-wrap sup,
+.devhub-wrap sub {
+ font-size: 75%;
+ height: 0;
+ line-height: 0;
+ position: relative;
+ vertical-align: baseline;
+}
+.devhub-wrap sup {
+ bottom: 1ex;
+}
+.devhub-wrap sub {
+ top: .5ex;
+}
+.devhub-wrap small {
+ font-size: 75%;
+}
+.devhub-wrap big {
+ font-size: 125%;
+}
+.devhub-wrap figure {
+ margin: 0;
+}
+.devhub-wrap table {
+ margin: 0 0 1.5em;
+ width: 100%;
+}
+.devhub-wrap th {
+ font-weight: bold;
+}
+.devhub-wrap img {
+ height: auto;
+ /* Make sure images are scaled correctly. */
+ max-width: 100%;
+ /* Adhere to container width. */
+}
+.devhub-wrap button,
+.devhub-wrap input,
+.devhub-wrap select,
+.devhub-wrap textarea {
+ font-size: 100%;
+ /* Corrects font size not being inherited in all browsers */
+ margin: 0;
+ /* Addresses margins set differently in IE6/7, F3/4, S5, Chrome */
+ vertical-align: baseline;
+ /* Improves appearance and consistency in all browsers */
+ *vertical-align: middle;
+ /* Improves appearance and consistency in all browsers */
+}
+.devhub-wrap a.button,
+.devhub-wrap button,
+.devhub-wrap input {
+ line-height: normal;
+ /* Addresses FF3/4 setting line-height using !important in the UA stylesheet */
+}
+.devhub-wrap a.button,
+.devhub-wrap button,
+.devhub-wrap input[type="button"],
+.devhub-wrap input[type="reset"],
+.devhub-wrap input[type="submit"] {
+ border: 1px solid #ccc;
+ border-color: #ccc #ccc #bbb #ccc;
+ border-radius: 3px;
+ background: #fff;
+ color: rgba(0, 0, 0, 0.8);
+ cursor: pointer;
+ /* Improves usability and consistency of cursor style between image-type 'input' and others */
+ font-size: 16px;
+ font-size: 1.6rem;
+ line-height: 1.1;
+ float: none;
+ height: auto;
+ padding: .6em 1.8em;
+}
+.devhub-wrap button,
+.devhub-wrap input[type="button"],
+.devhub-wrap input[type="reset"],
+.devhub-wrap input[type="submit"] {
+ -webkit-appearance: button;
+ /* Corrects inability to style clickable 'input' types in iOS */
+}
+.devhub-wrap a.button:hover,
+.devhub-wrap button:hover,
+.devhub-wrap input[type="button"]:hover,
+.devhub-wrap input[type="reset"]:hover,
+.devhub-wrap input[type="submit"]:hover {
+ border-color: #ccc #bbb #aaa #bbb;
+ background: #f0f0f0;
+}
+.devhub-wrap a.button:focus,
+.devhub-wrap button:focus,
+.devhub-wrap input[type="button"]:focus,
+.devhub-wrap input[type="reset"]:focus,
+.devhub-wrap input[type="submit"]:focus,
+.devhub-wrap button:active,
+.devhub-wrap input[type="button"]:active,
+.devhub-wrap input[type="reset"]:active,
+.devhub-wrap input[type="submit"]:active {
+ border-color: #aaa #bbb #bbb #bbb;
+ background: #f0f0f0;
+}
+.devhub-wrap input[type="checkbox"],
+.devhub-wrap input[type="radio"] {
+ padding: 0;
+ /* Addresses excess padding in IE8/9 */
+}
+.devhub-wrap input[type="search"] {
+ -webkit-appearance: textfield;
+ /* Addresses appearance set to searchfield in S5, Chrome */
+ -webkit-box-sizing: content-box;
+ /* Addresses box sizing set to border-box in S5, Chrome (include -moz to future-proof) */
+ -moz-box-sizing: content-box;
+ box-sizing: content-box;
+}
+.devhub-wrap input[type="search"]::-webkit-search-decoration {
+ /* Corrects inner padding displayed oddly in S5, Chrome on OSX */
+ -webkit-appearance: none;
+}
+.devhub-wrap button::-moz-focus-inner,
+.devhub-wrap input::-moz-focus-inner {
+ /* Corrects inner padding and border displayed oddly in FF3/4 www.sitepen.com/blog/2008/05/14/the-devils-in-the-details-fixing-dojos-toolbar-buttons/ */
+ border: 0;
+ padding: 0;
+}
+.devhub-wrap input[type="text"],
+.devhub-wrap input[type="email"],
+.devhub-wrap input[type="url"],
+.devhub-wrap input[type="password"],
+.devhub-wrap input[type="search"],
+.devhub-wrap textarea {
+ color: #666;
+ border: 1px solid #ccc;
+ border-radius: 3px;
+}
+.devhub-wrap input[type="text"]:focus,
+.devhub-wrap input[type="email"]:focus,
+.devhub-wrap input[type="url"]:focus,
+.devhub-wrap input[type="password"]:focus,
+.devhub-wrap input[type="search"]:focus,
+.devhub-wrap textarea:focus {
+ color: #111;
+}
+.devhub-wrap input[type="text"],
+.devhub-wrap input[type="email"],
+.devhub-wrap input[type="url"],
+.devhub-wrap input[type="password"],
+.devhub-wrap input[type="search"] {
+ padding: 3px;
+}
+.devhub-wrap textarea {
+ overflow: auto;
+ /* Removes default vertical scrollbar in IE6/7/8/9 */
+ padding-left: 3px;
+ vertical-align: top;
+ /* Improves readability and alignment in all browsers */
+ width: 98%;
+}
+.devhub-wrap .alignleft {
+ display: inline;
+ float: left;
+ margin-right: 1.5em;
+}
+.devhub-wrap .alignright {
+ display: inline;
+ float: right;
+ margin-left: 1.5em;
+}
+.devhub-wrap .aligncenter {
+ clear: both;
+ display: block;
+ margin: 0 auto;
+}
+.devhub-wrap .screen-reader-text {
+ clip: rect(1px, 1px, 1px, 1px);
+ position: absolute !important;
+}
+.devhub-wrap .screen-reader-text:hover,
+.devhub-wrap .screen-reader-text:active,
+.devhub-wrap .screen-reader-text:focus {
+ background-color: #f1f1f1;
+ border-radius: 3px;
+ box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
+ clip: auto !important;
+ color: #21759b;
+ display: block;
+ font-size: 14px;
+ font-weight: bold;
+ height: auto;
+ left: 5px;
+ line-height: normal;
+ padding: 15px 23px 14px;
+ text-decoration: none;
+ top: 5px;
+ width: auto;
+ z-index: 100000;
+ /* Above WP toolbar */
+}
+.devhub-wrap .clear:before,
+.devhub-wrap .clear:after,
+.devhub-wrap .entry-content:before,
+.devhub-wrap .entry-content:after,
+.devhub-wrap .comment-content:before,
+.devhub-wrap .comment-content:after,
+.devhub-wrap .site-header:before,
+.devhub-wrap .site-header:after,
+.devhub-wrap .site-content:before,
+.devhub-wrap .site-content:after,
+.devhub-wrap .site-footer:before,
+.devhub-wrap .site-footer:after {
+ content: '';
+ display: table;
+}
+.devhub-wrap .clear:after,
+.devhub-wrap .entry-content:after,
+.devhub-wrap .comment-content:after,
+.devhub-wrap .site-header:after,
+.devhub-wrap .site-content:after,
+.devhub-wrap .site-footer:after {
+ clear: both;
+}
+.devhub-wrap .hentry {
+ margin: 0 0 1.5em;
+}
+.devhub-wrap .byline,
+.devhub-wrap .updated {
+ display: none;
+}
+.devhub-wrap .single .byline,
+.devhub-wrap .group-blog .byline {
+ display: inline;
+}
+.devhub-wrap .page-content,
+.devhub-wrap .entry-content,
+.devhub-wrap .entry-summary {
+ margin: 1.5em 0 0;
+}
+.devhub-wrap .page-links {
+ clear: both;
+ margin: 0 0 1.5em;
+}
+.devhub-wrap .page-content img.wp-smiley,
+.devhub-wrap .entry-content img.wp-smiley,
+.devhub-wrap .comment-content img.wp-smiley {
+ border: none;
+ margin-bottom: 0;
+ margin-top: 0;
+ padding: 0;
+}
+.devhub-wrap .wp-caption {
+ border: 1px solid #ccc;
+ margin-bottom: 1.5em;
+ max-width: 100%;
+}
+.devhub-wrap .wp-caption img[class*="wp-image-"] {
+ display: block;
+ margin: 1.2% auto 0;
+ max-width: 98%;
+}
+.devhub-wrap .wp-caption-text {
+ text-align: center;
+}
+.devhub-wrap .wp-caption .wp-caption-text {
+ margin: 0.8075em 0;
+}
+.devhub-wrap .site-main .gallery {
+ margin-bottom: 1.5em;
+}
+.devhub-wrap .site-main .gallery a img {
+ border: none;
+ height: auto;
+ max-width: 90%;
+}
+.devhub-wrap .site-main .gallery dd {
+ margin: 0;
+}
+.devhub-wrap embed,
+.devhub-wrap iframe,
+.devhub-wrap object {
+ max-width: 100%;
+}
+.devhub-wrap .comment-content a {
+ word-wrap: break-word;
+}
+.devhub-wrap .bypostauthor {
+ background: #eee;
+}
+.devhub-wrap .widget {
+ margin: 0 0 1.5em;
+}
+.devhub-wrap .widget select {
+ max-width: 100%;
+}
+.devhub-wrap .widget_search .search-submit {
+ display: none;
+}
+.devhub-wrap .infinite-scroll .paging-navigation,
+.devhub-wrap .infinite-scroll.neverending .site-footer {
+ /* Theme Footer (when set to scrolling) */
+ display: none;
+}
+.devhub-wrap .infinity-end.neverending .site-footer {
+ display: block;
+}
+.devhub-wrap *,
+.devhub-wrap *:before,
+.devhub-wrap *:after {
+ -moz-box-sizing: border-box;
+ -webkit-box-sizing: border-box;
+ box-sizing: border-box;
+}
+.devhub-wrap .site-main,
+.devhub-wrap .inner-wrap {
+ margin: 0 auto;
+ max-width: 60em;
+}
+.devhub-wrap a {
+ color: #21759b;
+}
+.devhub-wrap .site-main h2,
+.devhub-wrap .site-main h3,
+.devhub-wrap .site-main h4,
+.devhub-wrap .site-main h5,
+.devhub-wrap .site-main h6 {
+ color: #1e1e1e;
+ font-family: "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, sans-serif;
+}
+.devhub-wrap h2.widget-title,
+.devhub-wrap h3.widget-title {
+ font-family: "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, sans-serif;
+}
+.devhub-wrap #headline h2 a {
+ color: #555;
+ font-weight: 300;
+ font-size: 28px;
+ line-height: 1em;
+ text-shadow: #fff 0px 1px 0px;
+ font-family: "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, sans-serif;
+}
+.devhub-wrap h2 {
+ font-size: 28px;
+ font-size: 2.8rem;
+ line-height: 32px;
+ line-height: 3.2rem;
+}
+.devhub-wrap h3 {
+ font-size: 22px;
+ font-size: 2.2rem;
+ line-height: 26px;
+ line-height: 2.6rem;
+}
+.devhub-wrap h4 {
+ font-size: 18px;
+ font-size: 1.8rem;
+ line-height: 22px;
+ line-height: 2.2rem;
+ border-bottom: none;
+}
+.devhub-wrap h4 .dashicons {
+ font-size: 22px;
+ font-size: 2.2rem;
+ line-height: 22px;
+ line-height: 2.2rem;
+ height: 22px;
+ width: 22px;
+ height: 2.2rem;
+ width: 2.2rem;
+}
+.devhub-wrap button,
+.devhub-wrap input,
+.devhub-wrap select,
+.devhub-wrap textarea {
+ font-size: 100%;
+ /* Corrects font size not being inherited in all browsers */
+ margin: 0;
+ /* Addresses margins set differently in IE6/7, F3/4, S5, Chrome */
+ vertical-align: baseline;
+ /* Improves appearance and consistency in all browsers */
+ *vertical-align: middle;
+ /* Improves appearance and consistency in all browsers */
+ font-weight: 300;
+}
+.devhub-wrap button,
+.devhub-wrap input {
+ line-height: normal;
+ /* Addresses FF3/4 setting line-height using !important in the UA stylesheet */
+}
+.devhub-wrap button,
+.devhub-wrap input[type="button"],
+.devhub-wrap input[type="reset"],
+.devhub-wrap input[type="submit"] {
+ text-decoration: none;
+}
+.devhub-wrap button.shiny-blue,
+.devhub-wrap input[type="button"].shiny-blue,
+.devhub-wrap input[type="reset"].shiny-blue,
+.devhub-wrap input[type="submit"].shiny-blue {
+ background-color: #21759b;
+ background-image: -webkit-gradient(linear, left top, left bottom, from(#2a95c5), to(#21759b));
+ background-image: -webkit-linear-gradient(top, #2a95c5, #21759b);
+ background-image: -moz-linear-gradient(top, #2a95c5, #21759b);
+ background-image: -ms-linear-gradient(top, #2a95c5, #21759b);
+ background-image: -o-linear-gradient(top, #2a95c5, #21759b);
+ background-image: linear-gradient(to bottom, #2a95c5, #21759b);
+ border-color: #21759b;
+ border-bottom-color: #1e6a8d;
+ -webkit-box-shadow: inset 0 1px 0 rgba(120, 200, 230, 0.5);
+ box-shadow: inset 0 1px 0 rgba(120, 200, 230, 0.5);
+ color: #fff;
+ text-decoration: none;
+ text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.3);
+ padding: 3px 8px;
+}
+.devhub-wrap button.shiny-blue:hover,
+.devhub-wrap input[type="button"].shiny-blue:hover,
+.devhub-wrap input[type="reset"].shiny-blue:hover,
+.devhub-wrap input[type="submit"].shiny-blue:hover {
+ background-color: #278ab7;
+ background-image: -webkit-gradient(linear, left top, left bottom, from(#2e9fd2), to(#21759b));
+ background-image: -webkit-linear-gradient(top, #2e9fd2, #21759b);
+ background-image: -moz-linear-gradient(top, #2e9fd2, #21759b);
+ background-image: -ms-linear-gradient(top, #2e9fd2, #21759b);
+ background-image: -o-linear-gradient(top, #2e9fd2, #21759b);
+ background-image: linear-gradient(to bottom, #2e9fd2, #21759b);
+ border-color: #1b607f;
+ -webkit-box-shadow: inset 0 1px 0 rgba(120, 200, 230, 0.6);
+ box-shadow: inset 0 1px 0 rgba(120, 200, 230, 0.6);
+ color: #fff;
+ text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.3);
+}
+.devhub-wrap button:focus,
+.devhub-wrap input[type="button"]:focus,
+.devhub-wrap input[type="reset"]:focus,
+.devhub-wrap input[type="submit"]:focus,
+.devhub-wrap button:active,
+.devhub-wrap input[type="button"]:active,
+.devhub-wrap input[type="reset"]:active,
+.devhub-wrap input[type="submit"]:active {
+ border-color: #0e3950;
+ -webkit-box-shadow: inset 0 1px 0 rgba(120, 200, 230, 0.6), 1px 1px 2px rgba(0, 0, 0, 0.4);
+ box-shadow: inset 0 1px 0 rgba(120, 200, 230, 0.6), 1px 1px 2px rgba(0, 0, 0, 0.4);
+}
+.devhub-wrap input[type="checkbox"],
+.devhub-wrap input[type="radio"] {
+ box-sizing: border-box;
+ /* Addresses box sizing set to content-box in IE8/9 */
+ padding: 0;
+ /* Addresses excess padding in IE8/9 */
+}
+.devhub-wrap input[type="search"] {
+ -webkit-appearance: textfield;
+ /* Addresses appearance set to searchfield in S5, Chrome */
+ -webkit-box-sizing: content-box;
+ /* Addresses box sizing set to border-box in S5, Chrome (include -moz to future-proof) */
+ -moz-box-sizing: content-box;
+ box-sizing: content-box;
+}
+.devhub-wrap input[type="search"]::-webkit-search-decoration {
+ /* Corrects inner padding displayed oddly in S5, Chrome on OSX */
+ -webkit-appearance: none;
+}
+.devhub-wrap button::-moz-focus-inner,
+.devhub-wrap input::-moz-focus-inner {
+ /* Corrects inner padding and border displayed oddly in FF3/4 www.sitepen.com/blog/2008/05/14/the-devils-in-the-details-fixing-dojos-toolbar-buttons/ */
+ border: 0;
+ padding: 0;
+}
+.devhub-wrap input[type="text"],
+.devhub-wrap input[type="email"],
+.devhub-wrap input[type="url"],
+.devhub-wrap input[type="password"],
+.devhub-wrap input[type="search"],
+.devhub-wrap textarea {
+ color: #666;
+ border: 1px solid #ccc;
+ border-radius: 3px;
+}
+.devhub-wrap input[type="text"]:focus,
+.devhub-wrap input[type="email"]:focus,
+.devhub-wrap input[type="url"]:focus,
+.devhub-wrap input[type="password"]:focus,
+.devhub-wrap input[type="search"]:focus,
+.devhub-wrap textarea:focus {
+ color: #111;
+}
+.devhub-wrap input[type="text"],
+.devhub-wrap input[type="email"],
+.devhub-wrap input[type="url"],
+.devhub-wrap input[type="password"],
+.devhub-wrap input[type="search"] {
+ padding: 3px;
+}
+.devhub-wrap textarea {
+ overflow: auto;
+ /* Removes default vertical scrollbar in IE6/7/8/9 */
+ padding-left: 3px;
+ vertical-align: top;
+ /* Improves readability and alignment in all browsers */
+ width: 98%;
+}
+.devhub-wrap .site-header {
+ background: none repeat scroll 0 0 #F7F7F7;
+ border-bottom: 1px solid #DFDFDF;
+ height: 62px;
+}
+.devhub-wrap .site-branding {
+ width: 100%;
+}
+.devhub-wrap .site-branding a {
+ text-decoration: none;
+ color: #606060;
+}
+.devhub-wrap .site-branding .breadcrumb {
+ font-size: 14px;
+ font-size: 1.4rem;
+}
+.devhub-wrap .site-branding .breadcrumb .active {
+ font-weight: 600;
+}
+.devhub-wrap .breadcrumb-trail {
+ margin-top: 1em;
+}
+.devhub-wrap .site-branding .site-title {
+ color: #555555;
+ float: left;
+ font-size: 28px;
+ line-height: 1em;
+ padding-left: 9px;
+ padding-top: 18px;
+ text-shadow: 0 1px 0 #FFFFFF;
+ font-weight: 300;
+}
+.devhub-wrap h1.entry-title,
+.devhub-wrap h1.page-title {
+ font-weight: 300;
+ font-size: 37px;
+ font-size: 3.7rem;
+ color: #606060;
+ text-align: center;
+}
+.devhub-wrap h1.entry-title a,
+.devhub-wrap h1.page-title a {
+ text-decoration: none;
+ color: #606060;
+}
+.devhub-wrap h1.single-entry-title,
+.devhub-wrap h2.entry-title {
+ text-align: left;
+ font-size: 30px;
+ font-size: 3rem;
+ padding: 0 0 24px;
+ padding: 0 0 2.4rem;
+}
+.devhub-wrap h1.single-entry-title a,
+.devhub-wrap h2.entry-title a {
+ text-decoration: none;
+ color: #606060;
+}
+.devhub-wrap .home-landing .section {
+ padding: 30px 0%;
+ padding: 3rem 0%;
+}
+.devhub-wrap .color.section {
+ color: #fff;
+}
+.devhub-wrap .section.blue {
+ background: #0F3D57;
+ padding: 30px 0;
+ padding: 3rem 0;
+}
+.devhub-wrap .reference-landing .section.search-guide {
+ padding-bottom: 0;
+}
+.devhub-wrap .reference-landing .section.topic-guide, .devhub-wrap .reference-landing .section.new-in-guide {
+ padding-top: 0;
+}
+.devhub-wrap .section.blue .box {
+ text-align: center;
+}
+.devhub-wrap .section.blue .box .widget-description {
+ padding: 1em 15%;
+}
+.devhub-wrap .section.blue .widget-title {
+ font-size: 62px;
+ font-size: 6.2rem;
+ line-height: 78px;
+ line-height: 7.8rem;
+}
+.devhub-wrap .section.blue .widget-title .dashicons {
+ font-size: 84px;
+ font-size: 8.4rem;
+ line-height: 84px;
+ line-height: 8.4rem;
+ height: 84px;
+ width: 84px;
+ height: 8.4rem;
+ width: 8.4rem;
+ margin-right: 16px;
+ margin-right: 1.6rem;
+}
+.devhub-wrap .section.gray {
+ background: #797878;
+ color: #fff;
+}
+.devhub-wrap .section.gray h2,
+.devhub-wrap .section.gray h3,
+.devhub-wrap .section.gray h4 {
+ color: #fff;
+}
+.devhub-wrap .section.gray .inner-wrap {
+ max-width: 700px;
+ max-width: 70rem;
+ margin: 0 auto;
+}
+.devhub-wrap .section.gray .inner-wrap .code-ref-left {
+ float: left;
+ width: 70%;
+ clear: none;
+}
+.devhub-wrap .section.gray .inner-wrap .code-ref-right {
+ float: left;
+ width: 30%;
+ clear: none;
+}
+.devhub-wrap .section.gray .inner-wrap .go {
+ float: right;
+}
+@media (max-width: 43em) {
+ .devhub-wrap .section.gray .inner-wrap .code-ref-left,
+ .devhub-wrap .section.gray .inner-wrap .code-ref-right {
+ float: none;
+ width: 100%;
+ padding: 1.5em 10%;
+ clear: both;
+ text-align: center;
+ }
+ .devhub-wrap .section.gray .inner-wrap .go {
+ float: none;
+ }
+}
+.devhub-wrap .section.gray .widget-title {
+ font-weight: 300;
+ font-size: 40px;
+ font-size: 5rem;
+ line-height: 50px;
+ line-height: 5rem;
+}
+.devhub-wrap .section.gray .widget-title .dashicons {
+ font-size: 50px;
+ font-size: 5rem;
+ line-height: 50px;
+ line-height: 5rem;
+ height: 50px;
+ width: 50px;
+ height: 5rem;
+ width: 5rem;
+}
+.devhub-wrap .section.gray .widget-description {
+ margin-left: 65px;
+ margin-left: 6.5rem;
+}
+.devhub-wrap .section .home-primary-content {
+ max-width: 600px;
+ max-width: 60rem;
+ margin: 0 auto;
+}
+.devhub-wrap .section.light-gray {
+ background: #f2f2f2;
+ color: #606060;
+}
+.devhub-wrap .section.light-gray .widget-title {
+ color: #606060;
+ font-weight: 600;
+}
+.devhub-wrap .section.light-gray .widget-title a {
+ color: #2D96C2;
+}
+.devhub-wrap .section.light-gray a {
+ color: #606060;
+ text-decoration: none;
+}
+.devhub-wrap .box {
+ padding: 30px;
+ padding: 3rem;
+ float: left;
+ clear: none;
+}
+.devhub-wrap .reference-landing .section {
+ max-width: 700px;
+ max-width: 70rem;
+ margin: 0 auto;
+}
+.devhub-wrap .reference-landing .section h2,
+.devhub-wrap .reference-landing .section h3,
+.devhub-wrap .reference-landing .section h4 {
+ margin-bottom: 1em;
+ color: #404040;
+}
+.devhub-wrap .reference-landing .section h2.widget-title,
+.devhub-wrap .reference-landing .section h3.widget-title,
+.devhub-wrap .reference-landing .section h4.widget-title {
+ margin-bottom: 0;
+}
+.devhub-wrap .reference-landing .box,
+.devhub-wrap .sidebar .box {
+ padding: 0;
+}
+.devhub-wrap .reference-landing .box .widget-title,
+.devhub-wrap .sidebar .box .widget-title {
+ padding: 10px 30px;
+ padding: 1rem 30px;
+ font-size: 16px;
+ font-size: 1.6rem;
+}
+.devhub-wrap .reference-landing .box .widget-content,
+.devhub-wrap .sidebar .box .widget-content {
+ padding: 16px 30px;
+ padding: 1.6rem 3rem;
+}
+.devhub-wrap .three-columns .box {
+ width: 31%;
+ margin: 1.15%;
+}
+.devhub-wrap .two-columns .box {
+ width: 48%;
+ margin: 1%;
+}
+.devhub-wrap .reference-landing {
+ padding: 1em 0;
+}
+.devhub-wrap .reference-landing .section {
+ padding: 1.5em 0;
+}
+.devhub-wrap .no-bullets,
+.devhub-wrap .sidebar .widget ul {
+ list-style-type: none;
+ margin: 0;
+ padding: 0;
+}
+.devhub-wrap .horizontal-list {
+ display: inline;
+ list-style-type: none;
+ margin: 0;
+ padding: 0;
+}
+.devhub-wrap .horizontal-list li {
+ display: inline;
+}
+.devhub-wrap .horizontal-list li a {
+ padding: 0px 40px;
+ padding: 0 4rem;
+ border-left: 1px solid #ccc;
+}
+.devhub-wrap .horizontal-list li:first-child a {
+ padding-left: 0;
+ border-left: none;
+}
+.devhub-wrap .reference-landing .searchform,
+.devhub-wrap .reference-landing .searchform input {
+ height: 50px;
+ height: 5rem;
+ margin-bottom: 1em;
+ width: 100%;
+}
+.devhub-wrap .reference-landing .searchform label {
+ width: 560px;
+ width: 56rem;
+ max-width: 100%;
+ margin-right: 15px;
+ display: inline-block;
+ float: left;
+}
+.devhub-wrap .reference-landing .searchform label .search-field input[type="text"] {
+ width: 100%;
+}
+.devhub-wrap .reference-landing .searchform {
+ overflow: hidden;
+ height: auto;
+}
+.devhub-wrap .reference-landing .searchform input[type="submit"] {
+ width: 85px;
+ width: 8.5rem;
+ float: left;
+}
+.devhub-wrap .box.transparent {
+ background: none;
+ color: #fff;
+}
+.devhub-wrap .box.transparent h2,
+.devhub-wrap .box.transparent h3,
+.devhub-wrap .box.transparent h4 {
+ color: #fff;
+}
+.devhub-wrap .box.gray {
+ background: #fff;
+ border: 1px solid #d8d8d8;
+}
+.devhub-wrap .box.gray .widget-title {
+ color: #9B9B9B;
+ background: #d8d8d8;
+ text-transform: uppercase;
+}
+.devhub-wrap .box .unordered-list {
+ list-style-type: none;
+ padding: 0;
+ margin: 0;
+ font-size: 13px;
+ font-size: 1.3rem;
+ line-height: 30px;
+ line-height: 3rem;
+}
+.devhub-wrap .widget-description {
+ font-style: italic;
+ font-weight: 300;
+}
+.devhub-wrap .wp-parser-class, .devhub-wrap .wp-parser-function, .devhub-wrap .wp-parser-hook, .devhub-wrap .wp-parser-method {
+ border-bottom: 1px solid #dfdfdf;
+}
+.devhub-wrap .wp-parser-class h1, .devhub-wrap .wp-parser-function h1, .devhub-wrap .wp-parser-hook h1, .devhub-wrap .wp-parser-method h1 {
+ margin: 24px 0;
+}
+.devhub-wrap .wp-parser-class h1 a, .devhub-wrap .wp-parser-function h1 a, .devhub-wrap .wp-parser-hook h1 a, .devhub-wrap .wp-parser-method h1 a {
+ color: #24831d;
+ font-family: monospace;
+ font-size: 20px;
+}
+.devhub-wrap .wp-parser-class h1 a:hover, .devhub-wrap .wp-parser-function h1 a:hover, .devhub-wrap .wp-parser-hook h1 a:hover, .devhub-wrap .wp-parser-method h1 a:hover {
+ border-bottom: 1px dotted #21759b;
+}
+.devhub-wrap .wp-parser-class h1 a .arg-type, .devhub-wrap .wp-parser-function h1 a .arg-type, .devhub-wrap .wp-parser-hook h1 a .arg-type, .devhub-wrap .wp-parser-method h1 a .arg-type {
+ color: #cd2f23;
+}
+.devhub-wrap .wp-parser-class h1 a .arg-name, .devhub-wrap .wp-parser-function h1 a .arg-name, .devhub-wrap .wp-parser-hook h1 a .arg-name, .devhub-wrap .wp-parser-method h1 a .arg-name {
+ color: #0f55c8;
+}
+.devhub-wrap .wp-parser-class h1 a .arg-default, .devhub-wrap .wp-parser-function h1 a .arg-default, .devhub-wrap .wp-parser-hook h1 a .arg-default, .devhub-wrap .wp-parser-method h1 a .arg-default {
+ color: #000000;
+}
+.devhub-wrap .wp-parser-class h2, .devhub-wrap .wp-parser-function h2, .devhub-wrap .wp-parser-hook h2, .devhub-wrap .wp-parser-method h2 {
+ font-family: Georgia, ​Times, ​serif;
+ margin-bottom: .5em;
+}
+.devhub-wrap .wp-parser-class .parameters p, .devhub-wrap .wp-parser-function .parameters p, .devhub-wrap .wp-parser-hook .parameters p, .devhub-wrap .wp-parser-method .parameters p {
+ margin-bottom: 0;
+}
+.devhub-wrap .wp-parser-class .parameters dd .desc .type, .devhub-wrap .wp-parser-class .parameters dd .desc .required,
+.devhub-wrap .wp-parser-function .parameters dd .desc .type, .devhub-wrap .wp-parser-function .parameters dd .desc .required,
+.devhub-wrap .wp-parser-hook .parameters dd .desc .type, .devhub-wrap .wp-parser-hook .parameters dd .desc .required,
+.devhub-wrap .wp-parser-method .parameters dd .desc .type, .devhub-wrap .wp-parser-method .parameters dd .desc .required {
+ font-style: italic;
+}
+.devhub-wrap .wp-parser-class .parameters dd .default, .devhub-wrap .wp-parser-function .parameters dd .default, .devhub-wrap .wp-parser-hook .parameters dd .default, .devhub-wrap .wp-parser-method .parameters dd .default {
+ font-style: italic;
+}
+.devhub-wrap .wp-parser-class .learn-more, .devhub-wrap .wp-parser-function .learn-more, .devhub-wrap .wp-parser-hook .learn-more, .devhub-wrap .wp-parser-method .learn-more {
+ background-color: #f1f1f1;
+ border: 1px solid #dfdfdf;
+ border-radius: 5px;
+ padding: 20px;
+}
+.devhub-wrap .loop-pagination {
+ text-align: center;
+ font-size: 18px;
+ margin-bottom: 20px;
+}
+@media (max-width: 43em) {
+ .devhub-wrap .section .box,
+ .devhub-wrap .home-primary-content,
+ .devhub-wrap .reference-landing .section {
+ float: none;
+ width: 100%;
+ padding: 1.5em 10%;
+ clear: both;
+ text-align: center;
+ display: block;
+ }
+ .devhub-wrap .reference-landing .section .box,
+ .devhub-wrap .sidebar .box {
+ padding: 0;
+ margin-bottom: 1.5em;
+ }
+ .devhub-wrap .home-primary-content .entry-content,
+ .devhub-wrap .reference-landing .section {
+ text-align: left;
+ }
+ .devhub-wrap .horizontal-list li {
+ display: block;
+ }
+ .devhub-wrap .horizontal-list li a {
+ border-left: none;
+ }
+ .devhub-wrap .horizontal-list li:first-child a {
+ padding: 0 40px;
+ padding: 0 4rem;
+ }
+ .devhub-wrap .reference-landing .searchform input[type="text"],
+ .devhub-wrap .reference-landing .searchform input[type="submit"] {
+ width: 100%;
+ margin-right: 0;
+ margin-bottom: 1em;
+ float: none;
+ clear: both;
+ }
+}
+.devhub-wrap .comment-list,
+.devhub-wrap .comment-list ol {
+ list-style: none;
+ margin: 0 0 1.5em 0;
+ border-top: 1px solid #eee;
+ padding: 0;
+}
+.devhub-wrap .comment-list li {
+ padding: 24px 24px 0 24px;
+ padding: 1.5rem 1.5rem 0 1.5rem;
+ border: 1px solid #eee;
+ border-top: none;
+ background: #fff;
+}
+.devhub-wrap .comment-list .avatar {
+ float: left;
+ width: 2.5em;
+ height: 2.5em;
+ margin: 0 1em 0.5em 0;
+ padding: 0.125em;
+ border: 1px solid #eee;
+}
+.devhub-wrap .comment-meta {
+ margin: 0 0 1.5em 0;
+ font-size: 0.75em;
+}
+.devhub-wrap .comment-content {
+ margin-left: 60px;
+ margin-left: 3.75rem;
+ margin-left: 0;
+ clear: both;
+}
+.devhub-wrap .comment-content ol {
+ list-style: decimal inside;
+ margin: 0 0 1.5em 0;
+ border-top: none;
+ margin: 0 0 1.5em 1.5em;
+ padding: 0;
+}
+.devhub-wrap .comment-content ul {
+ list-style: square inside;
+ margin: 0 0 1.5em 0;
+ border-top: none;
+ margin: 0 0 1.5em 1.5em;
+ padding: 0;
+}
+.devhub-wrap .comment-content li {
+ border: none;
+ padding: 0;
+}
+.devhub-wrap #respond {
+ overflow: hidden;
+}
+.devhub-wrap .comment-list #respond {
+ margin: 1.5em 0 0;
+}
+.devhub-wrap #respond .log-in-out a {
+ font-style: italic;
+}
+.devhub-wrap #reply-title small a {
+ font-style: italic;
+}
+.devhub-wrap #respond #submit {
+ float: left;
+ margin: 0 0 1.5em;
+}
+
+@media (max-width: 60em) {
+ .devhub-wrap {
+ max-width: 100%;
+ width: 100%;
+ }
+ .devhub-wrap .site-main,
+ .devhub-wrap .inner-wrap {
+ max-width: 100%;
+ padding: 0 1%;
+ }
+}
+/*
+ * Content
+ *
+ */
+.has-sidebar.content-area {
+ float: none;
+ margin: 0 auto;
+ width: 60em;
+}
+
+.has-sidebar .site-main {
+ float: right;
+ width: 67%;
+ margin: 0;
+ clear: none;
+ padding: 0 12px;
+ padding: 0 1.2rem;
+}
+.has-sidebar .widget-area {
+ float: left;
+ overflow: hidden;
+ width: 30%;
+ margin-left: -55px;
+ margin: 0;
+ clear: none;
+}
+.has-sidebar .widget-area .widget {
+ width: 100%;
+}
+
+@media (max-width: 60em) {
+ .has-sidebar.content-area {
+ width: 100%;
+ }
+}
+@media (max-width: 43em) {
+ .has-sidebar .site-main {
+ float: right;
+ width: 96%;
+ margin: 0 auto;
+ clear: both;
+ padding: 0 12px;
+ padding: 0 1.2rem;
+ }
+ .has-sidebar .widget-area {
+ float: none;
+ overflow: hidden;
+ width: 80%;
+ margin: 0 auto;
+ clear: both;
+ }
+ .has-sidebar .widget-area .widget {
+ width: 100%;
+ }
+}
</ins><span class="cx">Property changes on: sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/main.css
</span><span class="cx">___________________________________________________________________
</span></span></pre></div>
<a id="svneolstyle"></a>
<div class="addfile"><h4>Added: svn:eol-style</h4></div>
<ins>+native
</ins><span class="cx">\ No newline at end of property
</span><a id="sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporgdevelopermainscss"></a>
<div class="addfile"><h4>Added: sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/main.scss (0 => 554)</h4>
<pre class="diff"><span>
<span class="info">--- sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/main.scss (rev 0)
+++ sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/main.scss 2014-04-24 22:19:39 UTC (rev 554)
</span><span class="lines">@@ -0,0 +1,1384 @@
</span><ins>+$header-font: "HelveticaNeue-Light","Helvetica Neue Light","Helvetica Neue",Helvetica,Arial,sans-serif;
+$body-font: "Helvetica Neue",Helvetica,Arial,sans-serif;
+$code-font: monospace;
+$serif-font: Georgia,​Times,​serif;
+
+/* =Reset
+-------------------------------------------------------------- */
+
+html, body, div, span, applet, object, iframe,
+h1, h2, h3, h4, h5, h6, p, blockquote, pre,
+a, abbr, acronym, address, big, cite, code,
+del, dfn, em, font, ins, kbd, q, s, samp,
+small, strike, strong, sub, sup, tt, var,
+dl, dt, dd, ol, ul, li,
+fieldset, form, label, legend,
+table, caption, tbody, tfoot, thead, tr, th, td {
+ border: 0;
+ font-family: inherit;
+ font-size: 100%;
+ font-style: inherit;
+ font-weight: inherit;
+ margin: 0;
+ outline: 0;
+ padding: 0;
+ vertical-align: baseline;
+}
+html {
+ font-size: 62.5%; /* Corrects text resizing oddly in IE6/7 when body font-size is set using em units http://clagnut.com/blog/348/#c790 */
+ overflow-y: scroll; /* Keeps page centered in all browsers regardless of content height */
+ -webkit-text-size-adjust: 100%; /* Prevents iOS text size adjust after orientation change, without disabling user zoom */
+ -ms-text-size-adjust: 100%; /* www.456bereastreet.com/archive/201012/controlling_text_size_in_safari_for_ios_without_disabling_user_zoom/ */
+}
+
+body {
+ background: #fff;
+}
+article,
+aside,
+details,
+figcaption,
+figure,
+footer,
+header,
+main,
+nav,
+section {
+ display: block;
+}
+ol, ul {
+ list-style: none;
+}
+table { /* tables still need 'cellspacing="0"' in the markup */
+ border-collapse: separate;
+ border-spacing: 0;
+}
+caption, th, td {
+ font-weight: normal;
+ text-align: left;
+}
+blockquote:before, blockquote:after,
+q:before, q:after {
+ content: "";
+}
+blockquote, q {
+ quotes: "" "";
+}
+a:focus {
+ outline: thin dotted;
+}
+a:hover,
+a:active {
+ outline: 0;
+}
+a img {
+ border: 0;
+}
+
+
+/* =Global
+----------------------------------------------- */
+
+body,
+button,
+input,
+select,
+textarea {
+ color: #404040;
+ font-family: $body-font;
+ font-size: 16px;
+ font-size: 1.6rem;
+ line-height: 1.5;
+}
+
+
+
+
+/*
+* =========== Devhub Custom ========== Devhub Custom ========== Devhub Custom =====
+* =========== Devhub Custom ========== Devhub Custom ========== Devhub Custom =====
+* =========== Devhub Custom ========== Devhub Custom ========== Devhub Custom =====
+* =========== Devhub Custom ========== Devhub Custom ========== Devhub Custom =====
+* =========== Devhub Custom ========== Devhub Custom ========== Devhub Custom =====
+* =========== Devhub Custom ========== Devhub Custom ========== Devhub Custom =====
+* =========== Devhub Custom ========== Devhub Custom ========== Devhub Custom =====
+*/
+
+#page {
+ padding-bottom: 1.5em;
+}
+//Global Fonts
+.devhub-wrap {
+ /*
+ * =========== Port _s defaults ========== Port _s defaults ========== Port _s defaults =====
+ * =========== Port _s defaults ========== Port _s defaults ========== Port _s defaults =====
+ * =========== Port _s defaults ========== Port _s defaults ========== Port _s defaults =====
+ * =========== Port _s defaults ========== Port _s defaults ========== Port _s defaults =====
+ * =========== Port _s defaults ========== Port _s defaults ========== Port _s defaults =====
+ */
+
+ /* Headings */
+ h1, h2, h3, h4, h5, h6 {
+ clear: both;
+ }
+ hr {
+ background-color: #dfdfdf;
+ border: 0;
+ height: 1px;
+ margin: 1.5em 0;
+ }
+
+ /* Text elements */
+ p {
+ margin-bottom: 1.5em;
+ }
+ ul, ol {
+ margin: 0 0 1.5em 3em;
+ }
+ ul {
+ list-style: disc;
+ }
+ ol {
+ list-style: decimal;
+ }
+ li > ul,
+ li > ol {
+ margin-bottom: 0;
+ margin-left: 1.5em;
+ }
+ dt {
+ font-weight: bold;
+ }
+ dd {
+ margin: 0 1.5em 1.5em;
+ }
+ b, strong {
+ font-weight: bold;
+ }
+ dfn, cite, em, i {
+ font-style: italic;
+ }
+ blockquote {
+ margin: 0 1.5em;
+ }
+ address {
+ margin: 0 0 1.5em;
+ }
+ pre {
+ background: #eee;
+ font-family: "Courier 10 Pitch", Courier, monospace;
+ font-size: 15px;
+ font-size: 1.5rem;
+ line-height: 1.6;
+ margin-bottom: 1.6em;
+ max-width: 100%;
+ overflow: auto;
+ padding: 1.6em;
+ }
+ code, kbd, tt, var {
+ font: 15px Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
+ }
+ abbr, acronym {
+ border-bottom: 1px dotted #666;
+ cursor: help;
+ }
+ mark, ins {
+ background: #fff9c0;
+ text-decoration: none;
+ }
+ sup,
+ sub {
+ font-size: 75%;
+ height: 0;
+ line-height: 0;
+ position: relative;
+ vertical-align: baseline;
+ }
+ sup {
+ bottom: 1ex;
+ }
+ sub {
+ top: .5ex;
+ }
+ small {
+ font-size: 75%;
+ }
+ big {
+ font-size: 125%;
+ }
+ figure {
+ margin: 0;
+ }
+ table {
+ margin: 0 0 1.5em;
+ width: 100%;
+ }
+ th {
+ font-weight: bold;
+ }
+ img {
+ height: auto; /* Make sure images are scaled correctly. */
+ max-width: 100%; /* Adhere to container width. */
+ }
+ button,
+ input,
+ select,
+ textarea {
+ font-size: 100%; /* Corrects font size not being inherited in all browsers */
+ margin: 0; /* Addresses margins set differently in IE6/7, F3/4, S5, Chrome */
+ vertical-align: baseline; /* Improves appearance and consistency in all browsers */
+ *vertical-align: middle; /* Improves appearance and consistency in all browsers */
+ }
+ a.button,
+ button,
+ input {
+ line-height: normal; /* Addresses FF3/4 setting line-height using !important in the UA stylesheet */
+ }
+ a.button,
+ button,
+ input[type="button"],
+ input[type="reset"],
+ input[type="submit"] {
+ border: 1px solid #ccc;
+ border-color: #ccc #ccc #bbb #ccc;
+ border-radius: 3px;
+ background: #fff;
+ color: rgba(0, 0, 0, .8);
+ cursor: pointer; /* Improves usability and consistency of cursor style between image-type 'input' and others */
+ font-size: 16px;
+ font-size: 1.6rem;
+ line-height: 1.1;
+ float: none;
+ height: auto;
+ padding: .6em 1.8em;
+ }
+ button,
+ input[type="button"],
+ input[type="reset"],
+ input[type="submit"] {
+ -webkit-appearance: button; /* Corrects inability to style clickable 'input' types in iOS */
+ }
+ a.button:hover,
+ button:hover,
+ input[type="button"]:hover,
+ input[type="reset"]:hover,
+ input[type="submit"]:hover {
+ border-color: #ccc #bbb #aaa #bbb;
+ background: #f0f0f0;
+ }
+ a.button:focus,
+ button:focus,
+ input[type="button"]:focus,
+ input[type="reset"]:focus,
+ input[type="submit"]:focus,
+ button:active,
+ input[type="button"]:active,
+ input[type="reset"]:active,
+ input[type="submit"]:active {
+ border-color: #aaa #bbb #bbb #bbb;
+ background: #f0f0f0;
+ }
+ input[type="checkbox"],
+ input[type="radio"] {
+ padding: 0; /* Addresses excess padding in IE8/9 */
+ }
+ input[type="search"] {
+ -webkit-appearance: textfield; /* Addresses appearance set to searchfield in S5, Chrome */
+ -webkit-box-sizing: content-box; /* Addresses box sizing set to border-box in S5, Chrome (include -moz to future-proof) */
+ -moz-box-sizing: content-box;
+ box-sizing: content-box;
+ }
+ input[type="search"]::-webkit-search-decoration { /* Corrects inner padding displayed oddly in S5, Chrome on OSX */
+ -webkit-appearance: none;
+ }
+ button::-moz-focus-inner,
+ input::-moz-focus-inner { /* Corrects inner padding and border displayed oddly in FF3/4 www.sitepen.com/blog/2008/05/14/the-devils-in-the-details-fixing-dojos-toolbar-buttons/ */
+ border: 0;
+ padding: 0;
+ }
+ input[type="text"],
+ input[type="email"],
+ input[type="url"],
+ input[type="password"],
+ input[type="search"],
+ textarea {
+ color: #666;
+ border: 1px solid #ccc;
+ border-radius: 3px;
+ }
+ input[type="text"]:focus,
+ input[type="email"]:focus,
+ input[type="url"]:focus,
+ input[type="password"]:focus,
+ input[type="search"]:focus,
+ textarea:focus {
+ color: #111;
+ }
+ input[type="text"],
+ input[type="email"],
+ input[type="url"],
+ input[type="password"],
+ input[type="search"] {
+ padding: 3px;
+ }
+ textarea {
+ overflow: auto; /* Removes default vertical scrollbar in IE6/7/8/9 */
+ padding-left: 3px;
+ vertical-align: top; /* Improves readability and alignment in all browsers */
+ width: 98%;
+ }
+
+
+ /* Alignment */
+ .alignleft {
+ display: inline;
+ float: left;
+ margin-right: 1.5em;
+ }
+ .alignright {
+ display: inline;
+ float: right;
+ margin-left: 1.5em;
+ }
+ .aligncenter {
+ clear: both;
+ display: block;
+ margin: 0 auto;
+ }
+
+ /* Text meant only for screen readers */
+ .screen-reader-text {
+ clip: rect(1px, 1px, 1px, 1px);
+ position: absolute !important;
+ }
+
+ .screen-reader-text:hover,
+ .screen-reader-text:active,
+ .screen-reader-text:focus {
+ background-color: #f1f1f1;
+ border-radius: 3px;
+ box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
+ clip: auto !important;
+ color: #21759b;
+ display: block;
+ font-size: 14px;
+ font-weight: bold;
+ height: auto;
+ left: 5px;
+ line-height: normal;
+ padding: 15px 23px 14px;
+ text-decoration: none;
+ top: 5px;
+ width: auto;
+ z-index: 100000; /* Above WP toolbar */
+ }
+
+ /* Clearing */
+ .clear:before,
+ .clear:after,
+ .entry-content:before,
+ .entry-content:after,
+ .comment-content:before,
+ .comment-content:after,
+ .site-header:before,
+ .site-header:after,
+ .site-content:before,
+ .site-content:after,
+ .site-footer:before,
+ .site-footer:after {
+ content: '';
+ display: table;
+ }
+
+ .clear:after,
+ .entry-content:after,
+ .comment-content:after,
+ .site-header:after,
+ .site-content:after,
+ .site-footer:after {
+ clear: both;
+ }
+
+ /* =Content
+ ----------------------------------------------- */
+
+ .sticky {
+ }
+ .hentry {
+ margin: 0 0 1.5em;
+ }
+ .byline,
+ .updated {
+ display: none;
+ }
+ .single .byline,
+ .group-blog .byline {
+ display: inline;
+ }
+ .page-content,
+ .entry-content,
+ .entry-summary {
+ margin: 1.5em 0 0;
+ }
+ .page-links {
+ clear: both;
+ margin: 0 0 1.5em;
+ }
+
+ /* =Media
+ ----------------------------------------------- */
+
+ .page-content img.wp-smiley,
+ .entry-content img.wp-smiley,
+ .comment-content img.wp-smiley {
+ border: none;
+ margin-bottom: 0;
+ margin-top: 0;
+ padding: 0;
+ }
+ .wp-caption {
+ border: 1px solid #ccc;
+ margin-bottom: 1.5em;
+ max-width: 100%;
+ }
+ .wp-caption img[class*="wp-image-"] {
+ display: block;
+ margin: 1.2% auto 0;
+ max-width: 98%;
+ }
+ .wp-caption-text {
+ text-align: center;
+ }
+ .wp-caption .wp-caption-text {
+ margin: 0.8075em 0;
+ }
+ .site-main .gallery {
+ margin-bottom: 1.5em;
+ }
+ .gallery-caption {
+ }
+ .site-main .gallery a img {
+ border: none;
+ height: auto;
+ max-width: 90%;
+ }
+ .site-main .gallery dd {
+ margin: 0;
+ }
+ .site-main .gallery-columns-4 .gallery-item {
+ }
+ .site-main .gallery-columns-4 .gallery-item img {
+ }
+
+ /* Make sure embeds and iframes fit their containers */
+ embed,
+ iframe,
+ object {
+ max-width: 100%;
+ }
+
+ /* =Comments
+ ----------------------------------------------- */
+
+ .comment-content a {
+ word-wrap: break-word;
+ }
+ .bypostauthor {
+ background: #eee;
+ }
+
+
+ /* =Widgets
+ ----------------------------------------------- */
+
+ .widget {
+ margin: 0 0 1.5em;
+ }
+
+ /* Make sure select elements fit in widgets */
+ .widget select {
+ max-width: 100%;
+ }
+
+ /* Search widget */
+ .widget_search .search-submit {
+ display: none;
+ }
+
+
+ /* =Infinite Scroll
+ ----------------------------------------------- */
+
+ /* Globally hidden elements when Infinite Scroll is supported and in use. */
+ .infinite-scroll .paging-navigation, /* Older / Newer Posts Navigation (always hidden) */
+ .infinite-scroll.neverending .site-footer { /* Theme Footer (when set to scrolling) */
+ display: none;
+ }
+
+ /* When Infinite Scroll has reached its end we need to re-display elements that were hidden (via .neverending) before */
+ .infinity-end.neverending .site-footer {
+ display: block;
+ }
+
+
+ *,
+ *:before,
+ *:after {
+ -moz-box-sizing: border-box;
+ -webkit-box-sizing: border-box;
+ box-sizing: border-box;
+ }
+
+ .site-main,
+ .inner-wrap {
+ margin: 0 auto;
+ max-width: 60em;
+ }
+
+ a {
+ color: #21759b;
+ }
+
+ .site-main {
+ h2,
+ h3,
+ h4,
+ h5,
+ h6 {
+ color: #1e1e1e;
+ font-family: $header-font;
+ }
+
+ }
+
+ h2.widget-title,
+ h3.widget-title {
+ font-family: $header-font;
+ }
+
+ #headline h2 a {
+ color: #555;
+ font-weight: 300;
+ font-size: 28px;
+ line-height: 1em;
+ text-shadow: #fff 0px 1px 0px;
+ font-family: $header-font;
+ }
+
+ h2 {
+ font-size: 28px;
+ font-size: 2.8rem;
+ line-height: 32px;
+ line-height: 3.2rem;
+ }
+ h3 {
+ font-size: 22px;
+ font-size: 2.2rem;
+ line-height: 26px;
+ line-height: 2.6rem;
+ }
+ h4 {
+ font-size: 18px;
+ font-size: 1.8rem;
+ line-height: 22px;
+ line-height: 2.2rem;
+ border-bottom: none;
+
+ .dashicons {
+ font-size: 22px;
+ font-size: 2.2rem;
+ line-height: 22px;
+ line-height: 2.2rem;
+ height: 22px;
+ width: 22px;
+ height: 2.2rem;
+ width: 2.2rem;
+ }
+ }
+
+
+ button,
+ input,
+ select,
+ textarea {
+ font-size: 100%; /* Corrects font size not being inherited in all browsers */
+ margin: 0; /* Addresses margins set differently in IE6/7, F3/4, S5, Chrome */
+ vertical-align: baseline; /* Improves appearance and consistency in all browsers */
+ *vertical-align: middle; /* Improves appearance and consistency in all browsers */
+ font-weight: 300;
+ }
+ button,
+ input {
+ line-height: normal; /* Addresses FF3/4 setting line-height using !important in the UA stylesheet */
+ }
+ button,
+ input[type="button"],
+ input[type="reset"],
+ input[type="submit"] {
+ text-decoration: none;
+ }
+ button.shiny-blue,
+ input[type="button"].shiny-blue,
+ input[type="reset"].shiny-blue,
+ input[type="submit"].shiny-blue {
+ background-color: #21759b;
+ background-image: -webkit-gradient(linear, left top, left bottom, from(#2a95c5), to(#21759b));
+ background-image: -webkit-linear-gradient(top, #2a95c5, #21759b);
+ background-image: -moz-linear-gradient(top, #2a95c5, #21759b);
+ background-image: -ms-linear-gradient(top, #2a95c5, #21759b);
+ background-image: -o-linear-gradient(top, #2a95c5, #21759b);
+ background-image: linear-gradient(to bottom, #2a95c5, #21759b);
+ border-color: #21759b;
+ border-bottom-color: #1e6a8d;
+ -webkit-box-shadow: inset 0 1px 0 rgba(120,200,230,0.5);
+ box-shadow: inset 0 1px 0 rgba(120,200,230,0.5);
+ color: #fff;
+ text-decoration: none;
+ text-shadow: 0 -1px 0 rgba(0,0,0,0.3);
+ padding: 3px 8px;
+ }
+ button.shiny-blue:hover,
+ input[type="button"].shiny-blue:hover,
+ input[type="reset"].shiny-blue:hover,
+ input[type="submit"].shiny-blue:hover {
+ background-color: #278ab7;
+ background-image: -webkit-gradient(linear, left top, left bottom, from(#2e9fd2), to(#21759b));
+ background-image: -webkit-linear-gradient(top, #2e9fd2, #21759b);
+ background-image: -moz-linear-gradient(top, #2e9fd2, #21759b);
+ background-image: -ms-linear-gradient(top, #2e9fd2, #21759b);
+ background-image: -o-linear-gradient(top, #2e9fd2, #21759b);
+ background-image: linear-gradient(to bottom, #2e9fd2, #21759b);
+ border-color: #1b607f;
+ -webkit-box-shadow: inset 0 1px 0 rgba(120,200,230,0.6);
+ box-shadow: inset 0 1px 0 rgba(120,200,230,0.6);
+ color: #fff;
+ text-shadow: 0 -1px 0 rgba(0,0,0,0.3);
+ }
+ button:focus,
+ input[type="button"]:focus,
+ input[type="reset"]:focus,
+ input[type="submit"]:focus,
+ button:active,
+ input[type="button"]:active,
+ input[type="reset"]:active,
+ input[type="submit"]:active {
+ border-color: #0e3950;
+ -webkit-box-shadow: inset 0 1px 0 rgba(120,200,230,0.6), 1px 1px 2px rgba(0,0,0,0.4);
+ box-shadow: inset 0 1px 0 rgba(120,200,230,0.6), 1px 1px 2px rgba(0,0,0,0.4);
+ }
+ input[type="checkbox"],
+ input[type="radio"] {
+ box-sizing: border-box; /* Addresses box sizing set to content-box in IE8/9 */
+ padding: 0; /* Addresses excess padding in IE8/9 */
+ }
+ input[type="search"] {
+ -webkit-appearance: textfield; /* Addresses appearance set to searchfield in S5, Chrome */
+ -webkit-box-sizing: content-box; /* Addresses box sizing set to border-box in S5, Chrome (include -moz to future-proof) */
+ -moz-box-sizing: content-box;
+ box-sizing: content-box;
+ }
+ input[type="search"]::-webkit-search-decoration { /* Corrects inner padding displayed oddly in S5, Chrome on OSX */
+ -webkit-appearance: none;
+ }
+ button::-moz-focus-inner,
+ input::-moz-focus-inner { /* Corrects inner padding and border displayed oddly in FF3/4 www.sitepen.com/blog/2008/05/14/the-devils-in-the-details-fixing-dojos-toolbar-buttons/ */
+ border: 0;
+ padding: 0;
+ }
+ input[type="text"],
+ input[type="email"],
+ input[type="url"],
+ input[type="password"],
+ input[type="search"],
+ textarea {
+ color: #666;
+ border: 1px solid #ccc;
+ border-radius: 3px;
+ }
+ input[type="text"]:focus,
+ input[type="email"]:focus,
+ input[type="url"]:focus,
+ input[type="password"]:focus,
+ input[type="search"]:focus,
+ textarea:focus {
+ color: #111;
+ }
+ input[type="text"],
+ input[type="email"],
+ input[type="url"],
+ input[type="password"],
+ input[type="search"] {
+ padding: 3px;
+ }
+ textarea {
+ overflow: auto; /* Removes default vertical scrollbar in IE6/7/8/9 */
+ padding-left: 3px;
+ vertical-align: top; /* Improves readability and alignment in all browsers */
+ width: 98%;
+ }
+
+ /*
+ * Header area
+ */
+
+ .site-header {
+ background: none repeat scroll 0 0 #F7F7F7;
+ border-bottom: 1px solid #DFDFDF;
+ height: 62px;
+ }
+ .site-branding {
+ width: 100%;
+ a {
+ text-decoration: none;
+ color: #606060;
+ }
+ .breadcrumb {
+ .active {
+ font-weight: 600;
+ }
+
+ font-size: 14px;
+ font-size: 1.4rem;
+
+ }
+
+ .site-title {
+ color: #555555;
+ float: left;
+ font-size: 28px;
+ line-height: 1em;
+ padding-left: 9px;
+ padding-top: 18px;
+ text-shadow: 0 1px 0 #FFFFFF;
+ font-weight: 300;
+ }
+
+ }
+ .site-main {
+ .breadcrumb-trail {
+ margin-top: 1em;
+ }
+ }
+ h1.entry-title,
+ h1.page-title {
+ font-weight: 300;
+ font-size: 37px;
+ font-size: 3.7rem;
+ color: #606060;
+ text-align: center;
+ a {
+ text-decoration: none;
+ color: #606060;
+ }
+ }
+
+ h1.single-entry-title,
+ h2.entry-title {
+ text-align: left;
+ font-size: 30px;
+ font-size: 3rem;
+ padding: 0 0 24px;
+ padding: 0 0 2.4rem;
+
+ a {
+ text-decoration: none;
+ color: #606060;
+ }
+ }
+
+ /*
+ * section styles
+ */
+
+ .home-landing .section {
+ padding: 30px 0%;
+ padding: 3rem 0%;
+ }
+ .color.section {
+ color: #fff;
+ }
+ .section.blue {
+ background: #0F3D57;
+ padding: 30px 0;
+ padding: 3rem 0;
+
+ .box {
+ text-align: center;
+
+ .widget-description {
+ padding: 1em 15%;
+ }
+ }
+
+ .widget-title {
+
+ font-size: 62px;
+ font-size: 6.2rem;
+ line-height: 78px;
+ line-height: 7.8rem;
+ .dashicons {
+ font-size: 84px;
+ font-size: 8.4rem;
+ line-height: 84px;
+ line-height: 8.4rem;
+ height: 84px;
+ width: 84px;
+ height: 8.4rem;
+ width: 8.4rem;
+ margin-right: 16px;
+ margin-right: 1.6rem;
+ }
+ }
+
+ }
+
+ .section.gray {
+ background: #797878;
+ color: #fff;
+ h2,
+ h3,
+ h4 {
+ color: #fff;
+ }
+ .inner-wrap {
+ max-width: 700px;
+ max-width: 70rem;
+ margin: 0 auto;
+
+ .code-ref-left {
+ float: left;
+ width: 70%;
+ clear: none;
+ }
+ .code-ref-right {
+ float: left;
+ width: 30%;
+ clear: none;
+ }
+
+ .go {
+ float: right;
+ }
+
+ @media ( max-width: 43em ) {
+
+ .code-ref-left,
+ .code-ref-right {
+ float: none;
+ width: 100%;
+ padding: 1.5em 10%;
+ clear: both;
+ text-align: center;
+ }
+
+ .go {
+ float: none;
+ }
+
+ }
+
+ }
+
+ .widget-title {
+ font-weight: 300;
+ font-size: 40px;
+ font-size: 5rem;
+ line-height: 50px;
+ line-height: 5rem;
+ .dashicons {
+ font-size: 50px;
+ font-size: 5rem;
+ line-height: 50px;
+ line-height: 5rem;
+ height: 50px;
+ width: 50px;
+ height: 5rem;
+ width: 5rem;
+ }
+ }
+ .widget-description {
+ margin-left: 65px;
+ margin-left: 6.5rem;
+ }
+
+ }
+
+ .section .home-primary-content {
+ max-width: 600px;
+ max-width: 60rem;
+ margin: 0 auto;
+ }
+
+ .section.light-gray {
+ background: #f2f2f2;
+ color: #606060;
+ .widget-title {
+ color: #606060;
+ font-weight: 600;
+
+ a {
+ color: #2D96C2;
+ }
+ }
+ a {
+ color: #606060;
+ text-decoration: none;
+ }
+ }
+
+
+ .box {
+ padding: 30px;
+ padding: 3rem;
+ float: left;
+ clear: none;
+ }
+
+ .reference-landing .section {
+ max-width: 700px;
+ max-width: 70rem;
+ margin: 0 auto;
+
+ h2,
+ h3,
+ h4 {
+ margin-bottom: 1em;
+ color: #404040;
+ }
+
+ h2.widget-title,
+ h3.widget-title,
+ h4.widget-title {
+ margin-bottom: 0;
+ }
+ }
+ .reference-landing .section.search-guide {
+ padding-bottom: 0;
+ }
+ .reference-landing {
+ .section.topic-guide, .section.new-in-guide {
+ padding-top: 0;
+ }
+ }
+ .reference-landing .box,
+ .sidebar .box {
+ padding: 0;
+
+
+ .widget-title {
+ padding: 10px 30px;
+ padding: 1rem 30px;
+ font-size: 16px;
+ font-size: 1.6rem;
+ }
+ .widget-content {
+ padding: 16px 30px;
+ padding: 1.6rem 3rem;
+ }
+
+ }
+
+ .three-columns .box {
+ width: 31%;
+ margin: 1.15%;
+ }
+
+ .two-columns .box {
+ width: 48%;
+ margin: 1%;
+ }
+
+ .reference-landing {
+ padding: 1em 0;
+ }
+
+ .reference-landing .section {
+ padding: 1.5em 0;
+ }
+
+ .no-bullets,
+ .sidebar .widget ul {
+ list-style-type: none;
+ margin: 0;
+ padding: 0;
+ }
+ .horizontal-list {
+ display: inline;
+ list-style-type: none;
+ margin: 0;
+ padding: 0;
+ }
+ .horizontal-list li {
+ display: inline;
+ }
+ .horizontal-list li a {
+ padding: 0px 40px;
+ padding: 0 4rem;
+ border-left: 1px solid #ccc;
+ }
+ .horizontal-list li:first-child a {
+ padding-left: 0;
+ border-left: none;
+ }
+
+ .reference-landing .searchform,
+ .reference-landing .searchform input {
+ height: 50px;
+ height: 5rem;
+ margin-bottom: 1em;
+ width: 100%;
+ }
+
+ .reference-landing .searchform label {
+ width: 560px;
+ width: 56rem;
+ max-width: 100%;
+ margin-right: 15px;
+ display: inline-block;
+ float: left;
+ .search-field input[type="text"] {
+ width: 100%;
+ }
+ }
+
+ .reference-landing .searchform {
+ overflow: hidden;
+ height: auto;
+ }
+
+ .reference-landing .searchform input[type="submit"] {
+ width: 85px;
+ width: 8.5rem;
+ float: left;
+ }
+
+
+ .box.transparent {
+ background: none;
+ color: #fff;
+
+ h2,
+ h3,
+ h4 {
+ color: #fff;
+ }
+ }
+
+ .box.gray {
+ background: #fff;
+ border: 1px solid #d8d8d8;
+ .widget-title {
+ color: #9B9B9B;
+ background: #d8d8d8;
+ text-transform: uppercase;
+ }
+
+ }
+
+ .box .unordered-list {
+ list-style-type: none;
+ padding: 0;
+ margin: 0;
+ font-size: 13px;
+ font-size: 1.3rem;
+ line-height: 30px;
+ line-height: 3rem;
+ }
+
+ .widget-description {
+ font-style: italic;
+ font-weight: 300;
+ }
+ .wp-parser-class, .wp-parser-function, .wp-parser-hook, .wp-parser-method {
+ border-bottom: 1px solid #dfdfdf;
+ h1 {
+ margin: 24px 0;
+ a {
+ color: #24831d;
+ font-family: $code-font;
+ font-size: 20px;
+ .arg-type {
+ color: #cd2f23;
+ }
+ .arg-name {
+ color: #0f55c8;
+ }
+ .arg-default {
+ color: #000000;
+ }
+ }
+ a:hover {
+ border-bottom: 1px dotted #21759b;
+ }
+ }
+ h2 {
+ font-family: $serif-font;
+ margin-bottom: .5em;
+ }
+ .parameters {
+ p {
+ margin-bottom: 0;
+ }
+ dd {
+ .desc {
+ .type, .required {
+ font-style: italic;
+ }
+ }
+ .default {
+ font-style: italic;
+ }
+ }
+ }
+ .learn-more {
+ background-color: #f1f1f1;
+ border: 1px solid #dfdfdf;
+ border-radius: 5px;
+ padding: 20px;
+ }
+ }
+ .loop-pagination {
+ text-align: center;
+ font-size: 18px;
+ margin-bottom: 20px;
+ }
+
+ @media ( max-width: 43em ) {
+
+ .section .box,
+ .home-primary-content,
+ .reference-landing .section {
+ float: none;
+ width: 100%;
+ padding: 1.5em 10%;
+ clear: both;
+ text-align: center;
+ display: block;
+ }
+ .reference-landing .section .box,
+ .sidebar .box {
+ padding: 0;
+ margin-bottom: 1.5em;
+ }
+ .home-primary-content .entry-content,
+ .reference-landing .section {
+ text-align: left;
+ }
+
+ .horizontal-list li {
+ display: block;
+ a {
+ border-left: none;
+ }
+ }
+
+ .horizontal-list li:first-child a {
+ padding: 0 40px;
+ padding: 0 4rem;
+ }
+
+
+ .reference-landing .searchform input[type="text"],
+ .reference-landing .searchform input[type="submit"] {
+ width: 100%;
+ margin-right: 0;
+ margin-bottom: 1em;
+ float: none;
+ clear: both;
+ }
+
+ }
+
+
+ /* Comments */
+ .comment-list,
+ .comment-list ol {
+ list-style: none;
+ margin: 0 0 1.5em 0;
+ border-top: 1px solid #eee;
+ padding: 0;
+ }
+
+ .comment-list li {
+ padding: 24px 24px 0 24px;
+ padding: 1.5rem 1.5rem 0 1.5rem;
+ border: 1px solid #eee;
+ border-top: none;
+ background: #fff;
+ }
+
+ .comment-list .avatar {
+ float: left;
+ width: 2.5em;
+ height: 2.5em;
+ margin: 0 1em 0.5em 0;
+ padding: 0.125em;
+ border: 1px solid #eee;
+ }
+
+ .comment-meta {
+ margin: 0 0 1.5em 0;
+ font-size: 0.75em;
+ }
+
+ .comment-meta .comment-author cite,
+ .comment-meta .comment-author cite a {
+ }
+ .comment-meta a {
+ }
+
+ .comment-meta a:hover {
+ }
+
+ .comment-content {
+ margin-left: 60px;
+ margin-left: 3.75rem;
+ margin-left: 0;
+ clear: both;
+ }
+
+ .comment-content ol {
+ list-style: decimal inside;
+ margin: 0 0 1.5em 0;
+ border-top: none;
+ margin: 0 0 1.5em 1.5em;
+ padding: 0;
+ }
+
+ .comment-content ul {
+ list-style: square inside;
+ margin: 0 0 1.5em 0;
+ border-top: none;
+ margin: 0 0 1.5em 1.5em;
+ padding: 0;
+ }
+
+ .comment-content li {
+ border: none;
+ padding: 0;
+ }
+
+ .comment-text {
+ }
+
+ #respond {
+ overflow: hidden;
+ }
+
+ .comment-list #respond {
+ margin: 1.5em 0 0;
+ }
+
+ #respond .log-in-out {
+
+ }
+
+ #respond .log-in-out a {
+ font-style: italic;
+ }
+
+ #reply-title small a {
+ font-style: italic;
+ }
+
+ #respond label {
+ }
+
+ #respond p.req label {
+ }
+
+ #respond span.required {
+ }
+
+ #respond #submit {
+ float: left;
+ margin:0 0 1.5em;
+ }
+
+
+}
+
+@media ( max-width: 59.999999em ) {
+
+ .devhub-wrap {
+ max-width: 100%;
+ width: 100%;
+
+ .site-main,
+ .inner-wrap {
+ max-width: 100%;
+ padding: 0 1%;
+ }
+
+ }
+}
+
+
+
+/*
+ * Content
+ *
+ */
+.has-sidebar.content-area {
+ float: none;
+ margin: 0 auto;
+ width: 60em;
+}
+
+.has-sidebar {
+
+ .site-main {
+ float: right;
+ width: 67%;
+ margin: 0;
+ clear: none;
+ padding: 0 12px;
+ padding: 0 1.2rem;
+ }
+ .widget-area {
+ float: left;
+ overflow: hidden;
+ width: 30%;
+ margin-left: -55px;
+ margin: 0;
+ clear: none;
+
+ .widget {
+ width: 100%;
+ }
+ }
+
+}
+
+@media ( max-width: 60em ) {
+ .has-sidebar.content-area {
+ width: 100%;
+ }
+}
+
+@media ( max-width: 43em ) {
+
+ .has-sidebar {
+
+ .site-main {
+ float: right;
+ width: 96%;
+ margin: 0 auto;
+ clear: both;
+ padding: 0 12px;
+ padding: 0 1.2rem;
+ }
+ .widget-area {
+ float: none;
+ overflow: hidden;
+ width: 80%;
+ margin: 0 auto;
+ clear: both;
+
+ .widget {
+ width: 100%;
+ }
+ }
+ }
+
+}
</ins></span></pre></div>
<a id="sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporgdeveloperpagehomelandingphp"></a>
<div class="addfile"><h4>Added: sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/page-home-landing.php (0 => 554)</h4>
<pre class="diff"><span>
<span class="info">--- sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/page-home-landing.php (rev 0)
+++ sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/page-home-landing.php 2014-04-24 22:19:39 UTC (rev 554)
</span><span class="lines">@@ -0,0 +1,103 @@
</span><ins>+<?php
+/**
+ * The template for displaying the Code Reference landing page.
+ *
+ * Template Name: Home
+ *
+ * @package wporg-developer
+ */
+
+// Temporarily redirect to reference until other section become live, justifying a main landing page.
+wp_redirect( get_permalink( get_page_by_path( 'reference' ) ) );
+exit();
+
+get_header(); ?>
+
+ <div id="primary" class="content-area">
+
+ <div class="home-landing">
+
+ <div class="handbook-banner section blue clear color">
+ <div class="inner-wrap two-columns">
+ <div class="widget box box-left transparent">
+ <h3 class="widget-title"><div class="dashicons dashicons-welcome-widgets-menus"></div><?php _e( 'Themes', 'wporg' ); ?></h3>
+ <p class="widget-description"><?php _e( 'Want to know all there is to know about theming and WordPress?', 'wporg' ); ?></p>
+ <a href="#" class="themes-go get-started go button"><?php _e( 'Develop Themes ', 'wporg' ); ?><span class="dashicons dashicons-arrow-right-alt2"></span></a>
+ </div>
+ <div class="widget box box-right transparent">
+ <h3 class="widget-title"><div class="dashicons dashicons-admin-plugins"></div><?php _e( 'Plugins', 'wporg' ); ?></h3>
+ <p class="widget-description"><?php _e( 'Ready to dive deep into the world of plugin authoring?', 'wporg' ); ?></p>
+ <a href="#" class="plugins-go get-started go button"><?php _e( 'Develop Plugins ', 'wporg' ); ?><span class="dashicons dashicons-arrow-right-alt2"></span></a>
+ </div>
+ </div>
+ </div><!-- /topic-guide -->
+
+ <div class="code-reference-banner section gray clear color">
+ <div class="inner-wrap">
+ <div class="widget transparent">
+ <div class="code-ref-left">
+ <h3 class="widget-title"><div class="dashicons dashicons-editor-alignleft"></div><?php _e( ' Code Reference', 'wporg' ); ?></h3>
+ <p class="widget-description"><?php _e( 'Search the codebase for documentation', 'wporg' ); ?></p>
+ </div>
+ <div class="code-ref-right">
+ <a href="<?php echo home_url( '/reference' ); ?>" class="codex-go go button"><?php _e( 'Visit the Reference ', 'wporg' ); ?><span class="dashicons dashicons-arrow-right-alt2"></span></a>
+ </div>
+ </div>
+ </div>
+ </div><!-- /new-in-guide -->
+
+
+ <main id="main" class="site-main section" role="main">
+
+ <?php while ( have_posts() ) : the_post(); ?>
+
+ <div id="post-<?php the_ID(); ?>" class="home-primary-content">
+ <header class="entry-header">
+ <h1 class="entry-title"><?php the_title(); ?></h1>
+ </header><!-- .entry-header -->
+
+ <div class="entry-content">
+ <?php the_content(); ?>
+ <?php
+ wp_link_pages( array(
+ 'before' => '<div class="page-links">' . __( 'Pages:', 'wporg' ),
+ 'after' => '</div>',
+ ) );
+ ?>
+ </div><!-- .entry-content -->
+ <?php edit_post_link( __( 'Edit', 'wporg' ), '<footer class="entry-meta"><span class="edit-link">', '</span></footer>' ); ?>
+ </div><!-- #post-## -->
+
+ <?php endwhile; // end of the loop. ?>
+
+ </main><!-- #main -->
+
+
+ <div class="search-guide section light-gray clear">
+ <div class="inner-wrap three-columns">
+ <div class="widget box">
+ <h4 class="widget-title"><?php _e( 'Need Help?', 'devhub' ); ?></h4>
+ <ul class="unordered-list no-bullets">
+ <li><a href="#">WPHackers Mailing List</a></li>
+ <li><a href="#">WordPress Stack Exchange</a></li>
+ <li><a href="#">Core Contributor Handbook</a></li>
+ </ul>
+ </div>
+ <div class="widget box">
+ <h4 class="widget-title"><?php _e( 'More Resources', 'devhub' ); ?></h4>
+ <ul class="unordered-list no-bullets">
+ <li><a href="#">Intro To WordPress Development</a></li>
+ <li><a href="#">Setting Up Your Development Environment</a></li>
+ <li><a href="#">WordPress Coding Standards</a></li>
+ </ul>
+ </div>
+ <div class="widget box">
+ <h4 class="widget-title"><a href="#"><?php _e( 'Help Make WordPress ', 'devhub' ); ?><div class="dashicons dashicons-arrow-right-alt2"></div></a></h4>
+ </div>
+ </div>
+ </div><!-- /search-guide -->
+
+ </div><!-- /home-landing -->
+ </div><!-- #primary -->
+
+<?php get_footer(); ?>
</ins><span class="cx">Property changes on: sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/page-home-landing.php
</span><span class="cx">___________________________________________________________________
</span></span></pre></div>
<a id="svneolstyle"></a>
<div class="addfile"><h4>Added: svn:eol-style</h4></div>
<ins>+native
</ins><span class="cx">\ No newline at end of property
</span><a id="svnexecutable"></a>
<div class="addfile"><h4>Added: svn:executable</h4></div>
<ins>+*
</ins><span class="cx">\ No newline at end of property
</span><a id="sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporgdeveloperpagereferencelandingphp"></a>
<div class="addfile"><h4>Added: sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/page-reference-landing.php (0 => 554)</h4>
<pre class="diff"><span>
<span class="info">--- sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/page-reference-landing.php (rev 0)
+++ sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/page-reference-landing.php 2014-04-24 22:19:39 UTC (rev 554)
</span><span class="lines">@@ -0,0 +1,89 @@
</span><ins>+<?php
+/**
+ * The template for displaying the Code Reference landing page.
+ *
+ * Template Name: Reference
+ *
+ * @package wporg-developer
+ */
+
+get_header(); ?>
+
+ <div id="primary" class="content-area">
+ <main id="main" class="site-main" role="main">
+
+ <div class="reference-landing">
+ <div class="search-guide section clear">
+ <h4 class="ref-intro"><?php _e( 'Want to know what's going on inside WordPress? Search the Code Reference for more information about WordPress' functions, classes, methods, hooks, and filters.', 'wporg' ); ?></h4>
+ <h3 class="search-intro"><?php _e( 'Try it out:', 'wporg' ); ?></h3>
+ <?php get_search_form(); ?>
+ </div><!-- /search-guide -->
+
+ <div class="topic-guide section">
+ <h4><?php _e( 'Or browse through topics:', 'wporg' ); ?></h4>
+ <ul class="unordered-list horizontal-list no-bullets">
+ <li><a href="<?php echo get_post_type_archive_link( 'wp-parser-function' ) ?>"><?php _e( 'Functions', 'wporg' ); ?></a></li>
+ <li><a href="<?php echo get_post_type_archive_link( 'wp-parser-hook' ) ?>"><?php _e( 'Hooks', 'wporg' ); ?></a></li>
+ <li><a href="<?php echo get_post_type_archive_link( 'wp-parser-class' ) ?>"><?php _e( 'Classes', 'wporg' ); ?></a></li>
+ <li><a href="<?php echo get_post_type_archive_link( 'wp-parser-method' ) ?>"><?php _e( 'Methods', 'wporg' ); ?></a></li>
+ </ul>
+ </div><!-- /topic-guide -->
+
+ <div class="new-in-guide section two-columns clear">
+ <div class="widget box gray">
+ <h3 class="widget-title"><?php $version = DevHub\get_current_version(); printf( __( 'New in WordPress %s:', 'wporg' ), $version->name ); ?></h3>
+ <div class="widget-content">
+ <ul class="unordered-list no-bullets">
+ <?php
+
+ $list = new WP_Query( array(
+ 'posts_per_page' => 10,
+ 'post_type' => array( 'wp-parser-function', 'wp-parser-hook', 'wp-parser-class', 'wp-parser-method' ),
+ 'orderby' => 'title',
+ 'order' => 'ASC',
+ 'tax_query' => array( array(
+ 'taxonomy' => 'wp-parser-since',
+ 'field' => 'ids',
+ 'terms' => $version->term_id,
+ ) ),
+ ) );
+
+ while ( $list->have_posts() ) : $list->the_post();
+
+ echo '<li><a href="' . get_permalink() . '">' . get_the_title() . '</a></li>';
+
+ endwhile;
+ ?>
+ </ul>
+ </div>
+ </div>
+ <div class="widget box gray">
+ <h3 class="widget-title"><?php _e( 'API', 'wporg' ); ?></h3>
+ <div class="widget-content">
+ <ul class="unordered-list no-bullets">
+ <li><a href="https://codex.wordpress.org/Dashboard_Widgets_API">Dashboard widgets</a></li>
+ <li><a href="https://codex.wordpress.org/Database_API">Database</a></li>
+ <li><a href="https://codex.wordpress.org/HTTP_API">HTTP API</a></li>
+ <li><a href="https://codex.wordpress.org/Filesystem_API">Filesystem</a></li>
+ <li><a href="https://codex.wordpress.org/Metadata_API">Metadata</a></li>
+ <li><a href="https://codex.wordpress.org/Options_API">Options</a></li>
+ <li><a href="https://codex.wordpress.org/Plugin_API">Plugins</a></li>
+ <li><a href="https://codex.wordpress.org/Quicktags_API">Quicktags</a></li>
+ <li><a href="https://codex.wordpress.org/Rewrite_API">Rewrite</a></li>
+ <li><a href="https://codex.wordpress.org/Rewrite_API">Settings</a></li>
+ <li><a href="https://codex.wordpress.org/Shortcode_API">Shortcode</a></li>
+ <li><a href=""https://codex.wordpress.org/Shortcode_API"https://codex.wordpress.org/Theme_Modification_API">Theme Modification</a></li>
+ <li><a href="https://codex.wordpress.org/Transients_API">Transients</a></li>
+ <li><a href="https://codex.wordpress.org/XML-RPC_WordPress_API">XML-RPC</a></li>
+
+ </ul>
+ </div>
+ </div>
+ </div><!-- /new-in-guide -->
+
+ </div><!-- /reference-landing -->
+
+ </main><!-- #main -->
+ </div><!-- #primary -->
+
+<?php get_footer(); ?>
</ins><span class="cx">Property changes on: sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/page-reference-landing.php
</span><span class="cx">___________________________________________________________________
</span></span></pre></div>
<a id="svneolstyle"></a>
<div class="addfile"><h4>Added: svn:eol-style</h4></div>
<ins>+native
</ins><span class="cx">\ No newline at end of property
</span><a id="svnexecutable"></a>
<div class="addfile"><h4>Added: svn:executable</h4></div>
<ins>+*
</ins><span class="cx">\ No newline at end of property
</span><a id="sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporgdeveloperpagephp"></a>
<div class="addfile"><h4>Added: sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/page.php (0 => 554)</h4>
<pre class="diff"><span>
<span class="info">--- sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/page.php (rev 0)
+++ sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/page.php 2014-04-24 22:19:39 UTC (rev 554)
</span><span class="lines">@@ -0,0 +1,34 @@
</span><ins>+<?php
+/**
+ * The template for displaying all pages.
+ *
+ * This is the template that displays all pages by default.
+ * Please note that this is the WordPress construct of pages
+ * and that other 'pages' on your WordPress site will use a
+ * different template.
+ *
+ * @package wporg-developer
+ */
+
+get_header(); ?>
+
+ <div id="primary" class="content-area has-sidebar">
+ <main id="main" class="site-main" role="main">
+
+ <?php while ( have_posts() ) : the_post(); ?>
+
+ <?php get_template_part( 'content', 'page' ); ?>
+
+ <?php
+ // If comments are open or we have at least one comment, load up the comment template
+ if ( comments_open() || '0' != get_comments_number() ) :
+ comments_template();
+ endif;
+ ?>
+
+ <?php endwhile; // end of the loop. ?>
+
+ </main><!-- #main -->
+ <?php get_sidebar(); ?>
+ </div><!-- #primary -->
+<?php get_footer(); ?>
</ins><span class="cx">Property changes on: sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/page.php
</span><span class="cx">___________________________________________________________________
</span></span></pre></div>
<a id="svneolstyle"></a>
<div class="addfile"><h4>Added: svn:eol-style</h4></div>
<ins>+native
</ins><span class="cx">\ No newline at end of property
</span><a id="svnexecutable"></a>
<div class="addfile"><h4>Added: svn:executable</h4></div>
<ins>+*
</ins><span class="cx">\ No newline at end of property
</span><a id="sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporgdeveloperrtlcss"></a>
<div class="addfile"><h4>Added: sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/rtl.css (0 => 554)</h4>
<pre class="diff"><span>
<span class="info">--- sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/rtl.css (rev 0)
+++ sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/rtl.css 2014-04-24 22:19:39 UTC (rev 554)
</span><span class="lines">@@ -0,0 +1,17 @@
</span><ins>+/*
+Theme Name: wporg-developer
+
+Adding support for language written in a Right To Left (RTL) direction is easy -
+it's just a matter of overwriting all the horizontal positioning attributes
+of your CSS stylesheet in a separate stylesheet file named rtl.css.
+
+http://codex.wordpress.org/Right_to_Left_Language_Support
+
+*/
+
+/*
+body {
+ direction: rtl;
+ unicode-bidi: embed;
+}
+*/
</ins><span class="cx">\ No newline at end of file
</span><span class="cx">Property changes on: sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/rtl.css
</span><span class="cx">___________________________________________________________________
</span></span></pre></div>
<a id="svneolstyle"></a>
<div class="addfile"><h4>Added: svn:eol-style</h4></div>
<ins>+native
</ins><span class="cx">\ No newline at end of property
</span><a id="svnexecutable"></a>
<div class="addfile"><h4>Added: svn:executable</h4></div>
<ins>+*
</ins><span class="cx">\ No newline at end of property
</span><a id="sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporgdeveloperscreenshotpng"></a>
<div class="binary"><h4>Added: sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/screenshot.png</h4>
<pre class="diff"><span>
<span class="cx">(Binary files differ)
</span></span></pre></div>
<span class="cx">Index: sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/screenshot.png
</span><span class="cx">===================================================================
</span><del>--- sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/screenshot.png 2014-04-24 15:05:48 UTC (rev 553)
</del><ins>+++ sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/screenshot.png 2014-04-24 22:19:39 UTC (rev 554)
</ins><span class="cx">Property changes on: sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/screenshot.png
</span><span class="cx">___________________________________________________________________
</span><a id="svnmimetype"></a>
<div class="addfile"><h4>Added: svn:mime-type</h4></div>
<ins>+image/png
</ins><span class="cx">\ No newline at end of property
</span><a id="svnexecutable"></a>
<div class="addfile"><h4>Added: svn:executable</h4></div>
<ins>+*
</ins><span class="cx">\ No newline at end of property
</span><a id="sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporgdevelopersearchphp"></a>
<div class="addfile"><h4>Added: sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/search.php (0 => 554)</h4>
<pre class="diff"><span>
<span class="info">--- sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/search.php (rev 0)
+++ sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/search.php 2014-04-24 22:19:39 UTC (rev 554)
</span><span class="lines">@@ -0,0 +1,37 @@
</span><ins>+<?php namespace DevHub;
+/**
+ * The template for displaying Search Results pages.
+ *
+ * @package wporg-developer
+ */
+
+get_header(); ?>
+
+ <div id="primary" class="content-area">
+
+ <header class="page-header">
+ <h1 class="page-title"><?php printf( __( 'Search Results for: %s', 'wporg' ), '<span>' . get_search_query() . '</span>' ); ?></h1>
+ </header><!-- .page-header -->
+ <main id="main" class="site-main" role="main">
+
+ <?php if ( have_posts() ) : ?>
+
+ <?php /* Start the Loop */ ?>
+ <?php while ( have_posts() ) : the_post(); ?>
+
+ <?php get_template_part( 'content', get_template_part_name() ); ?>
+
+ <?php endwhile; ?>
+
+ <?php wporg_developer_paging_nav(); ?>
+
+ <?php else : ?>
+
+ <?php get_template_part( 'content', 'none' ); ?>
+
+ <?php endif; ?>
+
+ </main><!-- #main -->
+ <?php //get_sidebar(); ?>
+ </div><!-- #primary -->
+<?php get_footer(); ?>
</ins><span class="cx">Property changes on: sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/search.php
</span><span class="cx">___________________________________________________________________
</span></span></pre></div>
<a id="svneolstyle"></a>
<div class="addfile"><h4>Added: svn:eol-style</h4></div>
<ins>+native
</ins><span class="cx">\ No newline at end of property
</span><a id="svnexecutable"></a>
<div class="addfile"><h4>Added: svn:executable</h4></div>
<ins>+*
</ins><span class="cx">\ No newline at end of property
</span><a id="sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporgdevelopersearchformphp"></a>
<div class="addfile"><h4>Added: sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/searchform.php (0 => 554)</h4>
<pre class="diff"><span>
<span class="info">--- sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/searchform.php (rev 0)
+++ sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/searchform.php 2014-04-24 22:19:39 UTC (rev 554)
</span><span class="lines">@@ -0,0 +1,14 @@
</span><ins>+<?php
+/**
+ * The template for displaying search forms in wporg-developer
+ *
+ * @package wporg-developer
+ */
+?>
+<form role="search" method="get" class="searchform" action="<?php echo esc_url( home_url( '/' ) ); ?>">
+ <label>
+ <span class="screen-reader-text"><?php _ex( 'Search for:', 'label', 'wporg' ); ?></span>
+ <input type="text" class="search-field" placeholder="<?php echo esc_attr_x( 'Search …', 'placeholder', 'wporg' ); ?>" value="<?php echo esc_attr( get_search_query() ); ?>" name="s">
+ </label>
+ <input type="submit" class="shiny-blue search-submit" value="<?php echo esc_attr_x( 'Search', 'submit button', 'wporg' ); ?>">
+</form>
</ins><span class="cx">Property changes on: sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/searchform.php
</span><span class="cx">___________________________________________________________________
</span></span></pre></div>
<a id="svneolstyle"></a>
<div class="addfile"><h4>Added: svn:eol-style</h4></div>
<ins>+native
</ins><span class="cx">\ No newline at end of property
</span><a id="svnexecutable"></a>
<div class="addfile"><h4>Added: svn:executable</h4></div>
<ins>+*
</ins><span class="cx">\ No newline at end of property
</span><a id="sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporgdevelopersidebarphp"></a>
<div class="addfile"><h4>Added: sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/sidebar.php (0 => 554)</h4>
<pre class="diff"><span>
<span class="info">--- sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/sidebar.php (rev 0)
+++ sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/sidebar.php 2014-04-24 22:19:39 UTC (rev 554)
</span><span class="lines">@@ -0,0 +1,33 @@
</span><ins>+<?php
+/**
+ * The Sidebar containing the main widget areas.
+ *
+ * @package wporg-developer
+ */
+?>
+ <div id="secondary" class="widget-area sidebar section" role="complementary">
+ <?php do_action( 'before_sidebar' ); ?>
+ <?php if ( ! dynamic_sidebar( 'sidebar-1' ) ) : ?>
+
+ <aside id="search" class="box gray widget widget_search">
+ <?php get_search_form(); ?>
+ </aside>
+
+ <aside id="archives" class="box gray widget">
+ <h1 class="widget-title"><?php _e( 'Archives', 'wporg' ); ?></h1>
+ <ul>
+ <?php wp_get_archives( array( 'type' => 'monthly' ) ); ?>
+ </ul>
+ </aside>
+
+ <aside id="meta" class="box gray widget">
+ <h1 class="widget-title"><?php _e( 'Meta', 'wporg' ); ?></h1>
+ <ul>
+ <?php wp_register(); ?>
+ <li><?php wp_loginout(); ?></li>
+ <?php wp_meta(); ?>
+ </ul>
+ </aside>
+
+ <?php endif; // end sidebar widget area ?>
+ </div><!-- #secondary -->
</ins><span class="cx">Property changes on: sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/sidebar.php
</span><span class="cx">___________________________________________________________________
</span></span></pre></div>
<a id="svnexecutable"></a>
<div class="addfile"><h4>Added: svn:executable</h4></div>
<ins>+*
</ins><span class="cx">\ No newline at end of property
</span><a id="svneolstyle"></a>
<div class="addfile"><h4>Added: svn:eol-style</h4></div>
<ins>+native
</ins><span class="cx">\ No newline at end of property
</span><a id="sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporgdevelopersinglepostphp"></a>
<div class="addfile"><h4>Added: sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/single-post.php (0 => 554)</h4>
<pre class="diff"><span>
<span class="info">--- sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/single-post.php (rev 0)
+++ sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/single-post.php 2014-04-24 22:19:39 UTC (rev 554)
</span><span class="lines">@@ -0,0 +1,34 @@
</span><ins>+<?php
+/**
+ * The Template for displaying all single posts.
+ *
+ * @package wporg-developer
+ */
+
+get_header(); ?>
+
+ <div id="primary" class="content-area has-sidebar">
+
+ <header class="page-header">
+ <h1 class="page-title"><?php _e( 'Handbook', 'wporg' ); ?></h1>
+ </header><!-- .page-header -->
+
+ <main id="main" class="site-main" role="main">
+
+ <?php while ( have_posts() ) : the_post(); ?>
+
+ <?php get_template_part( 'content', 'single' ); ?>
+
+ <?php
+ // If comments are open or we have at least one comment, load up the comment template
+ if ( comments_open() || '0' != get_comments_number() ) :
+ comments_template();
+ endif;
+ ?>
+
+ <?php endwhile; // end of the loop. ?>
+
+ </main><!-- #main -->
+ <?php get_sidebar(); ?>
+ </div><!-- #primary -->
+<?php get_footer(); ?>
</ins><span class="cx">\ No newline at end of file
</span><span class="cx">Property changes on: sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/single-post.php
</span><span class="cx">___________________________________________________________________
</span></span></pre></div>
<a id="svneolstyle"></a>
<div class="addfile"><h4>Added: svn:eol-style</h4></div>
<ins>+native
</ins><span class="cx">\ No newline at end of property
</span><a id="sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporgdevelopersinglephp"></a>
<div class="addfile"><h4>Added: sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/single.php (0 => 554)</h4>
<pre class="diff"><span>
<span class="info">--- sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/single.php (rev 0)
+++ sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/single.php 2014-04-24 22:19:39 UTC (rev 554)
</span><span class="lines">@@ -0,0 +1,31 @@
</span><ins>+<?php namespace DevHub;
+/**
+ * The Template for displaying all single posts.
+ *
+ * @package wporg-developer
+ */
+
+get_header(); ?>
+
+ <div id="primary" class="content-area">
+
+ <main id="main" class="site-main" role="main">
+ <?php breadcrumb_trail(); ?>
+
+ <?php while ( have_posts() ) : the_post(); ?>
+
+ <?php get_template_part( 'content', get_template_part_name() ); ?>
+
+ <?php
+ // If comments are open or we have at least one comment, load up the comment template
+ if ( comments_open() || '0' != get_comments_number() ) :
+ comments_template();
+ endif;
+ ?>
+
+ <?php endwhile; // end of the loop. ?>
+
+ </main><!-- #main -->
+ <?php //get_sidebar(); ?>
+ </div><!-- #primary -->
+<?php get_footer(); ?>
</ins><span class="cx">\ No newline at end of file
</span><span class="cx">Property changes on: sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/single.php
</span><span class="cx">___________________________________________________________________
</span></span></pre></div>
<a id="svneolstyle"></a>
<div class="addfile"><h4>Added: svn:eol-style</h4></div>
<ins>+native
</ins><span class="cx">\ No newline at end of property
</span><a id="svnexecutable"></a>
<div class="addfile"><h4>Added: svn:executable</h4></div>
<ins>+*
</ins><span class="cx">\ No newline at end of property
</span><a id="sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporgdeveloperstylecss"></a>
<div class="modfile"><h4>Modified: sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/style.css (553 => 554)</h4>
<pre class="diff"><span>
<span class="info">--- sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/style.css 2014-04-24 15:05:48 UTC (rev 553)
+++ sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/style.css 2014-04-24 22:19:39 UTC (rev 554)
</span><span class="lines">@@ -1,113 +1,23 @@
</span><span class="cx"> /*
</span><del>-Theme Name: WordPress.org Developer Resources
-Theme URI: http://developer.wordpress.org/
-Description: Theme for developer.wordpress.org and the code reference.
-Author: the WordPress team
-Author URI: http://wordpress.org/
-Version: 1.0-beta
-*/
</del><ins>+Theme Name: wporg-developer
+Theme URI: http://underscores.me/
+Author: Underscores.me
+Author URI: http://underscores.me/
+Description: Description
+Version: 1.0
+License: GNU General Public License
+License URI: license.txt
+Text Domain: wporg-developer
+Domain Path: /languages/
+Tags:
</ins><span class="cx">
</span><del>-p.bbcrumb {
- margin: 1em 12px;
-}
</del><ins>+This theme, like WordPress, is licensed under the GPL.
+Use it to make something cool, have fun, and share what you've learned with others.
</ins><span class="cx">
</span><del>-article.wpapi-function {
- clear: both;
- padding: 0 12px;
- font-size:1.3em;
- margin: 1em 0 4em;
-}
</del><ins>+ wporg-developer is based on Underscores http://underscores.me/, (C) 2012-2013 Automattic, Inc.
</ins><span class="cx">
</span><del>-article.wpapi-function h1 {
- font-family: 'Droid Sans Mono', Courier New, monospace;
- font-size: 1.6em;
- margin: 1em 0;
-}
-article.wpapi-function h1:after {
- content: '()';
-}
-
-article.wpapi-function .wpfuncref-prototype {
- font-family: 'Droid Sans Mono', Courier New, Monospace;
- font-size: 1.1em;
- margin: 1em 0;
-}
-
-article.wpapi-function .wpfuncref-prototype span.type {
- font-style: italic;
-}
-
-article.wpapi-function .wpfuncref-prototype span.variable {
- color: #21759b;
-}
-
-article.wpapi-function .wpfuncref-description {
- font-size: 1.4em;
- font-weight: normal;
-}
-article.wpapi-function h3 {
- padding: 1em 0 0.5em;
- font-size: 1.7em;
-}
-article.wpapi-function .wpfuncref-longdesc p {
- margin: 1em 0;
-}
-article.wpapi-function dl {
-
-}
-
-article.wpapi-function dl dt {
- font-weight: 700;
- font-family: 'Droid Sans Mono', Courier New, Monospace;
-}
-
-article.wpapi-function dl dd {
- padding: 0 0 1em 1em;
- font-style: italic;
-}
-
-article.wpapi-function .wpfuncref-arguments h4 {
- border: 0;
- padding: 0;
- margin: 0;
-}
-article.wpapi-function .wpfuncref-arg {
- margin-bottom: 1em;
-}
-article.
-#comments .comment {
- padding-bottom: 5px;
- margin-bottom: 10px;
-}
-
-#comments label {
- display: block;
-}
-
-#comments #ace-editor {
- width: 60%;
- height: 250px;
- border: 1px solid #ccc;
- border-radius: 3px;
- margin-bottom: 5px;
-}
-
-#comments .comment .example-content {
- margin-bottom: .5em;
-}
-
-#comments .comment-author {
- padding: 10px 5px;
- height: 12px;
- font-size: 12px;
-}
-
-#comments .comment-author img {
- height: 32px;
- width: auto;
- margin: -10px 5px;
-}
-
-#comments .comment-author {
-
-}
</del><ins>+Resetting and rebuilding styles have been helped along thanks to the fine work of
+Eric Meyer http://meyerweb.com/eric/tools/css/reset/index.html
+along with Nicolas Gallagher and Jonathan Neal http://necolas.github.com/normalize.css/
+and Blueprint http://www.blueprintcss.org/
+*/
</ins></span></pre>
</div>
</div>
</body>
</html>