stump-cli 0.1.2 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- 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
data/lib/stump-cli/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: stump-cli
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.3
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -103,6 +103,7 @@ files:
|
|
103
103
|
- bin/stump-cli
|
104
104
|
- lib/stump-cli/version.rb
|
105
105
|
- lib/stump.rb
|
106
|
+
- lib/wp/.gitignore
|
106
107
|
- lib/wp/Movefile-example
|
107
108
|
- lib/wp/README.md
|
108
109
|
- lib/wp/index.php
|
@@ -537,7 +538,6 @@ files:
|
|
537
538
|
- lib/wp/wp-content/plugins/index.php
|
538
539
|
- lib/wp/wp-content/themes/index.php
|
539
540
|
- lib/wp/wp-content/themes/stump/.editorconfig
|
540
|
-
- lib/wp/wp-content/themes/stump/.gitignore
|
541
541
|
- lib/wp/wp-content/themes/stump/.jshintrc
|
542
542
|
- lib/wp/wp-content/themes/stump/404.php
|
543
543
|
- lib/wp/wp-content/themes/stump/CHANGELOG.md
|
@@ -792,68 +792,6 @@ files:
|
|
792
792
|
- lib/wp/wp-content/themes/stump/templates/page-header.php
|
793
793
|
- lib/wp/wp-content/themes/stump/templates/searchform.php
|
794
794
|
- lib/wp/wp-content/themes/stump/templates/sidebar.php
|
795
|
-
- lib/wp/wp-content/themes/twentyfourteen/404.php
|
796
|
-
- lib/wp/wp-content/themes/twentyfourteen/archive.php
|
797
|
-
- lib/wp/wp-content/themes/twentyfourteen/author.php
|
798
|
-
- lib/wp/wp-content/themes/twentyfourteen/category.php
|
799
|
-
- lib/wp/wp-content/themes/twentyfourteen/comments.php
|
800
|
-
- lib/wp/wp-content/themes/twentyfourteen/content-aside.php
|
801
|
-
- lib/wp/wp-content/themes/twentyfourteen/content-audio.php
|
802
|
-
- lib/wp/wp-content/themes/twentyfourteen/content-featured-post.php
|
803
|
-
- lib/wp/wp-content/themes/twentyfourteen/content-gallery.php
|
804
|
-
- lib/wp/wp-content/themes/twentyfourteen/content-image.php
|
805
|
-
- lib/wp/wp-content/themes/twentyfourteen/content-link.php
|
806
|
-
- lib/wp/wp-content/themes/twentyfourteen/content-none.php
|
807
|
-
- lib/wp/wp-content/themes/twentyfourteen/content-page.php
|
808
|
-
- lib/wp/wp-content/themes/twentyfourteen/content-quote.php
|
809
|
-
- lib/wp/wp-content/themes/twentyfourteen/content-video.php
|
810
|
-
- lib/wp/wp-content/themes/twentyfourteen/content.php
|
811
|
-
- lib/wp/wp-content/themes/twentyfourteen/css/editor-style.css
|
812
|
-
- lib/wp/wp-content/themes/twentyfourteen/css/ie.css
|
813
|
-
- lib/wp/wp-content/themes/twentyfourteen/featured-content.php
|
814
|
-
- lib/wp/wp-content/themes/twentyfourteen/footer.php
|
815
|
-
- lib/wp/wp-content/themes/twentyfourteen/functions.php
|
816
|
-
- lib/wp/wp-content/themes/twentyfourteen/genericons/COPYING.txt
|
817
|
-
- lib/wp/wp-content/themes/twentyfourteen/genericons/Genericons-Regular.otf
|
818
|
-
- lib/wp/wp-content/themes/twentyfourteen/genericons/LICENSE.txt
|
819
|
-
- lib/wp/wp-content/themes/twentyfourteen/genericons/README.txt
|
820
|
-
- lib/wp/wp-content/themes/twentyfourteen/genericons/example.html
|
821
|
-
- lib/wp/wp-content/themes/twentyfourteen/genericons/font/genericons-regular-webfont.eot
|
822
|
-
- lib/wp/wp-content/themes/twentyfourteen/genericons/font/genericons-regular-webfont.svg
|
823
|
-
- lib/wp/wp-content/themes/twentyfourteen/genericons/font/genericons-regular-webfont.ttf
|
824
|
-
- lib/wp/wp-content/themes/twentyfourteen/genericons/font/genericons-regular-webfont.woff
|
825
|
-
- lib/wp/wp-content/themes/twentyfourteen/genericons/genericons.css
|
826
|
-
- lib/wp/wp-content/themes/twentyfourteen/header.php
|
827
|
-
- lib/wp/wp-content/themes/twentyfourteen/image.php
|
828
|
-
- lib/wp/wp-content/themes/twentyfourteen/images/pattern-dark.svg
|
829
|
-
- lib/wp/wp-content/themes/twentyfourteen/images/pattern-light.svg
|
830
|
-
- lib/wp/wp-content/themes/twentyfourteen/inc/back-compat.php
|
831
|
-
- lib/wp/wp-content/themes/twentyfourteen/inc/custom-header.php
|
832
|
-
- lib/wp/wp-content/themes/twentyfourteen/inc/customizer.php
|
833
|
-
- lib/wp/wp-content/themes/twentyfourteen/inc/featured-content.php
|
834
|
-
- lib/wp/wp-content/themes/twentyfourteen/inc/template-tags.php
|
835
|
-
- lib/wp/wp-content/themes/twentyfourteen/inc/widgets.php
|
836
|
-
- lib/wp/wp-content/themes/twentyfourteen/index.php
|
837
|
-
- lib/wp/wp-content/themes/twentyfourteen/js/customizer.js
|
838
|
-
- lib/wp/wp-content/themes/twentyfourteen/js/featured-content-admin.js
|
839
|
-
- lib/wp/wp-content/themes/twentyfourteen/js/functions.js
|
840
|
-
- lib/wp/wp-content/themes/twentyfourteen/js/html5.js
|
841
|
-
- lib/wp/wp-content/themes/twentyfourteen/js/keyboard-image-navigation.js
|
842
|
-
- lib/wp/wp-content/themes/twentyfourteen/js/slider.js
|
843
|
-
- lib/wp/wp-content/themes/twentyfourteen/languages/twentyfourteen.pot
|
844
|
-
- lib/wp/wp-content/themes/twentyfourteen/page-templates/contributors.php
|
845
|
-
- lib/wp/wp-content/themes/twentyfourteen/page-templates/full-width.php
|
846
|
-
- lib/wp/wp-content/themes/twentyfourteen/page.php
|
847
|
-
- lib/wp/wp-content/themes/twentyfourteen/rtl.css
|
848
|
-
- lib/wp/wp-content/themes/twentyfourteen/screenshot.png
|
849
|
-
- lib/wp/wp-content/themes/twentyfourteen/search.php
|
850
|
-
- lib/wp/wp-content/themes/twentyfourteen/sidebar-content.php
|
851
|
-
- lib/wp/wp-content/themes/twentyfourteen/sidebar-footer.php
|
852
|
-
- lib/wp/wp-content/themes/twentyfourteen/sidebar.php
|
853
|
-
- lib/wp/wp-content/themes/twentyfourteen/single.php
|
854
|
-
- lib/wp/wp-content/themes/twentyfourteen/style.css
|
855
|
-
- lib/wp/wp-content/themes/twentyfourteen/tag.php
|
856
|
-
- lib/wp/wp-content/themes/twentyfourteen/taxonomy-post_format.php
|
857
795
|
- lib/wp/wp-cron.php
|
858
796
|
- lib/wp/wp-includes/ID3/getid3.lib.php
|
859
797
|
- lib/wp/wp-includes/ID3/getid3.php
|
@@ -1,32 +0,0 @@
|
|
1
|
-
<?php
|
2
|
-
/**
|
3
|
-
* The template for displaying 404 pages (Not Found)
|
4
|
-
*
|
5
|
-
* @package WordPress
|
6
|
-
* @subpackage Twenty_Fourteen
|
7
|
-
* @since Twenty Fourteen 1.0
|
8
|
-
*/
|
9
|
-
|
10
|
-
get_header(); ?>
|
11
|
-
|
12
|
-
|
13
|
-
<div id="primary" class="content-area">
|
14
|
-
<div id="content" class="site-content" role="main">
|
15
|
-
|
16
|
-
<header class="page-header">
|
17
|
-
<h1 class="page-title"><?php _e( 'Not Found', 'twentyfourteen' ); ?></h1>
|
18
|
-
</header>
|
19
|
-
|
20
|
-
<div class="page-content">
|
21
|
-
<p><?php _e( 'It looks like nothing was found at this location. Maybe try a search?', 'twentyfourteen' ); ?></p>
|
22
|
-
|
23
|
-
<?php get_search_form(); ?>
|
24
|
-
</div><!-- .page-content -->
|
25
|
-
|
26
|
-
</div><!-- #content -->
|
27
|
-
</div><!-- #primary -->
|
28
|
-
|
29
|
-
<?php
|
30
|
-
get_sidebar( 'content' );
|
31
|
-
get_sidebar();
|
32
|
-
get_footer();
|
@@ -1,74 +0,0 @@
|
|
1
|
-
<?php
|
2
|
-
/**
|
3
|
-
* The template for displaying Archive pages
|
4
|
-
*
|
5
|
-
* Used to display archive-type pages if nothing more specific matches a query.
|
6
|
-
* For example, puts together date-based pages if no date.php file exists.
|
7
|
-
*
|
8
|
-
* If you'd like to further customize these archive views, you may create a
|
9
|
-
* new template file for each specific one. For example, Twenty Fourteen
|
10
|
-
* already has tag.php for Tag archives, category.php for Category archives,
|
11
|
-
* and author.php for Author archives.
|
12
|
-
*
|
13
|
-
* @link http://codex.wordpress.org/Template_Hierarchy
|
14
|
-
*
|
15
|
-
* @package WordPress
|
16
|
-
* @subpackage Twenty_Fourteen
|
17
|
-
* @since Twenty Fourteen 1.0
|
18
|
-
*/
|
19
|
-
|
20
|
-
get_header(); ?>
|
21
|
-
|
22
|
-
<section id="primary" class="content-area">
|
23
|
-
<div id="content" class="site-content" role="main">
|
24
|
-
|
25
|
-
<?php if ( have_posts() ) : ?>
|
26
|
-
|
27
|
-
<header class="page-header">
|
28
|
-
<h1 class="page-title">
|
29
|
-
<?php
|
30
|
-
if ( is_day() ) :
|
31
|
-
printf( __( 'Daily Archives: %s', 'twentyfourteen' ), get_the_date() );
|
32
|
-
|
33
|
-
elseif ( is_month() ) :
|
34
|
-
printf( __( 'Monthly Archives: %s', 'twentyfourteen' ), get_the_date( _x( 'F Y', 'monthly archives date format', 'twentyfourteen' ) ) );
|
35
|
-
|
36
|
-
elseif ( is_year() ) :
|
37
|
-
printf( __( 'Yearly Archives: %s', 'twentyfourteen' ), get_the_date( _x( 'Y', 'yearly archives date format', 'twentyfourteen' ) ) );
|
38
|
-
|
39
|
-
else :
|
40
|
-
_e( 'Archives', 'twentyfourteen' );
|
41
|
-
|
42
|
-
endif;
|
43
|
-
?>
|
44
|
-
</h1>
|
45
|
-
</header><!-- .page-header -->
|
46
|
-
|
47
|
-
<?php
|
48
|
-
// Start the Loop.
|
49
|
-
while ( have_posts() ) : the_post();
|
50
|
-
|
51
|
-
/*
|
52
|
-
* Include the post format-specific template for the content. If you want to
|
53
|
-
* use this in a child theme, then include a file called called content-___.php
|
54
|
-
* (where ___ is the post format) and that will be used instead.
|
55
|
-
*/
|
56
|
-
get_template_part( 'content', get_post_format() );
|
57
|
-
|
58
|
-
endwhile;
|
59
|
-
// Previous/next page navigation.
|
60
|
-
twentyfourteen_paging_nav();
|
61
|
-
|
62
|
-
else :
|
63
|
-
// If no content, include the "No posts found" template.
|
64
|
-
get_template_part( 'content', 'none' );
|
65
|
-
|
66
|
-
endif;
|
67
|
-
?>
|
68
|
-
</div><!-- #content -->
|
69
|
-
</section><!-- #primary -->
|
70
|
-
|
71
|
-
<?php
|
72
|
-
get_sidebar( 'content' );
|
73
|
-
get_sidebar();
|
74
|
-
get_footer();
|
@@ -1,74 +0,0 @@
|
|
1
|
-
<?php
|
2
|
-
/**
|
3
|
-
* The template for displaying Author archive pages
|
4
|
-
*
|
5
|
-
* @link http://codex.wordpress.org/Template_Hierarchy
|
6
|
-
*
|
7
|
-
* @package WordPress
|
8
|
-
* @subpackage Twenty_Fourteen
|
9
|
-
* @since Twenty Fourteen 1.0
|
10
|
-
*/
|
11
|
-
|
12
|
-
get_header(); ?>
|
13
|
-
|
14
|
-
<section id="primary" class="content-area">
|
15
|
-
<div id="content" class="site-content" role="main">
|
16
|
-
|
17
|
-
<?php if ( have_posts() ) : ?>
|
18
|
-
|
19
|
-
<header class="archive-header">
|
20
|
-
<h1 class="archive-title">
|
21
|
-
<?php
|
22
|
-
/*
|
23
|
-
* Queue the first post, that way we know what author
|
24
|
-
* we're dealing with (if that is the case).
|
25
|
-
*
|
26
|
-
* We reset this later so we can run the loop properly
|
27
|
-
* with a call to rewind_posts().
|
28
|
-
*/
|
29
|
-
the_post();
|
30
|
-
|
31
|
-
printf( __( 'All posts by %s', 'twentyfourteen' ), get_the_author() );
|
32
|
-
?>
|
33
|
-
</h1>
|
34
|
-
<?php if ( get_the_author_meta( 'description' ) ) : ?>
|
35
|
-
<div class="author-description"><?php the_author_meta( 'description' ); ?></div>
|
36
|
-
<?php endif; ?>
|
37
|
-
</header><!-- .archive-header -->
|
38
|
-
|
39
|
-
<?php
|
40
|
-
/*
|
41
|
-
* Since we called the_post() above, we need to rewind
|
42
|
-
* the loop back to the beginning that way we can run
|
43
|
-
* the loop properly, in full.
|
44
|
-
*/
|
45
|
-
rewind_posts();
|
46
|
-
|
47
|
-
// Start the Loop.
|
48
|
-
while ( have_posts() ) : the_post();
|
49
|
-
|
50
|
-
/*
|
51
|
-
* Include the post format-specific template for the content. If you want to
|
52
|
-
* use this in a child theme, then include a file called called content-___.php
|
53
|
-
* (where ___ is the post format) and that will be used instead.
|
54
|
-
*/
|
55
|
-
get_template_part( 'content', get_post_format() );
|
56
|
-
|
57
|
-
endwhile;
|
58
|
-
// Previous/next page navigation.
|
59
|
-
twentyfourteen_paging_nav();
|
60
|
-
|
61
|
-
else :
|
62
|
-
// If no content, include the "No posts found" template.
|
63
|
-
get_template_part( 'content', 'none' );
|
64
|
-
|
65
|
-
endif;
|
66
|
-
?>
|
67
|
-
|
68
|
-
</div><!-- #content -->
|
69
|
-
</section><!-- #primary -->
|
70
|
-
|
71
|
-
<?php
|
72
|
-
get_sidebar( 'content' );
|
73
|
-
get_sidebar();
|
74
|
-
get_footer();
|
@@ -1,58 +0,0 @@
|
|
1
|
-
<?php
|
2
|
-
/**
|
3
|
-
* The template for displaying Category pages
|
4
|
-
*
|
5
|
-
* @link http://codex.wordpress.org/Template_Hierarchy
|
6
|
-
*
|
7
|
-
* @package WordPress
|
8
|
-
* @subpackage Twenty_Fourteen
|
9
|
-
* @since Twenty Fourteen 1.0
|
10
|
-
*/
|
11
|
-
|
12
|
-
get_header(); ?>
|
13
|
-
|
14
|
-
<section id="primary" class="content-area">
|
15
|
-
<div id="content" class="site-content" role="main">
|
16
|
-
|
17
|
-
<?php if ( have_posts() ) : ?>
|
18
|
-
|
19
|
-
<header class="archive-header">
|
20
|
-
<h1 class="archive-title"><?php printf( __( 'Category Archives: %s', 'twentyfourteen' ), single_cat_title( '', false ) ); ?></h1>
|
21
|
-
|
22
|
-
<?php
|
23
|
-
// Show an optional term description.
|
24
|
-
$term_description = term_description();
|
25
|
-
if ( ! empty( $term_description ) ) :
|
26
|
-
printf( '<div class="taxonomy-description">%s</div>', $term_description );
|
27
|
-
endif;
|
28
|
-
?>
|
29
|
-
</header><!-- .archive-header -->
|
30
|
-
|
31
|
-
<?php
|
32
|
-
// Start the Loop.
|
33
|
-
while ( have_posts() ) : the_post();
|
34
|
-
|
35
|
-
/*
|
36
|
-
* Include the post format-specific template for the content. If you want to
|
37
|
-
* use this in a child theme, then include a file called called content-___.php
|
38
|
-
* (where ___ is the post format) and that will be used instead.
|
39
|
-
*/
|
40
|
-
get_template_part( 'content', get_post_format() );
|
41
|
-
|
42
|
-
endwhile;
|
43
|
-
// Previous/next page navigation.
|
44
|
-
twentyfourteen_paging_nav();
|
45
|
-
|
46
|
-
else :
|
47
|
-
// If no content, include the "No posts found" template.
|
48
|
-
get_template_part( 'content', 'none' );
|
49
|
-
|
50
|
-
endif;
|
51
|
-
?>
|
52
|
-
</div><!-- #content -->
|
53
|
-
</section><!-- #primary -->
|
54
|
-
|
55
|
-
<?php
|
56
|
-
get_sidebar( 'content' );
|
57
|
-
get_sidebar();
|
58
|
-
get_footer();
|
@@ -1,66 +0,0 @@
|
|
1
|
-
<?php
|
2
|
-
/**
|
3
|
-
* The template for displaying Comments
|
4
|
-
*
|
5
|
-
* The area of the page that contains comments and the comment form.
|
6
|
-
*
|
7
|
-
* @package WordPress
|
8
|
-
* @subpackage Twenty_Fourteen
|
9
|
-
* @since Twenty Fourteen 1.0
|
10
|
-
*/
|
11
|
-
|
12
|
-
/*
|
13
|
-
* If the current post is protected by a password and the visitor has not yet
|
14
|
-
* entered the password we will return early without loading the comments.
|
15
|
-
*/
|
16
|
-
if ( post_password_required() ) {
|
17
|
-
return;
|
18
|
-
}
|
19
|
-
?>
|
20
|
-
|
21
|
-
<div id="comments" class="comments-area">
|
22
|
-
|
23
|
-
<?php if ( have_comments() ) : ?>
|
24
|
-
|
25
|
-
<h2 class="comments-title">
|
26
|
-
<?php
|
27
|
-
printf( _n( 'One thought on “%2$s”', '%1$s thoughts on “%2$s”', get_comments_number(), 'twentyfourteen' ),
|
28
|
-
number_format_i18n( get_comments_number() ), get_the_title() );
|
29
|
-
?>
|
30
|
-
</h2>
|
31
|
-
|
32
|
-
<?php if ( get_comment_pages_count() > 1 && get_option( 'page_comments' ) ) : ?>
|
33
|
-
<nav id="comment-nav-above" class="navigation comment-navigation" role="navigation">
|
34
|
-
<h1 class="screen-reader-text"><?php _e( 'Comment navigation', 'twentyfourteen' ); ?></h1>
|
35
|
-
<div class="nav-previous"><?php previous_comments_link( __( '← Older Comments', 'twentyfourteen' ) ); ?></div>
|
36
|
-
<div class="nav-next"><?php next_comments_link( __( 'Newer Comments →', 'twentyfourteen' ) ); ?></div>
|
37
|
-
</nav><!-- #comment-nav-above -->
|
38
|
-
<?php endif; // Check for comment navigation. ?>
|
39
|
-
|
40
|
-
<ol class="comment-list">
|
41
|
-
<?php
|
42
|
-
wp_list_comments( array(
|
43
|
-
'style' => 'ol',
|
44
|
-
'short_ping' => true,
|
45
|
-
'avatar_size'=> 34,
|
46
|
-
) );
|
47
|
-
?>
|
48
|
-
</ol><!-- .comment-list -->
|
49
|
-
|
50
|
-
<?php if ( get_comment_pages_count() > 1 && get_option( 'page_comments' ) ) : ?>
|
51
|
-
<nav id="comment-nav-below" class="navigation comment-navigation" role="navigation">
|
52
|
-
<h1 class="screen-reader-text"><?php _e( 'Comment navigation', 'twentyfourteen' ); ?></h1>
|
53
|
-
<div class="nav-previous"><?php previous_comments_link( __( '← Older Comments', 'twentyfourteen' ) ); ?></div>
|
54
|
-
<div class="nav-next"><?php next_comments_link( __( 'Newer Comments →', 'twentyfourteen' ) ); ?></div>
|
55
|
-
</nav><!-- #comment-nav-below -->
|
56
|
-
<?php endif; // Check for comment navigation. ?>
|
57
|
-
|
58
|
-
<?php if ( ! comments_open() ) : ?>
|
59
|
-
<p class="no-comments"><?php _e( 'Comments are closed.', 'twentyfourteen' ); ?></p>
|
60
|
-
<?php endif; ?>
|
61
|
-
|
62
|
-
<?php endif; // have_comments() ?>
|
63
|
-
|
64
|
-
<?php comment_form(); ?>
|
65
|
-
|
66
|
-
</div><!-- #comments -->
|
@@ -1,57 +0,0 @@
|
|
1
|
-
<?php
|
2
|
-
/**
|
3
|
-
* The template for displaying posts in the Aside 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( 'aside' ) ); ?>"><?php echo get_post_format_string( 'aside' ); ?></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 Audio 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( 'audio' ) ); ?>"><?php echo get_post_format_string( 'audio' ); ?></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,34 +0,0 @@
|
|
1
|
-
<?php
|
2
|
-
/**
|
3
|
-
* The template for displaying featured posts on the front page
|
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
|
-
<a class="post-thumbnail" href="<?php the_permalink(); ?>">
|
13
|
-
<?php
|
14
|
-
// Output the featured image.
|
15
|
-
if ( has_post_thumbnail() ) :
|
16
|
-
if ( 'grid' == get_theme_mod( 'featured_content_layout' ) ) {
|
17
|
-
the_post_thumbnail();
|
18
|
-
} else {
|
19
|
-
the_post_thumbnail( 'twentyfourteen-full-width' );
|
20
|
-
}
|
21
|
-
endif;
|
22
|
-
?>
|
23
|
-
</a>
|
24
|
-
|
25
|
-
<header class="entry-header">
|
26
|
-
<?php if ( in_array( 'category', get_object_taxonomies( get_post_type() ) ) && twentyfourteen_categorized_blog() ) : ?>
|
27
|
-
<div class="entry-meta">
|
28
|
-
<span class="cat-links"><?php echo get_the_category_list( _x( ', ', 'Used between list items, there is a space after the comma.', 'twentyfourteen' ) ); ?></span>
|
29
|
-
</div><!-- .entry-meta -->
|
30
|
-
<?php endif; ?>
|
31
|
-
|
32
|
-
<?php the_title( '<h1 class="entry-title"><a href="' . esc_url( get_permalink() ) . '" rel="bookmark">','</a></h1>' ); ?>
|
33
|
-
</header><!-- .entry-header -->
|
34
|
-
</article><!-- #post-## -->
|
@@ -1,57 +0,0 @@
|
|
1
|
-
<?php
|
2
|
-
/**
|
3
|
-
* The template for displaying posts in the Gallery 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( 'gallery' ) ); ?>"><?php echo get_post_format_string( 'gallery' ); ?></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-## -->
|