diff --git a/wp-content/themes/twentyeleven/404.php b/wp-content/themes/twentyeleven/404.php new file mode 100644 index 0000000000..205d79258e --- /dev/null +++ b/wp-content/themes/twentyeleven/404.php @@ -0,0 +1,44 @@ + + +
+
+ +
+
+

+
+ +
+

+ + + + + +
+

+
    + 'count', 'order' => 'DESC', 'show_count' => 1, 'title_li' => '', 'number' => 10 ) ); ?> +
+
+ + ' . sprintf( __( 'Try looking in the monthly archives. %1$s', 'twentyeleven' ), convert_smilies( ':)' ) ) . '

'; + the_widget( 'WP_Widget_Archives', 'dropdown=1', "after_title=$archive_content" ); + ?> + + + +
+
+ +
+
+ + \ No newline at end of file diff --git a/wp-content/themes/twentyeleven/archive.php b/wp-content/themes/twentyeleven/archive.php new file mode 100644 index 0000000000..7694dbd5cb --- /dev/null +++ b/wp-content/themes/twentyeleven/archive.php @@ -0,0 +1,45 @@ + + +
+
+ + + + + + + + + + + + + + + + + + +
+
+ + + \ No newline at end of file diff --git a/wp-content/themes/twentyeleven/author.php b/wp-content/themes/twentyeleven/author.php new file mode 100644 index 0000000000..6a6e937f67 --- /dev/null +++ b/wp-content/themes/twentyeleven/author.php @@ -0,0 +1,49 @@ + + +
+
+ + + + + + + + + + +
+
+ +
+
+

+ +
+
+ + + + + + + + + + + +
+
+ + + \ No newline at end of file diff --git a/wp-content/themes/twentyeleven/category.php b/wp-content/themes/twentyeleven/category.php new file mode 100644 index 0000000000..37b8476fcd --- /dev/null +++ b/wp-content/themes/twentyeleven/category.php @@ -0,0 +1,35 @@ + + +
+
+ +
' ); ?> + + + + + + + + + + + + + + +
+ + + \ No newline at end of file diff --git a/wp-content/themes/twentyeleven/comments.php b/wp-content/themes/twentyeleven/comments.php new file mode 100644 index 0000000000..1dc09f1a26 --- /dev/null +++ b/wp-content/themes/twentyeleven/comments.php @@ -0,0 +1,67 @@ + +
+ +
+
+ + + + + +

+ ' . get_the_title() . '' ); + ?> +

+ + 1 && get_option( 'page_comments' ) ) : // are there comments to navigate through ?> + + + +
    + 'twentyeleven_comment' ) ); ?> +
+ + 1 && get_option( 'page_comments' ) ) : // are there comments to navigate through ?> + + + + + + + + +

+ + + + + + + + + + \ No newline at end of file diff --git a/wp-content/themes/twentyeleven/content-aside.php b/wp-content/themes/twentyeleven/content-aside.php new file mode 100644 index 0000000000..d66b73c01f --- /dev/null +++ b/wp-content/themes/twentyeleven/content-aside.php @@ -0,0 +1,50 @@ + + +
> +
+

+ + post_type ) : ?> + + + + + +
+ + +
+ →', 'twentyeleven' ) ); ?> +
+ +
+ →', 'twentyeleven' ) ); ?> + '' ) ); ?> +
+ + + +
diff --git a/wp-content/themes/twentyeleven/content-featured.php b/wp-content/themes/twentyeleven/content-featured.php new file mode 100644 index 0000000000..2b71ba046d --- /dev/null +++ b/wp-content/themes/twentyeleven/content-featured.php @@ -0,0 +1,51 @@ + +
> +
+

+ + +
+ +
+ + '' ) ); ?> +
+ + +
diff --git a/wp-content/themes/twentyeleven/content-gallery.php b/wp-content/themes/twentyeleven/content-gallery.php new file mode 100644 index 0000000000..01a3e8eef0 --- /dev/null +++ b/wp-content/themes/twentyeleven/content-gallery.php @@ -0,0 +1,66 @@ + + +
> +
+

+ + +
+ + +
+ →', 'twentyeleven' ) ); ?> +
+ +
+ + →', 'twentyeleven' ) ); ?> + + + $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' ); + ?> + + + +

%2$s photo.', 'This gallery contains %2$s photos.', $total_images, 'twentyeleven' ), + 'href="' . get_permalink() . '" title="' . sprintf( esc_attr__( 'Permalink to %s', 'twentyeleven' ), the_title_attribute( 'echo=0' ) ) . '" rel="bookmark"', + number_format_i18n( $total_images ) + ); ?>

+ + + + '' ) ); ?> +
+ + + +
diff --git a/wp-content/themes/twentyeleven/content-intro.php b/wp-content/themes/twentyeleven/content-intro.php new file mode 100644 index 0000000000..020d4d3269 --- /dev/null +++ b/wp-content/themes/twentyeleven/content-intro.php @@ -0,0 +1,18 @@ + + +
> +
+

+
+ +
+ + '' ) ); ?> + ', '' ); ?> +
+
diff --git a/wp-content/themes/twentyeleven/content-link.php b/wp-content/themes/twentyeleven/content-link.php new file mode 100644 index 0000000000..d66b73c01f --- /dev/null +++ b/wp-content/themes/twentyeleven/content-link.php @@ -0,0 +1,50 @@ + + +
> +
+

+ + post_type ) : ?> + + + + + +
+ + +
+ →', 'twentyeleven' ) ); ?> +
+ +
+ →', 'twentyeleven' ) ); ?> + '' ) ); ?> +
+ + + +
diff --git a/wp-content/themes/twentyeleven/content-page.php b/wp-content/themes/twentyeleven/content-page.php new file mode 100644 index 0000000000..15404db9cd --- /dev/null +++ b/wp-content/themes/twentyeleven/content-page.php @@ -0,0 +1,18 @@ + + +
> +
+

+
+ +
+ + '' ) ); ?> + ', '' ); ?> +
+
diff --git a/wp-content/themes/twentyeleven/content-single.php b/wp-content/themes/twentyeleven/content-single.php new file mode 100644 index 0000000000..f24bfb92ec --- /dev/null +++ b/wp-content/themes/twentyeleven/content-single.php @@ -0,0 +1,68 @@ + + +
> +
+

+ + +
+ +
+ + '' ) ); ?> +
+ + +
diff --git a/wp-content/themes/twentyeleven/content.php b/wp-content/themes/twentyeleven/content.php new file mode 100644 index 0000000000..c78c757f7f --- /dev/null +++ b/wp-content/themes/twentyeleven/content.php @@ -0,0 +1,58 @@ + + +
> +
+

+ + post_type ) : ?> + + + + + + +
+ + +
+ →', 'twentyeleven' ) ); ?> +
+ +
+ →', 'twentyeleven' ) ); ?> + '' ) ); ?> +
+ + + +
diff --git a/wp-content/themes/twentyeleven/footer.php b/wp-content/themes/twentyeleven/footer.php new file mode 100644 index 0000000000..4dfe4bd551 --- /dev/null +++ b/wp-content/themes/twentyeleven/footer.php @@ -0,0 +1,43 @@ + + + + + + + + + + + \ No newline at end of file diff --git a/wp-content/themes/twentyeleven/functions.php b/wp-content/themes/twentyeleven/functions.php new file mode 100644 index 0000000000..75b627fdaa --- /dev/null +++ b/wp-content/themes/twentyeleven/functions.php @@ -0,0 +1,454 @@ + __( 'Primary Menu', 'twentyeleven' ), +) ); + +/** + * Add default posts and comments RSS feed links to head + */ +add_theme_support( 'automatic-feed-links' ); + +/** + * Add support for an Aside Post Format + */ +add_theme_support( 'post-formats', array( 'aside', 'link', 'gallery' ) ); + +/** + * Add support for custom backgrounds + */ +add_custom_background(); + +// This theme uses Feature Images for per-post/per-page Custom Header images +add_theme_support( 'post-thumbnails' ); + +/** + * Add support for Custom Headers + */ +define( 'HEADER_TEXTCOLOR', '000' ); + +// No CSS, just an IMG call. The %s is a placeholder for the theme template directory URI. +define( 'HEADER_IMAGE', '%s/images/headers/default.jpg' ); + +// The height and width of your custom header. You can hook into the theme's own filters to change these values. +// Add a filter to twentyeleven_header_image_width and twentyeleven_header_image_height to change these values. +define( 'HEADER_IMAGE_WIDTH', apply_filters( 'twentyeleven_header_image_width', 1000 ) ); +define( 'HEADER_IMAGE_HEIGHT', apply_filters( 'twentyeleven_header_image_height', 300 ) ); + +// We'll be using post thumbnails for custom header images on posts and pages. +// We want them to be 940 pixels wide by 198 pixels tall. +// Larger images will be auto-cropped to fit, smaller ones will be ignored. See header.php. +set_post_thumbnail_size( HEADER_IMAGE_WIDTH, HEADER_IMAGE_HEIGHT, true ); + +// Add a way for the custom header to be styled in the admin panel that controls +// custom headers. See twentyeleven_admin_header_style(), below. +add_custom_image_header( 'twentyeleven_header_style', 'twentyeleven_admin_header_style', 'twentyeleven_admin_header_image' ); + +// ... and thus ends the changeable header business. + +if ( ! function_exists( 'twentyeleven_header_style' ) ) : +/** + * Styles the header image and text displayed on the blog + * + * @since Twenty Eleven 1.0 + */ +function twentyeleven_header_style() { + // If no custom options for text are set, let's bail + // get_header_textcolor() options: HEADER_TEXTCOLOR is default, hide text (returns 'blank') or any hex value + if ( HEADER_TEXTCOLOR == get_header_textcolor() ) + return; + // If we get this far, we have custom styles. Let's do this. + ?> + + Header admin panel. + * + * Referenced via add_custom_image_header() in twentyeleven_setup(). + * + * @since Twenty Eleven 1.0 + */ +function twentyeleven_admin_header_style() { +?> + + Header admin panel. + * + * Referenced via add_custom_image_header() in twentyeleven_setup(). + * + * @since Twenty Eleven 1.0 + */ +function twentyeleven_admin_header_image() { ?> +
+ +

onclick="return false;" href="">

+
>
+ +
+' . __( 'Continue reading ', 'twentyeleven' ) . ''; +} + +/** + * Replaces "[...]" (appended to automatically generated excerpts) with an ellipsis and twentyeleven_continue_reading_link(). + * + * To override this in a child theme, remove the filter and add your own + * function tied to the excerpt_more filter hook. + */ +function twentyeleven_auto_excerpt_more( $more ) { + return ' …' . twentyeleven_continue_reading_link(); +} +add_filter( 'excerpt_more', 'twentyeleven_auto_excerpt_more' ); + +/** + * Adds a pretty "Continue Reading" link to custom post excerpts. + * + * To override this link in a child theme, remove the filter and add your own + * function tied to the get_the_excerpt filter hook. + */ +function twentyeleven_custom_excerpt_more( $output ) { + if ( has_excerpt() && ! is_attachment() ) { + $output .= twentyeleven_continue_reading_link(); + } + return $output; +} +add_filter( 'get_the_excerpt', 'twentyeleven_custom_excerpt_more' ); + + +/** + * Add Twenty Eleven's custom image sizes + */ +add_image_size( 'large-feature', HEADER_IMAGE_WIDTH, 500, true ); // Used for large feature images +add_image_size( 'small-feature', 500, 500 ); // Used for featured posts if a large-feature doesn't exist + +/** + * Add custom body classes + */ +function twentyeleven_body_class($classes) { + if ( is_singular() && ! is_home() && ! is_page_template( 'showcase.php' ) ) + $classes[] = 'singular'; + + return $classes; +} +add_filter( 'body_class', 'twentyeleven_body_class' ); + +/** + * Get our wp_nav_menu() fallback, wp_page_menu(), to show a home link. + */ +function twentyeleven_page_menu_args( $args ) { + $args['show_home'] = true; + return $args; +} +add_filter( 'wp_page_menu_args', 'twentyeleven_page_menu_args' ); + +/** + * Register widgetized area and update sidebar with default widgets + */ +function twentyeleven_widgets_init() { + register_sidebar( array( + 'name' => __( 'Main Sidebar', 'twentyeleven' ), + 'id' => 'sidebar-1', + 'before_widget' => '", + 'before_title' => '

', + 'after_title' => '

', + ) ); + + register_sidebar( array( + 'name' => __( 'Showcase Sidebar', 'twentyeleven' ), + 'id' => 'sidebar-2', + 'description' => __( 'The sidebar for the optional Showcase Template', 'twentyeleven' ), + 'before_widget' => '", + 'before_title' => '

', + 'after_title' => '

', + ) ); + + register_sidebar( array( + 'name' => __( 'Footer Area One', 'twentyeleven' ), + 'id' => 'sidebar-3', + 'description' => __( 'An optional widget area for your site footer', 'twentyeleven' ), + 'before_widget' => '", + 'before_title' => '

', + 'after_title' => '

', + ) ); + + register_sidebar( array( + 'name' => __( 'Footer Area Two', 'twentyeleven' ), + 'id' => 'sidebar-4', + 'description' => __( 'An optional widget area for your site footer', 'twentyeleven' ), + 'before_widget' => '", + 'before_title' => '

', + 'after_title' => '

', + ) ); + + register_sidebar( array( + 'name' => __( 'Footer Area Three', 'twentyeleven' ), + 'id' => 'sidebar-5', + 'description' => __( 'An optional widget area for your site footer', 'twentyeleven' ), + 'before_widget' => '", + 'before_title' => '

', + 'after_title' => '

', + ) ); + +} +add_action( 'init', 'twentyeleven_widgets_init' ); + +/** + * Grab Twenty Eleven's Custom Widgets + */ +require( dirname( __FILE__ ) . '/widgets.php' ); + +/** + * Display navigation to next/previous pages when applicable + */ +function twentyeleven_content_nav($nav_id) { + global $wp_query; + + if ( $wp_query->max_num_pages > 1 ) : ?> + + /i', $post->post_content, $matches); + + $first_url = $matches [1] [0]; + + if ( empty( $first_url ) ) + return false; + + return $first_url; +} + +/** + * Count the number of footer sidebars to enable dynamic classes for the footer + */ +function twentyeleven_footer_sidebar_class() { + $count = 0; + + if ( is_active_sidebar( 'sidebar-3' ) ) + $count++; + + if ( is_active_sidebar( 'sidebar-4' ) ) + $count++; + + if ( is_active_sidebar( 'sidebar-5' ) ) + $count++; + + switch ( $count ) { + case '1': + $class = 'one'; + break; + + case '2': + $class = 'two'; + break; + + case '3': + $class = 'three'; + break; + + default: + $class = ''; + break; + } + + if ( '' != $class ) + echo 'class="' . $class . '"'; +} + +if ( ! function_exists( 'twentyeleven_comment' ) ) : +/** + * Template for comments and pingbacks. + * + * To override this walker in a child theme without modifying the comments template + * simply create your own twentyeleven_comment(), and that function will be used instead. + * + * Used as a callback by wp_list_comments() for displaying the comments. + * + * @since Twenty Eleven 1.0 + */ +function twentyeleven_comment( $comment, $args, $depth ) { + $GLOBALS['comment'] = $comment; + switch ( $comment->comment_type ) : + case '' : + ?> +
  • id="li-comment-"> +
    +
    +
    + comment_parent ) + $avatar_size = 39; + + echo get_avatar( $comment, $avatar_size ); + + printf( __( '%1$s on %2$s%3$s at %4$s%5$s said:', 'twentyeleven' ), + sprintf( '%s', get_comment_author_link() ), + '' + ); + ?> + + +
    + + comment_approved == '0' ) : ?> + +
    + + +
    + +
    + +
    + __( 'Reply ↓', 'twentyeleven' ), 'depth' => $depth, 'max_depth' => $args['max_depth'] ) ) ); ?> +
    +
    + + +
  • +

    + + + +> + + + + +<?php + /* + * Print the <title> tag based on what is being viewed. + */ + global $page, $paged; + + wp_title( '|', true, 'right' ); + + // Add the blog name. + 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() ) ) + echo " | $site_description"; + + // Add a page number if necessary: + if ( $paged >= 2 || $page >= 2 ) + echo ' | ' . sprintf( __( 'Page %s', 'twentyeleven' ), max( $paged, $page ) ); + + ?> + + + + + + + + + +> +
    + + + +
    \ No newline at end of file diff --git a/wp-content/themes/twentyeleven/image.php b/wp-content/themes/twentyeleven/image.php new file mode 100644 index 0000000000..5ec3230422 --- /dev/null +++ b/wp-content/themes/twentyeleven/image.php @@ -0,0 +1,109 @@ + + +
    +
    + + + + + +
    > +
    +

    + + + +
    + +
    + +
    +
    + $post->post_parent, 'post_status' => 'inherit', 'post_type' => 'attachment', 'post_mime_type' => 'image', 'order' => 'ASC', 'orderby' => 'menu_order ID' ) ) ); + foreach ( $attachments as $k => $attachment ) { + if ( $attachment->ID == $post->ID ) + break; + } + $k++; + // If there is more than 1 attachment in a gallery + if ( count( $attachments ) > 1 ) { + if ( isset( $attachments[ $k ] ) ) + // get the URL of the next image attachment + $next_attachment_url = get_attachment_link( $attachments[ $k ]->ID ); + else + // or get the URL of the first image attachment + $next_attachment_url = get_attachment_link( $attachments[ 0 ]->ID ); + } else { + // or, if there's only 1 image, get the URL of the image + $next_attachment_url = wp_get_attachment_url(); + } +?> + ID, array( $attachment_size, 1024 ) ); // filterable image width with 1024px limit for image height. + ?> + + post_excerpt ) ) : ?> +
    + +
    + +
    + +
    + +
    + + '' ) ); ?> +
    + +
    + +
    + + Post a comment or leave a trackback: Trackback URL.', 'twentyeleven' ), get_trackback_url() ); ?> + + Trackback URL.', 'twentyeleven' ), get_trackback_url() ); ?> + + post a comment.', 'twentyeleven' ); ?> + + + + ', '' ); ?> +
    +
    + + + +
    +
    + + \ No newline at end of file diff --git a/wp-content/themes/twentyeleven/images/comment-arrow-bypostauthor.png b/wp-content/themes/twentyeleven/images/comment-arrow-bypostauthor.png new file mode 100644 index 0000000000..55d791cee1 Binary files /dev/null and b/wp-content/themes/twentyeleven/images/comment-arrow-bypostauthor.png differ diff --git a/wp-content/themes/twentyeleven/images/comment-arrow-bypostauthor.psd b/wp-content/themes/twentyeleven/images/comment-arrow-bypostauthor.psd new file mode 100644 index 0000000000..213c633403 Binary files /dev/null and b/wp-content/themes/twentyeleven/images/comment-arrow-bypostauthor.psd differ diff --git a/wp-content/themes/twentyeleven/images/comment-arrow.png b/wp-content/themes/twentyeleven/images/comment-arrow.png new file mode 100644 index 0000000000..a6a84be6b8 Binary files /dev/null and b/wp-content/themes/twentyeleven/images/comment-arrow.png differ diff --git a/wp-content/themes/twentyeleven/images/comment-arrow.psd b/wp-content/themes/twentyeleven/images/comment-arrow.psd new file mode 100644 index 0000000000..c4b288f2fd Binary files /dev/null and b/wp-content/themes/twentyeleven/images/comment-arrow.psd differ diff --git a/wp-content/themes/twentyeleven/images/headers/default.jpg b/wp-content/themes/twentyeleven/images/headers/default.jpg new file mode 100644 index 0000000000..ed694398b0 Binary files /dev/null and b/wp-content/themes/twentyeleven/images/headers/default.jpg differ diff --git a/wp-content/themes/twentyeleven/images/search.png b/wp-content/themes/twentyeleven/images/search.png new file mode 100644 index 0000000000..309d2395e9 Binary files /dev/null and b/wp-content/themes/twentyeleven/images/search.png differ diff --git a/wp-content/themes/twentyeleven/index.php b/wp-content/themes/twentyeleven/index.php new file mode 100644 index 0000000000..a84ca54da3 --- /dev/null +++ b/wp-content/themes/twentyeleven/index.php @@ -0,0 +1,27 @@ + + +
    +
    + + + + + + + + + + + + +
    +
    + + + \ No newline at end of file diff --git a/wp-content/themes/twentyeleven/js/html5.js b/wp-content/themes/twentyeleven/js/html5.js new file mode 100644 index 0000000000..6dd03a4ce4 --- /dev/null +++ b/wp-content/themes/twentyeleven/js/html5.js @@ -0,0 +1,3 @@ +// html5shiv MIT @rem remysharp.com/html5-enabling-script +// iepp v1.6.2 MIT @jon_neal iecss.com/print-protector +/*@cc_on(function(a,b){function r(a){var b=-1;while(++b";return a.childNodes.length!==1}())){a.iepp=a.iepp||{};var c=a.iepp,d=c.html5elements||"abbr|article|aside|audio|canvas|datalist|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video",e=d.split("|"),f=e.length,g=new RegExp("(^|\\s)("+d+")","gi"),h=new RegExp("<(/*)("+d+")","gi"),i=/^\s*[\{\}]\s*$/,j=new RegExp("(^|[^\\n]*?\\s)("+d+")([^\\n]*)({[\\n\\w\\W]*?})","gi"),k=b.createDocumentFragment(),l=b.documentElement,m=l.firstChild,n=b.createElement("body"),o=b.createElement("style"),p=/print|all/,q;c.getCSS=function(a,b){if(a+""===undefined)return"";var d=-1,e=a.length,f,g=[];while(++d\n" +"Language-Team: LANGUAGE \n" + +#: 404.php:14 +msgid "This is somewhat embarrassing, isn’t it?" +msgstr "" + +#: 404.php:18 +msgid "" +"It seems we can’t find what you’re looking for. Perhaps " +"searching, or one of the links below, can help." +msgstr "" + +#: 404.php:25 +msgid "Most Used Categories" +msgstr "" + +#: 404.php:32 +msgid "Try looking in the monthly archives. %1$s" +msgstr "" + +#: archive.php:17 +msgid "Daily Archives: %s" +msgstr "" + +#: archive.php:19 +msgid "Monthly Archives: %s" +msgstr "" + +#: archive.php:21 +msgid "Yearly Archives: %s" +msgstr "" + +#: archive.php:23 +msgid "Blog Archives" +msgstr "" + +#: author.php:15 +msgid "Author Archives: %s" +msgstr "" + +#: author.php:30 content-single.php:57 +msgid "About %s" +msgstr "" + +#: category.php:14 +msgid "Category Archives: %s" +msgstr "" + +#: comments.php:9 +msgid "" +"This post is password protected. Enter the password to view any comments." +msgstr "" + +#: comments.php:20 +msgid "One thought on “%2$s”" +msgid_plural "%1$s thoughts on “%2$s”" +msgstr[0] "" +msgstr[1] "" + +#: comments.php:27 comments.php:39 +msgid "Comment navigation" +msgstr "" + +#: comments.php:28 comments.php:40 +msgid "← Older Comments" +msgstr "" + +#: comments.php:29 comments.php:41 +msgid "Newer Comments →" +msgstr "" + +#: comments.php:57 +msgid "Comments are closed." +msgstr "" + +#: content-aside.php:10 content-featured.php:11 content-gallery.php:10 +#: content-gallery.php:49 content-link.php:10 content.php:10 showcase.php:68 +#: showcase.php:70 showcase.php:112 widgets.php:91 +msgid "Permalink to %s" +msgstr "" + +#: content-aside.php:17 content-link.php:17 content.php:29 +msgid "Reply" +msgstr "" + +#: content-aside.php:17 content-link.php:17 content.php:29 +msgid "1" +msgstr "" + +#: content-aside.php:17 content-link.php:17 content.php:29 +msgid "%" +msgstr "" + +#: content-aside.php:24 content-aside.php:28 content-gallery.php:28 +#: content-gallery.php:33 content-link.php:24 content-link.php:28 +#: content.php:36 content.php:40 functions.php:201 +msgid "Continue reading " +msgstr "" + +#: content-aside.php:29 content-featured.php:29 content-gallery.php:55 +#: content-intro.php:15 content-link.php:29 content-page.php:15 image.php:85 +msgid "Pages:" +msgstr "" + +#: content-aside.php:35 content-featured.php:15 content-gallery.php:14 +#: content-link.php:35 content-single.php:14 content.php:15 +msgid "" +"Posted on by %6$s" +msgstr "" + +#: content-aside.php:40 content-featured.php:20 content-gallery.php:19 +#: content-link.php:40 content-single.php:19 content.php:20 +msgid "View all posts by %s" +msgstr "" + +#: content-aside.php:46 content-link.php:46 content.php:53 showcase.php:114 +msgid "Leave a reply" +msgstr "" + +#: content-aside.php:46 content-link.php:46 content.php:53 showcase.php:114 +msgid "1 Reply" +msgstr "" + +#: content-aside.php:46 content-link.php:46 content.php:53 showcase.php:114 +msgid "% Replies" +msgstr "" + +#: content-aside.php:48 content-featured.php:49 content-gallery.php:64 +#: content-intro.php:16 content-link.php:48 content-page.php:16 +#: content-single.php:49 content.php:56 image.php:36 image.php:100 +msgid "Edit" +msgstr "" + +#: content-featured.php:36 +msgid "" +"This entry was posted in %1$s and tagged %2$s. Bookmark the permalink." +msgstr "" + +#: content-featured.php:38 +msgid "" +"This entry was posted in %1$s. Bookmark the permalink." +msgstr "" + +#: content-gallery.php:48 +msgid "This gallery contains %2$s photo." +msgid_plural "This gallery contains %2$s photos." +msgstr[0] "" +msgstr[1] "" + +#: content-gallery.php:60 content.php:47 +msgid "Posted in " +msgstr "" + +#: content-gallery.php:62 content.php:48 +msgid "Tagged " +msgstr "" + +#: content-gallery.php:63 +msgid "Leave a reply" +msgstr "" + +#: content-gallery.php:63 +msgid "1 reply" +msgstr "" + +#: content-gallery.php:63 +msgid "% replies" +msgstr "" + +#: content-single.php:28 content.php:41 +msgid "Pages:" +msgstr "" + +#: content-single.php:35 +msgid "" +"This entry was posted in %1$s and tagged %2$s by %5$s. " +"Bookmark the permalink." +msgstr "" + +#: content-single.php:37 +msgid "" +"This entry was posted in %1$s by %5$s. Bookmark the permalink." +msgstr "" + +#: content-single.php:61 +msgid "View all posts by %s " +msgstr "" + +#: footer.php:35 +msgid "Theme: %1$s." +msgstr "" + +#: functions.php:30 +msgid "Primary Menu" +msgstr "" + +#: functions.php:261 +msgid "Main Sidebar" +msgstr "" + +#: functions.php:270 +msgid "Showcase Sidebar" +msgstr "" + +#: functions.php:272 +msgid "The sidebar for the optional Showcase Template" +msgstr "" + +#: functions.php:280 +msgid "Footer Area One" +msgstr "" + +#: functions.php:282 functions.php:292 functions.php:302 +msgid "An optional widget area for your site footer" +msgstr "" + +#: functions.php:290 +msgid "Footer Area Two" +msgstr "" + +#: functions.php:300 +msgid "Footer Area Three" +msgstr "" + +#: functions.php:325 single.php:15 +msgid "Post navigation" +msgstr "" + +#: functions.php:326 +msgid " Older posts" +msgstr "" + +#: functions.php:327 +msgid "Newer posts " +msgstr "" + +#: functions.php:417 +msgid "%1$s on %2$s%3$s at %4$s%5$s said:" +msgstr "" + +#: functions.php:426 +msgid "[Edit]" +msgstr "" + +#: functions.php:430 +msgid "Your comment is awaiting moderation." +msgstr "" + +#: functions.php:439 +msgid "Reply ↓" +msgstr "" + +#: functions.php:449 +msgid "Pingback:" +msgstr "" + +#: functions.php:449 +msgid "(Edit)" +msgstr "" + +#: header.php:34 +msgid "Page %s" +msgstr "" + +#: header.php:90 +msgid "Main menu" +msgstr "" + +#: header.php:91 +msgid "Skip to content" +msgstr "" + +#: image.php:15 single.php:16 +msgid "← Previous" +msgstr "" + +#: image.php:16 single.php:17 +msgid "Next →" +msgstr "" + +#: image.php:26 +msgid "" +"Published %2$s " +"at %4$s × %5$s " +"in %7$s" +msgstr "" + +#: image.php:92 +msgid "" +"Post a " +"comment or leave a trackback: Trackback URL." +msgstr "" + +#: image.php:94 +msgid "" +"Comments are closed, but you can leave a trackback: Trackback URL." +msgstr "" + +#: image.php:96 +msgid "" +"Trackbacks are closed, but you can post a comment." +msgstr "" + +#: image.php:98 +msgid "Both comments and trackbacks are currently closed." +msgstr "" + +#: search.php:15 +msgid "Search Results for: %s" +msgstr "" + +#: search.php:33 +msgid "Nothing Found" +msgstr "" + +#: search.php:37 +msgid "" +"Sorry, but nothing matched your search criteria. Please try again with some " +"different keywords." +msgstr "" + +#: searchform.php:8 searchform.php:9 +msgid "Search" +msgstr "" + +#: showcase.php:63 +msgid "Featured Post" +msgstr "" + +#: showcase.php:79 +msgid "Recent Posts" +msgstr "" + +#: sidebar.php:11 +msgid "Archives" +msgstr "" + +#: sidebar.php:18 +msgid "Meta" +msgstr "" + +#: tag.php:18 +msgid "Tag Archives: %s" +msgstr "" + +#: widgets.php:15 +msgid "Use this widget to list your recent Aside and Link posts" +msgstr "" + +#: widgets.php:16 +msgid "Twenty Eleven Ephemera" +msgstr "" + +#: widgets.php:49 +msgid "Ephemera" +msgstr "" + +#: widgets.php:93 widgets.php:108 +msgid "0 comments →" +msgstr "" + +#: widgets.php:93 widgets.php:108 +msgid "1 comment →" +msgstr "" + +#: widgets.php:93 widgets.php:108 +msgid "% comments →" +msgstr "" + +#: widgets.php:106 +msgid "Link to %s" +msgstr "" + +#: widgets.php:158 +msgid "Title:" +msgstr "" + +#: widgets.php:161 +msgid "Number of posts to show:" +msgstr "" + +#. Theme Name of the plugin/theme +msgid "Twenty Eleven" +msgstr "" + +#. Theme URI of the plugin/theme +msgid "http://wordpress.org/extend/themes/twentyeleven" +msgstr "" + +#. Description of the plugin/theme +msgid "" +"Twenty Eleven is a sophisticated theme designed and developed by the " +"WordPress team, offering a unique page template to turn your blog into a " +"showcase of different kinds of posts – Featured with an image, Asides, Link " +"posts, and more. It also supports customization options like custom " +"backgrounds, headers, menus, and widgets." +msgstr "" + +#. Author of the plugin/theme +msgid "the WordPress team" +msgstr "" + +#. Author URI of the plugin/theme +msgid "http://wordpress.org/" +msgstr "" + +#. Tags of the plugin/theme +msgid "" +"light, white, two-columns, left-sidebar, right-sidebar, flexible-width, " +"fixed-width, custom-background, custom-header, featured-images, featured-" +"image-header, sticky-post, custom-menu, sticky-post, microformats, rtl-" +"language-support, translation-ready" +msgstr "" diff --git a/wp-content/themes/twentyeleven/license.txt b/wp-content/themes/twentyeleven/license.txt new file mode 100644 index 0000000000..5fbe4a70aa --- /dev/null +++ b/wp-content/themes/twentyeleven/license.txt @@ -0,0 +1,281 @@ + GNU GENERAL PUBLIC LICENSE + Version 2, June 1991 + + Copyright (C) 1989, 1991 Free Software Foundation, Inc. + 51 Franklin St, Fifth Floor, Boston, MA 02110, USA + + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The licenses for most software are designed to take away your +freedom to share and change it. By contrast, the GNU General Public +License is intended to guarantee your freedom to share and change free +software--to make sure the software is free for all its users. This +General Public License applies to most of the Free Software +Foundation's software and to any other program whose authors commit to +using it. (Some other Free Software Foundation software is covered by +the GNU Library General Public License instead.) You can apply it to +your programs, too. + + When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +this service if you wish), that you receive source code or can get it +if you want it, that you can change the software or use pieces of it +in new free programs; and that you know you can do these things. + + To protect your rights, we need to make restrictions that forbid +anyone to deny you these rights or to ask you to surrender the rights. +These restrictions translate to certain responsibilities for you if you +distribute copies of the software, or if you modify it. + + For example, if you distribute copies of such a program, whether +gratis or for a fee, you must give the recipients all the rights that +you have. You must make sure that they, too, receive or can get the +source code. And you must show them these terms so they know their +rights. + + We protect your rights with two steps: (1) copyright the software, and +(2) offer you this license which gives you legal permission to copy, +distribute and/or modify the software. + + Also, for each author's protection and ours, we want to make certain +that everyone understands that there is no warranty for this free +software. If the software is modified by someone else and passed on, we +want its recipients to know that what they have is not the original, so +that any problems introduced by others will not reflect on the original +authors' reputations. + + Finally, any free program is threatened constantly by software +patents. We wish to avoid the danger that redistributors of a free +program will individually obtain patent licenses, in effect making the +program proprietary. To prevent this, we have made it clear that any +patent must be licensed for everyone's free use or not licensed at all. + + The precise terms and conditions for copying, distribution and +modification follow. + + GNU GENERAL PUBLIC LICENSE + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + + 0. This License applies to any program or other work which contains +a notice placed by the copyright holder saying it may be distributed +under the terms of this General Public License. The "Program", below, +refers to any such program or work, and a "work based on the Program" +means either the Program or any derivative work under copyright law: +that is to say, a work containing the Program or a portion of it, +either verbatim or with modifications and/or translated into another +language. (Hereinafter, translation is included without limitation in +the term "modification".) Each licensee is addressed as "you". + +Activities other than copying, distribution and modification are not +covered by this License; they are outside its scope. The act of +running the Program is not restricted, and the output from the Program +is covered only if its contents constitute a work based on the +Program (independent of having been made by running the Program). +Whether that is true depends on what the Program does. + + 1. You may copy and distribute verbatim copies of the Program's +source code as you receive it, in any medium, provided that you +conspicuously and appropriately publish on each copy an appropriate +copyright notice and disclaimer of warranty; keep intact all the +notices that refer to this License and to the absence of any warranty; +and give any other recipients of the Program a copy of this License +along with the Program. + +You may charge a fee for the physical act of transferring a copy, and +you may at your option offer warranty protection in exchange for a fee. + + 2. You may modify your copy or copies of the Program or any portion +of it, thus forming a work based on the Program, and copy and +distribute such modifications or work under the terms of Section 1 +above, provided that you also meet all of these conditions: + + a) You must cause the modified files to carry prominent notices + stating that you changed the files and the date of any change. + + b) You must cause any work that you distribute or publish, that in + whole or in part contains or is derived from the Program or any + part thereof, to be licensed as a whole at no charge to all third + parties under the terms of this License. + + c) If the modified program normally reads commands interactively + when run, you must cause it, when started running for such + interactive use in the most ordinary way, to print or display an + announcement including an appropriate copyright notice and a + notice that there is no warranty (or else, saying that you provide + a warranty) and that users may redistribute the program under + these conditions, and telling the user how to view a copy of this + License. (Exception: if the Program itself is interactive but + does not normally print such an announcement, your work based on + the Program is not required to print an announcement.) + +These requirements apply to the modified work as a whole. If +identifiable sections of that work are not derived from the Program, +and can be reasonably considered independent and separate works in +themselves, then this License, and its terms, do not apply to those +sections when you distribute them as separate works. But when you +distribute the same sections as part of a whole which is a work based +on the Program, the distribution of the whole must be on the terms of +this License, whose permissions for other licensees extend to the +entire whole, and thus to each and every part regardless of who wrote it. +Thus, it is not the intent of this section to claim rights or contest +your rights to work written entirely by you; rather, the intent is to +exercise the right to control the distribution of derivative or +collective works based on the Program. + +In addition, mere aggregation of another work not based on the Program +with the Program (or with a work based on the Program) on a volume of +a storage or distribution medium does not bring the other work under +the scope of this License. + + 3. You may copy and distribute the Program (or a work based on it, +under Section 2) in object code or executable form under the terms of +Sections 1 and 2 above provided that you also do one of the following: + + a) Accompany it with the complete corresponding machine-readable + source code, which must be distributed under the terms of Sections + 1 and 2 above on a medium customarily used for software interchange; or, + + b) Accompany it with a written offer, valid for at least three + years, to give any third party, for a charge no more than your + cost of physically performing source distribution, a complete + machine-readable copy of the corresponding source code, to be + distributed under the terms of Sections 1 and 2 above on a medium + customarily used for software interchange; or, + + c) Accompany it with the information you received as to the offer + to distribute corresponding source code. (This alternative is + allowed only for noncommercial distribution and only if you + received the program in object code or executable form with such + an offer, in accord with Subsection b above.) + +The source code for a work means the preferred form of the work for +making modifications to it. For an executable work, complete source +code means all the source code for all modules it contains, plus any +associated interface definition files, plus the scripts used to +control compilation and installation of the executable. However, as a +special exception, the source code distributed need not include +anything that is normally distributed (in either source or binary +form) with the major components (compiler, kernel, and so on) of the +operating system on which the executable runs, unless that component +itself accompanies the executable. + +If distribution of executable or object code is made by offering +access to copy from a designated place, then offering equivalent +access to copy the source code from the same place counts as +distribution of the source code, even though third parties are not +compelled to copy the source along with the object code. + + 4. You may not copy, modify, sublicense, or distribute the Program +except as expressly provided under this License. Any attempt +otherwise to copy, modify, sublicense or distribute the Program is +void, and will automatically terminate your rights under this License. +However, parties who have received copies, or rights, from you under +this License will not have their licenses terminated so long as such +parties remain in full compliance. + + 5. You are not required to accept this License, since you have not +signed it. However, nothing else grants you permission to modify or +distribute the Program or its derivative works. These actions are +prohibited by law if you do not accept this License. Therefore, by +modifying or distributing the Program (or any work based on the +Program), you indicate your acceptance of this License to do so, and +all its terms and conditions for copying, distributing or modifying +the Program or works based on it. + + 6. Each time you redistribute the Program (or any work based on the +Program), the recipient automatically receives a license from the +original licensor to copy, distribute or modify the Program subject to +these terms and conditions. You may not impose any further +restrictions on the recipients' exercise of the rights granted herein. +You are not responsible for enforcing compliance by third parties to +this License. + + 7. If, as a consequence of a court judgment or allegation of patent +infringement or for any other reason (not limited to patent issues), +conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot +distribute so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you +may not distribute the Program at all. For example, if a patent +license would not permit royalty-free redistribution of the Program by +all those who receive copies directly or indirectly through you, then +the only way you could satisfy both it and this License would be to +refrain entirely from distribution of the Program. + +If any portion of this section is held invalid or unenforceable under +any particular circumstance, the balance of the section is intended to +apply and the section as a whole is intended to apply in other +circumstances. + +It is not the purpose of this section to induce you to infringe any +patents or other property right claims or to contest validity of any +such claims; this section has the sole purpose of protecting the +integrity of the free software distribution system, which is +implemented by public license practices. Many people have made +generous contributions to the wide range of software distributed +through that system in reliance on consistent application of that +system; it is up to the author/donor to decide if he or she is willing +to distribute software through any other system and a licensee cannot +impose that choice. + +This section is intended to make thoroughly clear what is believed to +be a consequence of the rest of this License. + + 8. If the distribution and/or use of the Program is restricted in +certain countries either by patents or by copyrighted interfaces, the +original copyright holder who places the Program under this License +may add an explicit geographical distribution limitation excluding +those countries, so that distribution is permitted only in or among +countries not thus excluded. In such case, this License incorporates +the limitation as if written in the body of this License. + + 9. The Free Software Foundation may publish revised and/or new versions +of the General Public License from time to time. Such new versions will +be similar in spirit to the present version, but may differ in detail to +address new problems or concerns. + +Each version is given a distinguishing version number. If the Program +specifies a version number of this License which applies to it and "any +later version", you have the option of following the terms and conditions +either of that version or of any later version published by the Free +Software Foundation. If the Program does not specify a version number of +this License, you may choose any version ever published by the Free Software +Foundation. + + 10. If you wish to incorporate parts of the Program into other free +programs whose distribution conditions are different, write to the author +to ask for permission. For software which is copyrighted by the Free +Software Foundation, write to the Free Software Foundation; we sometimes +make exceptions for this. Our decision will be guided by the two goals +of preserving the free status of all derivatives of our free software and +of promoting the sharing and reuse of software generally. + + NO WARRANTY + + 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY +FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN +OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES +PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED +OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS +TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE +PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, +REPAIR OR CORRECTION. + + 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR +REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, +INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING +OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED +TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY +YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER +PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE +POSSIBILITY OF SUCH DAMAGES. + + END OF TERMS AND CONDITIONS + diff --git a/wp-content/themes/twentyeleven/page.php b/wp-content/themes/twentyeleven/page.php new file mode 100644 index 0000000000..26a2ee97fa --- /dev/null +++ b/wp-content/themes/twentyeleven/page.php @@ -0,0 +1,21 @@ + + +
    +
    + + + + + + + +
    +
    + + \ No newline at end of file diff --git a/wp-content/themes/twentyeleven/readme.txt b/wp-content/themes/twentyeleven/readme.txt new file mode 100644 index 0000000000..e803014843 --- /dev/null +++ b/wp-content/themes/twentyeleven/readme.txt @@ -0,0 +1,5 @@ += TWENTY ELEVEN = + +* by the WordPress team, http://wordpress.org/ + +== ABOUT TWENTY ELEVEN == \ No newline at end of file diff --git a/wp-content/themes/twentyeleven/rtl.css b/wp-content/themes/twentyeleven/rtl.css new file mode 100644 index 0000000000..8a5da70522 --- /dev/null +++ b/wp-content/themes/twentyeleven/rtl.css @@ -0,0 +1,44 @@ +/* +Theme Name: Twenty Eleven + +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; +} +#access { + float: right; + margin: 0 auto 1em; +} +#access ul { + padding-right: 0; +} +#access li { + float: right; +} +#access ul ul { + box-shadow: 0 3px 3px rgba(0,0,0,0.2); + -moz-box-shadow: 0 3px 3px rgba(0,0,0,0.2); + -webkit-box-shadow: 0 3px 3px rgba(0,0,0,0.2); + float: right; + right: 0; + left: auto; +} +#access ul ul ul { + right: 100%; + left: auto; +} +#content nav .nav-previous { + float: right; +} +#content nav .nav-next { + float: left; + text-align: left; +} diff --git a/wp-content/themes/twentyeleven/screenshot.png b/wp-content/themes/twentyeleven/screenshot.png new file mode 100644 index 0000000000..be155c122d Binary files /dev/null and b/wp-content/themes/twentyeleven/screenshot.png differ diff --git a/wp-content/themes/twentyeleven/search.php b/wp-content/themes/twentyeleven/search.php new file mode 100644 index 0000000000..04e39aa0f4 --- /dev/null +++ b/wp-content/themes/twentyeleven/search.php @@ -0,0 +1,48 @@ + + +
    +
    + + + + + + + + + + + + + + + + + + +
    +
    +

    +
    + +
    +

    + +
    +
    + + + +
    +
    + + + \ No newline at end of file diff --git a/wp-content/themes/twentyeleven/searchform.php b/wp-content/themes/twentyeleven/searchform.php new file mode 100644 index 0000000000..ae77bc2097 --- /dev/null +++ b/wp-content/themes/twentyeleven/searchform.php @@ -0,0 +1,10 @@ + +
    + + +
    diff --git a/wp-content/themes/twentyeleven/showcase.php b/wp-content/themes/twentyeleven/showcase.php new file mode 100644 index 0000000000..0ee7d14a29 --- /dev/null +++ b/wp-content/themes/twentyeleven/showcase.php @@ -0,0 +1,138 @@ + + +
    +
    + + + + + + 1, + 'post__in' => $sticky, + ); + + $featured = new WP_Query(); + $featured->query( $featured_args ); + + // Let's roll. + if ( $sticky ) : + + $featured->the_post(); + + // We're going to add a class to our featured post for featured images + // by default it'll have no class though + $feature_class = ''; + + if ( has_post_thumbnail() ) { + // … but if it has a featured image let's add some class + $feature_class = 'feature-image small'; + + // Hang on. Let's check this here image out. + $image = wp_get_attachment_image_src( get_post_thumbnail_id( $post->ID ), array( HEADER_IMAGE_WIDTH, HEADER_IMAGE_WIDTH ) ); + + // Is it bigger than or equal to our header? + if ( $image[1] >= HEADER_IMAGE_WIDTH ) { + // Let's add a BIGGER class. It's EXTRA classy now. + $feature_class = 'feature-image large'; + } + } + ?> + + +
    + +
    + +

    + = HEADER_IMAGE_WIDTH ) { ?> + + + + + +
    + + +
    +

    + + 'DESC', + 'post__not_in' => get_option( 'sticky_posts' ), + 'tax_query' => array( + array( + 'taxonomy' => 'post_format', + 'terms' => array( 'post-format-aside', 'post-format-link' ), + 'field' => 'slug', + 'operator' => 'NOT IN', + ), + ), + ); + $recent = new WP_Query(); + $recent->query( $recent_args ); + $counter = 0; + + while ( $recent->have_posts() ) : $recent->the_post(); + // set $more to 0 in order to only get the first part of the post + global $more; + $more = 0; + $counter++; + + if ( 1 == $counter ) : + get_template_part( 'content', get_post_format() ); + echo '
      '; + + else : ?> +
    1. + + + Leave a reply', 'twentyeleven' ), __( '1 Reply', 'twentyeleven' ), __( '% Replies', 'twentyeleven' ) ); ?> + +
    2. + + + +
    +
    + + + +
    +
    + + \ No newline at end of file diff --git a/wp-content/themes/twentyeleven/sidebar.php b/wp-content/themes/twentyeleven/sidebar.php new file mode 100644 index 0000000000..88f421b7db --- /dev/null +++ b/wp-content/themes/twentyeleven/sidebar.php @@ -0,0 +1,28 @@ + + + \ No newline at end of file diff --git a/wp-content/themes/twentyeleven/single.php b/wp-content/themes/twentyeleven/single.php new file mode 100644 index 0000000000..ce2272f2a0 --- /dev/null +++ b/wp-content/themes/twentyeleven/single.php @@ -0,0 +1,31 @@ + + +
    +
    + + + + + + + + + + + + + +
    +
    + + \ No newline at end of file diff --git a/wp-content/themes/twentyeleven/style.css b/wp-content/themes/twentyeleven/style.css new file mode 100644 index 0000000000..38b40badc4 --- /dev/null +++ b/wp-content/themes/twentyeleven/style.css @@ -0,0 +1,1933 @@ +/* +Theme Name: Twenty Eleven +Theme URI: http://wordpress.org/extend/themes/twentyeleven +Author: the WordPress team +Author URI: http://wordpress.org/ +Description: Twenty Eleven is a sophisticated theme designed and developed by the WordPress team, offering a unique page template to turn your blog into a showcase of different kinds of posts –- Featured with an image, Asides, Link posts, and more. It also supports customization options like custom backgrounds, headers, menus, and widgets. +Version: 1.0 +License: GNU General Public License +License URI: license.txt +Tags: light, white, two-columns, left-sidebar, right-sidebar, flexible-width, fixed-width, custom-background, custom-header, featured-images, featured-image-header, sticky-post, custom-menu, sticky-post, microformats, rtl-language-support, translation-ready +*/ + +/* =Reset default browser CSS. Based on work by Eric Meyer: http://meyerweb.com/eric/tools/css/reset/index.html +-------------------------------------------------------------- */ + +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; +} +:focus { /* remember to define focus styles! */ + outline: 0; +} +body { + background: #fff; + line-height: 1; +} +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 img { + border: 0; +} +header, hgroup, footer, section, article, nav, aside { + display: block; +} + + +/* =Structure +----------------------------------------------- */ + +body { + padding: 0 2em; +} +#page { + margin: 2em auto; + max-width: 1000px; +} +#branding hgroup { + margin: 0 7.6%; +} +#access div { + margin: 0 7.6%; +} +#primary { + float: left; + margin: 0 -26.4% 0 0; + width: 100%; +} +#content { + margin: 0 34% 0 7.6%; + width: 58.4%; +} +#secondary { + float: right; + margin-right: 7.6%; + width: 18.8%; +} + +/* Singular */ +.singular #primary { + margin: 0; +} +.singular #content { + margin: 0 7.6%; + position: relative; + width: auto; +} +.singular .entry-header, +.singular .entry-content, +.singular footer.entry-meta, +.singular #comments-title { + margin: 0 auto; + width: 68.9%; +} + +/* Attachments */ +.singular .image-attachment .entry-content { + margin: 0 auto; + width: auto; +} +.singular .image-attachment .entry-description { + margin: 0 auto; + width: 68.9%; +} + +/* Showcase */ +.page-template-showcase-php #primary { + margin: 0; +} +.page-template-showcase-php #content { + margin: 0 7.6%; + width: auto; +} +.page-template-showcase-php section.recent-posts { + float: right; + margin: 0 0 0 31.1%; + width: 69%; +} +.page-template-showcase-php #main .widget-area { + float: left; + margin: 0 -22.15% 0 0; + width: 22.15%; +} + +/* error404 */ +.error404 #primary { + margin: 0; +} +.error404 #content { + margin: 0 7.6%; +} + +/* 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; +} + + +/* =Global +----------------------------------------------- */ + +body, input, textarea { + color: #333; + font: 15px "Helvetica Neue", Helvetica, Arial, serif; + font-weight: 300; + line-height: 1.625; +} +body { + background: #e2e2e2; +} +#page { + background: #fff; +} + +/* Headings */ +h1,h2,h3,h4,h5,h6 { + clear: both; +} +hr { + background-color: #ccc; + border: 0; + height: 1px; + margin-bottom: 1.625em; +} + +/* Text elements */ +p { + margin-bottom: 1.625em; +} +ul, ol { + margin: 0 0 1.625em 2.5em; +} +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-weight: bold; +} +dd { + margin-bottom: 1.625em; +} +strong { + font-weight: bold; +} +cite, em, i { + font-style: italic; +} +blockquote { + font-family: Georgia, "Bitstream Charter", serif; + font-style: italic; + 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 { + 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; +} +ins { + background: #fff9c0; + 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 { + color: #444; +} +a:visited { + color: #444; +} +a:focus, +a:active, +a:hover { + color: #1b8be0; +} + + +/* Assitive text */ +.section-heading, +.screen-reader-text { + position: absolute !important; + clip: rect(1px 1px 1px 1px); /* IE6, IE7 */ + clip: rect(1px, 1px, 1px, 1px); +} + + +/* =Header +----------------------------------------------- */ + +#branding { + border-top: 2px solid #bbb; + padding-bottom: 10px; + position: relative; + z-index: 1; +} +#site-title { + padding: 4em 0 0; +} +#site-title a { + color: #111; + font-size: 30px; + font-weight: bold; + line-height: 36px; + text-decoration: none; +} +#site-description { + color: #7a7a7a; + font-size: 14px; + margin: 0 0 4em; +} +#branding img { + height: auto; + margin-bottom: -6px; + width: 100%; +} + + +/* =Menu +-------------------------------------------------------------- */ + +#access { + background: #222; + background: -moz-linear-gradient(#252525, #0a0a0a); + background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#252525), to(#0a0a0a)); + background: -webkit-linear-gradient(#252525, #0a0a0a); + -webkit-box-shadow: rgba(0, 0, 0, 0.4) 0px 1px 2px; + -moz-box-shadow: rgba(0, 0, 0, 0.4) 0px 1px 2px; + box-shadow: rgba(0, 0, 0, 0.4) 0px 1px 2px; + clear: both; + display: block; + float: left; + margin: 0 auto 6px; + width: 100%; +} +#access ul { + font-size: 13px; + list-style: none; + margin: 0 0 0 -0.8125em; + padding-left: 0; +} +#access li { + float: left; + position: relative; +} +#access a { + color: #eee; + display: block; + line-height: 3.333em; + padding: 0 1.2125em; + text-decoration: none; +} +#access ul ul { + -moz-box-shadow: 0 3px 3px rgba(0,0,0,0.2); + -webkit-box-shadow: 0 3px 3px rgba(0,0,0,0.2); + box-shadow: 0 3px 3px rgba(0,0,0,0.2); + display: none; + float: left; + margin: 0; + position: absolute; + top: 3.333em; + left: 0; + width: 188px; + z-index: 99999; +} +#access ul ul ul { + left: 100%; + top: 0; +} +#access ul ul a { + background: #f9f9f9; + border-bottom: 1px dotted #ddd; + color: #444; + font-size: 13px; + font-weight: normal; + height: auto; + line-height: 1em; + padding: 10px 10px; + width: 168px; +} +#access li:hover > a, +#access ul ul :hover > a { + background: #efefef; +} +#access li:hover > a { + background: #f9f9f9; + background: -moz-linear-gradient(#f9f9f9, #e5e5e5); + background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#f9f9f9), to(#e5e5e5)); + background: -webkit-linear-gradient(#f9f9f9, #e5e5e5); + color: #333; +} +#access ul li:hover > ul { + display: block; +} +#access .current_page_item a { + font-weight: bold; +} + +/* Search Form */ +#branding #searchform { + position: absolute; + text-align: right; + top: 4.3em; + right: 7.6%; +} +#branding #searchform div { + margin: 0; +} +#branding #s { + background: url(images/search.png) no-repeat 5px 6px; + float: right; + font-size: 14px; + height: 22px; + padding: 4px 10px 4px 28px; + width: 26%; + -webkit-transition-duration: 400ms; + -webkit-transition-property: width, background; + -webkit-transition-timing-function: ease; + -moz-transition-duration: 400ms; + -moz-transition-property: width, background; + -moz-transition-timing-function: ease; +} +#branding #s:focus { + background-color: #f9f9f9; + width: 114%; +} +#branding #searchsubmit { + display: none; +} +#branding .only-search #searchform { + top: 5px; + z-index: 1; +} +#branding .with-image #searchform { + bottom: -27px; + top: auto; +} +#branding .only-search #s { + background-color: #666; + border-color: #000; + color: #222; +} +#branding .only-search #s:focus { + background-color: #bbb; +} + + +/* =Content +----------------------------------------------- */ + +#main { + border-top: 2px solid #eee; + -webkit-box-shadow: 0 -1px 0 #dee7b1; + -moz-box-shadow: 0 -1px 0 #dee7b1; + box-shadow: 0 -1px 0 #dee7b1; + clear: both; + padding: 1.625em 0 0; +} +.page-title { + color: #333; + font-size: 10px; + font-weight: 500; + letter-spacing: 0.1em; + line-height: 2.6em; + margin: 0 0 2.6em; + text-transform: uppercase; +} +.page-title a { + font-size: 12px; + font-weight: bold; + letter-spacing: 0; + text-decoration: none; + text-transform: none; +} +.hentry { + border-bottom: 1px solid #ddd; + margin: 0 0 1.625em; + padding: 0 0 1.625em; + position: relative; +} +.blog .sticky .entry-header .entry-meta { + position: absolute !important; + clip: rect(1px 1px 1px 1px); /* IE6, IE7 */ + clip: rect(1px, 1px, 1px, 1px); +} +.entry-title, +.entry-header .entry-meta { + padding-right: 76px; +} +.entry-title { + clear: both; + color: #222; + font-size: 26px; + font-weight: bold; + line-height: 1.5em; + padding-bottom: .3em; +} +.entry-title, +.entry-title a { + color: #222; + text-decoration: none; +} +.entry-title a:hover { + color: #1b8be0; +} +.entry-meta { + color: #666; + clear: both; + font-size: 12px; + line-height: 18px; +} +.entry-meta a { + color: #222; + font-weight: bold; + text-decoration: none; +} +.entry-meta a:focus, +.entry-meta a:active, +.entry-meta a:hover { + color: #1b8be0; +} +.entry-content, +.entry-summary { + padding: 1.625em 0 0; +} +.entry-content h1, +.entry-content h2, +.comment-content h1, +.comment-content h2 { + color: #000; + font-weight: bold; + margin: 0 0 .8125em; +} +.entry-content h3, +.comment-content h3 { + font-size: 10px; + letter-spacing: 0.1em; + line-height: 2.6em; + text-transform: uppercase; +} +.entry-content a { + color: #1b8be0; +} +.entry-content a:hover { + color: #ff4b33; +} +.entry-content table, +.comment-content table { + border-bottom: 1px solid #ddd; + margin: 0 0 1.625em; + width: 100%; +} +.entry-content th, +.comment-content th { + color: #666; + font-size: 10px; + font-weight: 500; + letter-spacing: 0.1em; + line-height: 2.6em; + text-transform: uppercase; +} +.entry-content td, +.comment-content td { + border-top: 1px solid #ddd; + padding: 6px 10px 6px 0; +} +.comment-content ul, +.comment-content ol { + margin-bottom: 1.625em; +} +.comment-content ul ul, +.comment-content ol ol, +.comment-content ul ol, +.comment-content ol ul { + margin-bottom: 0; +} +dl.gallery-item { + margin: 0; +} +.page-link { + background: #f1f1f1; + border-top: 1px solid #ddd; + clear: both; + color: #888; + display: block; + font-size: 13px; + margin: 1.625em -30px; + padding: 4px 30px; + text-decoration: none; +} +.page-link a { + background: #d8d8d8; + color: #444; + margin: 0; + padding: 2px 3px; + text-decoration: none; +} +.page-link a:hover { + background: #1b8be0; + color: #bfddf3; + font-weight: bold; +} +.page-link span { + margin-right: 6px; +} +.entry-meta .edit-link a { + background: #aaa; + color: #fff; + -moz-border-radius: 3px; + border-radius: 3px; + float: right; + font-size: 12px; + font-weight: 300; + text-decoration: none; + padding: 0px 8px; +} +.entry-meta .edit-link a:hover { + background: #777; +} +.entry-content .edit-link { + clear: both; + display: block; +} + +/* Author Info */ +#author-info { + font-size: 12px; + overflow: hidden; +} +.singular #author-info { + background: #f9f9f9; + border-top: 1px solid #ddd; + border-bottom: 1px solid #ddd; + margin: 2.2em -35.6% 0 -35.4%; + padding: 20px 35.4%; +} +.archive #author-info { + border-bottom: 1px solid #ddd; + margin: 0 0 2.2em; + padding: 0 0 2.2em; +} +#author-avatar { + float: left; + margin-right: -78px; +} +#author-avatar img { + background: #fff; + -moz-border-radius: 3px; + border-radius: 3px; + padding: 3px; + -webkit-box-shadow: 0 1px 2px #bbb; + -moz-box-shadow: 0 1px 2px #bbb; + box-shadow: 0 1px 2px #bbb; +} +#author-description { + float: left; + margin-left: 108px; +} +#author-description h2 { + color: #000; + font-size: 15px; + font-weight: bold; + margin: 5px 0 10px; +} + +/* Comments link */ +.entry-header .comments-link a { + background: #eee; + border: 1px solid #ddd; + -moz-border-radius: 24px; + border-radius: 24px; + color: #777; + font-size: 18px; + height: 48px; + position: absolute; + top: 0; + right: 0; + text-align: center; + text-decoration: none; + width: 48px; + font-weight: 300; + line-height: 46px; +} +.entry-header .comments-link a:hover { + background: #1b8be0; + border-color: #0861a5; + color: #bfddf3; +} +.entry-header .comments-link .leave-reply { + font-size: 14px; + font-weight: bold; + text-transform: lowercase; +} + + +/* Singular content styles for Posts and Pages */ +.singular .hentry { + border-bottom: none; + padding: 4.875em 0 0; + position: relative; +} +.singular.page .hentry { + padding: 3.5em 0 0; +} +.singular .entry-title { + color: #000; + font-size: 36px; + font-weight: bold; + line-height: 48px; +} +.singular .entry-title, +.singular .entry-header .entry-meta { + padding-right: 0; +} + +.singular .entry-header .entry-meta { + position: absolute; + top: 0; + left: 0; +} +.singular .entry-header a { + color: #1b8be0; +} +.singular .entry-header a:hover { + color: #ff4b33; +} +.singular footer.entry-meta { +} +.singular blockquote.pull { + font-size: 21px; + font-weight: bold; + line-height: 1.6125em; + margin: 0 -22.25% 1.625em; +} +.singular .pull.alignleft { + margin: 0 1.625em 0 -22.25%; +} +.singular .pull.alignright { + margin: 0 -22.25% 0 1.625em; +} +.singular blockquote.pull.alignleft, +.singular blockquote.pull.alignright { + width: 33%; +} +.singular .entry-meta .edit-link a { + position: absolute; + bottom: auto; + left: 50px; + right: auto; + top: 80px; +} + +/* Aside */ +.format-aside .entry-title, +.format-aside .entry-header .comments-link { + display: none; +} +.singular .format-aside .entry-title { + display: block; +} +.format-aside .entry-content { + padding: 0; +} +.singular .format-aside .entry-content { + padding: 1.625em 0 0; +} + +/* Link */ +.format-link .entry-title, +.format-link .entry-header .comments-link { + display: none; +} +.singular .format-link .entry-title { + display: block; +} +.format-link .entry-content { + padding: 0; +} +.singular .format-link .entry-content { + padding: 1.625em 0 0; +} + +/* Gallery */ +.format-gallery .gallery-thumb { + float: left; + display: block; + margin-right: 1.625em; +} + +/* error404 */ +.error404 #main #searchform { + background: #f9f9f9; + border: 1px solid #ddd; + border-width: 1px 0; + margin: 0 -8.9% 1.625em; + padding: 1.625em 8.9%; + overflow: hidden; +} +.error404 #main #s { + width: 80%; +} +.error404 #main .widget { + float: left; + margin-right: 3.7%; + width: 30.85%; +} +.error404 #main .widget_archive { + margin-right: 0; +} +.error404 #main .widget_tag_cloud { + float: none; + margin-right: 0; + width: 100%; +} +.error404 .widgettitle { + font-size: 10px; + letter-spacing: 0.1em; + line-height: 2.6em; + text-transform: uppercase; +} + + +/* =Showcase +----------------------------------------------- */ + +h1.showcase-heading { + color: #333; + font-size: 10px; + font-weight: 500; + letter-spacing: 0.1em; + line-height: 2.6em; + text-transform: uppercase; +} + +/* Intro */ +article.intro { + background: #f9f9f9; + border-bottom: none; + border-top: 5px solid #6F98A8; + -webkit-box-shadow: 0 -5px 0 #305A7A; + -moz-box-shadow: 0 -5px 0 #305A7A; + box-shadow: 0 -5px 0 #305A7A; + margin: -1.855em -8.9% 1.625em; + padding: 0 8.9%; +/* border-top: 5px solid #94BB32; + -webkit-box-shadow: 0 -5px 0 #506815; */ +} +article.intro .entry-title { + display: none; +} +article.intro .entry-content { + color: #111; + font-size: 16px; + padding: 1.625em 0px 0.625em; +} +article.intro .edit-link a { + position: absolute; + background: #aaa; + color: #fff; + -moz-border-radius: 3px; + border-radius: 3px; + padding: 0px 8px; + font-size: 12px; + right: 20px; + text-decoration: none; + top: 30px; +} +article.intro .edit-link a:hover { + background: #777; +} + +/* Featured post */ +section.featured-post { + border-bottom: 1px solid #e8e8e8; + float: left; + margin: -1.625em -8.9% 1.625em; + padding: 1.625em 8.9% 0; + position: relative; + width: 100%; +} +section.featured-post .hentry { + border: none; + color: #666; + font-size: 13px; + margin: 0; +} +section.featured-post .entry-meta { + position: absolute !important; + clip: rect(1px 1px 1px 1px); /* IE6, IE7 */ + clip: rect(1px, 1px, 1px, 1px); +} + +/* Small featured post */ +section.featured-post .attachment-small-feature { + border-right: 20px solid #bbb; + float: right; + height: auto; + margin: -10px -8.9% 1.625em 0; + max-width: 59%; + position: relative; + right: -20px; +} +section.featured-post .attachment-small-feature:hover { + border-color: #888; +} +article.feature-image.small { + float: left; + margin: 0 0 1.625em; + width: 45%; +} +article.feature-image.small .entry-summary p a { + background: #222; + color: #eee; + display: block; + left: -19.8%; + padding: 4px 26px 4px 75px; + position: relative; + text-decoration: none; + top: 20px; + width: 120px; +} +article.feature-image.small .entry-summary p a:hover { + background: #1b8be0; + color: #bfddf3; +} + +/* Large featured post */ +section.feature-image.large { + border: none; + max-height: 500px; + padding: 0 0 0.8125em; + width: 100%; +} +section.feature-image.large .showcase-heading { + display: none; +} +section.feature-image.large .hentry { + border-bottom: none; + margin: 1.625em 9% 0 0; + position: absolute; + top: 0; + left: 9%; +} +article.feature-image.large .entry-title a { + background: #222; + background: rgba(0,0,0,0.8); + -moz-border-radius: 3px; + border-radius: 3px; + color: #fff; + font-weight: 300; + display: inline-block; + padding: .2em 20px; +} +section.feature-image.large:hover .entry-title a, +section.feature-image.large .entry-title:hover a { + background: #1b8be0; + background: rgba(0,145,255,0.8); + color: #bfddF3; +} +article.feature-image.large .entry-summary { + display: none; +} +section.feature-image.large img { + border-bottom: 1px solid #ddd; + display: block; + height: auto; + padding: 0 0 6px; + max-width: 117.9%; +} + +/* Recent Posts */ +section.recent-posts { + padding: 0 0 1.625em; +} +section.recent-posts .hentry { + border: none; + margin: 0; +} +section.recent-posts .other-recent-posts { + border-bottom: 1px solid #ddd; + list-style: none; + margin: 0; +} +section.recent-posts .other-recent-posts li { + padding: 0.3125em 0; + position: relative; +} +section.recent-posts .other-recent-posts .entry-title { + border-top: 1px solid #ddd; + font-size: 17px; +} +section.recent-posts .other-recent-posts a[rel="bookmark"] { + color: #333; + float: left; + max-width: 84%; +} +section.recent-posts .other-recent-posts a[rel="bookmark"]:after { + content: '-'; + color: transparent; + font-size: 11px; +} +section.recent-posts .other-recent-posts a[rel="bookmark"]:hover { + color: #1b8be0; +} +section.recent-posts .other-recent-posts .comments-link a, +section.recent-posts .other-recent-posts .comments-link > span { + border-bottom: 2px solid #999; + display: block; + color: #444; + text-align: right; + font-size: 10px; + font-weight: 500; + line-height: 2.76333em; + padding: 0.3125em 0 0.3125em 1em; + position: absolute; + bottom: -2px; + right: 0; + text-transform: uppercase; + z-index: 1; +} +section.recent-posts .other-recent-posts .comments-link > span { + border-color: #bbb; + color: #888; +} +section.recent-posts .other-recent-posts .comments-link a:hover { + color: #1b8be0; + border-color: #1b8be0; +} +section.recent-posts .other-recent-posts li:after { + clear: both; + content: '.'; + display: block; + height: 0; + visibility: hidden; +} + + +/* =Attachments +----------------------------------------------- */ + +.image-attachment div.attachment { + background: #f9f9f9; + border: 1px solid #ddd; + border-width: 1px 0; + margin: 0 -8.9% 1.625em; + padding: 1.625em 1.625em 0; + text-align: center; + overflow: hidden; +} +.image-attachment div.attachment img { + display: block; + margin: 0 auto 1.625em; +} +.image-attachment .entry-caption p { + font-size: 10px; + letter-spacing: 0.1em; + line-height: 2.6em; + margin: 0 0 2.6em; + text-transform: uppercase; +} + + +/* =Images +----------------------------------------------- */ + +img.size-auto, +img.size-large, +img.size-full, +img.size-medium, +img.size-thumbnail { + max-width: 100%; + height: auto; +} +img.wp-smiley { + margin-bottom: 0; + margin-top: 0; +} +p img, +.wp-caption { + margin-top: 0.4em; +} +.wp-caption { + background: #f4f2ed; + max-width: 96%; + margin-bottom: 1.625em; + padding: 12px; +} +.wp-caption img { + display: block; + margin: 5px auto 0; + max-width: 98%; +} +.wp-caption .wp-caption-text { + color: #666; + font-family: Georgia, serif; + font-size: 12px; + margin-bottom: 0.6em; + padding: 10px 0px 5px 40px; + position: relative; +} +.wp-caption .wp-caption-text:before { + color: #9b8a62; + content: '⎯'; + font-size: 14px; + font-style: normal; + font-weight: bold; + margin-right: 5px; + position: absolute; + left: 10px; + top: 7px; +} +.gallery-caption { +} + + +/* =Navigation +-------------------------------------------------------------- */ + +#content nav { + clear: both; + overflow: hidden; + padding: 0 0 1.625em; +} +#content nav a { + color: #1b8be0; + font-size: 12px; + font-weight: bold; + line-height: 2.2em; + text-decoration: none; +} +#content nav a:focus, +#content nav a:active, +#content nav a:hover { + color: #ff4b33; +} +#nav-above { + padding: 0 0 1.625em; +} +.nav-previous { + float: left; + width: 50%; +} +.nav-next { + float: right; + text-align: right; + width: 50%; +} + +/* Singular navigation */ +#nav-single { + display: inline-block; + overflow: visible !important; + position: absolute; + top: -4px; + right: 0; + z-index: 1000; +} +#nav-single .nav-previous, +#nav-single .nav-next { + float: none; + width: auto; +} +#nav-single .nav-next { + padding-left: .5em; +} + + +/* =Widgets +----------------------------------------------- */ + +#secondary { +} +.widget-area { + font-size: 12px; +} +.widget { + margin: 0 0 2.2em; +} +.widget-title { + color: #333; + font-size: 10px; + font-weight: 500; + letter-spacing: 0.1em; + line-height: 2.6em; + text-transform: uppercase; +} +.widget ul { + font-size: 15px; + margin: 0; +} +.widget ul ul { + margin-left: 1.5em; +} +.widget ul li { + color: #777; + font-size: 13px; +} +.widget a { + color: #1b8be0; + font-weight: bold; + text-decoration: none; +} +.widget a:hover { + color: #ff4b33; +} + +/* Search Widget */ +.widget_search form { + margin: 0 0 1.625em; +} +.widget_search #s { + width: 58%; +} +.widget_search #searchsubmit { + -webkit-box-shadow: rgba(0, 0, 0, 0.09) 0px -1px 1px inset; + background: #DDD; + border: 1px solid #CCC; + color: #888; + font-size: 13px; + line-height: 25px; + position: relative; + top: -2px; +} +.widget_search #searchsubmit:active { + background: #1b8be0; + color: #BFDDF3; + border-color: #0861A5; + -webkit-box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 1px inset; +} + +/* Ephemera Widget */ +section.ephemera ol, +.widget_twentyeleven_ephemera ol { + list-style: square; + margin: 5px 0 0; +} +section.ephemera .entry-title, +.widget_twentyeleven_ephemera .entry-title { + font-size: 15px; + font-weight: bold; + padding: 0; +} +section.ephemera .entry-title a, +.widget_twentyeleven_ephemera .entry-title a { + color: #1b8be0; +} +section.ephemera .entry-title a:hover, +.widget_twentyeleven_ephemera .entry-title a:hover { + color: #ff4b33; +} +section.ephemera .entry-title .comments-link a, +.widget_twentyeleven_ephemera .entry-title .comments-link a, +.widget_twentyeleven_ephemera .entry-title .comments-link { + color: #666; + display: block; + font-size: 10px; + font-weight: 500; + line-height: 2.76333em; + text-transform: uppercase; +} +section.ephemera .entry-title .comments-link a:hover, +.widget_twentyeleven_ephemera .entry-title .comments-link a:hover { + color: #1b8be0; +} +section.ephemera .entry-title a span { + color: #29628d; +} + +/* Twitter */ +.widget_twitter li { + list-style-type: none; + margin-bottom: 14px; +} +.widget_twitter .timesince { + display: block; + font-size: 11px; + margin-right: -10px; + text-align: right; +} + +/* Widget Image */ +.widget_image img { + height: auto; + max-width: 100%; +} + +/* Calendar Widget */ + +.widget_calendar #wp-calendar { + color: #555; + width: 95%; + text-align: center; +} +.widget_calendar #wp-calendar caption, +.widget_calendar #wp-calendar td, +.widget_calendar #wp-calendar th { + text-align: center; +} +.widget_calendar #wp-calendar caption { + font-size: 11px; + font-weight: 500; + padding: 5px 0 3px 0; + text-transform: uppercase; +} +.widget_calendar #wp-calendar th { + background: #f4f4f4; + border-top: 1px solid #ccc; + border-bottom: 1px solid #ccc; + font-weight: bold; +} +.widget_calendar #wp-calendar tfoot td { + background: #f4f4f4; + border-top: 1px solid #ccc; + border-bottom: 1px solid #ccc; +} + + +/* =Comments +----------------------------------------------- */ + +#comments-title { + color: #444; + font-size: 10px; + font-weight: 500; + line-height: 2.6em; + padding: 0 0 2.6em; + text-transform: uppercase; +} +.nocomments { + color: #aaa; + font-size: 24px; + font-weight: 100; + margin: 26px 0; + text-align: center; +} +.commentlist { + list-style: none; + margin: 0; +} +.commentlist > li.comment { + background: #f6f6f6; + border: 1px solid #ddd; + -moz-border-radius: 3px; + border-radius: 3px; + margin: 0 auto 1.625em; + padding: 1.625em; + position: relative; + width: 68.9%; +} +.commentlist .children { + list-style: none; + margin: 0; +} +.commentlist .children li.comment { + background: #fff; + border-left: 1px solid #ddd; + margin: 1.625em 0 0; + padding: 1.625em; + position: relative; +} +.commentlist .children li.comment .fn { + display: block; +} +.comment-meta .fn { + font-style: normal; +} +.comment-meta { + color: #666; + font-size: 12px; + line-height: 2.2em; +} +.commentlist .children li.comment .comment-meta { + line-height: 1.625em; + margin-left: 50px; +} +.commentlist .children li.comment .comment-content { + margin: 1.625em 0 0; +} +.comment-meta a { + color: #1b8be0; + text-decoration: none; + font-weight: bold; +} +.comment-meta a:focus, +.comment-meta a:active, +.comment-meta a:hover { + color: #ff4b33; +} +.commentlist .avatar { + -moz-border-radius: 3px; + border-radius: 3px; + padding: 0; + position: absolute; + top: 0; + left: -102px; + -webkit-box-shadow: 0 1px 2px #ccc; + -moz-box-shadow: 0 1px 2px #ccc; + box-shadow: 0 1px 2px #ccc; +} +.commentlist > li:before { + content: url(images/comment-arrow.png) no-repeat; + position: absolute; + left: -21px; +} +.commentlist > li.pingback:before { + content: ''; +} +.commentlist .children .avatar { + background: none; + padding: 0; + top: 2.2em; + left: 2.2em; + -webkit-box-shadow: none; + -moz-box-shadow: none; + box-shadow: none; +} +.commentlist .children .bypostauthor > article .comment-meta .vcard .avatar { +} +.comment-reply-link { + color: #1778c2; + font-size: 12px; + font-weight: bold; + text-decoration: none; +} +.comment-reply-link:hover { +} + +/* Post author highlighting */ +.commentlist > li.bypostauthor { + background: #222; + border-color: #000; + color: #ccc; +} +.commentlist > li.bypostauthor .comment-meta { + color: #ccc; +} +.commentlist > li.bypostauthor .comment-meta a { + color: #ccc; + text-decoration: none; + font-weight: bold; +} +.commentlist > li.bypostauthor .comment-meta a:focus, +.commentlist > li.bypostauthor .comment-meta a:active, +.commentlist > li.bypostauthor .comment-meta a:hover { + color: #ff4b33; +} +.commentlist > li.bypostauthor:before { + content: url(images/comment-arrow-bypostauthor.png); +} +.commentlist > li.bypostauthor .comment-content a { + color: #1b8be0; +} +.commentlist > li.bypostauthor .comment-content a:focus, +.commentlist > li.bypostauthor .comment-content a:active, +.commentlist > li.bypostauthor .comment-content a:hover { + color: #ff4b33; +} +.commentlist > li.bypostauthor .comment-reply-link { + color: #ccc; +} +.commentlist > li.bypostauthor .comment-reply-link:focus, +.commentlist > li.bypostauthor .comment-reply-link:active, +.commentlist > li.bypostauthor .comment-reply-link:hover { + color: #ff4b33; +} + +/* Post Author threaded comments */ +.commentlist > li.bypostauthor .children, +.commentlist > li.bypostauthor .children .comment-meta, +.commentlist > li.bypostauthor .children .comment-meta a, +.commentlist > li.bypostauthor .children .comment-reply-link { + color: #333; +} +.commentlist > li.bypostauthor .children .comment-meta a:focus, +.commentlist > li.bypostauthor .children .comment-meta a:active, +.commentlist > li.bypostauthor .children .comment-meta a:hover { + color: #ff4b33; +} +.commentlist .children > li.bypostauthor { + background: #222; + border-color: #000; +} +.commentlist .children > li.bypostauthor > article, +.commentlist .children > li.bypostauthor > article .comment-meta { + color: #ccc; +} +.commentlist .children > li.bypostauthor > article .comment-meta a { + color: #ccc; + text-decoration: none; + font-weight: bold; +} +.commentlist .children > li.bypostauthor > article .comment-reply-link { + color: #ccc; +} +.commentlist .children > li.bypostauthor > article .comment-meta a:focus, +.commentlist .children > li.bypostauthor > article .comment-meta a:active, +.commentlist .children > li.bypostauthor > article .comment-meta a:hover, +.commentlist .children > li.bypostauthor > article .comment-reply-link:focus, +.commentlist .children > li.bypostauthor > article .comment-reply-link:active, +.commentlist .children > li.bypostauthor > article .comment-reply-link:hover { + color: #ff4b33; +} +.commentlist .children > li.bypostauthor > article .comment-content a { + color: #1b8be0; +} +.commentlist .children > li.bypostauthor > article .comment-content a:focus, +.commentlist .children > li.bypostauthor > article .comment-content a:active, +.commentlist .children > li.bypostauthor > article .comment-content a:hover { + color: #ff4b33; +} + +/* Comment Form */ +#respond { + background: #ddd; + border: 1px solid #d3d3d3; + -moz-border-radius: 3px; + border-radius: 3px; + color: #444; + margin: 0 auto 1.625em; + padding: 1.625em; + position: relative; + width: 68.9%; +} +#respond a { + color: #ccc; +} +#respond a:focus, +#respond a:active, +#respond a:hover { + color: #ff4b33; +} +#respond input[type="text"], +#respond textarea { + background: #fff; + border: 4px solid #eee; + -moz-border-radius: 5px; + border-radius: 5px; + -webkit-box-shadow: inset 0 1px 3px #ccc; + -moz-box-shadow: inset 0 1px 3px #ccc; + box-shadow: inset 0 1px 3px #ccc; + position: relative; + padding: 10px; + text-indent: 80px; +} +#respond .comment-form-author, +#respond .comment-form-email, +#respond .comment-form-url, +#respond .comment-form-comment { + position: relative; +} +#respond .comment-form-author label, +#respond .comment-form-email label, +#respond .comment-form-url label, +#respond .comment-form-comment label { + background: #eee; + -webkit-box-shadow: 1px 1px 2px #ccc; + -moz-box-shadow: 1px 1px 2px #ccc; + box-shadow: 1px 1px 2px #ccc; + color: #555; + display: inline-block; + font-size: 13px; + padding: 4px 10px; + position: relative; + top: 41px; + left: 4px; + width: 60px; + z-index: 1; +/* text-shadow: 1px 1px 1px #fff; */ +} +#respond input[type="text"]:focus, +#respond textarea:focus { + text-indent: 0; + z-index: 1; +} +#respond textarea { + width: 95%; +} +#respond .comment-form-author .required, +#respond .comment-form-email .required { + color: #bd3500; + font-size: 22px; + font-weight: bold; + position: absolute; + top: 52px; + left: 68%; + z-index: 1; +} +#respond .comment-notes, +#respond .logged-in-as { + font-size: 13px; +} +#respond .logged-in-as a { + color: #478fa2; + font-weight: bold; + text-decoration: none; +} +#respond p { + margin: 10px 0; +} +#respond .form-submit { + float: right; + margin: -20px 0 10px; +} +#respond input#submit { + background: #222; + border: none; + -moz-border-radius: 3px; + border-radius: 3px; + -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: #eee; + cursor: pointer; + font-size: 15px; + margin: 20px 0; + padding: 5px 42px 5px 22px; + text-shadow: 0 -1px 0 rgba(0,0,0,0.3); + position: relative; + left: 30px; +} +#respond input#submit:active { + background: #1b8be0; + color: #bfddf3; +} +#respond #cancel-comment-reply-link { + color: #666; + margin-left: 10px; + text-decoration: none; +} +#respond .logged-in-as a:hover, +#respond #cancel-comment-reply-link:hover { + text-decoration: underline; +} +.commentlist #respond { + margin: 1.625em 0 0; + width: auto; +} +#reply-title { + color: #333; + font-size: 24px; + font-weight: bold; + line-height: 30px; +} +#cancel-comment-reply-link { + color: #888; + display: block; + font-size: 10px; + font-weight: normal; + line-height: 2.2em; + letter-spacing: 0.05em; + position: absolute; + top: 1.1em; + right: 1.625em; + text-decoration: none; + text-transform: uppercase; +} +#cancel-comment-reply-link:focus, +#cancel-comment-reply-link:active, +#cancel-comment-reply-link:hover { + color: #ff4b33; +} +#respond label { + line-height: 2.2em; +} +#respond input[type=text] { + display: block; + width: 75%; +} +#respond p { + font-size: 12px; +} +p.comment-form-comment { + margin: 0; +} +.form-allowed-tags { + display: none; +} + + +/* =Footer +----------------------------------------------- */ + +#colophon { + clear: both; +} +#supplementary { + border-top: 1px solid #ddd; + padding: 1.625em 7.6%; + overflow: hidden; +} + +/* Two Footer Widget Areas */ +#supplementary.two .widget-area { + float: left; + margin-right: 3.7%; + width: 48.1%; +} +#supplementary.two .widget-area + .widget-area { + margin-right: 0; +} + +/* Three Footer Widget Areas */ +#supplementary.three .widget-area { + float: left; + margin-right: 3.7%; + width: 30.85%; +} +#supplementary.three .widget-area + .widget-area + .widget-area { + margin-right: 0; +} + +/* Site Generator Line */ +#site-generator { + background: #f9f9f9; + border-top: 1px solid #ddd; + color: #666; + font-size: 12px; + line-height: 2.2em; + padding: 2.2em 0; + text-align: center; +} +#site-generator a { + text-decoration: none; + font-weight: bold; +} +#site-generator a:focus, +#site-generator a:active, +#site-generator a:hover { +} + + +/* =Responsive Structure +----------------------------------------------- */ + +@media (max-width: 800px) { + /* Simplify the basic layout */ + #content { + margin: 0 7.6%; + width: auto; + } + #nav-below { + border-bottom: 1px solid #ddd; + margin-bottom: 1.625em; + } + #secondary { + float: none; + margin: 0 7.6%; + width: auto; + } + /* Simplify the showcase template */ + .page-template-showcase-php section.recent-posts { + float: none; + margin: 0; + width: 100%; + } + .page-template-showcase-php #main .widget-area { + float: none; + margin: 0; + width: auto; + } + .page-template-showcase-php .other-recent-posts { + border-bottom: 1px solid #ddd; + } + /* Simplify the showcase template when small feature */ + section.featured-post .attachment-small-feature { + border: none; + display: block; + float: none; + margin: 0.625em auto 1.025em; + max-width: 100%; + height: auto; + position: static; + } + article.feature-image.small { + float: none; + margin: 0 0 1.625em; + width: auto; + } + article.feature-image.small .entry-summary a { + left: -9%; + } + /* Remove the margin on singular articles */ + .singular .entry-header, + .singular .entry-content, + .singular footer.entry-meta, + .singular #comments-title { + width: 100%; + } + /* Simplify the pullquotes and pull styles */ + .singular blockquote.pull { + margin: 0 0 1.625em; + } + .singular .pull.alignleft { + margin: 0 1.625em 0 0; + } + .singular .pull.alignright { + margin: 0 0 0 1.625em; + } + .singular .entry-meta .edit-link a { + position: absolute; + left: 0px; + top: 40px; + } + .singular #author-info { + margin: 2.2em -8.8% 0px; + padding: 20px 8.8%; + } + /* Make sure we have room for our comment avatars */ + .commentlist > li.comment { + margin-left: 102px; + width: auto; + } + /* And a full-width comment form */ + #respond { + width: auto; + } + /* No need to float footer widgets at this size */ + #supplementary .widget-area { + float: none !important; + margin-right: 0 !important; + width: auto !important; + } + /* No need to float 404 widgets at this size */ + .error404 #main .widget { + float: none; + margin-right: 0; + width: auto; + } + /* Make sure embeds fit their containers */ + embed, + object { + max-width: 100%; + } +} +@media (max-width: 650px) { + /* Make sure the logo and search form don't collide */ + #branding #searchform { + right: 1px; + top: 0; + } + /* Make sure the post-post navigation doesn't collide with anything */ + #nav-single { + display: block; + position: static; + } + /* Talking avatars take up too much room at this size */ + .commentlist > li.comment { + margin-left: 0; + } + .commentlist .avatar { + background: transparent; + display: block; + padding: 0; + position: static; + } + .commentlist .children .avatar { + position: absolute; + background: none; + padding: 0; + top: 2.2em; + left: 2.2em; + } +} +@media only screen and (min-device-width: 320px) and (max-device-width: 480px) { + body { + padding: 0 .5em; + } +} + +/* IE 7 */ +#ie7 article.intro { + margin-left: -7.6%; + margin-right: -7.6%; + padding-left: -7.6%; + padding-right: -7.6%; + max-width: 1000px; +} +#ie7 section.featured-post { + margin-left: -7.6%; + margin-right: -7.6%; + max-width: 850px; +} +#ie7 section.recent-posts { + margin-right: 7.6%; +} +#ie7 .page-template-showcase-php { +} \ No newline at end of file diff --git a/wp-content/themes/twentyeleven/tag.php b/wp-content/themes/twentyeleven/tag.php new file mode 100644 index 0000000000..2fd243469a --- /dev/null +++ b/wp-content/themes/twentyeleven/tag.php @@ -0,0 +1,39 @@ + + +
    +
    + + + + + + + + + + + + + + + + + + +
    +
    + + + \ No newline at end of file diff --git a/wp-content/themes/twentyeleven/widgets.php b/wp-content/themes/twentyeleven/widgets.php new file mode 100644 index 0000000000..c25e8c0d3f --- /dev/null +++ b/wp-content/themes/twentyeleven/widgets.php @@ -0,0 +1,167 @@ + 'widget_twentyeleven_ephemera', 'description' => __( 'Use this widget to list your recent Aside and Link posts', 'twentyeleven' ) ); + $this->WP_Widget( 'widget_twentyeleven_ephemera', __( 'Twenty Eleven Ephemera', 'twentyeleven' ), $widget_ops ); + $this->alt_option_name = 'widget_twentyeleven_ephemera'; + + add_action( 'save_post', array(&$this, 'flush_widget_cache' ) ); + add_action( 'deleted_post', array(&$this, 'flush_widget_cache' ) ); + add_action( 'switch_theme', array(&$this, 'flush_widget_cache' ) ); + + } + + /** + * Outputs the HTML for this widget. + * + * @param array An array of standard parameters for widgets in this theme + * @param array An array of settings for this widget instance + * @return void Echoes it's output + **/ + function widget( $args, $instance ) { + $cache = wp_cache_get( 'widget_twentyeleven_ephemera', 'widget' ); + + if ( !is_array($cache) ) + $cache = array(); + + if ( ! isset( $args['widget_id'] ) ) + $args['widget_id'] = null; + + if ( isset($cache[$args['widget_id']]) ) { + echo $cache[$args['widget_id']]; + return; + } + + ob_start(); + extract( $args, EXTR_SKIP ); + + $title = apply_filters( 'widget_title', empty($instance['title']) ? __( 'Ephemera' ) : $instance['title'], $instance, $this->id_base); + + if ( ! isset( $instance['number'] ) ) + $instance['number'] = '10'; + + if ( ! $number = absint( $instance['number'] ) ) + $number = 10; + + $ephemera_args = array( + 'order' => 'DESC', + 'posts_per_page' => $number, + 'nopaging' => 0, + 'post_status' => 'publish', + 'post__not_in' => get_option( 'sticky_posts' ), + 'tax_query' => array( + array( + 'taxonomy' => 'post_format', + 'terms' => array( 'post-format-aside', 'post-format-link' ), + 'field' => 'slug', + 'operator' => 'IN', + ), + ), + ); + $ephemera = new WP_Query(); + $ephemera->query( $ephemera_args ); + + if ( $ephemera->have_posts() ) : + + echo $before_widget; + echo $before_title; + echo $title; // Can set this with a widget option, or omit altogether + echo $after_title; + + global $post; + + ?> +
      + have_posts() ) : $ephemera->the_post(); ?> + + ID ) ) : ?> + +
    1. + + + comments →', 'twentyeleven' ), __( '1 comment →', 'twentyeleven' ), __( '% comments →', 'twentyeleven' ) ); ?> + +
    2. + + ID ) ) : ?> + +
    3. + +   + + comments →', 'twentyeleven' ), __( '1 comment →', 'twentyeleven' ), __( '% comments →', 'twentyeleven' ) ); ?> + +
    4. + + + + +
    + flush_widget_cache(); + + $alloptions = wp_cache_get( 'alloptions', 'options' ); + if ( isset($alloptions['widget_twentyeleven_ephemera']) ) + delete_option( 'widget_twentyeleven_ephemera' ); + + return $instance; + } + + function flush_widget_cache() { + wp_cache_delete( 'widget_twentyeleven_ephemera', 'widget' ); + } + + /** + * Displays the form for this widget on the Widgets page of the WP Admin area. + **/ + function form( $instance ) { + $title = isset($instance['title']) ? esc_attr($instance['title']) : ''; + $number = isset($instance['number']) ? absint($instance['number']) : 10; + ?> +

    +

    + +

    +

    +