Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions wp-content/themes/svbtle/functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,11 @@ function theme_setup() {
'wp-head-callback' => 'theme_header_style',
'admin-head-callback' => 'theme_admin_header_style',
'admin-preview-callback' => 'theme_admin_header_image'

) );
} else {
add_theme_support( 'custom-header', array( 'random-default' => true ) );
add_theme_support( 'post-thumbnails' );
//WP Custom Header - random roation by default
define( 'HEADER_TEXTCOLOR', '' );
define( 'HEADER_IMAGE', '%s/images/icons/bolt_large.png' );
Expand Down
4 changes: 3 additions & 1 deletion wp-content/themes/svbtle/loop.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,10 @@
<?php $kudos = get_post_meta( $post->ID, '_wp-svbtle-kudos', true ) ? get_post_meta( $post->ID, '_wp-svbtle-kudos', true ) : '0';?>

<article id="<?php the_ID(); ?>" class="post">

<h2 class="entry-title"><?php print_post_title(); ?></h2>
<?php $image = wp_get_attachment_image_src( get_post_thumbnail_id( $post->ID ), 'thumbnail' ); ?>
<?php $bigImage = wp_get_attachment_image_src( get_post_thumbnail_id( $post->ID ), 'single-post-thumbnail' ); ?>
<?php if ( has_post_thumbnail() ) { ?><a href="<?php if (is_single()) { echo $bigImage[0]; } else { the_permalink(); } ?>"><img src="<?php echo "$image[0]"; ?>" alt="" class="thumbnail alignleft" /></a><?php } ?>

<?php if ( is_archive() || is_search() ) : // Only display excerpts for archives and search. ?>
<div class="entry-summary">
Expand Down
18 changes: 18 additions & 0 deletions wp-content/themes/svbtle/style.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.