Trying to understand twentyfourteen theme source code
-
Hi,
https://github.com/WordPress/WordPress/blob/master/wp-content/themes/twentyfourteen/index.php#L22
Twenty Fourteen theme is activated.
What these lines do?
if ( is_front_page() && twentyfourteen_has_featured_posts() ) { // Include the featured content template. get_template_part( 'featured-content' ); }
If i comment or remove these lines, i don’t see any effect on front/default page.
Answers will be appreciated.
Thanks
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Trying to understand twentyfourteen theme source code’ is closed to new replies.