Permalink
Browse files

Crazy amounts of updates to bring this up to date with Hybrid Core.

git-svn-id: http://svn.locallylost.com/themes/hybrid/trunk@547 dba0f204-706d-4bc1-bc29-8b92e0485636
  • Loading branch information...
1 parent d9b6688 commit eceb041228ae248d03220f6bfb34e35839f80f36 greenshady committed Dec 29, 2010
Showing with 430 additions and 1,469 deletions.
  1. +5 −5 404.php
  2. +9 −21 archive.php
  3. +0 −61 attachment-application.php
  4. +0 −63 attachment-audio.php
  5. +0 −66 attachment-image.php
  6. +0 −61 attachment-text.php
  7. +0 −61 attachment-video.php
  8. +29 −8 attachment.php
  9. +2 −2 comment.php
  10. +8 −14 comments.php
  11. +0 −60 date.php
  12. +0 −59 day.php
  13. 0 { → docs}/license.txt
  14. 0 { → docs}/readme.html
  15. +6 −6 footer.php
  16. +1 −1 functions.php
  17. +6 −6 header.php
  18. +0 −46 home.php
  19. +0 −58 hour.php
  20. +42 −2 index.php
  21. +21 −0 loop-error.php
  22. +130 −0 loop-meta.php
  23. 0 navigation-links.php → loop-nav.php
  24. +0 −62 minute.php
  25. +0 −59 month.php
  26. +8 −10 page-archives.php
  27. +8 −10 page-authors.php
  28. +8 −10 page-biography.php
  29. +8 −10 page-blog.php
  30. +8 −10 page-bookmarks.php
  31. +8 −10 page-categories.php
  32. +8 −10 page-daily.php
  33. +11 −13 page-logged-in.php
  34. +8 −10 page-monthly.php
  35. +8 −10 page-no-widgets.php
  36. +8 −10 page-post_tag-cloud.php
  37. +8 −10 page-sitemap.php
  38. +8 −10 page-weekly.php
  39. +6 −8 page-widgets.php
  40. +8 −10 page-yearly.php
  41. +0 −52 page.php
  42. +8 −10 post-no-widgets.php
  43. +0 −51 post.php
  44. +9 −21 search.php
  45. +4 −4 searchform.php
  46. +2 −2 sidebar-primary.php
  47. +2 −2 sidebar-secondary.php
  48. +2 −2 sidebar-subsidiary.php
  49. +0 −11 sidebar.php
  50. +8 −10 singular.php
  51. +9 −14 style.css
  52. +0 −59 taxonomy-category.php
  53. +6 −6 taxonomy-link_category.php
  54. +0 −58 taxonomy-post_tag.php
  55. +0 −60 taxonomy.php
  56. +0 −59 time.php
  57. +0 −59 user.php
  58. +0 −59 week.php
  59. +0 −58 year.php
View
10 404.php
@@ -16,11 +16,11 @@
@header( 'HTTP/1.1 404 Not found', true, 404 );
-get_header(); ?>
+get_header(); // Loads the header.php template. ?>
<div id="content" class="hfeed content">
- <?php do_atomic( 'before_content' ); // Before content hook ?>
+ <?php do_atomic( 'before_content' ); // hybrid_before_content ?>
<?php if ( is_active_sidebar( 'error-404-template' ) ) : ?>
@@ -40,16 +40,16 @@
<?php printf( __( 'You tried going to %1$s, and it doesn\'t exist. All is not lost! You can search for what you\'re looking for.', hybrid_get_textdomain() ), '<code>' . site_url( esc_url( $_SERVER['REQUEST_URI'] ) ) . '</code>' ); ?>
</p>
- <?php get_search_form(); ?>
+ <?php get_search_form(); // Loads the searchform.php template. ?>
</div><!-- .entry-content -->
</div><!-- .hentry -->
<?php endif; ?>
- <?php do_atomic( 'after_content' ); // After content hook ?>
+ <?php do_atomic( 'after_content' ); // hybrid_after_content ?>
</div><!-- .content .hfeed -->
-<?php get_footer(); ?>
+<?php get_footer(); // Loads the footer.php template. ?>
View
@@ -10,52 +10,40 @@
* @subpackage Template
*/
-get_header(); ?>
+get_header(); // Loads the header.php template. ?>
<div id="content" class="hfeed content">
- <?php do_atomic( 'before_content' ); // Before content hook ?>
+ <?php do_atomic( 'before_content' ); // hybrid_before_content ?>
- <div class="archive-info">
-
- <h1 class="archive-title"><?php _e( 'Archives', hybrid_get_textdomain() ); ?></h1>
-
- <div class="archive-description">
- <p>
- <?php _e( 'You are browsing the site archives.', hybrid_get_textdomain() ); ?>
- </p>
- </div><!-- .archive-description -->
-
- </div><!-- .archive-info -->
+ <?php get_template_part( 'loop-meta' ); // Loads the loop-meta.php template. ?>
<?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
<div id="post-<?php the_ID(); ?>" class="<?php hybrid_entry_class(); ?>">
- <?php get_the_image( array( 'custom_key' => array( 'Thumbnail' ), 'size' => 'thumbnail' ) ); ?>
+ <?php get_the_image( array( 'meta_key' => 'Thumbnail', 'size' => 'thumbnail' ) ); ?>
- <?php do_atomic( 'before_entry' ); // Before entry hook ?>
+ <?php do_atomic( 'before_entry' ); // hybrid_before_entry ?>
<div class="entry-summary">
<?php the_excerpt(); ?>
</div><!-- .entry-summary -->
- <?php do_atomic( 'after_entry' ); // After entry hook ?>
+ <?php do_atomic( 'after_entry' ); // hybrid_after_entry ?>
</div><!-- .hentry -->
<?php endwhile; ?>
<?php else: ?>
- <p class="no-data">
- <?php _e( 'Apologies, but no results were found.', hybrid_get_textdomain() ); ?>
- </p><!-- .no-data -->
+ <?php get_template_part( 'loop-error' ); // Loads the loop-error.php template. ?>
<?php endif; ?>
- <?php do_atomic( 'after_content' ); // After content hook ?>
+ <?php do_atomic( 'after_content' ); // hybrid_after_content ?>
</div><!-- .content .hfeed -->
-<?php get_footer(); ?>
+<?php get_footer(); // Loads the footer.php template. ?>
View
@@ -1,61 +0,0 @@
-<?php
-/**
- * Application Attachment Template
- *
- * This application attachment template is used when a reader is viewing a single application
- * attachment. Applications are uploads (i.e., attachments) that have a mime type of 'application'.
- * @link http://themehybrid.com/themes/hybrid/attachments
- *
- * @package Hybrid
- * @subpackage Template
- */
-
-get_header(); ?>
-
- <div id="content" class="hfeed content">
-
- <?php do_atomic( 'before_content' ); // Before content hook ?>
-
- <?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
-
- <div id="post-<?php the_ID(); ?>" class="<?php hybrid_entry_class(); ?>">
-
- <?php do_atomic( 'before_entry' ); // Before entry hook ?>
-
- <div class="entry-content">
-
- <?php hybrid_attachment(); ?>
-
- <?php the_content( sprintf( __( 'Continue reading %1$s', hybrid_get_textdomain() ), the_title( ' "', '"', false ) ) ); ?>
-
- <p class="download">
- <a href="<?php echo wp_get_attachment_url(); ?>" title="<?php the_title_attribute(); ?>" rel="enclosure" type="<?php echo get_post_mime_type(); ?>"><?php printf( __( 'Download &quot;%1$s&quot;', hybrid_get_textdomain() ), the_title( '<span class="fn">', '</span>', false) ); ?></a>
- </p><!-- .download -->
-
- <?php wp_link_pages( array( 'before' => '<p class="page-links pages">' . __( 'Pages:', hybrid_get_textdomain() ), 'after' => '</p>' ) ); ?>
-
- </div><!-- .entry-content -->
-
- <?php do_atomic( 'after_entry' ); // After entry hook ?>
-
- </div><!-- .hentry -->
-
- <?php do_atomic( 'after_singular' ); // After singular hook ?>
-
- <?php comments_template( '/comments.php', true ); ?>
-
- <?php endwhile; ?>
-
- <?php else: ?>
-
- <p class="no-data">
- <?php _e( 'Apologies, but no results were found.', hybrid_get_textdomain() ); ?>
- </p><!-- .no-data -->
-
- <?php endif; ?>
-
- <?php do_atomic( 'after_content' ); // After content hook ?>
-
- </div><!-- .content .hfeed -->
-
-<?php get_footer(); ?>
View
@@ -1,63 +0,0 @@
-<?php
-/**
- * Audio Attachment Template
- *
- * This audio attachment template is used when a reader is viewing a single audio attachment.
- * Audio attachments are uploads that have a mime type of 'audio'.
- * @link http://themehybrid.com/themes/hybrid/attachments/audio
- *
- * @package Hybrid
- * @subpackage Template
- */
-
-get_header(); ?>
-
- <div id="content" class="hfeed content">
-
- <?php do_atomic( 'before_content' ); // Before content hook ?>
-
- <?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
-
- <div id="post-<?php the_ID(); ?>" class="<?php hybrid_entry_class( 'haudio' ); ?>">
-
- <?php do_atomic( 'before_entry' ); // Before entry hook ?>
-
- <div class="entry-content">
-
- <?php hybrid_attachment(); ?>
-
- <div class="description">
- <?php the_content( sprintf( __( 'Continue reading %1$s', hybrid_get_textdomain() ), the_title( ' "', '"', false ) ) ); ?>
- </div><!-- .description -->
-
- <p class="download">
- <a href="<?php echo wp_get_attachment_url(); ?>" title="<?php the_title_attribute(); ?>" rel="enclosure" type="<?php echo get_post_mime_type(); ?>"><?php printf( __( 'Download &quot;%1$s&quot;', hybrid_get_textdomain() ), the_title( '<span class="fn">', '</span>', false) ); ?></a>
- </p><!-- .download -->
-
- <?php wp_link_pages( array( 'before' => '<p class="page-links pages">' . __( 'Pages:', hybrid_get_textdomain() ), 'after' => '</p>' ) ); ?>
-
- </div><!-- .entry-content -->
-
- <?php do_atomic( 'after_entry' ); // After entry hook ?>
-
- </div><!-- .haudio .post -->
-
- <?php do_atomic( 'after_singular' ); // After singular hook ?>
-
- <?php comments_template( '/comments.php', true ); ?>
-
- <?php endwhile; ?>
-
- <?php else: ?>
-
- <p class="no-data">
- <?php _e( 'Apologies, but no results were found.', hybrid_get_textdomain() ); ?>
- </p><!-- .no-data -->
-
- <?php endif; ?>
-
- <?php do_atomic( 'after_content' ); // After content hook ?>
-
- </div><!-- .content .hfeed -->
-
-<?php get_footer(); ?>
View
@@ -1,66 +0,0 @@
-<?php
-/**
- * Image Attachment Template
- *
- * The image attachment template is used when a user is viewing an image attachment page. It
- * displays a full-sized view of the current image attachment with the attachment description
- * and thumbnail links to the previous and next images.
- * @link http://themehybrid.com/themes/hybrid/attachments/image
- * @link http://codex.wordpress.org/Using_Image_and_File_Attachments
- *
- * @package Hybrid
- * @subpackage Template
- */
-
-get_header(); ?>
-
- <div id="content" class="hfeed content">
-
- <?php do_atomic( 'before_content' ); // Before content hook ?>
-
- <?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
-
- <div id="post-<?php the_ID(); ?>" class="<?php hybrid_entry_class( 'hmedia' ); ?>">
-
- <?php do_atomic( 'before_entry' ); // Before entry hook ?>
-
- <div class="entry-content">
-
- <p class="attachment-image">
- <img class="aligncenter" src="<?php echo wp_get_attachment_url(); ?>" alt="<?php the_title_attribute(); ?>" title="<?php the_title_attribute(); ?>" />
- </p><!-- .attachment-image -->
-
- <?php the_content( sprintf( __( 'Continue reading %1$s', hybrid_get_textdomain() ), the_title( ' "', '"', false ) ) ); ?>
-
- <?php wp_link_pages( array( 'before' => '<p class="page-links pages">' . __( 'Pages:', hybrid_get_textdomain() ), 'after' => '</p>' ) ); ?>
-
- </div><!-- .entry-content -->
-
- <p class="navigation-attachment">
- <span class="alignleft"><?php previous_image_link(); ?></span>
- <span class="alignright"><?php next_image_link(); ?></span>
- </p><!-- .navigation-attachment -->
-
- <?php do_atomic( 'after_entry' ); // After entry hook ?>
-
- </div><!-- .hentry -->
-
- <?php do_atomic( 'after_singular' ); // After singular hook ?>
-
- <?php comments_template( '/comments.php', true ); ?>
-
- <?php endwhile; ?>
-
- <?php else: ?>
-
- <p class="no-data">
- <?php _e( 'Apologies, but no results were found.', hybrid_get_textdomain() ); ?>
- </p><!-- .no-data -->
-
- <?php endif; ?>
-
- <?php do_atomic( 'after_content' ); // After content hook ?>
-
- </div><!-- .content .hfeed -->
-
-<?php get_footer(); ?>
View
@@ -1,61 +0,0 @@
-<?php
-/**
- * Text Attachment Template
- *
- * This text attachment template is used when a reader is viewing a single text attachment.
- * Texts are uploads (i.e., attachments) that have a mime type of 'text'.
- * @link http://themehybrid.com/themes/hybrid/attachments/text
- *
- * @package Hybrid
- * @subpackage Template
- */
-
-get_header(); ?>
-
- <div id="content" class="hfeed content">
-
- <?php do_atomic( 'before_content' ); // Before content hook ?>
-
- <?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
-
- <div id="post-<?php the_ID(); ?>" class="<?php hybrid_entry_class(); ?>">
-
- <?php do_atomic( 'before_entry' ); // Before entry hook ?>
-
- <div class="entry-content">
-
- <?php hybrid_attachment(); ?>
-
- <?php the_content( sprintf( __( 'Continue reading %1$s', hybrid_get_textdomain() ), the_title( ' "', '"', false ) ) ); ?>
-
- <p class="download">
- <a href="<?php echo wp_get_attachment_url(); ?>" title="<?php the_title_attribute(); ?>" rel="enclosure" type="<?php echo get_post_mime_type(); ?>"><?php printf( __( 'Download &quot;%1$s&quot;', hybrid_get_textdomain() ), the_title( '<span class="fn">', '</span>', false) ); ?></a>
- </p><!-- .download -->
-
- <?php wp_link_pages( array( 'before' => '<p class="page-links pages">' . __( 'Pages:', hybrid_get_textdomain() ), 'after' => '</p>' ) ); ?>
-
- </div><!-- .entry-content -->
-
- <?php do_atomic( 'after_entry' ); // After entry hook ?>
-
- </div><!-- .hentry -->
-
- <?php do_atomic( 'after_singular' ); // After singular hook ?>
-
- <?php comments_template( '/comments.php', true ); ?>
-
- <?php endwhile; ?>
-
- <?php else: ?>
-
- <p class="no-data">
- <?php _e( 'Apologies, but no results were found.', hybrid_get_textdomain() ); ?>
- </p><!-- .no-data -->
-
- <?php endif; ?>
-
- <?php do_atomic( 'after_content' ); // After content hook ?>
-
- </div><!-- .content .hfeed -->
-
-<?php get_footer(); ?>
Oops, something went wrong.

0 comments on commit eceb041

Please sign in to comment.