Twenty Seventeen: Hidden article tags on home page fix

This prevents the issue of hidden article tags on home page.

Props ElectricFeet, iv.dimova. morettigeorgiev, davidakennedy
Fixes #38404

M    twentyseventeen/inc/template-tags.php
M    twentyseventeen/style.css

Built from https://develop.svn.wordpress.org/trunk@38998


git-svn-id: http://core.svn.wordpress.org/trunk@38940 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Tammie Lister 2016-10-28 21:01:34 +00:00
parent 3807829ac4
commit 9fccac28d8
3 changed files with 2 additions and 7 deletions

View File

@ -149,7 +149,7 @@ function twentyseventeen_front_page_section( $partial = null, $id = 0 ) {
get_template_part( 'template-parts/page/content', 'front-page-panels' );
wp_reset_postdata();
} else {
} elseif ( is_customize_preview() ) {
// The output placeholder anchor.
echo '<article class="panel-placeholder panel twentyseventeen-panel twentyseventeen-panel' . $id . '" id="panel' . $id . '"><span class="twentyseventeen-panel-title">' . sprintf( __( 'Panel %1$s Placeholder', 'twentyseventeen' ), $id ) . '</span></article>';
}

View File

@ -2950,11 +2950,6 @@ object {
# Customizer
--------------------------------------------------------------*/
/* Hide placeholders until we're in the front page sections section */
.panel-placeholder {
display: none;
}
.highlight-front-sections.twentyseventeen-customizer.twentyseventeen-front-page .twentyseventeen-panel:after {
border: 2px dashed #0085ba; /* Matches visible edit shortcuts. */
bottom: 1em;

View File

@ -4,7 +4,7 @@
*
* @global string $wp_version
*/
$wp_version = '4.7-beta1-38997';
$wp_version = '4.7-beta1-38998';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.