stump-cli 0.1.2 → 0.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/lib/stump-cli/version.rb +1 -1
- data/lib/wp/{wp-content/themes/stump/.gitignore → .gitignore} +1 -0
- metadata +2 -64
- data/lib/wp/wp-content/themes/twentyfourteen/404.php +0 -32
- data/lib/wp/wp-content/themes/twentyfourteen/archive.php +0 -74
- data/lib/wp/wp-content/themes/twentyfourteen/author.php +0 -74
- data/lib/wp/wp-content/themes/twentyfourteen/category.php +0 -58
- data/lib/wp/wp-content/themes/twentyfourteen/comments.php +0 -66
- data/lib/wp/wp-content/themes/twentyfourteen/content-aside.php +0 -57
- data/lib/wp/wp-content/themes/twentyfourteen/content-audio.php +0 -57
- data/lib/wp/wp-content/themes/twentyfourteen/content-featured-post.php +0 -34
- data/lib/wp/wp-content/themes/twentyfourteen/content-gallery.php +0 -57
- data/lib/wp/wp-content/themes/twentyfourteen/content-image.php +0 -57
- data/lib/wp/wp-content/themes/twentyfourteen/content-link.php +0 -57
- data/lib/wp/wp-content/themes/twentyfourteen/content-none.php +0 -31
- data/lib/wp/wp-content/themes/twentyfourteen/content-page.php +0 -31
- data/lib/wp/wp-content/themes/twentyfourteen/content-quote.php +0 -57
- data/lib/wp/wp-content/themes/twentyfourteen/content-video.php +0 -57
- data/lib/wp/wp-content/themes/twentyfourteen/content.php +0 -66
- data/lib/wp/wp-content/themes/twentyfourteen/css/editor-style.css +0 -717
- data/lib/wp/wp-content/themes/twentyfourteen/css/ie.css +0 -1335
- data/lib/wp/wp-content/themes/twentyfourteen/featured-content.php +0 -39
- data/lib/wp/wp-content/themes/twentyfourteen/footer.php +0 -28
- data/lib/wp/wp-content/themes/twentyfourteen/functions.php +0 -519
- data/lib/wp/wp-content/themes/twentyfourteen/genericons/COPYING.txt +0 -9
- data/lib/wp/wp-content/themes/twentyfourteen/genericons/Genericons-Regular.otf +0 -0
- data/lib/wp/wp-content/themes/twentyfourteen/genericons/LICENSE.txt +0 -339
- data/lib/wp/wp-content/themes/twentyfourteen/genericons/README.txt +0 -123
- data/lib/wp/wp-content/themes/twentyfourteen/genericons/example.html +0 -464
- data/lib/wp/wp-content/themes/twentyfourteen/genericons/font/genericons-regular-webfont.eot +0 -0
- data/lib/wp/wp-content/themes/twentyfourteen/genericons/font/genericons-regular-webfont.svg +0 -135
- data/lib/wp/wp-content/themes/twentyfourteen/genericons/font/genericons-regular-webfont.ttf +0 -0
- data/lib/wp/wp-content/themes/twentyfourteen/genericons/font/genericons-regular-webfont.woff +0 -0
- data/lib/wp/wp-content/themes/twentyfourteen/genericons/genericons.css +0 -197
- data/lib/wp/wp-content/themes/twentyfourteen/header.php +0 -65
- data/lib/wp/wp-content/themes/twentyfourteen/image.php +0 -79
- data/lib/wp/wp-content/themes/twentyfourteen/images/pattern-dark.svg +0 -16
- data/lib/wp/wp-content/themes/twentyfourteen/images/pattern-light.svg +0 -6
- data/lib/wp/wp-content/themes/twentyfourteen/inc/back-compat.php +0 -63
- data/lib/wp/wp-content/themes/twentyfourteen/inc/custom-header.php +0 -147
- data/lib/wp/wp-content/themes/twentyfourteen/inc/customizer.php +0 -114
- data/lib/wp/wp-content/themes/twentyfourteen/inc/featured-content.php +0 -531
- data/lib/wp/wp-content/themes/twentyfourteen/inc/template-tags.php +0 -203
- data/lib/wp/wp-content/themes/twentyfourteen/inc/widgets.php +0 -269
- data/lib/wp/wp-content/themes/twentyfourteen/index.php +0 -61
- data/lib/wp/wp-content/themes/twentyfourteen/js/customizer.js +0 -38
- data/lib/wp/wp-content/themes/twentyfourteen/js/featured-content-admin.js +0 -9
- data/lib/wp/wp-content/themes/twentyfourteen/js/functions.js +0 -134
- data/lib/wp/wp-content/themes/twentyfourteen/js/html5.js +0 -8
- data/lib/wp/wp-content/themes/twentyfourteen/js/keyboard-image-navigation.js +0 -21
- data/lib/wp/wp-content/themes/twentyfourteen/js/slider.js +0 -598
- data/lib/wp/wp-content/themes/twentyfourteen/languages/twentyfourteen.pot +0 -467
- data/lib/wp/wp-content/themes/twentyfourteen/page-templates/contributors.php +0 -52
- data/lib/wp/wp-content/themes/twentyfourteen/page-templates/full-width.php +0 -42
- data/lib/wp/wp-content/themes/twentyfourteen/page.php +0 -48
- data/lib/wp/wp-content/themes/twentyfourteen/rtl.css +0 -854
- data/lib/wp/wp-content/themes/twentyfourteen/screenshot.png +0 -0
- data/lib/wp/wp-content/themes/twentyfourteen/search.php +0 -49
- data/lib/wp/wp-content/themes/twentyfourteen/sidebar-content.php +0 -16
- data/lib/wp/wp-content/themes/twentyfourteen/sidebar-footer.php +0 -19
- data/lib/wp/wp-content/themes/twentyfourteen/sidebar.php +0 -29
- data/lib/wp/wp-content/themes/twentyfourteen/single.php +0 -40
- data/lib/wp/wp-content/themes/twentyfourteen/style.css +0 -4321
- data/lib/wp/wp-content/themes/twentyfourteen/tag.php +0 -60
- data/lib/wp/wp-content/themes/twentyfourteen/taxonomy-post_format.php +0 -85
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
<?php
|
|
2
|
-
/**
|
|
3
|
-
* The template for displaying posts in the Image post format
|
|
4
|
-
*
|
|
5
|
-
* @package WordPress
|
|
6
|
-
* @subpackage Twenty_Fourteen
|
|
7
|
-
* @since Twenty Fourteen 1.0
|
|
8
|
-
*/
|
|
9
|
-
?>
|
|
10
|
-
|
|
11
|
-
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
|
|
12
|
-
<?php twentyfourteen_post_thumbnail(); ?>
|
|
13
|
-
|
|
14
|
-
<header class="entry-header">
|
|
15
|
-
<?php if ( in_array( 'category', get_object_taxonomies( get_post_type() ) ) && twentyfourteen_categorized_blog() ) : ?>
|
|
16
|
-
<div class="entry-meta">
|
|
17
|
-
<span class="cat-links"><?php echo get_the_category_list( _x( ', ', 'Used between list items, there is a space after the comma.', 'twentyfourteen' ) ); ?></span>
|
|
18
|
-
</div><!-- .entry-meta -->
|
|
19
|
-
<?php
|
|
20
|
-
endif;
|
|
21
|
-
|
|
22
|
-
if ( is_single() ) :
|
|
23
|
-
the_title( '<h1 class="entry-title">', '</h1>' );
|
|
24
|
-
else :
|
|
25
|
-
the_title( '<h1 class="entry-title"><a href="' . esc_url( get_permalink() ) . '" rel="bookmark">', '</a></h1>' );
|
|
26
|
-
endif;
|
|
27
|
-
?>
|
|
28
|
-
|
|
29
|
-
<div class="entry-meta">
|
|
30
|
-
<span class="post-format">
|
|
31
|
-
<a class="entry-format" href="<?php echo esc_url( get_post_format_link( 'image' ) ); ?>"><?php echo get_post_format_string( 'image' ); ?></a>
|
|
32
|
-
</span>
|
|
33
|
-
|
|
34
|
-
<?php twentyfourteen_posted_on(); ?>
|
|
35
|
-
|
|
36
|
-
<?php if ( ! post_password_required() && ( comments_open() || get_comments_number() ) ) : ?>
|
|
37
|
-
<span class="comments-link"><?php comments_popup_link( __( 'Leave a comment', 'twentyfourteen' ), __( '1 Comment', 'twentyfourteen' ), __( '% Comments', 'twentyfourteen' ) ); ?></span>
|
|
38
|
-
<?php endif; ?>
|
|
39
|
-
|
|
40
|
-
<?php edit_post_link( __( 'Edit', 'twentyfourteen' ), '<span class="edit-link">', '</span>' ); ?>
|
|
41
|
-
</div><!-- .entry-meta -->
|
|
42
|
-
</header><!-- .entry-header -->
|
|
43
|
-
|
|
44
|
-
<div class="entry-content">
|
|
45
|
-
<?php
|
|
46
|
-
the_content( __( 'Continue reading <span class="meta-nav">→</span>', 'twentyfourteen' ) );
|
|
47
|
-
wp_link_pages( array(
|
|
48
|
-
'before' => '<div class="page-links"><span class="page-links-title">' . __( 'Pages:', 'twentyfourteen' ) . '</span>',
|
|
49
|
-
'after' => '</div>',
|
|
50
|
-
'link_before' => '<span>',
|
|
51
|
-
'link_after' => '</span>',
|
|
52
|
-
) );
|
|
53
|
-
?>
|
|
54
|
-
</div><!-- .entry-content -->
|
|
55
|
-
|
|
56
|
-
<?php the_tags( '<footer class="entry-meta"><span class="tag-links">', '', '</span></footer>' ); ?>
|
|
57
|
-
</article><!-- #post-## -->
|
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
<?php
|
|
2
|
-
/**
|
|
3
|
-
* The template for displaying posts in the Link post format
|
|
4
|
-
*
|
|
5
|
-
* @package WordPress
|
|
6
|
-
* @subpackage Twenty_Fourteen
|
|
7
|
-
* @since Twenty Fourteen 1.0
|
|
8
|
-
*/
|
|
9
|
-
?>
|
|
10
|
-
|
|
11
|
-
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
|
|
12
|
-
<?php twentyfourteen_post_thumbnail(); ?>
|
|
13
|
-
|
|
14
|
-
<header class="entry-header">
|
|
15
|
-
<?php if ( in_array( 'category', get_object_taxonomies( get_post_type() ) ) && twentyfourteen_categorized_blog() ) : ?>
|
|
16
|
-
<div class="entry-meta">
|
|
17
|
-
<span class="cat-links"><?php echo get_the_category_list( _x( ', ', 'Used between list items, there is a space after the comma.', 'twentyfourteen' ) ); ?></span>
|
|
18
|
-
</div><!-- .entry-meta -->
|
|
19
|
-
<?php
|
|
20
|
-
endif;
|
|
21
|
-
|
|
22
|
-
if ( is_single() ) :
|
|
23
|
-
the_title( '<h1 class="entry-title">', '</h1>' );
|
|
24
|
-
else :
|
|
25
|
-
the_title( '<h1 class="entry-title"><a href="' . esc_url( get_permalink() ) . '" rel="bookmark">', '</a></h1>' );
|
|
26
|
-
endif;
|
|
27
|
-
?>
|
|
28
|
-
|
|
29
|
-
<div class="entry-meta">
|
|
30
|
-
<span class="post-format">
|
|
31
|
-
<a class="entry-format" href="<?php echo esc_url( get_post_format_link( 'link' ) ); ?>"><?php echo get_post_format_string( 'link' ); ?></a>
|
|
32
|
-
</span>
|
|
33
|
-
|
|
34
|
-
<?php twentyfourteen_posted_on(); ?>
|
|
35
|
-
|
|
36
|
-
<?php if ( ! post_password_required() && ( comments_open() || get_comments_number() ) ) : ?>
|
|
37
|
-
<span class="comments-link"><?php comments_popup_link( __( 'Leave a comment', 'twentyfourteen' ), __( '1 Comment', 'twentyfourteen' ), __( '% Comments', 'twentyfourteen' ) ); ?></span>
|
|
38
|
-
<?php endif; ?>
|
|
39
|
-
|
|
40
|
-
<?php edit_post_link( __( 'Edit', 'twentyfourteen' ), '<span class="edit-link">', '</span>' ); ?>
|
|
41
|
-
</div><!-- .entry-meta -->
|
|
42
|
-
</header><!-- .entry-header -->
|
|
43
|
-
|
|
44
|
-
<div class="entry-content">
|
|
45
|
-
<?php
|
|
46
|
-
the_content( __( 'Continue reading <span class="meta-nav">→</span>', 'twentyfourteen' ) );
|
|
47
|
-
wp_link_pages( array(
|
|
48
|
-
'before' => '<div class="page-links"><span class="page-links-title">' . __( 'Pages:', 'twentyfourteen' ) . '</span>',
|
|
49
|
-
'after' => '</div>',
|
|
50
|
-
'link_before' => '<span>',
|
|
51
|
-
'link_after' => '</span>',
|
|
52
|
-
) );
|
|
53
|
-
?>
|
|
54
|
-
</div><!-- .entry-content -->
|
|
55
|
-
|
|
56
|
-
<?php the_tags( '<footer class="entry-meta"><span class="tag-links">', '', '</span></footer>' ); ?>
|
|
57
|
-
</article><!-- #post-## -->
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
<?php
|
|
2
|
-
/**
|
|
3
|
-
* The template for displaying a "No posts found" message
|
|
4
|
-
*
|
|
5
|
-
* @package WordPress
|
|
6
|
-
* @subpackage Twenty_Fourteen
|
|
7
|
-
* @since Twenty Fourteen 1.0
|
|
8
|
-
*/
|
|
9
|
-
?>
|
|
10
|
-
|
|
11
|
-
<header class="page-header">
|
|
12
|
-
<h1 class="page-title"><?php _e( 'Nothing Found', 'twentyfourteen' ); ?></h1>
|
|
13
|
-
</header>
|
|
14
|
-
|
|
15
|
-
<div class="page-content">
|
|
16
|
-
<?php if ( is_home() && current_user_can( 'publish_posts' ) ) : ?>
|
|
17
|
-
|
|
18
|
-
<p><?php printf( __( 'Ready to publish your first post? <a href="%1$s">Get started here</a>.', 'twentyfourteen' ), admin_url( 'post-new.php' ) ); ?></p>
|
|
19
|
-
|
|
20
|
-
<?php elseif ( is_search() ) : ?>
|
|
21
|
-
|
|
22
|
-
<p><?php _e( 'Sorry, but nothing matched your search terms. Please try again with some different keywords.', 'twentyfourteen' ); ?></p>
|
|
23
|
-
<?php get_search_form(); ?>
|
|
24
|
-
|
|
25
|
-
<?php else : ?>
|
|
26
|
-
|
|
27
|
-
<p><?php _e( 'It seems we can’t find what you’re looking for. Perhaps searching can help.', 'twentyfourteen' ); ?></p>
|
|
28
|
-
<?php get_search_form(); ?>
|
|
29
|
-
|
|
30
|
-
<?php endif; ?>
|
|
31
|
-
</div><!-- .page-content -->
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
<?php
|
|
2
|
-
/**
|
|
3
|
-
* The template used for displaying page content
|
|
4
|
-
*
|
|
5
|
-
* @package WordPress
|
|
6
|
-
* @subpackage Twenty_Fourteen
|
|
7
|
-
* @since Twenty Fourteen 1.0
|
|
8
|
-
*/
|
|
9
|
-
?>
|
|
10
|
-
|
|
11
|
-
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
|
|
12
|
-
<?php
|
|
13
|
-
// Page thumbnail and title.
|
|
14
|
-
twentyfourteen_post_thumbnail();
|
|
15
|
-
the_title( '<header class="entry-header"><h1 class="entry-title">', '</h1></header><!-- .entry-header -->' );
|
|
16
|
-
?>
|
|
17
|
-
|
|
18
|
-
<div class="entry-content">
|
|
19
|
-
<?php
|
|
20
|
-
the_content();
|
|
21
|
-
wp_link_pages( array(
|
|
22
|
-
'before' => '<div class="page-links"><span class="page-links-title">' . __( 'Pages:', 'twentyfourteen' ) . '</span>',
|
|
23
|
-
'after' => '</div>',
|
|
24
|
-
'link_before' => '<span>',
|
|
25
|
-
'link_after' => '</span>',
|
|
26
|
-
) );
|
|
27
|
-
|
|
28
|
-
edit_post_link( __( 'Edit', 'twentyfourteen' ), '<span class="edit-link">', '</span>' );
|
|
29
|
-
?>
|
|
30
|
-
</div><!-- .entry-content -->
|
|
31
|
-
</article><!-- #post-## -->
|
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
<?php
|
|
2
|
-
/**
|
|
3
|
-
* The template for displaying posts in the Quote post format
|
|
4
|
-
*
|
|
5
|
-
* @package WordPress
|
|
6
|
-
* @subpackage Twenty_Fourteen
|
|
7
|
-
* @since Twenty Fourteen 1.0
|
|
8
|
-
*/
|
|
9
|
-
?>
|
|
10
|
-
|
|
11
|
-
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
|
|
12
|
-
<?php twentyfourteen_post_thumbnail(); ?>
|
|
13
|
-
|
|
14
|
-
<header class="entry-header">
|
|
15
|
-
<?php if ( in_array( 'category', get_object_taxonomies( get_post_type() ) ) && twentyfourteen_categorized_blog() ) : ?>
|
|
16
|
-
<div class="entry-meta">
|
|
17
|
-
<span class="cat-links"><?php echo get_the_category_list( _x( ', ', 'Used between list items, there is a space after the comma.', 'twentyfourteen' ) ); ?></span>
|
|
18
|
-
</div><!-- .entry-meta -->
|
|
19
|
-
<?php
|
|
20
|
-
endif;
|
|
21
|
-
|
|
22
|
-
if ( is_single() ) :
|
|
23
|
-
the_title( '<h1 class="entry-title">', '</h1>' );
|
|
24
|
-
else :
|
|
25
|
-
the_title( '<h1 class="entry-title"><a href="' . esc_url( get_permalink() ) . '" rel="bookmark">', '</a></h1>' );
|
|
26
|
-
endif;
|
|
27
|
-
?>
|
|
28
|
-
|
|
29
|
-
<div class="entry-meta">
|
|
30
|
-
<span class="post-format">
|
|
31
|
-
<a class="entry-format" href="<?php echo esc_url( get_post_format_link( 'quote' ) ); ?>"><?php echo get_post_format_string( 'quote' ); ?></a>
|
|
32
|
-
</span>
|
|
33
|
-
|
|
34
|
-
<?php twentyfourteen_posted_on(); ?>
|
|
35
|
-
|
|
36
|
-
<?php if ( ! post_password_required() && ( comments_open() || get_comments_number() ) ) : ?>
|
|
37
|
-
<span class="comments-link"><?php comments_popup_link( __( 'Leave a comment', 'twentyfourteen' ), __( '1 Comment', 'twentyfourteen' ), __( '% Comments', 'twentyfourteen' ) ); ?></span>
|
|
38
|
-
<?php endif; ?>
|
|
39
|
-
|
|
40
|
-
<?php edit_post_link( __( 'Edit', 'twentyfourteen' ), '<span class="edit-link">', '</span>' ); ?>
|
|
41
|
-
</div><!-- .entry-meta -->
|
|
42
|
-
</header><!-- .entry-header -->
|
|
43
|
-
|
|
44
|
-
<div class="entry-content">
|
|
45
|
-
<?php
|
|
46
|
-
the_content( __( 'Continue reading <span class="meta-nav">→</span>', 'twentyfourteen' ) );
|
|
47
|
-
wp_link_pages( array(
|
|
48
|
-
'before' => '<div class="page-links"><span class="page-links-title">' . __( 'Pages:', 'twentyfourteen' ) . '</span>',
|
|
49
|
-
'after' => '</div>',
|
|
50
|
-
'link_before' => '<span>',
|
|
51
|
-
'link_after' => '</span>',
|
|
52
|
-
) );
|
|
53
|
-
?>
|
|
54
|
-
</div><!-- .entry-content -->
|
|
55
|
-
|
|
56
|
-
<?php the_tags( '<footer class="entry-meta"><span class="tag-links">', '', '</span></footer>' ); ?>
|
|
57
|
-
</article><!-- #post-## -->
|
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
<?php
|
|
2
|
-
/**
|
|
3
|
-
* The template for displaying posts in the Video post format
|
|
4
|
-
*
|
|
5
|
-
* @package WordPress
|
|
6
|
-
* @subpackage Twenty_Fourteen
|
|
7
|
-
* @since Twenty Fourteen 1.0
|
|
8
|
-
*/
|
|
9
|
-
?>
|
|
10
|
-
|
|
11
|
-
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
|
|
12
|
-
<?php twentyfourteen_post_thumbnail(); ?>
|
|
13
|
-
|
|
14
|
-
<header class="entry-header">
|
|
15
|
-
<?php if ( in_array( 'category', get_object_taxonomies( get_post_type() ) ) && twentyfourteen_categorized_blog() ) : ?>
|
|
16
|
-
<div class="entry-meta">
|
|
17
|
-
<span class="cat-links"><?php echo get_the_category_list( _x( ', ', 'Used between list items, there is a space after the comma.', 'twentyfourteen' ) ); ?></span>
|
|
18
|
-
</div><!-- .entry-meta -->
|
|
19
|
-
<?php
|
|
20
|
-
endif;
|
|
21
|
-
|
|
22
|
-
if ( is_single() ) :
|
|
23
|
-
the_title( '<h1 class="entry-title">', '</h1>' );
|
|
24
|
-
else :
|
|
25
|
-
the_title( '<h1 class="entry-title"><a href="' . esc_url( get_permalink() ) . '" rel="bookmark">', '</a></h1>' );
|
|
26
|
-
endif;
|
|
27
|
-
?>
|
|
28
|
-
|
|
29
|
-
<div class="entry-meta">
|
|
30
|
-
<span class="post-format">
|
|
31
|
-
<a class="entry-format" href="<?php echo esc_url( get_post_format_link( 'video' ) ); ?>"><?php echo get_post_format_string( 'video' ); ?></a>
|
|
32
|
-
</span>
|
|
33
|
-
|
|
34
|
-
<?php twentyfourteen_posted_on(); ?>
|
|
35
|
-
|
|
36
|
-
<?php if ( ! post_password_required() && ( comments_open() || get_comments_number() ) ) : ?>
|
|
37
|
-
<span class="comments-link"><?php comments_popup_link( __( 'Leave a comment', 'twentyfourteen' ), __( '1 Comment', 'twentyfourteen' ), __( '% Comments', 'twentyfourteen' ) ); ?></span>
|
|
38
|
-
<?php endif; ?>
|
|
39
|
-
|
|
40
|
-
<?php edit_post_link( __( 'Edit', 'twentyfourteen' ), '<span class="edit-link">', '</span>' ); ?>
|
|
41
|
-
</div><!-- .entry-meta -->
|
|
42
|
-
</header><!-- .entry-header -->
|
|
43
|
-
|
|
44
|
-
<div class="entry-content">
|
|
45
|
-
<?php
|
|
46
|
-
the_content( __( 'Continue reading <span class="meta-nav">→</span>', 'twentyfourteen' ) );
|
|
47
|
-
wp_link_pages( array(
|
|
48
|
-
'before' => '<div class="page-links"><span class="page-links-title">' . __( 'Pages:', 'twentyfourteen' ) . '</span>',
|
|
49
|
-
'after' => '</div>',
|
|
50
|
-
'link_before' => '<span>',
|
|
51
|
-
'link_after' => '</span>',
|
|
52
|
-
) );
|
|
53
|
-
?>
|
|
54
|
-
</div><!-- .entry-content -->
|
|
55
|
-
|
|
56
|
-
<?php the_tags( '<footer class="entry-meta"><span class="tag-links">', '', '</span></footer>' ); ?>
|
|
57
|
-
</article><!-- #post-## -->
|
|
@@ -1,66 +0,0 @@
|
|
|
1
|
-
<?php
|
|
2
|
-
/**
|
|
3
|
-
* The default template for displaying content
|
|
4
|
-
*
|
|
5
|
-
* Used for both single and index/archive/search.
|
|
6
|
-
*
|
|
7
|
-
* @package WordPress
|
|
8
|
-
* @subpackage Twenty_Fourteen
|
|
9
|
-
* @since Twenty Fourteen 1.0
|
|
10
|
-
*/
|
|
11
|
-
?>
|
|
12
|
-
|
|
13
|
-
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
|
|
14
|
-
<?php twentyfourteen_post_thumbnail(); ?>
|
|
15
|
-
|
|
16
|
-
<header class="entry-header">
|
|
17
|
-
<?php if ( in_array( 'category', get_object_taxonomies( get_post_type() ) ) && twentyfourteen_categorized_blog() ) : ?>
|
|
18
|
-
<div class="entry-meta">
|
|
19
|
-
<span class="cat-links"><?php echo get_the_category_list( _x( ', ', 'Used between list items, there is a space after the comma.', 'twentyfourteen' ) ); ?></span>
|
|
20
|
-
</div>
|
|
21
|
-
<?php
|
|
22
|
-
endif;
|
|
23
|
-
|
|
24
|
-
if ( is_single() ) :
|
|
25
|
-
the_title( '<h1 class="entry-title">', '</h1>' );
|
|
26
|
-
else :
|
|
27
|
-
the_title( '<h1 class="entry-title"><a href="' . esc_url( get_permalink() ) . '" rel="bookmark">', '</a></h1>' );
|
|
28
|
-
endif;
|
|
29
|
-
?>
|
|
30
|
-
|
|
31
|
-
<div class="entry-meta">
|
|
32
|
-
<?php
|
|
33
|
-
if ( 'post' == get_post_type() )
|
|
34
|
-
twentyfourteen_posted_on();
|
|
35
|
-
|
|
36
|
-
if ( ! post_password_required() && ( comments_open() || get_comments_number() ) ) :
|
|
37
|
-
?>
|
|
38
|
-
<span class="comments-link"><?php comments_popup_link( __( 'Leave a comment', 'twentyfourteen' ), __( '1 Comment', 'twentyfourteen' ), __( '% Comments', 'twentyfourteen' ) ); ?></span>
|
|
39
|
-
<?php
|
|
40
|
-
endif;
|
|
41
|
-
|
|
42
|
-
edit_post_link( __( 'Edit', 'twentyfourteen' ), '<span class="edit-link">', '</span>' );
|
|
43
|
-
?>
|
|
44
|
-
</div><!-- .entry-meta -->
|
|
45
|
-
</header><!-- .entry-header -->
|
|
46
|
-
|
|
47
|
-
<?php if ( is_search() ) : ?>
|
|
48
|
-
<div class="entry-summary">
|
|
49
|
-
<?php the_excerpt(); ?>
|
|
50
|
-
</div><!-- .entry-summary -->
|
|
51
|
-
<?php else : ?>
|
|
52
|
-
<div class="entry-content">
|
|
53
|
-
<?php
|
|
54
|
-
the_content( __( 'Continue reading <span class="meta-nav">→</span>', 'twentyfourteen' ) );
|
|
55
|
-
wp_link_pages( array(
|
|
56
|
-
'before' => '<div class="page-links"><span class="page-links-title">' . __( 'Pages:', 'twentyfourteen' ) . '</span>',
|
|
57
|
-
'after' => '</div>',
|
|
58
|
-
'link_before' => '<span>',
|
|
59
|
-
'link_after' => '</span>',
|
|
60
|
-
) );
|
|
61
|
-
?>
|
|
62
|
-
</div><!-- .entry-content -->
|
|
63
|
-
<?php endif; ?>
|
|
64
|
-
|
|
65
|
-
<?php the_tags( '<footer class="entry-meta"><span class="tag-links">', '', '</span></footer>' ); ?>
|
|
66
|
-
</article><!-- #post-## -->
|