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:
parent
3807829ac4
commit
9fccac28d8
|
@ -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>';
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue