Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge branch 'no-custom-post-type' of github.com:iamamused/wp-theme-h…

…tml5-boilerplate into no-custom-post-type
  • Loading branch information...
commit 6511f2a160db4696bdd6aa31424d28ba8de4580e 2 parents e06b1d9 + 3e9aac4
@iamamused authored
Showing with 2 additions and 2 deletions.
  1. +1 −1  index.php
  2. +1 −1  single.php
View
2  index.php
@@ -13,7 +13,7 @@
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
<header>
- <?php if ( !@empty($custom_fields['h5bp_link_url']) ) : ?>
+ <?php if ( !@empty($custom_fields['h5bp_link_url'][0]) ) : ?>
<h1 class="offsite"><a href="<?php
echo $custom_fields['h5bp_link_url'][0];
?>"><?php the_title(); ?></a>&nbsp;<a class="permalink" href="<?php the_permalink(); ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>">→</a></h1>
View
2  single.php
@@ -7,7 +7,7 @@
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
<header>
<time datetime="<?php the_time('Y-m-d') ?>"><?php the_time('F j, Y') ?></time>
- <?php if ( !@empty($custom_fields['h5bp_link_url']) ) : ?>
+ <?php if ( !@empty($custom_fields['h5bp_link_url'][0]) ) : ?>
<h1 class="offsite"><a href="<?php
echo $custom_fields['h5bp_link_url'][0];
?>"><?php the_title(); ?></a>&nbsp;<a class="permalink" href="<?php the_permalink(); ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>">→</a></h1>
Please sign in to comment.
Something went wrong with that request. Please try again.