Skip to content

Commit

Permalink
title fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
joshuaiz committed Apr 29, 2019
1 parent bd1f6fd commit 1d90e32
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 3 deletions.
Binary file modified CHANGELOG.html
Binary file not shown.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ Author: Joshua Michaels for studio.bio with help from Jon Iler

*******************************************************************

### 1.4.2 2019-04-28
- moved `the_title()` calls into individual templates from template parts
- `/templates/header-title.php` is still there if you need it

### 1.4.l 2019-04-13
- Removed last few remaining cf/clearfix calls in templates
- Added custom page template with no loop (for ACF pages)
Expand Down
6 changes: 5 additions & 1 deletion search.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,12 @@

<header class="entry-header article-header">

<?php get_template_part( 'templates/header', 'title'); ?>
<h3 class="search-title entry-title">

<a href="<?php the_permalink() ?>" rel="bookmark" title="<?php the_title_attribute(); ?>"><?php the_title(); ?></a>

</h3>

<?php get_template_part( 'templates/byline'); ?>

</header>
Expand Down
2 changes: 1 addition & 1 deletion templates/index-loop.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@

<header class="article-header">

<?php get_template_part( 'templates/header', 'title'); ?>
<h1 class="page-title" itemprop="headline"><?php the_title(); ?></h1>

<?php get_template_part( 'templates/byline'); ?>

Expand Down
2 changes: 1 addition & 1 deletion templates/loop.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@

<header class="article-header">

<?php get_template_part( 'templates/header', 'title'); ?>
<h1 class="page-title" itemprop="headline"><?php the_title(); ?></h1>

<?php // Delete or comment out if you don't need this on your page or post. Edit in /templates/byline.php ?>
<?php get_template_part( 'templates/byline'); ?>
Expand Down

0 comments on commit 1d90e32

Please sign in to comment.