Changeset 5998 for sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-main/front-page.php
- Timestamp:
- 10/04/2017 06:38:13 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-main/front-page.php
r5892 r5998 105 105 </div> 106 106 107 <div id="home-below" class="home-below"> 108 <div class="col-2"> 109 <h4><a href="https://wordpress.org/about/swag/"><?php _e( 'WordPress Swag' ); ?></a></h4> 110 <a href="https://wordpress.org/about/swag/"><img width="132" height="177" src="https://wpdotorg.files.wordpress.com/2015/10/gray-tshirt-swag.jpg" alt="<?php esc_attr_e( 'WordPress Swag' ); ?>" /></a> 111 </div> 112 107 <div id="home-below" class="home-below row gutters"> 113 108 <div class="col-4"> 114 109 <h4><a href="https://wordpress.org/news/"><?php _e( 'News From Our Blog' ); ?></a></h4> 115 110 116 111 <?php 117 $featured = new \WP_Query( [ 'posts_per_page' => 1 ] );112 $featured = new \WP_Query( [ 'posts_per_page' => 1, 'ignore_sticky_posts' => true ] ); 118 113 while ( $featured->have_posts() ) : 119 114 $featured->the_post(); … … 133 128 <li class="three"><span></span><?php printf( __( '<a href="%s">Read the Documentation</a> and become a WordPress expert yourself, impress your friends.' ), esc_url( 'https://developer.wordpress.org' ) ); ?></li> 134 129 </ol> 130 </div> 131 132 <div class="col-2 first"> 133 <h4><a href="https://wordpress.org/about/swag/"><?php _e( 'WordPress Swag' ); ?></a></h4> 134 <a href="https://wordpress.org/about/swag/"><img width="132" height="177" src="https://wpdotorg.files.wordpress.com/2015/10/gray-tshirt-swag.jpg" alt="<?php esc_attr_e( 'WordPress Swag' ); ?>" /></a> 135 135 </div> 136 136
Note: See TracChangeset
for help on using the changeset viewer.