diff --git wp-content/themes/twentyfourteen/functions.php wp-content/themes/twentyfourteen/functions.php
index 28ef45c..d70a8f3 100644
|
|
|
add_action( 'pre_get_posts', 'twentyfourteen_pre_get_posts' ); |
| 459 | 459 | * 1. Single or multiple authors. |
| 460 | 460 | * 2. Index views. |
| 461 | 461 | * 3. Full-width content layout. |
| | 462 | * 4. Absence of footer widgets. |
| 462 | 463 | * |
| 463 | 464 | * @param array $classes A list of existing body class values. |
| 464 | 465 | * @return array The filtered body class list. |
| … |
… |
function twentyfourteen_body_classes( $classes ) { |
| 476 | 477 | || is_attachment() ) |
| 477 | 478 | $classes[] = 'full-width'; |
| 478 | 479 | |
| | 480 | if ( ! is_active_sidebar( 'sidebar-4' ) ) |
| | 481 | $classes[] = 'no-footer-widgets'; |
| | 482 | |
| 479 | 483 | return $classes; |
| 480 | 484 | } |
| 481 | 485 | add_filter( 'body_class', 'twentyfourteen_body_classes' ); |
diff --git wp-content/themes/twentyfourteen/style.css wp-content/themes/twentyfourteen/style.css
index a42f93a..e055c0d 100644
|
|
|
span > object { |
| 2547 | 2547 | padding: 0 27px; |
| 2548 | 2548 | width: 128px; |
| 2549 | 2549 | } |
| | 2550 | body.no-footer-widgets #secondary { |
| | 2551 | min-height: 100vh; |
| | 2552 | } |
| 2550 | 2553 | .site-description { |
| 2551 | 2554 | display: block; |
| 2552 | 2555 | line-height: 1.6363636363; |