Commit 9b1e38a9 authored by Nathan Peraldi's avatar Nathan Peraldi

fix minor error: wrong function name

parent 00b842b0
...@@ -15,50 +15,51 @@ ...@@ -15,50 +15,51 @@
?><!DOCTYPE html> ?><!DOCTYPE html>
<html <?php language_attributes(); ?> class="no-js no-svg"> <html <?php language_attributes(); ?> class="no-js no-svg">
<head> <head>
<meta charset="<?php bloginfo( 'charset' ); ?>"> <meta charset="<?php bloginfo('charset'); ?>">
<meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="profile" href="http://gmpg.org/xfn/11"> <link rel="profile" href="http://gmpg.org/xfn/11">
<?php wp_head(); ?> <?php wp_head(); ?>
</head> </head>
<body <?php body_class(); ?>> <body <?php body_class(); ?>>
<?php wp_body_open(); ?> <?php wp_body_open(); ?>
<div id="page" class="site"> <div id="page" class="site">
<a class="skip-link screen-reader-text" href="#content"><?php _e( 'Skip to content', 'twentyseventeen' ); ?></a> <a class="skip-link screen-reader-text" href="#content"><?php _e('Skip to content', 'twentyseventeen'); ?></a>
<header id="masthead" class="site-header" role="banner"> <header id="masthead" class="site-header" role="banner">
<?php get_template_part( 'template-parts/header', 'image' ); ?> <?php get_template_part('template-parts/header', 'image'); ?>
<?php if ( has_nav_menu( 'top' ) ) : ?> <?php if (has_nav_menu('top')) : ?>
<div class="navigation-top"> <div class="navigation-top">
<div class="wrap"> <div class="wrap">
<?php get_template_part( 'template-parts/navigation/navigation', 'top' ); ?> <?php get_template_part('template-parts/navigation/navigation', 'top'); ?>
</div><!-- .wrap --> </div><!-- .wrap -->
</div><!-- .navigation-top --> </div><!-- .navigation-top -->
<?php endif; ?> <?php endif; ?>
</header><!-- #masthead --> </header><!-- #masthead -->
<?php <?php
/* /*
* If a regular post or page, and not the front page, show the featured image. * If a regular post or page, and not the front page, show the featured image.
* Using get_queried_object_id() here since the $post global may not be set before a call to the_post(). * Using get_queried_object_id() here since the $post global may not be set before a call to the_post().
*/ */
if ( ( is_single() || ( is_page() && ! twentyseventeen_is_frontpage() ) ) && has_post_thumbnail( get_queried_object_id() ) ) : if ((is_single() || (is_page() && !twentyseventeen_is_frontpage())) && has_post_thumbnail(get_queried_object_id())) :
echo '<div class="single-featured-image-header">'; echo '<div class="single-featured-image-header">';
echo get_the_post_thumbnail( get_queried_object_id(), 'twentyseventeen-featured-image' ); echo get_the_post_thumbnail(get_queried_object_id(), 'twentyseventeen-featured-image');
echo '</div><!-- .single-featured-image-header -->'; echo '</div><!-- .single-featured-image-header -->';
endif; endif;
?> ?>
<div class="site-content-contain"> <div class="site-content-contain">
<div id="content" class="site-content"> <div id="content" class="site-content">
<div class="breadcrumbs" typeof="BreadcrumbList" vocab="https://schema.org/"> <div class="breadcrumbs" typeof="BreadcrumbList" vocab="https://schema.org/">
<?php if(function_exists('bcn_display') && !is_home()) <?php if (function_exists('bcn_display')) {
{ if (!is_front_page()) {
bcn_display(); bcn_display();
}?> }
} ?>
</div> </div>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment