Permalink
Browse files

Version .7 theme updates

  • Loading branch information...
1 parent 923c96e commit 02e320c25ed2ded99f0655a6ed275b2c43b012aa @rachelbaker committed Jan 23, 2012
Showing with 12,459 additions and 1,923 deletions.
  1. +38 −32 404.php
  2. +27 −25 README.md
  3. +7 −7 author.php
  4. +8 −8 comments.php
  5. +3,302 −0 css/bootstrap.css
  6. +627 −0 css/docs.css
  7. +34 −0 css/prettify.css
  8. +719 −0 css/wordpress.css
  9. +171 −12 docs/assets/css/docs.css
  10. BIN docs/assets/img/glyphicons-halflings-sprite.png
  11. +128 −58 docs/assets/js/application.js
  12. +26 −33 docs/assets/js/google-code-prettify/prettify.css
  13. +3 −0 docs/assets/js/jquery.tablesorter.js
  14. +739 −373 docs/base-css.html
  15. +1,069 −585 docs/components.html
  16. +110 −16 docs/index.html
  17. +810 −401 docs/javascript.html
  18. +77 −21 docs/less.html
  19. +95 −37 docs/scaffolding.html
  20. +94 −12 docs/upgrading.html
  21. +2 −2 examples/container-app.html
  22. +14 −12 examples/fluid-reverse.html
  23. +29 −27 examples/fluid.html
  24. +6 −6 examples/hero.html
  25. BIN favicon.ico
  26. +64 −5 footer.php
  27. +46 −52 functions.php
  28. +14 −14 header.php
  29. BIN ico/bootstrap-apple-114x114.png
  30. BIN ico/bootstrap-apple-57x57.png
  31. BIN ico/bootstrap-apple-72x72.png
  32. BIN ico/favicon.ico
  33. +13 −13 image.php
  34. BIN img/bird.png
  35. BIN img/browsers.png
  36. BIN img/example-diagram-01.png
  37. BIN img/example-diagram-02.png
  38. BIN img/example-diagram-03.png
  39. BIN img/example-sites/bartop.png
  40. BIN img/example-sites/fleetio.png
  41. BIN img/example-sites/jshint.png
  42. BIN img/example-sites/kippt.png
  43. BIN img/example-sites/railwayjs.png
  44. BIN img/example-sites/totalwireframe.png
  45. BIN img/github-16px.png
  46. BIN img/glyphicons-halflings-sprite.png
  47. BIN img/glyphicons/glyphicons_009_magic.png
  48. BIN img/glyphicons/glyphicons_042_group.png
  49. BIN img/glyphicons/glyphicons_079_podium.png
  50. BIN img/glyphicons/glyphicons_082_roundabout.png
  51. BIN img/glyphicons/glyphicons_155_show_thumbnails.png
  52. BIN img/glyphicons/glyphicons_163_iphone.png
  53. BIN img/glyphicons/glyphicons_214_resize_small.png
  54. BIN img/glyphicons/glyphicons_266_book_open.png
  55. BIN img/grid-18px-masked.png
  56. BIN img/grid-18px.png
  57. BIN img/icon-css3.png
  58. BIN img/icon-github.png
  59. BIN img/icon-html5.png
  60. BIN img/icon-twitter.png
  61. BIN img/less-logo-large.png
  62. BIN img/less-small.png
  63. BIN img/responsive-illustrations.png
  64. BIN img/twitter-logo-no-bird.png
  65. +22 −15 index.php
  66. +1 −1 js/README.md
  67. +153 −0 js/application.js
  68. +5 −1 js/bootstrap-alert.js
  69. +2 −2 js/bootstrap-button.js
  70. +85 −5 js/bootstrap-carousel.js
  71. +3 −3 js/bootstrap-collapse.js
  72. +47 −19 js/bootstrap-dropdown.js
  73. +3 −2 js/bootstrap-modal.js
  74. +5 −5 js/bootstrap-popover.js
  75. +1 −1 js/bootstrap-scrollspy.js
  76. +3 −1 js/bootstrap-tab.js
  77. +270 −0 js/bootstrap-tooltip.js
  78. +29 −23 js/bootstrap-transition.js
  79. +33 −25 js/bootstrap-twipsy.js
  80. +241 −0 js/bootstrap-typeahead.js
  81. +3 −0 js/jquery.tablesorter.js
  82. +28 −0 js/prettify.js
  83. +4 −2 js/tests/index.html
  84. +29 −18 js/tests/unit/bootstrap-twipsy.js
  85. +128 −0 js/tests/unit/bootstrap-typeahead.js
  86. +2 −2 js/tests/vendor/jquery.js
  87. +1 −1 js/tests/vendor/qunit.css
  88. +1 −1 js/tests/vendor/qunit.js
  89. +34 −0 page-full-width.php
  90. +1,298 −0 page-jsguide.php
  91. +1,455 −0 page-styleguide.php
  92. +15 −0 readme.txt
  93. +44 −41 search.php
  94. +7 −2 single.php
  95. +235 −2 style.css
View
70 404.php
@@ -3,46 +3,52 @@
* The template for displaying 404 pages (Not Found).
*
* @package WordPress
- * @subpackage Toolbox
- * @since Toolbox 0.1
+ * @subpackage WP-Bootstrap
+ * @since WP-Bootstrap 0.7
+ *
+ * Last Revised: January 22, 2012
*/
-
get_header(); ?>
-
- <div id="primary">
- <div id="content" role="main">
-
- <article id="post-0" class="post error404 not-found">
- <header class="entry-header">
- <h1 class="entry-title"><?php _e( 'Well this is somewhat embarrassing, isn&rsquo;t it?', 'toolbox' ); ?></h1>
- </header>
-
- <div class="entry-content">
- <p><?php _e( 'It seems we can&rsquo;t find what you&rsquo;re looking for. Perhaps searching, or one of the links below, can help.', 'toolbox' ); ?></p>
-
+ <div class="row">
+ <div class="container">
+ <?php if (function_exists('bootstrapwp_breadcrumbs')) bootstrapwp_breadcrumbs(); ?>
+ </div><!--/.container -->
+ </div><!--/.row -->
+ <div class="container">
+
+
+ <!-- Masthead
+ ================================================== -->
+ <header class="jumbotron subhead" id="overview">
+ <h1><?php _e( 'This is Embarrassing', 'bootstrapwp' ); ?></h1>
+ <p class="lead"><?php _e( 'It seems we can&rsquo;t find what you&rsquo;re looking for. Perhaps searching, or one of the links below, can help.', 'bootstrapwp' ); ?></p>
+ </header>
+
+ <div class="row content">
+<div class="span8">
+
+
+<div class="well">
<?php get_search_form(); ?>
+</div><!--/.well -->
+<div class="row">
+<div class="span4">
+ <h2>All Pages</h2>
+ <?php wp_page_menu(); ?>
+</div><!--/.span4 -->
+<div class="span4">
<?php the_widget( 'WP_Widget_Recent_Posts' ); ?>
- <div class="widget">
- <h2 class="widgettitle"><?php _e( 'Most Used Categories', 'toolbox' ); ?></h2>
+
+ <h2><?php _e( 'Most Used Categories', 'bootstrapwp' ); ?></h2>
<ul>
<?php wp_list_categories( array( 'orderby' => 'count', 'order' => 'DESC', 'show_count' => 1, 'title_li' => '', 'number' => 10 ) ); ?>
</ul>
- </div>
-
- <?php
- /* translators: %1$s: smilie */
- $archive_content = '<p>' . sprintf( __( 'Try looking in the monthly archives. %1$s', 'toolbox' ), convert_smilies( ':)' ) ) . '</p>';
- the_widget( 'WP_Widget_Archives', 'dropdown=1', "after_title=</h2>$archive_content" );
- ?>
-
- <?php the_widget( 'WP_Widget_Tag_Cloud' ); ?>
-
- </div><!-- .entry-content -->
- </article><!-- #post-0 -->
-
- </div><!-- #content -->
- </div><!-- #primary -->
+
+</div><!--/.span4 -->
+</div><!--/.row -->
+ </div><!--/.span8 -->
+ <?php get_sidebar(); ?>
<?php get_footer(); ?>
View
@@ -3,24 +3,32 @@ Bootstrapwp - TWITTER BOOTSTRAP for WordPress
Bootstrap is a responsive front-end toolkit from Twitter designed to kickstart web development, complete with core HTML, CSS, and JS for grids, type, forms, navigation, and many more components. Now you can use it with **WordPress** as a solid base to build custom themes quickly and easily.
-**Latest version release: .6 (12/24/2011)**
-Version .6 Change Log
+
+**Latest version release: .7 (01/22/2012)**
+
+Version .7 Change Log
----
-* Corrected callback function name in comments template
-* Added comments template to single.php
-* Modified top nav bar to have relative positioning to allow better viewing along with the WordPress Admin bar
-* Moved breadcrumbs above page titles
-* Fixed formatting on archive pages
-* Fixed subnav drop-downs with customWalkerclass and css
-* Moved bootstrap.css to the lib directory
-* Created new LESS file wordpress.css for all Bootstrap style modificiations and WordPress specific styles
-* Updated all Bootstrap LESS style files and JS script files for improved responsiveness and style tweaks
-* Added pagination to bottom of single.php
-* Created function to customize link for the_excerpt
-* Removed extra /div from full-width template
-* Bug fix: replaced get_bloginfo(url) in functions.php with home_url() function call
+* Updated JS and CSS/LESS files from Twitter Bootstrap 2.0 WIP files (up to date as of January 20, 2012)
+* Moved all CSS and JS files to their respective /css and /js folders
+* The LESS files still exist in the /lib folder, but the bootstrap.css file is in the /css folder
+* Replaced bootstrap-twipsy.js file with NEW bootstrap-tooltip.js file
+* Modified enqueue_style order, and added style.css to the function to ensure it would be loaded last.
+* Moved all Bootstrap documentation styles to their own docs.css file, and reserved styles.css for WordPress related modifications
+* Created template for Javascript Demo page, needed onload scripts for Demo page were added in footer.php
+* Moved Style Guide to it's own template file
+* Moved Assets folder to root of theme folder with images folder
+* Any added custom styles can now be found in style.css file
+* Added custom jQuery to footer.php to allow the WordPress custom menus to work with the Bootstrap dropdown styles/js files.
+* Removed Custom Walker Class from navigation menu. It is not needed, with jQuery adding the needed class changes instead.
+* Added image alignments (.alignleft, .alignright, .aligncenter) styles to styles.css
+* Added styles to 404.php template file
+* Added styles to search.php template file
+* Added search form styles to style.css file
+* Added $content_width declaration to functions.php
+
+
Demo
@@ -29,6 +37,8 @@ You can view a demo of this theme running on WordPress at: [http://rachelbaker.
View the theme style guide at: [http://rachelbaker.me/bootstrapwp/style-guide/](http://rachelbaker.me/bootstrapwp/style-guide/)
+View the javascript guide at: [http://rachelbaker.me/bootstrapwp/javascript-for-bootstrap/](http://rachelbaker.me/bootstrapwp/javascript-for-bootstrap/)
+
@@ -39,6 +49,8 @@ Download the Bootstrapwp theme, and install to your WordPress site.
This is meant to be a base theme for WordPress custom theme development.
+You can override any of the styles using style.css file. All .css and .js files are loaded in functions.php. Don't forget to disable any of the .js files you do not need.
+
@@ -49,22 +61,12 @@ Bug tracker
**Known theme bugs:**
-* 404.php needs formatting fix
-* Search.php needs formatting fix
* REQUIRED: This theme doesn't seem to display tags. Modify it to display tags in appropriate locations.
-* REQUIRED: No content width has been defined. Example:
-if ( ! isset( $content_width ) ) $content_width = 900;
* REQUIRED: .wp-caption css class is needed in your theme css.
* REQUIRED: .wp-caption-text css class is needed in your theme css.
-* REQUIRED: .sticky css class is needed in your theme css.
-* REQUIRED: .gallery-caption css class is needed in your theme css.
* REQUIRED: .bypostauthor css class is needed in your theme css.
-* REQUIRED: .alignright css class is needed in your theme css.
-* REQUIRED: .alignleft css class is needed in your theme css.
-* REQUIRED: .aligncenter css class is needed in your theme css.
* RECOMMENDED: Text domain problems in functions.php. You have not included a text domain!
Line 408: echo __('Page') . ' ' . get_query_var('paged');
-* RECOMMENDED: Screenshot is wrong size! Detected: 1072x647px. Maximum allowed size is 320x240px.
* RECOMMENDED: No reference to post-thumbnails was found in the theme. If the theme has a thumbnail like functionality, it should be implemented with add_theme_support( 'post-thumbnails' )in the functions.php file.
* RECOMMENDED: No reference to the_post_thumbnail() was found in the theme. It is recommended that the theme implement this functionality instead of using custom fields for thumbnails.
* RECOMMENDED: No reference to add_editor_style() was found in the theme. It is recommended that the theme implement editor styling, so as to make the editor content match the resulting post output in the theme, for a better user experience.
View
@@ -3,8 +3,8 @@
* The template for displaying Author Archive pages.
*
* @package WordPress
- * @subpackage Toolbox
- * @since Toolbox 0.1
+ * @subpackage WP-Bootstrap
+ * @since WP-Bootstrap 0.1
*/
get_header(); ?>
@@ -25,7 +25,7 @@
?>
<header class="page-header">
- <h1 class="page-title author"><?php printf( __( 'Author Archives: %s', 'toolbox' ), '<span class="vcard"><a class="url fn n" href="' . get_author_posts_url( get_the_author_meta( "ID" ) ) . '" title="' . esc_attr( get_the_author() ) . '" rel="me">' . get_the_author() . '</a></span>' ); ?></h1>
+ <h1 class="page-title author"><?php printf( __( 'Author Archives: %s', 'bootstrapwp' ), '<span class="vcard"><a class="url fn n" href="' . get_author_posts_url( get_the_author_meta( "ID" ) ) . '" title="' . esc_attr( get_the_author() ) . '" rel="me">' . get_the_author() . '</a></span>' ); ?></h1>
</header>
<?php
@@ -36,7 +36,7 @@
rewind_posts();
?>
- <?php toolbox_content_nav( 'nav-above' ); ?>
+ <?php bootstrapwp_content_nav( 'nav-above' ); ?>
<?php /* Start the Loop */ ?>
<?php while ( have_posts() ) : the_post(); ?>
@@ -51,17 +51,17 @@
<?php endwhile; ?>
- <?php toolbox_content_nav( 'nav-below' ); ?>
+ <?php bootstrapwp_content_nav( 'nav-below' ); ?>
<?php else : ?>
<article id="post-0" class="post no-results not-found">
<header class="entry-header">
- <h1 class="entry-title"><?php _e( 'Nothing Found', 'toolbox' ); ?></h1>
+ <h1 class="entry-title"><?php _e( 'Nothing Found', 'bootstrapwp' ); ?></h1>
</header><!-- .entry-header -->
<div class="entry-content">
- <p><?php _e( 'It seems we can&rsquo;t find what you&rsquo;re looking for. Perhaps searching can help.', 'toolbox' ); ?></p>
+ <p><?php _e( 'It seems we can&rsquo;t find what you&rsquo;re looking for. Perhaps searching can help.', 'bootstrapwp' ); ?></p>
<?php get_search_form(); ?>
</div><!-- .entry-content -->
</article><!-- #post-0 -->
View
@@ -4,17 +4,17 @@
*
* The area of the page that contains both current comments
* and the comment form. The actual display of comments is
- * handled by a callback to toolbox_comment() which is
+ * handled by a callback to bootstrapwp_comment() which is
* located in the functions.php file.
*
* @package WordPress
- * @subpackage Toolbox
- * @since Toolbox 0.1
+ * @subpackage WP-Bootstrap
+ * @since WP-Bootstrap 0.1
*/
?>
<div id="comments">
<?php if ( post_password_required() ) : ?>
- <p class="nopassword"><?php _e( 'This post is password protected. Enter the password to view any comments.', 'toolbox' ); ?></p>
+ <p class="nopassword"><?php _e( 'This post is password protected. Enter the password to view any comments.', 'bootstrapwp' ); ?></p>
</div><!-- #comments -->
<?php
/* Stop the rest of comments.php from being processed,
@@ -30,18 +30,18 @@
<?php if ( have_comments() ) : ?>
<h2 id="comments-title">
<?php
- printf( _n( 'One thought on &ldquo;%2$s&rdquo;', '%1$s thoughts on &ldquo;%2$s&rdquo;', get_comments_number(), 'toolbox' ),
+ printf( _n( 'One thought on &ldquo;%2$s&rdquo;', '%1$s thoughts on &ldquo;%2$s&rdquo;', get_comments_number(), 'bootstrapwp' ),
number_format_i18n( get_comments_number() ), '<span>' . get_the_title() . '</span>' );
?>
</h2>
<ol class="commentlist">
<?php
/* Loop through and list the comments. Tell wp_list_comments()
- * to use toolbox_comment() to format the comments.
+ * to use bootstrapwp_comment() to format the comments.
* If you want to overload this in a child theme then you can
- * define toolbox_comment() and that will be used instead.
- * See toolbox_comment() in toolbox/functions.php for more.
+ * define bootstrapwp_comment() and that will be used instead.
+ * See bootstrapwp_comment() in bootstrapwp/functions.php for more.
*/
wp_list_comments( array( 'callback' => 'bootstrapwp_comment' ) );
?>
Oops, something went wrong.

0 comments on commit 02e320c

Please sign in to comment.