Skip to content

Commit

Permalink
Various updates made for wordpress.org theme directory submission.
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisbarnes committed Jan 19, 2012
1 parent 5f9f6f9 commit 564cd2b
Show file tree
Hide file tree
Showing 9 changed files with 33 additions and 6 deletions.
2 changes: 1 addition & 1 deletion author.php
Expand Up @@ -12,7 +12,7 @@
if ( $google_profile ) {
echo '<a href="' . esc_url( $google_profile ) . '" rel="me">' . $curauth->display_name . '</a>'; ?></a>
<?php } else { ?>
<?php echo get_author_name(get_query_var('author')); ?>
<?php echo get_the_author_meta('display_name'); ?>
<?php } ?>
</h1>

Expand Down
6 changes: 5 additions & 1 deletion comments.php
Expand Up @@ -135,7 +135,11 @@
<?php comment_id_fields(); ?>
</div>

<?php do_action('comment_form', $post->ID); ?>
<?php
//comment_form();
do_action('comment_form()', $post->ID);

?>

</form>

Expand Down
3 changes: 3 additions & 0 deletions functions.php
Expand Up @@ -30,6 +30,9 @@ function bones_custom_admin_footer() {
// adding it to the admin area
add_filter('admin_footer_text', 'bones_custom_admin_footer');

// Set content width
if ( ! isset( $content_width ) ) $content_width = 580;

/************* THUMBNAIL SIZE OPTIONS *************/

// Thumbnail sizes
Expand Down
2 changes: 1 addition & 1 deletion header.php
Expand Up @@ -191,7 +191,7 @@
<div class="topbar-inner">
<div class="container">
<nav role="navigation">
<a class="brand" id="logo" href="<?php echo home_url(); ?>"><?php bloginfo('name'); ?></a>
<a class="brand" id="logo" title="<?php echo get_bloginfo('description'); ?>" href="<?php echo home_url(); ?>"><?php bloginfo('name'); ?></a>
<ul class="nav">
<li class="dropdown" data-dropdown="dropdown">
<a href="#" class="dropdown-toggle">Menu</a>
Expand Down
4 changes: 2 additions & 2 deletions library/bones.php
Expand Up @@ -61,7 +61,7 @@ function bones_theme_support() {
add_theme_support('automatic-feed-links'); // rss thingy
// to add header image support go here: http://themble.com/support/adding-header-background-image-support/
// adding post format support
add_theme_support( 'post-formats', // post formats
/*add_theme_support( 'post-formats', // post formats
array(
'aside', // title less blurb
'gallery', // gallery of images
Expand All @@ -73,7 +73,7 @@ function bones_theme_support() {
'audio', // audio
'chat' // chat transcript
)
);
); */
add_theme_support( 'menus' ); // wp menus
register_nav_menus( // wp3+ menus
array(
Expand Down
Binary file removed screenshot.gif
Binary file not shown.
Binary file added screenshot.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions single.php
Expand Up @@ -21,6 +21,7 @@
<section class="post_content clearfix" itemprop="articleBody">
<?php the_content(); ?>

<?php wp_link_pages( $args ); ?>

</section> <!-- end article section -->

Expand Down
21 changes: 20 additions & 1 deletion style.css
Expand Up @@ -5,7 +5,9 @@ Description: A bones/twitter bootstrap based wordpress theme.
Version: 1.0
Author: 320press
Author URI: http://320press.com
Tags: bones, twitter, bootstrap, 320press, clean, basic
Tags: black, white, one-column, two-columns, flexible-width, custom-background, custom-colors, custom-menu, full-width-template, theme-options
License: GNU General Public License v2.0 & Apache License 2.0
License URI: http://www.gnu.org/licenses/gpl-2.0.html http://www.apache.org/licenses/LICENSE-2.0
*/

/* micro clearfix: http://nicolasgallagher.com/micro-clearfix-hack/ */
Expand All @@ -25,6 +27,23 @@ Tags: bones, twitter, bootstrap, 320press, clean, basic
zoom:1;
}

/* wp-specific classes */
.wp-caption{

}

.wp-caption-text{

}

.sticky{

}

.gallery-caption{

}

/* layout */

.container{
Expand Down

0 comments on commit 564cd2b

Please sign in to comment.