~canonical-sysadmins/wordpress/4.8.1

« back to all changes in this revision

Viewing changes to wp-content/themes/twentyseventeen/template-parts/post/content-gallery.php

  • Committer: axino
  • Date: 2017-04-21 09:50:23 UTC
  • mfrom: (1.1.24 upstream)
  • Revision ID: axino@canonical.com-20170421095023-9ovs9chcswvhibbe
Merge WP4.7.4 from upstream

Show diffs side-by-side

added added

removed removed

Lines of Context:
7
7
 * @package WordPress
8
8
 * @subpackage Twenty_Seventeen
9
9
 * @since 1.0
10
 
 * @version 1.0
 
10
 * @version 1.2
11
11
 */
12
12
?>
13
13
 
32
32
 
33
33
                        if ( is_single() ) {
34
34
                                the_title( '<h1 class="entry-title">', '</h1>' );
 
35
                        } elseif ( is_front_page() && is_home() ) {
 
36
                                the_title( '<h3 class="entry-title"><a href="' . esc_url( get_permalink() ) . '" rel="bookmark">', '</a></h3>' );
35
37
                        } else {
36
38
                                the_title( '<h2 class="entry-title"><a href="' . esc_url( get_permalink() ) . '" rel="bookmark">', '</a></h2>' );
37
39
                        }