Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Initial import

  • Loading branch information...
commit 0dacf2895a6044524e2b42f788a8674344bc92a0 0 parents
Mark A. Matienzo authored
Showing with 8,414 additions and 0 deletions.
  1. +48 −0 404.php
  2. +72 −0 archive.php
  3. +89 −0 author.php
  4. +65 −0 category.php
  5. +618 −0 colors/dark.css
  6. +77 −0 comments.php
  7. +46 −0 content-aside.php
  8. +47 −0 content-featured.php
  9. +92 −0 content-gallery.php
  10. +70 −0 content-image.php
  11. +21 −0 content-intro.php
  12. +46 −0 content-link.php
  13. +23 −0 content-page.php
  14. +74 −0 content-quote.php
  15. +71 −0 content-single.php
  16. +47 −0 content-status.php
  17. +84 −0 content.php
  18. +24 −0 editor-style-rtl.css
  19. +308 −0 editor-style.css
  20. +54 −0 feed-atom.php
  21. +54 −0 feed-rdf.php
  22. +31 −0 feed-rss.php
  23. +60 −0 feed-rss2.php
  24. +34 −0 footer.php
  25. +593 −0 functions.php
  26. +123 −0 header.php
  27. +101 −0 image.php
  28. BIN  images/comment-arrow-bypostauthor-dark-rtl.png
  29. BIN  images/comment-arrow-bypostauthor-dark.png
  30. BIN  images/comment-arrow-bypostauthor-rtl.png
  31. BIN  images/comment-arrow-bypostauthor.png
  32. BIN  images/comment-arrow-dark-rtl.png
  33. BIN  images/comment-arrow-dark.png
  34. BIN  images/comment-arrow-rtl.png
  35. BIN  images/comment-arrow.png
  36. BIN  images/comment-bubble-dark-rtl.png
  37. BIN  images/comment-bubble-dark.png
  38. BIN  images/comment-bubble-rtl.png
  39. BIN  images/comment-bubble.png
  40. BIN  images/headers/chessboard-thumbnail.jpg
  41. BIN  images/headers/chessboard.jpg
  42. BIN  images/headers/hanoi-thumbnail.jpg
  43. BIN  images/headers/hanoi.jpg
  44. BIN  images/headers/lanterns-thumbnail.jpg
  45. BIN  images/headers/lanterns.jpg
  46. BIN  images/headers/pine-cone-thumbnail.jpg
  47. BIN  images/headers/pine-cone.jpg
  48. BIN  images/headers/shore-thumbnail.jpg
  49. BIN  images/headers/shore.jpg
  50. BIN  images/headers/trolley-thumbnail.jpg
  51. BIN  images/headers/trolley.jpg
  52. BIN  images/headers/wheel-thumbnail.jpg
  53. BIN  images/headers/wheel.jpg
  54. BIN  images/headers/willow-thumbnail.jpg
  55. BIN  images/headers/willow.jpg
  56. BIN  images/search.png
  57. BIN  images/wordpress.png
  58. BIN  inc/images/content-sidebar.png
  59. BIN  inc/images/content.png
  60. BIN  inc/images/dark.png
  61. BIN  inc/images/light.png
  62. BIN  inc/images/sidebar-content.png
  63. +35 −0 inc/theme-options.css
  64. +52 −0 inc/theme-options.js
  65. +408 −0 inc/theme-options.php
  66. +166 −0 inc/widgets.php
  67. +52 −0 index.php
  68. +3 −0  js/html5.js
  69. +17 −0 js/showcase.js
  70. +654 −0 languages/twentyeleven.pot
  71. +281 −0 license.txt
  72. +29 −0 page.php
  73. +5 −0 readme.txt
  74. +582 −0 rtl.css
  75. BIN  screenshot.jpg
  76. +57 −0 search.php
  77. +14 −0 searchform.php
  78. +220 −0 showcase.php
  79. +42 −0 sidebar-footer.php
  80. +26 −0 sidebar-page.php
  81. +36 −0 sidebar.php
  82. +32 −0 single.php
  83. +2,666 −0 style.css
  84. +65 −0 tag.php
48 404.php
@@ -0,0 +1,48 @@
+<?php
+/**
+ * The template for displaying 404 pages (Not Found).
+ *
+ * @package WordPress
+ * @subpackage Twenty_Eleven
+ * @since Twenty Eleven 1.0
+ */
+
+get_header(); ?>
+
+ <div id="primary">
+ <div id="content" role="main">
+
+ <article id="post-0" class="post error404 not-found">
+ <header class="entry-header">
+ <h1 class="entry-title"><?php _e( 'This is somewhat embarrassing, isn&rsquo;t it?', 'twentyeleven' ); ?></h1>
+ </header>
+
+ <div class="entry-content">
+ <p><?php _e( 'It seems we can&rsquo;t find what you&rsquo;re looking for. Perhaps searching, or one of the links below, can help.', 'twentyeleven' ); ?></p>
+
+ <?php get_search_form(); ?>
+
+ <?php the_widget( 'WP_Widget_Recent_Posts', array( 'number' => 10 ), array( 'widget_id' => '404' ) ); ?>
+
+ <div class="widget">
+ <h2 class="widgettitle"><?php _e( 'Most Used Categories', 'twentyeleven' ); ?></h2>
+ <ul>
+ <?php wp_list_categories( array( 'orderby' => 'count', 'order' => 'DESC', 'show_count' => 1, 'title_li' => '', 'number' => 10 ) ); ?>
+ </ul>
+ </div>
+
+ <?php
+ /* translators: %1$s: smilie */
+ $archive_content = '<p>' . sprintf( __( 'Try looking in the monthly archives. %1$s', 'twentyeleven' ), convert_smilies( ':)' ) ) . '</p>';
+ the_widget( 'WP_Widget_Archives', array('count' => 0 , 'dropdown' => 1 ), array( 'after_title' => '</h2>'.$archive_content ) );
+ ?>
+
+ <?php the_widget( 'WP_Widget_Tag_Cloud' ); ?>
+
+ </div><!-- .entry-content -->
+ </article><!-- #post-0 -->
+
+ </div><!-- #content -->
+ </div><!-- #primary -->
+
+<?php get_footer(); ?>
72 archive.php
@@ -0,0 +1,72 @@
+<?php
+/**
+ * The template for displaying Archive pages.
+ *
+ * Used to display archive-type pages if nothing more specific matches a query.
+ * For example, puts together date-based pages if no date.php file exists.
+ *
+ * Learn more: http://codex.wordpress.org/Template_Hierarchy
+ *
+ * @package WordPress
+ * @subpackage Twenty_Eleven
+ * @since Twenty Eleven 1.0
+ */
+
+get_header(); ?>
+
+ <section id="primary">
+ <div id="content" role="main">
+
+ <?php if ( have_posts() ) : ?>
+
+ <header class="page-header">
+ <h1 class="page-title">
+ <?php if ( is_day() ) : ?>
+ <?php printf( __( 'Daily Archives: %s', 'twentyeleven' ), '<span>' . get_the_date() . '</span>' ); ?>
+ <?php elseif ( is_month() ) : ?>
+ <?php printf( __( 'Monthly Archives: %s', 'twentyeleven' ), '<span>' . get_the_date( 'F Y' ) . '</span>' ); ?>
+ <?php elseif ( is_year() ) : ?>
+ <?php printf( __( 'Yearly Archives: %s', 'twentyeleven' ), '<span>' . get_the_date( 'Y' ) . '</span>' ); ?>
+ <?php else : ?>
+ <?php _e( 'Blog Archives', 'twentyeleven' ); ?>
+ <?php endif; ?>
+ </h1>
+ </header>
+
+ <?php twentyeleven_content_nav( 'nav-above' ); ?>
+
+ <?php /* Start the Loop */ ?>
+ <?php while ( have_posts() ) : the_post(); ?>
+
+ <?php
+ /* Include the Post-Format-specific template for the content.
+ * If you want to overload 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() );
+ ?>
+
+ <?php endwhile; ?>
+
+ <?php twentyeleven_content_nav( 'nav-below' ); ?>
+
+ <?php else : ?>
+
+ <article id="post-0" class="post no-results not-found">
+ <header class="entry-header">
+ <h1 class="entry-title"><?php _e( 'Nothing Found', 'twentyeleven' ); ?></h1>
+ </header><!-- .entry-header -->
+
+ <div class="entry-content">
+ <p><?php _e( 'Apologies, but no results were found for the requested archive. Perhaps searching will help find a related post.', 'twentyeleven' ); ?></p>
+ <?php get_search_form(); ?>
+ </div><!-- .entry-content -->
+ </article><!-- #post-0 -->
+
+ <?php endif; ?>
+
+ </div><!-- #content -->
+ </section><!-- #primary -->
+
+<?php get_sidebar(); ?>
+<?php get_footer(); ?>
89 author.php
@@ -0,0 +1,89 @@
+<?php
+/**
+ * The template for displaying Author Archive pages.
+ *
+ * @package WordPress
+ * @subpackage Twenty_Eleven
+ * @since Twenty Eleven 1.0
+ */
+
+get_header(); ?>
+
+ <section id="primary">
+ <div id="content" role="main">
+
+ <?php if ( have_posts() ) : ?>
+
+ <?php
+ /* Queue the first post, that way we know
+ * what author we're dealing with (if that is the case).
+ *
+ * We reset this later so we can run the loop
+ * properly with a call to rewind_posts().
+ */
+ the_post();
+ ?>
+
+ <header class="page-header">
+ <h1 class="page-title author"><?php printf( __( 'Author Archives: %s', 'twentyeleven' ), '<span class="vcard"><a class="url fn n" href="' . esc_url( get_author_posts_url( get_the_author_meta( "ID" ) ) ) . '" title="' . esc_attr( get_the_author() ) . '" rel="me">' . get_the_author() . '</a></span>' ); ?></h1>
+ </header>
+
+ <?php
+ /* Since we called the_post() above, we need to
+ * rewind the loop back to the beginning that way
+ * we can run the loop properly, in full.
+ */
+ rewind_posts();
+ ?>
+
+ <?php twentyeleven_content_nav( 'nav-above' ); ?>
+
+ <?php
+ // If a user has filled out their description, show a bio on their entries.
+ if ( get_the_author_meta( 'description' ) ) : ?>
+ <div id="author-info">
+ <div id="author-avatar">
+ <?php echo get_avatar( get_the_author_meta( 'user_email' ), apply_filters( 'twentyeleven_author_bio_avatar_size', 60 ) ); ?>
+ </div><!-- #author-avatar -->
+ <div id="author-description">
+ <h2><?php printf( __( 'About %s', 'twentyeleven' ), get_the_author() ); ?></h2>
+ <?php the_author_meta( 'description' ); ?>
+ </div><!-- #author-description -->
+ </div><!-- #entry-author-info -->
+ <?php endif; ?>
+
+ <?php /* Start the Loop */ ?>
+ <?php while ( have_posts() ) : the_post(); ?>
+
+ <?php
+ /* Include the Post-Format-specific template for the content.
+ * If you want to overload 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() );
+ ?>
+
+ <?php endwhile; ?>
+
+ <?php twentyeleven_content_nav( 'nav-below' ); ?>
+
+ <?php else : ?>
+
+ <article id="post-0" class="post no-results not-found">
+ <header class="entry-header">
+ <h1 class="entry-title"><?php _e( 'Nothing Found', 'twentyeleven' ); ?></h1>
+ </header><!-- .entry-header -->
+
+ <div class="entry-content">
+ <p><?php _e( 'Apologies, but no results were found for the requested archive. Perhaps searching will help find a related post.', 'twentyeleven' ); ?></p>
+ <?php get_search_form(); ?>
+ </div><!-- .entry-content -->
+ </article><!-- #post-0 -->
+
+ <?php endif; ?>
+
+ </div><!-- #content -->
+ </section><!-- #primary -->
+
+<?php get_sidebar(); ?>
+<?php get_footer(); ?>
65 category.php
@@ -0,0 +1,65 @@
+<?php
+/**
+ * The template for displaying Category Archive pages.
+ *
+ * @package WordPress
+ * @subpackage Twenty_Eleven
+ * @since Twenty Eleven 1.0
+ */
+
+get_header(); ?>
+
+ <section id="primary">
+ <div id="content" role="main">
+
+ <?php if ( have_posts() ) : ?>
+
+ <header class="page-header">
+ <h1 class="page-title"><?php
+ printf( __( 'Category Archives: %s', 'twentyeleven' ), '<span>' . single_cat_title( '', false ) . '</span>' );
+ ?></h1>
+
+ <?php
+ $category_description = category_description();
+ if ( ! empty( $category_description ) )
+ echo apply_filters( 'category_archive_meta', '<div class="category-archive-meta">' . $category_description . '</div>' );
+ ?>
+ </header>
+
+ <?php twentyeleven_content_nav( 'nav-above' ); ?>
+
+ <?php /* Start the Loop */ ?>
+ <?php while ( have_posts() ) : the_post(); ?>
+
+ <?php
+ /* Include the Post-Format-specific template for the content.
+ * If you want to overload 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() );
+ ?>
+
+ <?php endwhile; ?>
+
+ <?php twentyeleven_content_nav( 'nav-below' ); ?>
+
+ <?php else : ?>
+
+ <article id="post-0" class="post no-results not-found">
+ <header class="entry-header">
+ <h1 class="entry-title"><?php _e( 'Nothing Found', 'twentyeleven' ); ?></h1>
+ </header><!-- .entry-header -->
+
+ <div class="entry-content">
+ <p><?php _e( 'Apologies, but no results were found for the requested archive. Perhaps searching will help find a related post.', 'twentyeleven' ); ?></p>
+ <?php get_search_form(); ?>
+ </div><!-- .entry-content -->
+ </article><!-- #post-0 -->
+
+ <?php endif; ?>
+
+ </div><!-- #content -->
+ </section><!-- #primary -->
+
+<?php get_sidebar(); ?>
+<?php get_footer(); ?>
618 colors/dark.css
@@ -0,0 +1,618 @@
+/*
+ A dark color scheme for Twenty Eleven
+*/
+
+/* =Global
+----------------------------------------------- */
+
+body {
+ background: #1d1d1d;
+ color: #bbb;
+}
+#page {
+ background: #0f0f0f;
+}
+
+/* Headings */
+hr {
+ background-color: #333;
+}
+
+/* Text elements */
+blockquote cite {
+ color: #999;
+}
+pre {
+ background: #0b0b0b;
+}
+code, kbd {
+ font: 13px Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
+}
+abbr, acronym, dfn {
+ border-bottom: 1px dotted #999;
+}
+ins {
+ background: #00063f;
+}
+input[type=text],
+.post-password-required input[type=password],
+textarea {
+ border: 1px solid #222;
+}
+input[type=text]:focus,
+textarea:focus {
+}
+input#s {
+ background-color: #ddd;
+}
+
+/* Links */
+a {
+}
+
+
+/* =Header
+----------------------------------------------- */
+
+#branding {
+ border-top: 2px solid #0a0a0a;
+}
+#site-title a {
+ color: #eee;
+}
+#site-title a:hover,
+#site-title a:focus,
+#site-title a:active {
+}
+#site-description {
+ color: #858585;
+}
+#branding #s {
+ background-color: #ddd;
+}
+
+
+/* =Menu
+----------------------------------------------- */
+
+#access {
+ background: #333; /* Show a solid color for older browsers */
+ background: -moz-linear-gradient(#383838, #272727);
+ background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#383838), to(#272727)); /* older webkit syntax */
+ background: -webkit-linear-gradient(#383838, #272727);
+ border-bottom: 1px solid #222;
+}
+
+/* =Content
+----------------------------------------------- */
+
+.page-title {
+ color: #ccc;
+}
+.hentry {
+ border-color: #222;
+}
+.entry-title {
+ color: #ddd;
+}
+.entry-title,
+.entry-title a {
+ color: #ddd;
+}
+.entry-title a:hover,
+.entry-title a:focus,
+.entry-title a:active {
+}
+.entry-meta {
+ color: #999;
+}
+.entry-content h1,
+.entry-content h2,
+.comment-content h1,
+.comment-content h2 {
+ color: #fff;
+}
+.entry-content table,
+.comment-content table {
+ border-color: #222;
+}
+.entry-content th,
+.comment-content th {
+ color: #999;
+}
+.entry-content td,
+.comment-content td {
+ border-color: #222;
+}
+.page-link {
+}
+.page-link a {
+ background: #242424;
+ color: #bbb;
+}
+.page-link a:hover {
+ background: #999;
+ color: #000;
+}
+.entry-meta .edit-link a {
+ background: #242424;
+ color: #bbb;
+}
+.entry-meta .edit-link a:hover,
+.entry-meta .edit-link a:focus,
+.entry-meta .edit-link a:active {
+ background: #999;
+ color: #000;
+}
+
+/* Images */
+.wp-caption {
+ background: #2c2c2c;
+}
+.wp-caption .wp-caption-text {
+ color: #999;
+}
+.wp-caption .wp-caption-text:before {
+ color: #999;
+}
+
+/* Image borders */
+img[class*="wp-image-"],
+#content .gallery .gallery-icon img {
+ border-color: #2c2c2c;
+}
+.wp-caption img {
+ border-color: #2c2c2c;
+}
+a:focus img[class*="wp-image-"],
+a:hover img[class*="wp-image-"],
+a:active img[class*="wp-image-"] {
+ background: #2c2c2c;
+ border-color: #444;
+}
+.wp-caption a:focus img,
+.wp-caption a:active img,
+.wp-caption a:hover img {
+ background: #0f0f0f;
+ border-color: #2c2c2c;
+}
+
+/* Password Protected Posts */
+.post-password-required input[type=password] {
+ background: #ddd;
+}
+.post-password-required input[type=password]:focus {
+ background: #fff;
+}
+
+/* Author Info */
+.singular #author-info {
+ background: #060606;
+ border-color: #222;
+}
+.archive #author-info {
+ border-color: #222;
+}
+#author-avatar img {
+ background: #000;
+ -webkit-box-shadow: 0 1px 2px #444;
+ -moz-box-shadow: 0 1px 2px #444;
+ box-shadow: 0 1px 2px #444;
+}
+#author-description h2 {
+ color: #fff;
+}
+
+/* Comments link */
+.entry-header .comments-link a {
+ background: #282828 url(../images/comment-bubble-dark.png) no-repeat;
+ border-color: #222;
+ color: #888;
+}
+
+.rtl .entry-header .comments-link a {
+ background-image: url(../images/comment-bubble-dark-rtl.png);
+}
+/* Singular content styles for Posts and Pages */
+.singular .entry-title {
+ color: #fff;
+}
+
+
+/* =Status
+----------------------------------------------- */
+
+.format-status img.avatar {
+ -webkit-box-shadow: 0 1px 2px #333;
+ -moz-box-shadow: 0 1px 2px #333;
+ box-shadow: 0 1px 2px #333;
+}
+
+
+/* =Quote
+----------------------------------------------- */
+
+.format-quote blockquote {
+ color: #aaa;
+}
+
+
+/* =Image
+----------------------------------------------- */
+
+.indexed.format-image .wp-caption {
+ background: #242424;
+}
+.indexed.format-image .entry-meta .edit-link a {
+ color: #ddd;
+}
+.indexed.format-image .entry-meta .edit-link a:hover {
+ color: #fff;
+}
+
+
+/* =error404
+----------------------------------------------- */
+.error404 #main #searchform {
+ background: #060606;
+ border-color: #222;
+}
+
+
+/* =Showcase
+----------------------------------------------- */
+
+h1.showcase-heading {
+ color: #ccc;
+}
+
+/* Intro */
+article.intro {
+ background: #060606;
+}
+article.intro .entry-content {
+ color: #eee;
+}
+article.intro .edit-link a {
+ background: #555;
+ color: #000;
+}
+article.intro .edit-link a:hover {
+ background: #888;
+}
+
+/* Featured post */
+section.featured-post .hentry {
+ color: #999;
+}
+
+/* Small featured post */
+section.featured-post .attachment-small-feature {
+ border-color: #444;
+}
+section.featured-post .attachment-small-feature:hover {
+ border-color: #777;
+}
+article.feature-image.small .entry-summary {
+ color: #aaa;
+}
+article.feature-image.small .entry-summary p a {
+ background: #ddd;
+ color: #111;
+}
+article.feature-image.small .entry-summary p a:hover {
+ color: #40220c;
+}
+
+/* Large featured post */
+article.feature-image.large .entry-title a {
+ background: #ddd;
+ background: rgba(0,0,0,0.8);
+ color: #fff;
+}
+section.feature-image.large:hover .entry-title a,
+section.feature-image.large .entry-title:hover a {
+ background: #111;
+ background: rgba(255,255,255,0.8);
+ color: #000;
+}
+section.feature-image.large img {
+ border-bottom: 1px solid #222;
+}
+
+/* Featured Slider */
+.featured-posts {
+ border-color: #222;
+}
+.featured-posts section.featured-post {
+ background: #000;
+}
+.featured-post .feature-text:after,
+.featured-post .feature-image.small:after {
+ background: -moz-linear-gradient(top, rgba(0,0,0,0) 0%, rgba(0,0,0,1) 100%); /* FF3.6+ */
+ background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(0,0,0,0)), color-stop(100%,rgba(0,0,0,1))); /* Chrome,Safari4+ */
+ background: -webkit-linear-gradient(top, rgba(0,0,0,0) 0%,rgba(0,0,0,1) 100%); /* Chrome10+,Safari5.1+ */
+ background: -o-linear-gradient(top, rgba(0,0,0,0) 0%,rgba(0,0,0,1) 100%); /* Opera11.10+ */
+ background: -ms-linear-gradient(top, rgba(0,0,0,0) 0%,rgba(0,0,0,1) 100%); /* IE10+ */
+ filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00000000', endColorstr='#000000',GradientType=0 ); /* IE6-9 */
+ background: linear-gradient(top, rgba(0,0,0,0) 0%,rgba(0,0,0,1) 100%); /* W3C */
+}
+.feature-slider a {
+ background: #c3c3c3;
+ background: rgba(60,60,60,0.9);
+ -webkit-box-shadow: inset 1px 1px 5px rgba(0,0,0,0.5), inset 0 0 2px rgba(255,255,255,0.5);
+ -moz-box-shadow: inset 1px 1px 5px rgba(0,0,0,0.5), inset 0 0 2px rgba(255,255,255,0.5);
+ box-shadow: inset 1px 1px 5px rgba(0,0,0,0.5), inset 0 0 2px rgba(255,255,255,0.5);
+}
+.feature-slider a.active {
+ background: #000;
+ background: rgba(255,255,255,0.8);
+ -webkit-box-shadow: inset 1px 1px 5px rgba(0,0,0,0.4), inset 0 0 2px rgba(255,255,255,0.8);
+ -moz-box-shadow: inset 1px 1px 5px rgba(0,0,0,0.4), inset 0 0 2px rgba(255,255,255,0.8);
+ box-shadow: inset 1px 1px 5px rgba(0,0,0,0.4), inset 0 0 2px rgba(255,255,255,0.8);
+}
+
+/* Recent Posts */
+section.recent-posts .other-recent-posts {
+ border-color: #222;
+}
+section.recent-posts .other-recent-posts .entry-title {
+ border-color: #222;
+}
+section.recent-posts .other-recent-posts a[rel="bookmark"] {
+ color: #ccc;
+}
+section.recent-posts .other-recent-posts a[rel="bookmark"]:hover {
+}
+section.recent-posts .other-recent-posts .comments-link a,
+section.recent-posts .other-recent-posts .comments-link > span {
+ border-color: #959595;
+ color: #bbb;
+}
+section.recent-posts .other-recent-posts .comments-link > span {
+ border-color: #444;
+ color: #777;
+}
+section.recent-posts .other-recent-posts .comments-link a:hover {
+}
+
+
+/* =Attachments
+----------------------------------------------- */
+
+.image-attachment div.attachment {
+ background: #060606;
+ border-color: #222;
+}
+.image-attachment div.attachment a img {
+ border-color: #060606;
+}
+.image-attachment div.attachment a:focus img,
+.image-attachment div.attachment a:hover img,
+.image-attachment div.attachment a:active img {
+ border-color: #2c2c2c;
+ background: #0f0f0f;
+}
+
+
+/* =Widgets
+----------------------------------------------- */
+
+.widget-title {
+ color: #ccc;
+}
+.widget ul li {
+ color: #888;
+}
+
+/* Search Widget */
+.widget_search #searchsubmit {
+ background: #222;
+ border-color: #333;
+ -webkit-box-shadow: inset 0px -1px 1px rgba(0, 0, 0, 0.09);
+ -moz-box-shadow: inset 0px -1px 1px rgba(0, 0, 0, 0.09);
+ box-shadow: inset 0px -1px 1px rgba(0, 0, 0, 0.09);
+ color: #777;
+}
+.widget_search #searchsubmit:active {
+ -webkit-box-shadow: inset 0px 1px 1px rgba(0, 0, 0, 0.1);
+ -moz-box-shadow: inset 0px 1px 1px rgba(0, 0, 0, 0.1);
+ box-shadow: inset 0px 1px 1px rgba(0, 0, 0, 0.1);
+ color: #40220c;
+}
+
+/* Calendar Widget */
+.widget_calendar #wp-calendar {
+ color: #aaa;
+}
+.widget_calendar #wp-calendar th {
+ background: #0b0b0b;
+ border-color: #333;
+}
+.widget_calendar #wp-calendar tfoot td {
+ background: #0b0b0b;
+ border-color: #333;
+}
+
+
+/* =Comments
+----------------------------------------------- */
+
+#comments-title {
+ color: #bbb;
+}
+.nocomments {
+ color: #555;
+}
+.commentlist > li.comment {
+ background: #090909;
+ border-color: #222;
+}
+.commentlist .children li.comment {
+ background: #000;
+ border-color: #222;
+}
+.rtl .commentlist .children li.comment {
+ border-color: #222;
+}
+.comment-meta {
+ color: #999;
+}
+a.comment-reply-link {
+ background: #242424;
+ color: #bbb;
+}
+li.bypostauthor a.comment-reply-link {
+ background: #111;
+}
+a.comment-reply-link:hover,
+a.comment-reply-link:focus,
+a.comment-reply-link:active,
+li.bypostauthor a.comment-reply-link:hover,
+li.bypostauthor a.comment-reply-link:focus,
+li.bypostauthor a.comment-reply-link:active {
+ background: #999;
+ color: #000;
+}
+.commentlist > li:before {
+ content: url(../images/comment-arrow-dark.png);
+}
+.rtl .commentlist > li:before {
+ content: url(../images/comment-arrow-dark-rtl.png);
+}
+
+/* Post author highlighting */
+.commentlist > li.bypostauthor {
+ background: #222;
+ border-color: #2c2c2c;
+}
+.commentlist > li.bypostauthor:before {
+ content: url(../images/comment-arrow-bypostauthor-dark.png);
+}
+.rtl .commentlist > li.bypostauthor:before {
+ content: url(../images/comment-arrow-bypostauthor-dark-rtl.png);
+}
+
+/* Post Author threaded comments */
+.commentlist .children > li.bypostauthor {
+ background: #222;
+ border-color: #2c2c2c;
+}
+.commentlist > li.bypostauthor .comment-meta {
+ color: #a8a8a8;
+}
+
+/* Comment Form */
+#respond {
+ background: #222;
+ border-color: #2c2c2c;
+}
+#respond input[type="text"],
+#respond textarea {
+ background: #000;
+ border: 4px solid #111;
+ -webkit-box-shadow: inset 0 1px 3px rgba(51,51,51,0.95);
+ -moz-box-shadow: inset 0 1px 3px rgba(51,51,51,0.95);
+ box-shadow: inset 0 1px 3px rgba(51,51,51,0.95);
+ color: #bbb;
+}
+#respond .comment-form-author label,
+#respond .comment-form-email label,
+#respond .comment-form-url label,
+#respond .comment-form-comment label {
+ background: #111;
+ -webkit-box-shadow: 1px 2px 2px rgba(51,51,51,0.8);
+ -moz-box-shadow: 1px 2px 2px rgba(51,51,51,0.8);
+ box-shadow: 1px 1px 2px rgba(51,51,51,0.8);
+ color: #aaa;
+}
+.rtl #respond .comment-form-author label,
+.rtl #respond .comment-form-email label,
+.rtl #respond .comment-form-url label,
+.rtl #respond .comment-form-comment label {
+ -webkit-box-shadow: -1px 2px 2px rgba(51,51,51,0.8);
+ -moz-box-shadow: -1px 2px 2px rgba(51,51,51,0.8);
+ box-shadow: -1px 1px 2px rgba(51,51,51,0.8);
+}
+#respond .comment-form-author .required,
+#respond .comment-form-email .required {
+ color: #42caff;
+}
+#respond input#submit {
+ background: #ddd;
+ -webkit-box-shadow: 0px 1px 2px rgba(0,0,0,0.3);
+ -moz-box-shadow: 0px 1px 2px rgba(0,0,0,0.3);
+ box-shadow: 0px 1px 2px rgba(0,0,0,0.3);
+ color: #111;
+ text-shadow: 0 -1px 0 rgba(0,0,0,0.3);
+}
+#respond input#submit:active {
+ color: #40220c;
+}
+#respond #cancel-comment-reply-link {
+ color: #999;
+}
+#reply-title {
+ color: #ccc;
+}
+#cancel-comment-reply-link {
+ color: #777;
+}
+#cancel-comment-reply-link:focus,
+#cancel-comment-reply-link:active,
+#cancel-comment-reply-link:hover {
+ color: #00b4cc;
+}
+
+
+/* =Footer
+----------------------------------------------- */
+
+#supplementary {
+ border-color: #222;
+}
+
+/* Site Generator Line */
+#site-generator {
+ background: #060606;
+ border-color: #000;
+}
+
+
+/* =Print
+----------------------------------------------- */
+
+@media print {
+ body {
+ color: #333;
+ background: none !important;
+ }
+ #page {
+ background: none !important;
+ }
+
+ /* Comments */
+ .commentlist > li.comment {
+ }
+
+ /* Post author highlighting */
+ .commentlist > li.bypostauthor {
+ color: #333;
+ }
+ .commentlist > li.bypostauthor .comment-meta {
+ color: #959595;
+ }
+ .commentlist > li:before {
+ content: none !important;
+ }
+
+ /* Post Author threaded comments */
+ .commentlist .children > li.bypostauthor {
+ background: #fff;
+ border-color: #ddd;
+ }
+ .commentlist .children > li.bypostauthor > article,
+ .commentlist .children > li.bypostauthor > article .comment-meta {
+ color: #959595;
+ }
+}
77 comments.php
@@ -0,0 +1,77 @@
+<?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 twentyeleven_comment() which is
+ * located in the functions.php file.
+ *
+ * @package WordPress
+ * @subpackage Twenty_Eleven
+ * @since Twenty Eleven 1.0
+ */
+?>
+ <div id="comments">
+ <?php if ( post_password_required() ) : ?>
+ <p class="nopassword"><?php _e( 'This post is password protected. Enter the password to view any comments.', 'twentyeleven' ); ?></p>
+ </div><!-- #comments -->
+ <?php
+ /* Stop the rest of comments.php from being processed,
+ * but don't kill the script entirely -- we still have
+ * to fully load the template.
+ */
+ return;
+ endif;
+ ?>
+
+ <?php // You can start editing here -- including this comment! ?>
+
+ <?php if ( have_comments() ) : ?>
+ <h2 id="comments-title">
+ <?php
+ printf( _n( 'One thought on &ldquo;%2$s&rdquo;', '%1$s thoughts on &ldquo;%2$s&rdquo;', get_comments_number(), 'twentyeleven' ),
+ 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">
+ <h1 class="assistive-text"><?php _e( 'Comment navigation', 'twentyeleven' ); ?></h1>
+ <div class="nav-previous"><?php previous_comments_link( __( '&larr; Older Comments', 'twentyeleven' ) ); ?></div>
+ <div class="nav-next"><?php next_comments_link( __( 'Newer Comments &rarr;', 'twentyeleven' ) ); ?></div>
+ </nav>
+ <?php endif; // check for comment navigation ?>
+
+ <ol class="commentlist">
+ <?php
+ /* Loop through and list the comments. Tell wp_list_comments()
+ * to use twentyeleven_comment() to format the comments.
+ * If you want to overload this in a child theme then you can
+ * define twentyeleven_comment() and that will be used instead.
+ * See twentyeleven_comment() in twentyeleven/functions.php for more.
+ */
+ wp_list_comments( array( 'callback' => 'twentyeleven_comment' ) );
+ ?>
+ </ol>
+
+ <?php if ( get_comment_pages_count() > 1 && get_option( 'page_comments' ) ) : // are there comments to navigate through ?>
+ <nav id="comment-nav-below">
+ <h1 class="assistive-text"><?php _e( 'Comment navigation', 'twentyeleven' ); ?></h1>
+ <div class="nav-previous"><?php previous_comments_link( __( '&larr; Older Comments', 'twentyeleven' ) ); ?></div>
+ <div class="nav-next"><?php next_comments_link( __( 'Newer Comments &rarr;', 'twentyeleven' ) ); ?></div>
+ </nav>
+ <?php endif; // check for comment navigation ?>
+
+ <?php
+ /* If there are no comments and comments are closed, let's leave a little note, shall we?
+ * But we don't want the note on pages or post types that do not support comments.
+ */
+ elseif ( ! comments_open() && ! is_page() && post_type_supports( get_post_type(), 'comments' ) ) :
+ ?>
+ <p class="nocomments"><?php _e( 'Comments are closed.', 'twentyeleven' ); ?></p>
+ <?php endif; ?>
+
+ <?php comment_form(); ?>
+
+</div><!-- #comments -->
46 content-aside.php
@@ -0,0 +1,46 @@
+<?php
+/**
+ * The template for displaying posts in the Aside Post Format on index and archive pages
+ *
+ * Learn more: http://codex.wordpress.org/Post_Formats
+ *
+ * @package WordPress
+ * @subpackage Twenty_Eleven
+ * @since Twenty Eleven 1.0
+ */
+?>
+
+ <article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
+ <header class="entry-header">
+ <hgroup>
+ <h2 class="entry-title"><a href="<?php the_permalink(); ?>" title="<?php printf( esc_attr__( 'Permalink to %s', 'twentyeleven' ), the_title_attribute( 'echo=0' ) ); ?>" rel="bookmark"><?php the_title(); ?></a></h2>
+ <h3 class="entry-format"><?php _e( 'Aside', 'twentyeleven' ); ?></h3>
+ </hgroup>
+
+ <?php if ( comments_open() ) : ?>
+ <div class="comments-link">
+ <?php comments_popup_link( '<span class="leave-reply">' . __( 'Reply', 'twentyeleven' ) . '</span>', _x( '1', 'comments number', 'twentyeleven' ), _x( '%', 'comments number', 'twentyeleven' ) ); ?>
+ </div>
+ <?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">&rarr;</span>', 'twentyeleven' ) ); ?>
+ <?php wp_link_pages( array( 'before' => '<div class="page-link"><span>' . __( 'Pages:', 'twentyeleven' ) . '</span>', 'after' => '</div>' ) ); ?>
+ </div><!-- .entry-content -->
+ <?php endif; ?>
+
+ <footer class="entry-meta">
+ <?php twentyeleven_posted_on(); ?>
+ <?php if ( comments_open() ) : ?>
+ <span class="sep"> | </span>
+ <span class="comments-link"><?php comments_popup_link( '<span class="leave-reply">' . __( 'Leave a reply', 'twentyeleven' ) . '</span>', __( '<b>1</b> Reply', 'twentyeleven' ), __( '<b>%</b> Replies', 'twentyeleven' ) ); ?></span>
+ <?php endif; ?>
+ <?php edit_post_link( __( 'Edit', 'twentyeleven' ), '<span class="edit-link">', '</span>' ); ?>
+ </footer><!-- #entry-meta -->
+ </article><!-- #post-<?php the_ID(); ?> -->
47 content-featured.php
@@ -0,0 +1,47 @@
+<?php
+/**
+ * The template for displaying content featured in the showcase.php page template
+ *
+ * @package WordPress
+ * @subpackage Twenty_Eleven
+ * @since Twenty Eleven 1.0
+ */
+
+global $feature_class;
+?>
+<article id="post-<?php the_ID(); ?>" <?php post_class( $feature_class ); ?>>
+ <header class="entry-header">
+ <h2 class="entry-title"><a href="<?php the_permalink(); ?>" title="<?php printf( esc_attr__( 'Permalink to %s', 'twentyeleven' ), the_title_attribute( 'echo=0' ) ); ?>" rel="bookmark"><?php the_title(); ?></a></h2>
+
+ <div class="entry-meta">
+ <?php twentyeleven_posted_on(); ?>
+ </div><!-- .entry-meta -->
+ </header><!-- .entry-header -->
+
+ <div class="entry-summary">
+ <?php the_excerpt(); ?>
+ <?php wp_link_pages( array( 'before' => '<div class="page-link"><span>' . __( 'Pages:', 'twentyeleven' ) . '</span>', 'after' => '</div>' ) ); ?>
+ </div><!-- .entry-content -->
+
+ <footer class="entry-meta">
+ <?php
+ /* translators: used between list items, there is a space after the comma */
+ $tag_list = get_the_tag_list( '', __( ', ', 'twentyeleven' ) );
+ if ( '' != $tag_list ) {
+ $utility_text = __( 'This entry was posted in %1$s and tagged %2$s. Bookmark the <a href="%3$s" title="Permalink to %4$s" rel="bookmark">permalink</a>.', 'twentyeleven' );
+ } else {
+ $utility_text = __( 'This entry was posted in %1$s. Bookmark the <a href="%3$s" title="Permalink to %4$s" rel="bookmark">permalink</a>.', 'twentyeleven' );
+ }
+ printf(
+ $utility_text,
+ /* translators: used between list items, there is a space after the comma */
+ get_the_category_list( __( ', ', 'twentyeleven' ) ),
+ $tag_list,
+ esc_url( get_permalink() ),
+ the_title_attribute( 'echo=0' )
+ );
+ ?>
+
+ <?php edit_post_link( __( 'Edit', 'twentyeleven' ), '<span class="edit-link">', '</span>' ); ?>
+ </footer><!-- .entry-meta -->
+</article><!-- #post-<?php the_ID(); ?> -->
92 content-gallery.php
@@ -0,0 +1,92 @@
+<?php
+/**
+ * The template for displaying posts in the Gallery Post Format on index and archive pages
+ *
+ * Learn more: http://codex.wordpress.org/Post_Formats
+ *
+ * @package WordPress
+ * @subpackage Twenty_Eleven
+ * @since Twenty Eleven 1.0
+ */
+?>
+
+<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
+ <header class="entry-header">
+ <hgroup>
+ <h2 class="entry-title"><a href="<?php the_permalink(); ?>" title="<?php printf( esc_attr__( 'Permalink to %s', 'twentyeleven' ), the_title_attribute( 'echo=0' ) ); ?>" rel="bookmark"><?php the_title(); ?></a></h2>
+ <h3 class="entry-format"><?php _e( 'Gallery', 'twentyeleven' ); ?></h3>
+ </hgroup>
+
+ <div class="entry-meta">
+ <?php twentyeleven_posted_on(); ?>
+ </div><!-- .entry-meta -->
+ </header><!-- .entry-header -->
+
+ <?php if ( is_search() ) : // Only display Excerpts for search pages ?>
+ <div class="entry-summary">
+ <?php the_excerpt(); ?>
+ </div><!-- .entry-summary -->
+ <?php else : ?>
+ <div class="entry-content">
+ <?php if ( post_password_required() ) : ?>
+ <?php the_content( __( 'Continue reading <span class="meta-nav">&rarr;</span>', 'twentyeleven' ) ); ?>
+
+ <?php else : ?>
+ <?php
+ $images = get_children( array( 'post_parent' => $post->ID, 'post_type' => 'attachment', 'post_mime_type' => 'image', 'orderby' => 'menu_order', 'order' => 'ASC', 'numberposts' => 999 ) );
+ if ( $images ) :
+ $total_images = count( $images );
+ $image = array_shift( $images );
+ $image_img_tag = wp_get_attachment_image( $image->ID, 'thumbnail' );
+ ?>
+
+ <figure class="gallery-thumb">
+ <a href="<?php the_permalink(); ?>"><?php echo $image_img_tag; ?></a>
+ </figure><!-- .gallery-thumb -->
+
+ <p><em><?php printf( _n( 'This gallery contains <a %1$s>%2$s photo</a>.', 'This gallery contains <a %1$s>%2$s photos</a>.', $total_images, 'twentyeleven' ),
+ 'href="' . esc_url( get_permalink() ) . '" title="' . sprintf( esc_attr__( 'Permalink to %s', 'twentyeleven' ), the_title_attribute( 'echo=0' ) ) . '" rel="bookmark"',
+ number_format_i18n( $total_images )
+ ); ?></em></p>
+ <?php endif; ?>
+ <?php the_excerpt(); ?>
+ <?php endif; ?>
+ <?php wp_link_pages( array( 'before' => '<div class="page-link"><span>' . __( 'Pages:', 'twentyeleven' ) . '</span>', 'after' => '</div>' ) ); ?>
+ </div><!-- .entry-content -->
+ <?php endif; ?>
+
+ <footer class="entry-meta">
+ <?php $show_sep = false; ?>
+ <?php
+ /* translators: used between list items, there is a space after the comma */
+ $categories_list = get_the_category_list( __( ', ', 'twentyeleven' ) );
+ if ( $categories_list ):
+ ?>
+ <span class="cat-links">
+ <?php printf( __( '<span class="%1$s">Posted in</span> %2$s', 'twentyeleven' ), 'entry-utility-prep entry-utility-prep-cat-links', $categories_list );
+ $show_sep = true; ?>
+ </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( '', __( ', ', 'twentyeleven' ) );
+ if ( $tags_list ):
+ if ( $show_sep ) : ?>
+ <span class="sep"> | </span>
+ <?php endif; // End if $show_sep ?>
+ <span class="tag-links">
+ <?php printf( __( '<span class="%1$s">Tagged</span> %2$s', 'twentyeleven' ), 'entry-utility-prep entry-utility-prep-tag-links', $tags_list );
+ $show_sep = true; ?>
+ </span>
+ <?php endif; // End if $tags_list ?>
+
+ <?php if ( comments_open() ) : ?>
+ <?php if ( $show_sep ) : ?>
+ <span class="sep"> | </span>
+ <?php endif; // End if $show_sep ?>
+ <span class="comments-link"><?php comments_popup_link( '<span class="leave-reply">' . __( 'Leave a Reply', 'twentyeleven' ) . '</span>', __( '<b>1</b> Reply', 'twentyeleven' ), __( '<b>%</b> Replies', 'twentyeleven' ) ); ?></span>
+ <?php endif; // End if comments_open() ?>
+
+ <?php edit_post_link( __( 'Edit', 'twentyeleven' ), '<span class="edit-link">', '</span>' ); ?>
+ </footer><!-- #entry-meta -->
+</article><!-- #post-<?php the_ID(); ?> -->
70 content-image.php
@@ -0,0 +1,70 @@
+<?php
+/**
+ * The template for displaying posts in the Image Post Format on index and archive pages
+ *
+ * Learn more: http://codex.wordpress.org/Post_Formats
+ *
+ * @package WordPress
+ * @subpackage Twenty_Eleven
+ * @since Twenty Eleven 1.0
+ */
+?>
+ <article id="post-<?php the_ID(); ?>" <?php post_class( 'indexed' ); ?>>
+ <header class="entry-header">
+ <hgroup>
+ <h2 class="entry-title"><a href="<?php the_permalink(); ?>" title="<?php printf( esc_attr__( 'Permalink to %s', 'twentyeleven' ), the_title_attribute( 'echo=0' ) ); ?>" rel="bookmark"><?php the_title(); ?></a></h2>
+ <h3 class="entry-format"><?php _e( 'Image', 'twentyeleven' ); ?></h3>
+ </hgroup>
+
+ <?php if ( comments_open() ) : ?>
+ <div class="comments-link">
+ <?php comments_popup_link( '<span class="leave-reply">' . __( "Reply", 'twentyeleven' ) . '</span>', _x( '1', 'comments number', 'twentyeleven' ), _x( '%', 'comments number', 'twentyeleven' ) ); ?>
+ </div>
+ <?php endif; ?>
+ </header><!-- .entry-header -->
+
+ <div class="entry-content">
+ <?php the_content( __( 'Continue reading <span class="meta-nav">&rarr;</span>', 'twentyeleven' ) ); ?>
+ <?php wp_link_pages( array( 'before' => '<div class="page-link"><span>' . __( 'Pages:', 'twentyeleven' ) . '</span>', 'after' => '</div>' ) ); ?>
+ </div><!-- .entry-content -->
+
+ <footer class="entry-meta">
+ <div class="entry-meta">
+ <?php
+ printf( __( '<a href="%1$s" rel="bookmark"><time class="entry-date" datetime="%2$s" pubdate>%3$s</time></a><span class="by-author"> <span class="sep"> by </span> <span class="author vcard"><a class="url fn n" href="%4$s" title="%5$s" rel="author">%6$s</a></span></span>', 'twentyeleven' ),
+ esc_url( get_permalink() ),
+ get_the_date( 'c' ),
+ get_the_date(),
+ esc_url( get_author_posts_url( get_the_author_meta( 'ID' ) ) ),
+ sprintf( esc_attr__( 'View all posts by %s', 'twentyeleven' ), get_the_author() ),
+ get_the_author()
+ );
+ ?>
+ </div><!-- .entry-meta -->
+ <div class="entry-meta">
+ <?php
+ /* translators: used between list items, there is a space after the comma */
+ $categories_list = get_the_category_list( __( ', ', 'twentyeleven' ) );
+ if ( $categories_list ):
+ ?>
+ <span class="cat-links">
+ <?php printf( __( '<span class="%1$s">Posted in</span> %2$s', 'twentyeleven' ), 'entry-utility-prep entry-utility-prep-cat-links', $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( '', __( ', ', 'twentyeleven' ) );
+ if ( $tags_list ): ?>
+ <span class="tag-links">
+ <?php printf( __( '<span class="%1$s">Tagged</span> %2$s', 'twentyeleven' ), 'entry-utility-prep entry-utility-prep-tag-links', $tags_list ); ?>
+ </span>
+ <?php endif; // End if $tags_list ?>
+
+ <?php if ( comments_open() ) : ?>
+ <span class="comments-link"><?php comments_popup_link( '<span class="leave-reply">' . __( 'Reply', 'twentyeleven' ) . '</span>', __( '<strong>1</strong> Reply', 'twentyeleven' ), __( '<strong>%</strong> Replies', 'twentyeleven' ) ); ?></span>
+ <?php endif; // End if comments_open() ?>
+ </div><!-- .entry-meta -->
+
+ <?php edit_post_link( __( 'Edit', 'twentyeleven' ), '<span class="edit-link">', '</span>' ); ?>
+ </footer><!-- #entry-meta -->
+ </article><!-- #post-<?php the_ID(); ?> -->
21 content-intro.php
@@ -0,0 +1,21 @@
+<?php
+/**
+ * The template for displaying page content in the showcase.php page template
+ *
+ * @package WordPress
+ * @subpackage Twenty_Eleven
+ * @since Twenty Eleven 1.0
+ */
+?>
+
+<article id="post-<?php the_ID(); ?>" <?php post_class( 'intro' ); ?>>
+ <header class="entry-header">
+ <h2 class="entry-title"><?php the_title(); ?></h2>
+ </header><!-- .entry-header -->
+
+ <div class="entry-content">
+ <?php the_content(); ?>
+ <?php wp_link_pages( array( 'before' => '<div class="page-link"><span>' . __( 'Pages:', 'twentyeleven' ) . '</span>', 'after' => '</div>' ) ); ?>
+ <?php edit_post_link( __( 'Edit', 'twentyeleven' ), '<span class="edit-link">', '</span>' ); ?>
+ </div><!-- .entry-content -->
+</article><!-- #post-<?php the_ID(); ?> -->
46 content-link.php
@@ -0,0 +1,46 @@
+<?php
+/**
+ * The template for displaying posts in the Link Post Format on index and archive pages
+ *
+ * Learn more: http://codex.wordpress.org/Post_Formats
+ *
+ * @package WordPress
+ * @subpackage Twenty_Eleven
+ * @since Twenty Eleven 1.0
+ */
+?>
+
+ <article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
+ <header class="entry-header">
+ <hgroup>
+ <h2 class="entry-title"><a href="<?php the_permalink(); ?>" title="<?php printf( esc_attr__( 'Permalink to %s', 'twentyeleven' ), the_title_attribute( 'echo=0' ) ); ?>" rel="bookmark"><?php the_title(); ?></a></h2>
+ <h3 class="entry-format"><?php _e( 'Link', 'twentyeleven' ); ?></h3>
+ </hgroup>
+
+ <?php if ( comments_open() ) : ?>
+ <div class="comments-link">
+ <?php comments_popup_link( '<span class="leave-reply">' . __( 'Reply', 'twentyeleven' ) . '</span>', _x( '1', 'comments number', 'twentyeleven' ), _x( '%', 'comments number', 'twentyeleven' ) ); ?>
+ </div>
+ <?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">&rarr;</span>', 'twentyeleven' ) ); ?>
+ <?php wp_link_pages( array( 'before' => '<div class="page-link"><span>' . __( 'Pages:', 'twentyeleven' ) . '</span>', 'after' => '</div>' ) ); ?>
+ </div><!-- .entry-content -->
+ <?php endif; ?>
+
+ <footer class="entry-meta">
+ <?php twentyeleven_posted_on(); ?>
+ <?php if ( comments_open() ) : ?>
+ <span class="sep"> | </span>
+ <span class="comments-link"><?php comments_popup_link( '<span class="leave-reply">' . __( 'Leave a reply', 'twentyeleven' ) . '</span>', __( '<b>1</b> Reply', 'twentyeleven' ), __( '<b>%</b> Replies', 'twentyeleven' ) ); ?></span>
+ <?php endif; ?>
+ <?php edit_post_link( __( 'Edit', 'twentyeleven' ), '<span class="edit-link">', '</span>' ); ?>
+ </footer><!-- #entry-meta -->
+ </article><!-- #post-<?php the_ID(); ?> -->
23 content-page.php
@@ -0,0 +1,23 @@
+<?php
+/**
+ * The template used for displaying page content in page.php
+ *
+ * @package WordPress
+ * @subpackage Twenty_Eleven
+ * @since Twenty Eleven 1.0
+ */
+?>
+
+<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
+ <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-link"><span>' . __( 'Pages:', 'twentyeleven' ) . '</span>', 'after' => '</div>' ) ); ?>
+ </div><!-- .entry-content -->
+ <footer class="entry-meta">
+ <?php edit_post_link( __( 'Edit', 'twentyeleven' ), '<span class="edit-link">', '</span>' ); ?>
+ </footer><!-- .entry-meta -->
+</article><!-- #post-<?php the_ID(); ?> -->
74 content-quote.php
@@ -0,0 +1,74 @@
+<?php
+/**
+ * The default template for displaying content
+ *
+ * @package WordPress
+ * @subpackage Twenty_Eleven
+ * @since Twenty Eleven 1.0
+ */
+?>
+
+ <article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
+ <header class="entry-header">
+ <hgroup>
+ <h2 class="entry-title"><a href="<?php the_permalink(); ?>" title="<?php printf( esc_attr__( 'Permalink to %s', 'twentyeleven' ), the_title_attribute( 'echo=0' ) ); ?>" rel="bookmark"><?php the_title(); ?></a></h2>
+ <h3 class="entry-format"><?php _e( 'Quote', 'twentyeleven' ); ?></h3>
+ </hgroup>
+
+ <div class="entry-meta">
+ <?php twentyeleven_posted_on(); ?>
+ </div><!-- .entry-meta -->
+
+ <?php if ( comments_open() ) : ?>
+ <div class="comments-link">
+ <?php comments_popup_link( '<span class="leave-reply">' . __( 'Reply', 'twentyeleven' ) . '</span>', _x( '1', 'comments number', 'twentyeleven' ), _x( '%', 'comments number', 'twentyeleven' ) ); ?>t
+ </div>
+ <?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">&rarr;</span>', 'twentyeleven' ) ); ?>
+ <?php wp_link_pages( array( 'before' => '<div class="page-link"><span>' . __( 'Pages:', 'twentyeleven' ) . '</span>', 'after' => '</div>' ) ); ?>
+ </div><!-- .entry-content -->
+ <?php endif; ?>
+
+ <footer class="entry-meta">
+ <?php $show_sep = false; ?>
+ <?php
+ /* translators: used between list items, there is a space after the comma */
+ $categories_list = get_the_category_list( __( ', ', 'twentyeleven' ) );
+ if ( $categories_list ):
+ ?>
+ <span class="cat-links">
+ <?php printf( __( '<span class="%1$s">Posted in</span> %2$s', 'twentyeleven' ), 'entry-utility-prep entry-utility-prep-cat-links', $categories_list );
+ $show_sep = true; ?>
+ </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( '', __( ', ', 'twentyeleven' ) );
+ if ( $tags_list ):
+ if ( $show_sep ) : ?>
+ <span class="sep"> | </span>
+ <?php endif; // End if $show_sep ?>
+ <span class="tag-links">
+ <?php printf( __( '<span class="%1$s">Tagged</span> %2$s', 'twentyeleven' ), 'entry-utility-prep entry-utility-prep-tag-links', $tags_list );
+ $show_sep = true; ?>
+ </span>
+ <?php endif; // End if $tags_list ?>
+
+ <?php if ( comments_open() ) : ?>
+ <?php if ( $show_sep ) : ?>
+ <span class="sep"> | </span>
+ <?php endif; // End if $show_sep ?>
+ <span class="comments-link"><?php comments_popup_link( '<span class="leave-reply">' . __( 'Leave a reply', 'twentyeleven' ) . '</span>', __( '<b>1</b> Reply', 'twentyeleven' ), __( '<b>%</b> Replies', 'twentyeleven' ) ); ?></span>
+ <?php endif; // End if comments_open() ?>
+
+ <?php edit_post_link( __( 'Edit', 'twentyeleven' ), '<span class="edit-link">', '</span>' ); ?>
+ </footer><!-- #entry-meta -->
+ </article><!-- #post-<?php the_ID(); ?> -->
71 content-single.php
@@ -0,0 +1,71 @@
+<?php
+/**
+ * The template for displaying content in the single.php template
+ *
+ * @package WordPress
+ * @subpackage Twenty_Eleven
+ * @since Twenty Eleven 1.0
+ */
+?>
+
+<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
+ <header class="entry-header">
+ <h1 class="entry-title"><?php the_title(); ?></h1>
+
+ <?php if ( 'post' == get_post_type() ) : ?>
+ <div class="entry-meta">
+ <?php twentyeleven_posted_on(); ?>
+ </div><!-- .entry-meta -->
+ <?php endif; ?>
+ </header><!-- .entry-header -->
+
+ <div class="entry-content">
+ <?php the_content(); ?>
+ <?php wp_link_pages( array( 'before' => '<div class="page-link"><span>' . __( 'Pages:', 'twentyeleven' ) . '</span>', 'after' => '</div>' ) ); ?>
+ </div><!-- .entry-content -->
+
+ <footer class="entry-meta">
+ <?php
+ /* translators: used between list items, there is a space after the comma */
+ $categories_list = get_the_category_list( __( ', ', 'twentyeleven' ) );
+
+ /* translators: used between list items, there is a space after the comma */
+ $tag_list = get_the_tag_list( '', __( ', ', 'twentyeleven' ) );
+ if ( '' != $tag_list ) {
+ $utility_text = __( 'This entry was posted in %1$s and tagged %2$s by <a href="%6$s">%5$s</a>. Bookmark the <a href="%3$s" title="Permalink to %4$s" rel="bookmark">permalink</a>.', 'twentyeleven' );
+ } elseif ( '' != $categories_list ) {
+ $utility_text = __( 'This entry was posted in %1$s by <a href="%6$s">%5$s</a>. Bookmark the <a href="%3$s" title="Permalink to %4$s" rel="bookmark">permalink</a>.', 'twentyeleven' );
+ } else {
+ $utility_text = __( 'This entry was posted by <a href="%6$s">%5$s</a>. Bookmark the <a href="%3$s" title="Permalink to %4$s" rel="bookmark">permalink</a>.', 'twentyeleven' );
+ }
+
+ printf(
+ $utility_text,
+ $categories_list,
+ $tag_list,
+ esc_url( get_permalink() ),
+ the_title_attribute( 'echo=0' ),
+ get_the_author(),
+ esc_url( get_author_posts_url( get_the_author_meta( 'ID' ) ) )
+ );
+ ?>
+ <?php edit_post_link( __( 'Edit', 'twentyeleven' ), '<span class="edit-link">', '</span>' ); ?>
+
+ <?php if ( get_the_author_meta( 'description' ) && is_multi_author() ) : // If a user has filled out their description and this is a multi-author blog, show a bio on their entries ?>
+ <div id="author-info">
+ <div id="author-avatar">
+ <?php echo get_avatar( get_the_author_meta( 'user_email' ), apply_filters( 'twentyeleven_author_bio_avatar_size', 68 ) ); ?>
+ </div><!-- #author-avatar -->
+ <div id="author-description">
+ <h2><?php printf( esc_attr__( 'About %s', 'twentyeleven' ), get_the_author() ); ?></h2>
+ <?php the_author_meta( 'description' ); ?>
+ <div id="author-link">
+ <a href="<?php echo esc_url( get_author_posts_url( get_the_author_meta( 'ID' ) ) ); ?>" rel="author">
+ <?php printf( __( 'View all posts by %s <span class="meta-nav">&rarr;</span>', 'twentyeleven' ), get_the_author() ); ?>
+ </a>
+ </div><!-- #author-link -->
+ </div><!-- #author-description -->
+ </div><!-- #entry-author-info -->
+ <?php endif; ?>
+ </footer><!-- .entry-meta -->
+</article><!-- #post-<?php the_ID(); ?> -->
47 content-status.php
@@ -0,0 +1,47 @@
+<?php
+/**
+ * The template for displaying posts in the Status Post Format on index and archive pages
+ *
+ * Learn more: http://codex.wordpress.org/Post_Formats
+ *
+ * @package WordPress
+ * @subpackage Twenty_Eleven
+ */
+?>
+
+ <article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
+ <header class="entry-header">
+ <hgroup>
+ <h2 class="entry-title"><a href="<?php the_permalink(); ?>" title="<?php printf( esc_attr__( 'Permalink to %s', 'twentyeleven' ), the_title_attribute( 'echo=0' ) ); ?>" rel="bookmark"><?php the_title(); ?></a></h2>
+ <h3 class="entry-format"><?php _e( 'Status', 'twentyeleven' ); ?></h3>
+ </hgroup>
+
+ <?php if ( comments_open() ) : ?>
+ <div class="comments-link">
+ <?php comments_popup_link( '<span class="leave-reply">' . __( 'Reply', 'twentyeleven' ) . '</span>', _x( '1', 'comments number', 'twentyeleven' ), _x( '%', 'comments number', 'twentyeleven' ) ); ?>
+ </div>
+ <?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">
+ <div class="avatar"><?php echo get_avatar( get_the_author_meta( 'ID' ), apply_filters( 'twentyeleven_status_avatar', '65' ) ); ?></div>
+
+ <?php the_content( __( 'Continue reading <span class="meta-nav">&rarr;</span>', 'twentyeleven' ) ); ?>
+ <?php wp_link_pages( array( 'before' => '<div class="page-link"><span>' . __( 'Pages:', 'twentyeleven' ) . '</span>', 'after' => '</div>' ) ); ?>
+ </div><!-- .entry-content -->
+ <?php endif; ?>
+
+ <footer class="entry-meta">
+ <?php twentyeleven_posted_on(); ?>
+ <?php if ( comments_open() ) : ?>
+ <span class="sep"> | </span>
+ <span class="comments-link"><?php comments_popup_link( '<span class="leave-reply">' . __( 'Leave a reply', 'twentyeleven' ) . '</span>', __( '<b>1</b> Reply', 'twentyeleven' ), __( '<b>%</b> Replies', 'twentyeleven' ) ); ?></span>
+ <?php endif; ?>
+ <?php edit_post_link( __( 'Edit', 'twentyeleven' ), '<span class="edit-link">', '</span>' ); ?>
+ </footer><!-- #entry-meta -->
+ </article><!-- #post-<?php the_ID(); ?> -->
84 content.php
@@ -0,0 +1,84 @@
+<?php
+/**
+ * The default template for displaying content
+ *
+ * @package WordPress
+ * @subpackage Twenty_Eleven
+ * @since Twenty Eleven 1.0
+ */
+?>
+
+ <article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
+ <header class="entry-header">
+ <?php if ( is_sticky() ) : ?>
+ <hgroup>
+ <h2 class="entry-title"><a href="<?php the_permalink(); ?>" title="<?php printf( esc_attr__( 'Permalink to %s', 'twentyeleven' ), the_title_attribute( 'echo=0' ) ); ?>" rel="bookmark"><?php the_title(); ?></a></h2>
+ <h3 class="entry-format"><?php _e( 'Featured', 'twentyeleven' ); ?></h3>
+ </hgroup>
+ <?php else : ?>
+ <h1 class="entry-title"><a href="<?php the_permalink(); ?>" title="<?php printf( esc_attr__( 'Permalink to %s', 'twentyeleven' ), the_title_attribute( 'echo=0' ) ); ?>" rel="bookmark"><?php the_title(); ?></a></h1>
+ <?php endif; ?>
+
+ <?php if ( 'post' == get_post_type() ) : ?>
+ <div class="entry-meta">
+ <?php twentyeleven_posted_on(); ?>
+ </div><!-- .entry-meta -->
+ <?php endif; ?>
+
+ <?php if ( comments_open() ) : ?>
+ <div class="comments-link">
+ <?php comments_popup_link( '<span class="leave-reply">' . __( 'Reply', 'twentyeleven' ) . '</span>', _x( '1', 'comments number', 'twentyeleven' ), _x( '%', 'comments number', 'twentyeleven' ) ); ?>
+ </div>
+ <?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">&rarr;</span>', 'twentyeleven' ) ); ?>
+ <?php wp_link_pages( array( 'before' => '<div class="page-link"><span>' . __( 'Pages:', 'twentyeleven' ) . '</span>', 'after' => '</div>' ) ); ?>
+ </div><!-- .entry-content -->
+ <?php endif; ?>
+
+ <footer class="entry-meta">
+ <?php $show_sep = false; ?>
+ <a href="<?php the_permalink() ?>">Link to Post</a>
+ <span class="sep"> | </span>
+ <?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( __( ', ', 'twentyeleven' ) );
+ if ( $categories_list ):
+ ?>
+ <span class="cat-links">
+ <?php printf( __( '<span class="%1$s">Language:</span> %2$s', 'twentyeleven' ), 'entry-utility-prep entry-utility-prep-cat-links', $categories_list );
+ $show_sep = true; ?>
+ </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( '', __( ', ', 'twentyeleven' ) );
+ if ( $tags_list ):
+ if ( $show_sep ) : ?>
+ <span class="sep"> | </span>
+ <?php endif; // End if $show_sep ?>
+ <span class="tag-links">
+ <?php printf( __( '<span class="%1$s">Tagged</span> %2$s', 'twentyeleven' ), 'entry-utility-prep entry-utility-prep-tag-links', $tags_list );
+ $show_sep = true; ?>
+ </span>
+ <?php endif; // End if $tags_list ?>
+ <?php endif; // End if 'post' == get_post_type() ?>
+
+ <?php if ( comments_open() ) : ?>
+ <?php if ( $show_sep ) : ?>
+ <span class="sep"> | </span>
+ <?php endif; // End if $show_sep ?>
+ <span class="comments-link"><?php comments_popup_link( '<span class="leave-reply">' . __( 'Leave a reply', 'twentyeleven' ) . '</span>', __( '<b>1</b> Reply', 'twentyeleven' ), __( '<b>%</b> Replies', 'twentyeleven' ) ); ?></span>
+ <?php endif; // End if comments_open() ?>
+
+ <?php edit_post_link( __( 'Edit', 'twentyeleven' ), '<span class="edit-link">', '</span>' ); ?>
+ </footer><!-- #entry-meta -->
+ </article><!-- #post-<?php the_ID(); ?> -->
24 editor-style-rtl.css
@@ -0,0 +1,24 @@
+/*
+Theme Name: Twenty Eleven
+*/
+/*
+Used to style the TinyMCE editor.
+*/
+html .mceContentBody {
+ direction: rtl;
+ unicode-bidi: embed;
+ float: right;
+ max-width: 584px;
+}
+* {
+ font-family: Arial, Tahoma, sans-serif;
+}
+ul, ol {
+ margin: 0 2.5em 1.625em 0;
+}
+blockquote {
+ font-style: normal;
+}
+table {
+ text-align: right;
+}
308 editor-style.css
@@ -0,0 +1,308 @@
+/*
+Theme Name: Twenty Eleven
+Description: Used to style the TinyMCE editor.
+*/
+
+html .mceContentBody {
+ max-width: 584px;
+}
+* {
+ color: #333;
+ font: 15px "Helvetica Neue", Helvetica, Arial, sans-serif;
+ font-style: inherit;
+ font-weight: inherit;
+ line-height: 1.625;
+}
+body {
+ color: #333;
+ font: 15px "Helvetica Neue", Helvetica, Arial, "Nimbus Sans L", sans-serif;
+ font-weight: 300;
+ line-height: 1.625;
+}
+
+/* Headings */
+h1,h2,h3,h4,h5,h6 {
+ clear: both;
+}
+h1,
+h2 {
+ color: #000;
+ font-size: 15px;
+ font-weight: bold;
+ margin: 0 0 .8125em;
+}
+h3 {
+ font-size: 10px;
+ letter-spacing: 0.1em;
+ line-height: 2.6em;
+ text-transform: uppercase;
+}
+h4, h5, h6 {
+ font-size: 14px;
+ margin: 0;
+}
+hr {
+ background-color: #ccc;
+ border: 0;
+ height: 1px;
+ margin-bottom: 1.625em;
+}
+
+/* Text elements */
+p, ul, ol, dl {
+ font-weight: 300;
+}
+p {
+ margin-bottom: 1.625em;
+}
+ul, ol {
+ margin: 0 0 1.625em 2.5em;
+ padding: 0;
+}
+ul {
+ list-style: square;
+}
+ol {
+ list-style-type: decimal;
+}
+ol ol {
+ list-style: upper-alpha;
+}
+ol ol ol {
+ list-style: lower-roman;
+}
+ol ol ol ol {
+ list-style: lower-alpha;
+}
+ul ul, ol ol, ul ol, ol ul {
+ margin-bottom: 0;
+}
+dl {
+ margin: 0 1.625em;
+}
+dt {
+ font-size: 15px;
+ font-weight: bold;
+}
+dd {
+ margin: 0 0 1.625em;
+}
+strong {
+ font-weight: bold;
+}
+cite, em, i {
+ font-style: italic;
+}
+cite {
+ border: none;
+}
+big {
+ font-size: 131.25%;
+}
+blockquote {
+ font-family: Georgia, "Bitstream Charter", serif !important;
+ font-style: italic !important;
+ font-weight: normal;
+ margin: 0 3em;
+}
+blockquote em, blockquote i, blockquote cite {
+ font-style: normal;
+}
+blockquote cite {
+ color: #666;
+ font: 12px "Helvetica Neue", Helvetica, Arial, sans-serif;
+ font-weight: 300;
+ letter-spacing: 0.05em;
+ text-transform: uppercase;
+}
+pre {
+ background: #f4f4f4;
+ font: 13px "Courier 10 Pitch", Courier, monospace;
+ line-height: 1.5;
+ margin-bottom: 1.625em;
+ padding: 0.75em 1.625em;
+}
+code, kbd, code var {
+ font: 13px Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
+}
+abbr, acronym, dfn {
+ border-bottom: 1px dotted #666;
+ cursor: help;
+}
+address {
+ display: block;
+ margin: 0 0 1.625em;
+}
+del {
+ color: #333;
+}
+ins {
+ background: #fff9c0;
+ border: none;
+ color: #333;
+ text-decoration: none;
+}
+sup,
+sub {
+ font-size: 10px;
+ height: 0;
+ line-height: 1;
+ position: relative;
+ vertical-align: baseline;
+}
+sup {
+ bottom: 1ex;
+}
+sub {
+ top: .5ex;
+}
+input[type=text],
+textarea {
+ background: #fafafa;
+ -moz-box-shadow: inset 0 1px 1px rgba(0,0,0,0.1);
+ -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,0.1);
+ box-shadow: inset 0 1px 1px rgba(0,0,0,0.1);
+ border: 1px solid #ddd;
+ color: #888;
+}
+input[type=text]:focus,
+textarea:focus {
+ color: #333;
+}
+textarea {
+ padding-left: 3px;
+ width: 98%;
+}
+input[type=text] {
+ padding: 3px;
+}
+
+/* Links */
+a,
+a em,
+a strong {
+ color: #1b8be0;
+ text-decoration: none;
+}
+a:focus,
+a:active,
+a:hover {
+ text-decoration: underline;
+}
+
+/* Alignment */
+.alignleft {
+ display: inline;
+ float: left;
+ margin-right: 1.625em;
+}
+.alignright {
+ display: inline;
+ float: right;
+ margin-left: 1.625em;
+}
+.aligncenter {
+ clear: both;
+ display: block;
+ margin-left: auto;
+ margin-right: auto;
+}
+
+/* Tables */
+table {
+ border: none !important;
+ border-bottom: 1px solid #ddd !important;
+ border-collapse: collapse;
+ border-spacing: 0;
+ text-align: left;
+ margin: 0 0 1.625em;
+ width: 100%;
+}
+tr th {
+ border: none !important;
+ color: #666;
+ font-size: 10px;
+ font-weight: 500;
+ letter-spacing: 0.1em;
+ line-height: 2.6em;
+ text-transform: uppercase;
+}
+td {
+ border: none !important;
+ border-top: 1px solid #ddd !important;
+ padding: 6px 10px 6px 0;
+}
+
+/* Images */
+img[class*="wp-image-"] {
+ height: auto;
+ max-width: 100%;
+}
+img.size-full {
+ width: auto; /* Prevent stretching of full-size images in IE8 */
+}
+img.wp-smiley {
+ border: none;
+ margin-bottom: 0;
+ margin-top: 0;
+ padding: 0;
+}
+p img,
+.wp-caption {
+ margin-top: 0.4em;
+}
+img {
+ border: 1px solid #ddd;
+ padding: 6px;
+}
+img.alignleft,
+img.alignright,
+img.aligncenter {
+ margin-bottom: 1.625em;
+}
+.wp-caption {
+ background: #eee;
+ border: none;
+ margin-bottom: 1.625em;
+ max-width: 96%;
+ padding: 9px;
+}
+.wp-caption img {
+ display: block;
+ margin: 5px auto 0 !important;
+ max-width: 98%;
+ border-color: #eee;
+}
+.wp-caption .wp-caption-text,
+.wp-caption-dd {
+ color: #666;
+ font-family: Georgia, serif !important;
+ font-size: 12px;
+ margin: 0 0 0.6em 0 !important;
+ padding: 0 0 5px 40px;
+ position: relative;
+ text-align: left;
+}
+.wp-caption .wp-caption-text:before {
+ color: #666;
+ content: '\2014';
+ font-size: 14px;
+ font-style: normal;
+ font-weight: bold;
+ margin-right: 5px;
+ position: absolute;
+ left: 10px;
+ top: 7px;
+}
+a:focus img[class*="wp-image-"],
+a:hover img[class*="wp-image-"],
+a:active img[class*="wp-image-"] {
+ background: #eee;
+ border-color: #bbb;
+}
+.wp-caption a:focus img,
+.wp-caption a:active img,
+.wp-caption a:hover img {
+ background: #fff;
+ border-color: #ddd;
+}
54 feed-atom.php
@@ -0,0 +1,54 @@
+<?php
+/**
+ * Atom Feed Template for displaying Atom Posts feed.
+ *
+ * @package WordPress
+ */
+
+header('Content-Type: ' . feed_content_type('atom') . '; charset=' . get_option('blog_charset'), true);
+$more = 1;
+
+echo '<?xml version="1.0" encoding="'.get_option('blog_charset').'"?'.'>'; ?>
+<feed
+ xmlns="http://www.w3.org/2005/Atom"
+ xmlns:thr="http://purl.org/syndication/thread/1.0"
+ xml:lang="<?php echo get_option('rss_language'); ?>"
+ xml:base="<?php bloginfo_rss('url') ?>/wp-atom.php"
+ <?php do_action('atom_ns'); ?>
+ >
+ <title type="text"><?php bloginfo_rss('name'); wp_title_rss(); ?></title>
+ <subtitle type="text"><?php bloginfo_rss("description") ?></subtitle>
+
+ <updated><?php echo mysql2date('Y-m-d\TH:i:s\Z', get_lastpostmodified('GMT'), false); ?></updated>
+
+ <link rel="alternate" type="text/html" href="<?php bloginfo_rss('url') ?>" />
+ <id><?php bloginfo('atom_url'); ?></id>
+ <link rel="self" type="application/atom+xml" href="<?php self_link(); ?>" />
+
+ <?php do_action('atom_head'); ?>
+ <?php while (have_posts()) : the_post(); ?>
+ <entry>
+ <author>
+ <name><?php the_syndication_source() ?></name>
+ <uri><?php the_syndication_source_link( )?></uri>
+ <?php
+ do_action('atom_author'); ?>
+ </author>
+ <title type="<?php html_type_rss(); ?>"><![CDATA[<?php the_title_rss(); ?>]]></title>
+ <link rel="alternate" type="text/html" href="<?php the_permalink_rss() ?>" />
+ <id><?php the_permalink_rss() ; ?></id>
+ <updated><?php echo get_post_modified_time('Y-m-d\TH:i:s\Z', true); ?></updated>
+ <published><?php echo get_post_time('Y-m-d\TH:i:s\Z', true); ?></published>
+ <?php the_category_rss('atom') ?>
+ <summary type="<?php html_type_rss(); ?>"><![CDATA[<?php the_excerpt_rss(); ?>]]></summary>
+<?php if ( !get_option('rss_use_excerpt') ) : ?>
+ <content type="<?php html_type_rss(); ?>" xml:base="<?php the_permalink_rss() ?>"><![CDATA[<?php the_content_feed('atom') ?>]]></content>
+<?php endif; ?>
+<?php atom_enclosure(); ?>
+<?php do_action('atom_entry'); ?>
+ <link rel="replies" type="text/html" href="<?php the_permalink_rss() ?>#comments" thr:count="<?php echo get_comments_number()?>"/>
+ <link rel="replies" type="application/atom+xml" href="<?php echo get_post_comments_feed_link(0,'atom') ?>" thr:count="<?php echo get_comments_number()?>"/>
+ <thr:total><?php echo get_comments_number()?></thr:total>
+ </entry>
+ <?php endwhile ; ?>