- Timestamp:
- 01/29/2020 12:43:23 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-content/themes/twentyseventeen/inc/template-tags.php
r46827 r47122 81 81 echo '<span class="cat-tags-links">'; 82 82 83 83 // Make sure there's more than one category before displaying. 84 84 if ( $categories_list && twentyseventeen_categorized_blog() ) { 85 85 echo '<span class="cat-links">' . twentyseventeen_get_svg( array( 'icon' => 'folder-open' ) ) . '<span class="screen-reader-text">' . __( 'Categories', 'twentyseventeen' ) . '</span>' . $categories_list . '</span>'; … … 134 134 // Find out the id and set it up during a selective refresh. 135 135 global $twentyseventeencounter; 136 $id = str_replace( 'panel_', '', $partial->id ); 136 137 $id = str_replace( 'panel_', '', $partial->id ); 138 137 139 $twentyseventeencounter = $id; 138 140 } … … 149 151 } elseif ( is_customize_preview() ) { 150 152 // The output placeholder anchor. 151 /* translators: %s: The section ID. */ 152 echo '<article class="panel-placeholder panel twentyseventeen-panel twentyseventeen-panel' . $id . '" id="panel' . $id . '"><span class="twentyseventeen-panel-title">' . sprintf( __( 'Front Page Section %s Placeholder', 'twentyseventeen' ), $id ) . '</span></article>'; 153 printf( 154 '<article class="panel-placeholder panel twentyseventeen-panel twentyseventeen-panel%1$s" id="panel%1$s">' . 155 '<span class="twentyseventeen-panel-title">%2$s</span></article>', 156 $id, 157 /* translators: %s: The section ID. */ 158 sprintf( __( 'Front Page Section %s Placeholder', 'twentyseventeen' ), $id ) 159 ); 153 160 } 154 161 } … … 205 212 * Fire the wp_body_open action. 206 213 * 207 * Added for backward s compatibility to support pre5.2.0 WordPress versions.214 * Added for backward compatibility to support pre-5.2.0 WordPress versions. 208 215 * 209 216 * @since Twenty Seventeen 2.2
Note: See TracChangeset
for help on using the changeset viewer.