Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

meetings.jquery.org theme: Fixed and simplified styling of meeting mi…

…nutes posts
  • Loading branch information...
commit 8c6020b9d67d493ddbcc4482eca2dbb5d9615d7d 1 parent 13d48ef
@rdworth rdworth authored
View
18 themes/meetings.jquery.org/content-single.php
@@ -0,0 +1,18 @@
+<?php
+/**
+ * The template for displaying content in the single.php template
+ */
+?>
+
+<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
+ <header class="entry-header">
+ <h1 class="entry-title"><?php the_title(); ?></h1>
+ <hr>
+ </header><!-- .entry-header -->
+
+ <div class="entry-content">
+ <?php the_content(); ?>
+ <?php wp_link_pages( array( 'before' => '<div class="page-link"><span>' . __( 'Pages:', 'twentyeleven' ) . '</span>', 'after' => '</div>' ) ); ?>
+ </div><!-- .entry-content -->
+
+</article><!-- #post-<?php the_ID(); ?> -->
View
40 themes/meetings.jquery.org/content.php
@@ -0,0 +1,40 @@
+<?php
+/**
+ * The default template for displaying content
+ */
+?>
+
+<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
+ <header class="entry-header">
+ <div class="entry-meta">
+ <?php
+ // Hide category and tag text for pages on Search
+ if ( 'post' == get_post_type() ) :
+ echo jq_categories_and_parents();
+ endif;
+ ?>
+ </div>
+ <?php if ( is_sticky() ) : ?>
+ <hgroup>
+ <h2 class="entry-title"><a href="<?php the_permalink(); ?>" title="<?php printf( esc_attr__( 'Permalink to %s', 'twentyeleven' ), the_title_attribute( 'echo=0' ) ); ?>" rel="bookmark"><?php the_title(); ?></a></h2>
+ <h3 class="entry-format"><?php _e( 'Featured', 'twentyeleven' ); ?></h3>
+ </hgroup>
+ <?php else : ?>
+ <h1 class="entry-title">
+ <a href="<?php the_permalink(); ?>" title="<?php printf( esc_attr__( 'Permalink to %s', 'twentyeleven' ), the_title_attribute( 'echo=0' ) ); ?>" rel="bookmark"><?php the_title(); ?></a>
+ </h1>
+ <?php endif; ?>
+
+ </header>
+
+ <?php if ( is_search() ) : // Only display Excerpts for Search ?>
+ <div class="entry-summary">
+ <?php the_excerpt(); ?>
+ </div>
+ <?php else : ?>
+ <div class="entry-content">
+ <?php the_content( __( 'Continue reading <span class="meta-nav">&rarr;</span>', 'twentyeleven' ) ); ?>
+ <?php wp_link_pages( array( 'before' => '<div class="page-link"><span>' . __( 'Pages:', 'twentyeleven' ) . '</span>', 'after' => '</div>' ) ); ?>
+ </div>
+ <?php endif; ?>
+</article>
View
24 themes/meetings.jquery.org/single.php
@@ -0,0 +1,24 @@
+<?php
+/**
+ * The Template for displaying all single posts.
+ */
+
+get_header(); ?>
+
+<div class="content-right twelve columns">
+ <div id="content">
+
+ <?php while ( have_posts() ) : the_post(); ?>
+
+ <?php get_template_part( 'content', 'single' ); ?>
+
+ <hr>
+
+ <?php endwhile; // end of the loop. ?>
+
+ </div>
+
+ <?php get_sidebar(); ?>
+</div>
+
+<?php get_footer(); ?>
Please sign in to comment.
Something went wrong with that request. Please try again.