- Timestamp:
- 01/15/2017 12:49:25 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-content/themes/twentyseventeen/inc/template-tags.php
r39618 r39909 142 142 global $post; // Modify the global post object before setting up post data. 143 143 if ( get_theme_mod( 'panel_' . $id ) ) { 144 global $post;145 144 $post = get_post( get_theme_mod( 'panel_' . $id ) ); 146 145 setup_postdata( $post );
Note: See TracChangeset
for help on using the changeset viewer.