Changeset 6277 for sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-main/front-page.php
- Timestamp:
- 12/15/2017 12:13:33 AM (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
r6246 r6277 13 13 */ 14 14 15 // phpcs:disable WordPress.XSS.EscapeOutput.UnsafePrintingFunction, WordPress.XSS.EscapeOutput.OutputNotEscaped 16 15 17 namespace WordPressdotorg\MainTheme; 16 18 … … 45 47 <section class="showcase"> 46 48 <h2><?php _e( 'Trusted by the Best', 'wporg' ); ?></h2> 47 <p class="subheading"><?php printf( __( '%s of the web uses WordPress, from hobby blogs to the biggest news sites online.', 'wporg' ), WP_MARKET_SHARE . '%' ); ?></p> 49 <p class="subheading"> 50 <?php 51 printf( 52 /* translators: WordPress market share: 29%; */ 53 __( '%s of the web uses WordPress, from hobby blogs to the biggest news sites online.', 'wporg' ), 54 WP_MARKET_SHARE . '%' 55 ); 56 ?> 57 </p> 48 58 <div class="collage"> 49 59 … … 89 99 </li> 90 100 </ul> 91 <p><?php 101 <p> 102 <?php 92 103 /* translators: %s: Link to Plugin Directory. */ 93 printf( __( 'Extend WordPress with over 45,000 plugins to help your website meet your needs. Add an online store, galleries, mailing lists, forums, analytics, and <a href="%s">much more</a>.', 'wporg' ), esc_url( home_url( '/plugins/' ) ) ); ?></p> 104 printf( __( 'Extend WordPress with over 45,000 plugins to help your website meet your needs. Add an online store, galleries, mailing lists, forums, analytics, and <a href="%s">much more</a>.', 'wporg' ), esc_url( home_url( '/plugins/' ) ) ); 105 ?> 106 </p> 94 107 </section> 95 108 … … 123 136 'no_found_rows' => true, 124 137 ] ); 138 125 139 while ( $featured->have_posts() ) : 126 140 $featured->the_post(); 141 127 142 the_title( sprintf( '<h5><a href="%s" rel="bookmark">', esc_url( get_permalink() ) ), '</a></h5>' ); 128 143 echo '<div class="entry-summary">' . apply_filters( 'the_excerpt', get_the_excerpt() ) . '</div>'; … … 136 151 137 152 <ol class="steps"> 138 <li class="one"><span></span><?php printf( __( '<a href="%s">Find a Web Host</a> and get great hosting while supporting WordPress at the same time.', 'wporg' ), esc_url( 'https://wordpress.org/hosting/' ) ); ?></li> 139 <li class="two"><span></span><?php printf( __( '<a href="%s">Download & Install WordPress</a> with our famous 5-minute installation. Feel like a rock star.', 'wporg' ), esc_url( get_downloads_url() ) ); ?></li> 140 <li class="three"><span></span><?php printf( __( '<a href="%s">Read the Documentation</a> and become a WordPress expert yourself, impress your friends.', 'wporg' ), esc_url( 'https://developer.wordpress.org' ) ); ?></li> 153 <li class="one"> 154 <span></span> 155 <?php 156 printf( 157 /* translators: URL to Hosting page. */ 158 __( '<a href="%s">Find a Web Host</a> and get great hosting while supporting WordPress at the same time.', 'wporg' ), 159 esc_url( 'https://wordpress.org/hosting/' ) 160 ); 161 ?> 162 </li> 163 <li class="two"> 164 <span></span> 165 <?php 166 printf( 167 /* translators: URL to Downloads page. */ 168 __( '<a href="%s">Download & Install WordPress</a> with our famous 5-minute installation. Feel like a rock star.', 'wporg' ), 169 esc_url( get_downloads_url() ) 170 ); 171 ?> 172 </li> 173 <li class="three"> 174 <span></span> 175 <?php 176 printf( 177 /* translators: URL to Developer Hub. */ 178 __( '<a href="%s">Read the Documentation</a> and become a WordPress expert yourself, impress your friends.', 'wporg' ), 179 esc_url( 'https://developer.wordpress.org' ) 180 ); 181 ?> 182 </li> 141 183 </ol> 142 184 </div> … … 204 246 </main><!-- #main --> 205 247 206 248 <?php 207 249 get_footer();
Note: See TracChangeset
for help on using the changeset viewer.