wordpress-starter 0.2 → 0.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (133) hide show
  1. data/CHANGELOG.md +4 -1
  2. data/README.md +12 -0
  3. data/lib/wordpress-starter.rb +2 -1
  4. data/templates/bootstrap/404.php +24 -0
  5. data/templates/bootstrap/admin/README.txt +25 -0
  6. data/templates/bootstrap/admin/assets/css/admin-style.css +838 -0
  7. data/templates/bootstrap/admin/assets/css/colorpicker.css +177 -0
  8. data/templates/bootstrap/admin/assets/images/1col.png +0 -0
  9. data/templates/bootstrap/admin/assets/images/2-col-portfolio.png +0 -0
  10. data/templates/bootstrap/admin/assets/images/2cl.png +0 -0
  11. data/templates/bootstrap/admin/assets/images/2cr.png +0 -0
  12. data/templates/bootstrap/admin/assets/images/3-col-portfolio.png +0 -0
  13. data/templates/bootstrap/admin/assets/images/3cm.png +0 -0
  14. data/templates/bootstrap/admin/assets/images/3cr.png +0 -0
  15. data/templates/bootstrap/admin/assets/images/4-col-portfolio.png +0 -0
  16. data/templates/bootstrap/admin/assets/images/accept.png +0 -0
  17. data/templates/bootstrap/admin/assets/images/button_check.png +0 -0
  18. data/templates/bootstrap/admin/assets/images/colorpicker/blank.gif +0 -0
  19. data/templates/bootstrap/admin/assets/images/colorpicker/colorpicker_background.png +0 -0
  20. data/templates/bootstrap/admin/assets/images/colorpicker/colorpicker_hex.png +0 -0
  21. data/templates/bootstrap/admin/assets/images/colorpicker/colorpicker_hsb_b.png +0 -0
  22. data/templates/bootstrap/admin/assets/images/colorpicker/colorpicker_hsb_h.png +0 -0
  23. data/templates/bootstrap/admin/assets/images/colorpicker/colorpicker_hsb_s.png +0 -0
  24. data/templates/bootstrap/admin/assets/images/colorpicker/colorpicker_indic.gif +0 -0
  25. data/templates/bootstrap/admin/assets/images/colorpicker/colorpicker_overlay.png +0 -0
  26. data/templates/bootstrap/admin/assets/images/colorpicker/colorpicker_rgb_b.png +0 -0
  27. data/templates/bootstrap/admin/assets/images/colorpicker/colorpicker_rgb_g.png +0 -0
  28. data/templates/bootstrap/admin/assets/images/colorpicker/colorpicker_rgb_r.png +0 -0
  29. data/templates/bootstrap/admin/assets/images/colorpicker/colorpicker_select.gif +0 -0
  30. data/templates/bootstrap/admin/assets/images/colorpicker/colorpicker_submit.png +0 -0
  31. data/templates/bootstrap/admin/assets/images/colorpicker/select.png +0 -0
  32. data/templates/bootstrap/admin/assets/images/dropdown-arrow.png +0 -0
  33. data/templates/bootstrap/admin/assets/images/favicon.ico +0 -0
  34. data/templates/bootstrap/admin/assets/images/icon-add.png +0 -0
  35. data/templates/bootstrap/admin/assets/images/icon-backup.png +0 -0
  36. data/templates/bootstrap/admin/assets/images/icon-delete.png +0 -0
  37. data/templates/bootstrap/admin/assets/images/icon-docs.png +0 -0
  38. data/templates/bootstrap/admin/assets/images/icon-edit.png +0 -0
  39. data/templates/bootstrap/admin/assets/images/icon-home.png +0 -0
  40. data/templates/bootstrap/admin/assets/images/icon-info.png +0 -0
  41. data/templates/bootstrap/admin/assets/images/icon-notice.png +0 -0
  42. data/templates/bootstrap/admin/assets/images/icon-paint.png +0 -0
  43. data/templates/bootstrap/admin/assets/images/icon-settings.png +0 -0
  44. data/templates/bootstrap/admin/assets/images/icon-slider.png +0 -0
  45. data/templates/bootstrap/admin/assets/images/icon-warn.png +0 -0
  46. data/templates/bootstrap/admin/assets/images/icon_option.png +0 -0
  47. data/templates/bootstrap/admin/assets/images/loading-bottom.gif +0 -0
  48. data/templates/bootstrap/admin/assets/images/select.png +0 -0
  49. data/templates/bootstrap/admin/assets/images/sign_warning.png +0 -0
  50. data/templates/bootstrap/admin/assets/images/stop.png +0 -0
  51. data/templates/bootstrap/admin/assets/images/toggle_tabs.png +0 -0
  52. data/templates/bootstrap/admin/assets/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
  53. data/templates/bootstrap/admin/assets/images/warning.png +0 -0
  54. data/templates/bootstrap/admin/assets/images/wrench.png +0 -0
  55. data/templates/bootstrap/admin/assets/images/wrench16.png +0 -0
  56. data/templates/bootstrap/admin/assets/js/ajaxupload.js +606 -0
  57. data/templates/bootstrap/admin/assets/js/colorpicker.js +455 -0
  58. data/templates/bootstrap/admin/assets/js/cookie.js +1 -0
  59. data/templates/bootstrap/admin/assets/js/jquery.maskedinput-1.2.2.js +252 -0
  60. data/templates/bootstrap/admin/assets/js/jquery.tipsy.js +241 -0
  61. data/templates/bootstrap/admin/assets/js/of-medialibrary-uploader.js +168 -0
  62. data/templates/bootstrap/admin/assets/js/smof.js +623 -0
  63. data/templates/bootstrap/admin/classes/class.options-machine.php +627 -0
  64. data/templates/bootstrap/admin/front-end/options.php +77 -0
  65. data/templates/bootstrap/admin/functions/functions.admin.php +76 -0
  66. data/templates/bootstrap/admin/functions/functions.interface.php +232 -0
  67. data/templates/bootstrap/admin/functions/functions.load.php +14 -0
  68. data/templates/bootstrap/admin/functions/functions.mediauploader.php +194 -0
  69. data/templates/bootstrap/admin/functions/functions.options.php +508 -0
  70. data/templates/bootstrap/admin/functions/functions.php +0 -0
  71. data/templates/bootstrap/admin/index.php +87 -0
  72. data/templates/bootstrap/admin/layouts/default.css +0 -0
  73. data/templates/bootstrap/admin/layouts/placebo.css +0 -0
  74. data/templates/bootstrap/archive.php +57 -0
  75. data/templates/bootstrap/category.php +40 -0
  76. data/templates/bootstrap/comments.php +65 -0
  77. data/templates/bootstrap/content-aside.php +26 -0
  78. data/templates/bootstrap/content-image.php +29 -0
  79. data/templates/bootstrap/content-link.php +27 -0
  80. data/templates/bootstrap/content-none.php +21 -0
  81. data/templates/bootstrap/content-page.php +24 -0
  82. data/templates/bootstrap/content-quote.php +26 -0
  83. data/templates/bootstrap/content-status.php +33 -0
  84. data/templates/bootstrap/content.php +67 -0
  85. data/templates/bootstrap/editor-style.scss +72 -0
  86. data/templates/bootstrap/footer.php +29 -0
  87. data/templates/bootstrap/functions.php +1528 -0
  88. data/templates/bootstrap/header.php +74 -0
  89. data/templates/bootstrap/ie.scss +1 -0
  90. data/templates/bootstrap/images/bg/bg0.png +0 -0
  91. data/templates/bootstrap/images/bg/bg1.png +0 -0
  92. data/templates/bootstrap/images/bg/bg10.png +0 -0
  93. data/templates/bootstrap/images/bg/bg11.png +0 -0
  94. data/templates/bootstrap/images/bg/bg2.png +0 -0
  95. data/templates/bootstrap/images/bg/bg3.png +0 -0
  96. data/templates/bootstrap/images/bg/bg4.png +0 -0
  97. data/templates/bootstrap/images/bg/bg5.png +0 -0
  98. data/templates/bootstrap/images/bg/bg6.jpg +0 -0
  99. data/templates/bootstrap/images/bg/bg7.jpg +0 -0
  100. data/templates/bootstrap/images/bg/bg8.png +0 -0
  101. data/templates/bootstrap/images/bg/bg9.png +0 -0
  102. data/templates/bootstrap/images/glyphicons-halflings-white.png +0 -0
  103. data/templates/bootstrap/images/glyphicons-halflings.png +0 -0
  104. data/templates/bootstrap/index.php +19 -0
  105. data/templates/bootstrap/javascripts/app.js +6 -0
  106. data/templates/bootstrap/javascripts/bootstrap.js +2159 -0
  107. data/templates/bootstrap/javascripts/bootstrap.min.js +6 -0
  108. data/templates/{project/javascripts/moderninzr.min.js → bootstrap/javascripts/modernizr.min.js} +0 -0
  109. data/templates/bootstrap/languages/readme.txt +6 -0
  110. data/templates/bootstrap/license.txt +281 -0
  111. data/templates/bootstrap/loop.php +30 -0
  112. data/templates/bootstrap/manifest.rb +156 -0
  113. data/templates/bootstrap/options.php +42 -0
  114. data/templates/bootstrap/page.php +29 -0
  115. data/templates/bootstrap/print.scss +104 -0
  116. data/templates/bootstrap/readme.txt +6 -0
  117. data/templates/bootstrap/sass/_app.scss +10 -0
  118. data/templates/bootstrap/sass/_settings.scss +301 -0
  119. data/templates/bootstrap/screen.scss +1 -0
  120. data/templates/bootstrap/screenshot.png +0 -0
  121. data/templates/bootstrap/search.php +31 -0
  122. data/templates/bootstrap/searchform.php +31 -0
  123. data/templates/bootstrap/sidebar.php +15 -0
  124. data/templates/bootstrap/single.php +31 -0
  125. data/templates/bootstrap/style.css +18 -0
  126. data/templates/bootstrap/tag.php +41 -0
  127. data/templates/foundation/functions.php +8 -9
  128. data/templates/foundation/sass/_app.scss +2 -0
  129. data/templates/project/functions.php +1 -1
  130. data/templates/project/javascripts/app.js +2 -5
  131. data/templates/project/javascripts/modernizr.min.js +4 -0
  132. data/templates/project/manifest.rb +1 -1
  133. metadata +141 -2
@@ -0,0 +1,87 @@
1
+ <?php
2
+ /*
3
+ Title : SMOF
4
+ Description : Slightly Modified Options Framework
5
+ Version : 1.4.0
6
+ Author : Syamil MJ
7
+ Author URI : http://aquagraphite.com
8
+ License : WTFPL - http://sam.zoy.org/wtfpl/
9
+ Credits : Thematic Options Panel - http://wptheming.com/2010/11/thematic-options-panel-v2/
10
+ KIA Thematic Options Panel - https://github.com/helgatheviking/thematic-options-KIA
11
+ Woo Themes - http://woothemes.com/
12
+ Option Tree - http://wordpress.org/extend/plugins/option-tree/
13
+ */
14
+
15
+ /**
16
+ * Definitions
17
+ *
18
+ * @since 1.4.0
19
+ */
20
+ $theme_version = '';
21
+
22
+ if ( function_exists( 'wp_get_theme' ) ) {
23
+ if ( is_child_theme() ) {
24
+ $temp_obj = wp_get_theme();
25
+ $theme_obj = wp_get_theme( $temp_obj->get( 'Template' ) );
26
+ }
27
+ else {
28
+ $theme_obj = wp_get_theme();
29
+ }
30
+
31
+ $theme_version = $theme_obj->get( 'Version' );
32
+ $theme_name = $theme_obj->get( 'Name' );
33
+ $theme_uri = $theme_obj->get( 'ThemeURI' );
34
+ $author_uri = $theme_obj->get( 'AuthorURI' );
35
+ }
36
+ else {
37
+ $theme_data = get_theme_data( TEMPLATEPATH.'/style.css' );
38
+ $theme_version = $theme_data['Version'];
39
+ $theme_name = $theme_data['Name'];
40
+ $theme_uri = $theme_data['ThemeURI'];
41
+ $author_uri = $theme_data['AuthorURI'];
42
+ }
43
+
44
+
45
+ define( 'SMOF_VERSION', '1.4.0' );
46
+ define( 'ADMIN_PATH', TEMPLATEPATH . '/admin/' );
47
+ define( 'ADMIN_DIR', get_template_directory_uri() . '/admin/' );
48
+ define( 'LAYOUT_PATH', ADMIN_PATH . '/layouts/' );
49
+ define( 'THEMENAME', $theme_name );
50
+ /* Theme version, uri, and the author uri are not completely necessary, but may be helpful in adding functionality */
51
+ define( 'THEMEVERSION', $theme_version );
52
+ define( 'THEMEURI', $theme_uri );
53
+ define( 'THEMEAUTHORURI', $author_uri );
54
+
55
+ define( 'OPTIONS', $theme_name.'_options' );
56
+ define( 'BACKUPS', $theme_name.'_backups' );
57
+
58
+ /**
59
+ * Required action filters
60
+ *
61
+ * @uses add_action()
62
+ *
63
+ * @since 1.0.0
64
+ */
65
+ global $pagenow;
66
+ if ( is_admin() && isset( $_GET['activated'] ) && $pagenow == 'themes.php' )
67
+ add_action( 'admin_head', 'of_option_setup' );
68
+
69
+ add_action( 'admin_head', 'optionsframework_admin_message' );
70
+ add_action( 'admin_init', 'optionsframework_admin_init' );
71
+ add_action( 'admin_menu', 'optionsframework_add_admin' );
72
+ add_action( 'init', 'optionsframework_mlu_init' );
73
+
74
+ /**
75
+ * Required Files
76
+ *
77
+ * @since 1.0.0
78
+ */
79
+ require_once ADMIN_PATH . 'functions/functions.load.php';
80
+ require_once ADMIN_PATH . 'classes/class.options-machine.php';
81
+
82
+ /**
83
+ * AJAX Saving Options
84
+ *
85
+ * @since 1.0.0
86
+ */
87
+ add_action( 'wp_ajax_of_ajax_post_action', 'of_ajax_callback' );
@@ -0,0 +1,57 @@
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 Twelve already
10
+ * has tag.php for Tag archives, category.php for Category archives, and
11
+ * author.php for Author archives.
12
+ *
13
+ * Learn more: http://codex.wordpress.org/Template_Hierarchy
14
+ *
15
+ * @category Theme
16
+ * @package [bootstrap]
17
+ * @author [Your Name]
18
+ * @copyright 2012 [Your Name]
19
+ */
20
+
21
+ get_header();
22
+
23
+ if ( have_posts() ):
24
+ ?>
25
+ <header class="archive-header">
26
+ <h1 class="archive-title">
27
+ <?php
28
+ if ( is_day() ) :
29
+ printf( __( 'Daily Archives: %s', 'bootstrap' ), '<span>' . get_the_date() . '</span>' );
30
+ elseif ( is_month() ) :
31
+ printf( __( 'Monthly Archives: %s', 'bootstrap' ), '<span>' . get_the_date( _x( 'F Y', 'monthly archives date format', 'bootstrap' ) ) . '</span>' );
32
+ elseif ( is_year() ) :
33
+ printf( __( 'Yearly Archives: %s', 'bootstrap' ), '<span>' . get_the_date( _x( 'Y', 'yearly archives date format', 'bootstrap' ) ) . '</span>' );
34
+ else :
35
+ _e( 'Archives', 'bootstrap' );
36
+ endif;
37
+ ?>
38
+ </h1>
39
+ </header>
40
+ <?php
41
+ /* Start the Loop */
42
+ while ( have_posts() ):
43
+ the_post();
44
+
45
+ /* Include the post format-specific template for the content. If you want to
46
+ * this in a child theme then include a file called called content-___.php
47
+ * (where ___ is the post format) and that will be used instead.
48
+ */
49
+ get_template_part( 'content', get_post_format() );
50
+ endwhile;
51
+
52
+ do_action( 'pagination' );
53
+ else:
54
+ get_template_part( 'content', 'none' );
55
+ endif;
56
+
57
+ get_footer();
@@ -0,0 +1,40 @@
1
+ <?php
2
+ /**
3
+ * The template for displaying Category pages.
4
+ *
5
+ * Used to display archive-type pages for posts in a category.
6
+ *
7
+ * Learn more: http://codex.wordpress.org/Template_Hierarchy
8
+ *
9
+ * @category Theme
10
+ * @package [bootstrap]
11
+ * @author [Your Name]
12
+ * @copyright 2012 [Your Name]
13
+ */
14
+
15
+ get_header();
16
+
17
+ if ( have_posts() ):
18
+ ?>
19
+ <header class="archive-header">
20
+ <h1 class="archive-title"><?php printf( __( 'Category Archives: %s', 'bootstrap' ), '<span>' . single_cat_title( '', false ) . '</span>' ); ?></h1>
21
+ <?php
22
+ if ( category_description() ):
23
+ // Show an optional category description ?>
24
+ <div class="archive-meta"><?php echo category_description(); ?></div>
25
+ <?php endif; ?>
26
+ </header>
27
+ <?php
28
+ /* Start the Loop */
29
+ while ( have_posts() ):
30
+ the_post();
31
+
32
+ get_template_part( 'content', get_post_format() );
33
+ endwhile;
34
+
35
+ do_action( 'pagination' );
36
+
37
+ else:
38
+ get_template_part( 'content', 'none' );
39
+ endif;
40
+ get_footer();
@@ -0,0 +1,65 @@
1
+ <?php
2
+ /**
3
+ * The template for displaying Comments.
4
+ *
5
+ * The area of the page that contains both current comments
6
+ * and the comment form. The actual display of comments is
7
+ * handled by a callback to bootstrap_comment() which is
8
+ * located in the functions.php file.
9
+ *
10
+ * @category Theme
11
+ * @package [bootstrap]
12
+ * @author [Your Name]
13
+ * @copyright 2012 [Your Name]
14
+ */
15
+
16
+ /*
17
+ * If the current post is protected by a password and
18
+ * the visitor has not yet entered the password we will
19
+ * return early without loading the comments.
20
+ */
21
+ if ( post_password_required() )
22
+ return;
23
+ ?>
24
+
25
+ <div id="comments" class="comments-area">
26
+
27
+ <?php // You can start editing here -- including this comment! ?>
28
+
29
+ <?php if ( have_comments() ) : ?>
30
+ <h2 class="comments-title">
31
+ <?php
32
+ printf(
33
+ _n( 'One thought on &ldquo;%2$s&rdquo;', '%1$s thoughts on &ldquo;%2$s&rdquo;', get_comments_number(), 'bootstrap' ),
34
+ number_format_i18n( get_comments_number() ), '<span>' . get_the_title() . '</span>'
35
+ );
36
+ ?>
37
+ </h2>
38
+
39
+ <ul class="commentlist media-list">
40
+ <?php wp_list_comments( array( 'callback' => 'bootstrap_comment', 'style' => 'ol' ) ); ?>
41
+ </ul>
42
+
43
+ <?php
44
+ if ( get_comment_pages_count() > 1 && get_option( 'page_comments' ) ):
45
+ // are there comments to navigate through ?>
46
+ <nav id="comment-nav-below" class="navigation nav nav-pills clearfix" role="navigation">
47
+ <h1 class="assistive-text section-heading"><?php _e( 'Comment navigation', 'bootstrap' ); ?></h1>
48
+ <div class="nav-previous pull-left"><?php previous_comments_link( __( '&larr; Older Comments', 'bootstrap' ) ); ?></div>
49
+ <div class="nav-next pull-right"><?php next_comments_link( __( 'Newer Comments &rarr;', 'bootstrap' ) ); ?></div>
50
+ </nav>
51
+ <?php endif; // check for comment navigation ?>
52
+
53
+ <?php
54
+ /* If there are no comments and comments are closed, let's leave a note.
55
+ * But we only want the note on posts and pages that had comments in the first place.
56
+ */
57
+ if ( ! comments_open() && get_comments_number() ) : ?>
58
+ <p class="nocomments"><?php _e( 'Comments are closed.' , 'bootstrap' ); ?></p>
59
+ <?php endif; ?>
60
+
61
+ <?php endif; // have_comments() ?>
62
+
63
+ <?php bootstrap_comment_form(); ?>
64
+
65
+ </div>
@@ -0,0 +1,26 @@
1
+ <?php
2
+ /**
3
+ * The template for displaying posts in the Aside post format
4
+ *
5
+ * @category Theme
6
+ * @package [bootstrap]
7
+ * @author [Your Name]
8
+ * @copyright 2012 [Your Name]
9
+ */
10
+ ?>
11
+
12
+ <article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
13
+ <div class="entry-content">
14
+ <?php the_content( __( 'Continue reading', 'bootstrap' ) ); ?>
15
+ </div>
16
+
17
+ <footer class="entry-meta">
18
+ <a href="<?php the_permalink(); ?>" title="<?php echo esc_attr( sprintf( __( 'Permalink to %s', 'bootstrap' ), the_title_attribute( 'echo=0' ) ) ); ?>" rel="bookmark"><?php echo get_the_date(); ?></a>
19
+ <?php if ( comments_open() ) : ?>
20
+ <div class="comments-link">
21
+ <?php comments_popup_link( '<span class="leave-reply">' . __( 'Leave a reply', 'bootstrap' ) . '</span>', __( '1 Reply', 'bootstrap' ), __( '% Replies', 'bootstrap' ) ); ?>
22
+ </div>
23
+ <?php endif; // comments_open() ?>
24
+ <?php edit_post_link( __( 'Edit', 'bootstrap' ), '<span class="edit-link">', '</span>' ); ?>
25
+ </footer>
26
+ </article>
@@ -0,0 +1,29 @@
1
+ <?php
2
+ /**
3
+ * The template for displaying posts in the Image post format
4
+ *
5
+ * @category Theme
6
+ * @package [bootstrap]
7
+ * @author [Your Name]
8
+ * @copyright 2012 [Your Name]
9
+ */
10
+ ?>
11
+
12
+ <article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
13
+ <div class="entry-content">
14
+ <?php the_content( __( 'Continue reading', 'bootstrap' ) ); ?>
15
+ </div>
16
+
17
+ <footer class="entry-meta">
18
+ <a href="<?php the_permalink(); ?>" title="<?php echo esc_attr( sprintf( __( 'Permalink to %s', 'bootstrap' ), the_title_attribute( 'echo=0' ) ) ); ?>" rel="bookmark">
19
+ <h5><?php the_title(); ?></h5>
20
+ <h6><time class="entry-date" datetime="<?php echo esc_attr( get_the_date( 'c' ) ); ?>"><?php echo get_the_date(); ?></time></h6>
21
+ </a>
22
+ <?php if ( comments_open() ) : ?>
23
+ <div class="comments-link">
24
+ <?php comments_popup_link( '<span class="leave-reply">' . __( 'Leave a reply', 'bootstrap' ) . '</span>', __( '1 Reply', 'bootstrap' ), __( '% Replies', 'bootstrap' ) ); ?>
25
+ </div>
26
+ <?php endif; // comments_open() ?>
27
+ <?php edit_post_link( __( 'Edit', 'bootstrap' ), '<span class="edit-link">', '</span>' ); ?>
28
+ </footer>
29
+ </article>
@@ -0,0 +1,27 @@
1
+ <?php
2
+ /**
3
+ * The template for displaying posts in the Link post format
4
+ *
5
+ * @category Theme
6
+ * @package [bootstrap]
7
+ * @author [Your Name]
8
+ * @copyright 2012 [Your Name]
9
+ */
10
+ ?>
11
+
12
+ <article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
13
+ <header><?php _e( 'Link', 'bootstrap' ); ?></header>
14
+ <div class="entry-content">
15
+ <?php the_content( __( 'Continue reading', 'bootstrap' ) ); ?>
16
+ </div>
17
+
18
+ <footer class="entry-meta">
19
+ <a href="<?php the_permalink(); ?>" title="<?php echo esc_attr( sprintf( __( 'Permalink to %s', 'bootstrap' ), the_title_attribute( 'echo=0' ) ) ); ?>" rel="bookmark"><?php echo get_the_date(); ?></a>
20
+ <?php if ( comments_open() ) : ?>
21
+ <div class="comments-link">
22
+ <?php comments_popup_link( '<span class="leave-reply">' . __( 'Leave a reply', 'bootstrap' ) . '</span>', __( '1 Reply', 'bootstrap' ), __( '% Replies', 'bootstrap' ) ); ?>
23
+ </div>
24
+ <?php endif; // comments_open() ?>
25
+ <?php edit_post_link( __( 'Edit', 'bootstrap' ), '<span class="edit-link">', '</span>' ); ?>
26
+ </footer>
27
+ </article>
@@ -0,0 +1,21 @@
1
+ <?php
2
+ /**
3
+ * The template for displaying a "No posts found" message.
4
+ *
5
+ * @category Theme
6
+ * @package [bootstrap]
7
+ * @author [Your Name]
8
+ * @copyright 2012 [Your Name]
9
+ */
10
+ ?>
11
+
12
+ <article id="post-0" class="post no-results not-found">
13
+ <header class="entry-header">
14
+ <h1 class="entry-title"><?php _e( 'Nothing Found', 'bootstrap' ); ?></h1>
15
+ </header>
16
+
17
+ <div class="entry-content">
18
+ <p><?php _e( 'Apologies, but no results were found. Perhaps searching will help find a related post.', 'bootstrap' ); ?></p>
19
+ <?php get_search_form(); ?>
20
+ </div>
21
+ </article>
@@ -0,0 +1,24 @@
1
+ <?php
2
+ /**
3
+ * The template used for displaying page content in page.php
4
+ *
5
+ * @category Theme
6
+ * @package [bootstrap]
7
+ * @author [Your Name]
8
+ * @copyright 2012 [Your Name]
9
+ */
10
+ ?>
11
+
12
+ <article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
13
+ <header class="entry-header">
14
+ <h1 class="entry-title"><?php the_title(); ?></h1>
15
+ </header>
16
+
17
+ <div class="entry-content">
18
+ <?php the_content(); ?>
19
+ <?php wp_link_pages( array( 'before' => '<div class="page-links">' . __( 'Pages:', 'bootstrap' ), 'after' => '</div>' ) ); ?>
20
+ </div>
21
+ <footer class="entry-meta">
22
+ <?php edit_post_link( __( 'Edit', 'bootstrap' ), '<span class="edit-link">', '</span>' ); ?>
23
+ </footer>
24
+ </article>
@@ -0,0 +1,26 @@
1
+ <?php
2
+ /**
3
+ * The template for displaying posts in the Quote post format
4
+ *
5
+ * @category Theme
6
+ * @package [bootstrap]
7
+ * @author [Your Name]
8
+ * @copyright 2012 [Your Name]
9
+ */
10
+ ?>
11
+
12
+ <article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
13
+ <div class="entry-content">
14
+ <?php the_content( __( 'Continue reading', 'bootstrap' ) ); ?>
15
+ </div>
16
+
17
+ <footer class="entry-meta">
18
+ <a href="<?php the_permalink(); ?>" title="<?php echo esc_attr( sprintf( __( 'Permalink to %s', 'bootstrap' ), the_title_attribute( 'echo=0' ) ) ); ?>" rel="bookmark"><?php echo get_the_date(); ?></a>
19
+ <?php if ( comments_open() ) : ?>
20
+ <div class="comments-link">
21
+ <?php comments_popup_link( '<span class="leave-reply">' . __( 'Leave a reply', 'bootstrap' ) . '</span>', __( '1 Reply', 'bootstrap' ), __( '% Replies', 'bootstrap' ) ); ?>
22
+ </div>
23
+ <?php endif; // comments_open() ?>
24
+ <?php edit_post_link( __( 'Edit', 'bootstrap' ), '<span class="edit-link">', '</span>' ); ?>
25
+ </footer>
26
+ </article>
@@ -0,0 +1,33 @@
1
+ <?php
2
+ /**
3
+ * The template for displaying posts in the Status post format
4
+ *
5
+ * @category Theme
6
+ * @package [bootstrap]
7
+ * @author [Your Name]
8
+ * @copyright 2012 [Your Name]
9
+ */
10
+ ?>
11
+
12
+ <article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
13
+ <div class="entry-header">
14
+ <?php echo get_avatar( get_the_author_meta( 'ID' ), apply_filters( 'bootstrap_status_avatar', '48' ) ); ?>
15
+ <header>
16
+ <h1 class="entry-title"><?php the_author(); ?></h1>
17
+ <h2><a href="<?php the_permalink(); ?>" title="<?php echo esc_attr( sprintf( __( 'Permalink to %s', 'bootstrap' ), the_title_attribute( 'echo=0' ) ) ); ?>" rel="bookmark"><?php echo get_the_date(); ?></a></h2>
18
+ </header>
19
+ </div>
20
+
21
+ <div class="entry-content">
22
+ <?php the_content( __( 'Continue reading', 'bootstrap' ) ); ?>
23
+ </div>
24
+
25
+ <footer class="entry-meta">
26
+ <?php if ( comments_open() ) : ?>
27
+ <div class="comments-link">
28
+ <?php comments_popup_link( '<span class="leave-reply">' . __( 'Leave a reply', 'bootstrap' ) . '</span>', __( '1 Reply', 'bootstrap' ), __( '% Replies', 'bootstrap' ) ); ?>
29
+ </div>
30
+ <?php endif; // comments_open() ?>
31
+ <?php edit_post_link( __( 'Edit', 'bootstrap' ), '<span class="edit-link">', '</span>' ); ?>
32
+ </footer>
33
+ </article>