Changeset 773 for sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/page-home-landing.php
- Timestamp:
- 07/30/2014 10:08:42 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/page-home-landing.php
r554 r773 9 9 10 10 // Temporarily redirect to reference until other section become live, justifying a main landing page. 11 wp_redirect( get_permalink( get_page_by_path( 'reference' ) ) ); 12 exit(); 11 if ( ! is_user_member_of_blog() ) { 12 wp_redirect( get_permalink( get_page_by_path( 'reference' ) ) ); 13 exit(); 14 } 13 15 14 16 get_header(); ?> … … 23 25 <h3 class="widget-title"><div class="dashicons dashicons-welcome-widgets-menus"></div><?php _e( 'Themes', 'wporg' ); ?></h3> 24 26 <p class="widget-description"><?php _e( 'Want to know all there is to know about theming and WordPress?', 'wporg' ); ?></p> 25 <a href=" #" class="themes-go get-started go button"><?php _e( 'Develop Themes ', 'wporg' ); ?><span class="dashicons dashicons-arrow-right-alt2"></span></a>27 <a href="<?php esc_attr_e( get_post_type_archive_link( 'theme-handbook' ) ); ?>" class="themes-go get-started go button"><?php _e( 'Develop Themes ', 'wporg' ); ?><span class="dashicons dashicons-arrow-right-alt2"></span></a> 26 28 </div> 27 29 <div class="widget box box-right transparent"> 28 30 <h3 class="widget-title"><div class="dashicons dashicons-admin-plugins"></div><?php _e( 'Plugins', 'wporg' ); ?></h3> 29 31 <p class="widget-description"><?php _e( 'Ready to dive deep into the world of plugin authoring?', 'wporg' ); ?></p> 30 <a href=" #" class="plugins-go get-started go button"><?php _e( 'Develop Plugins ', 'wporg' ); ?><span class="dashicons dashicons-arrow-right-alt2"></span></a>32 <a href="<?php esc_attr_e( get_post_type_archive_link( 'plugin-handbook' ) ); ?>" class="plugins-go get-started go button"><?php _e( 'Develop Plugins ', 'wporg' ); ?><span class="dashicons dashicons-arrow-right-alt2"></span></a> 31 33 </div> 32 34 </div> … … 47 49 </div><!-- /new-in-guide --> 48 50 49 51 <?php /* 50 52 <main id="main" class="site-main section" role="main"> 51 53 … … 72 74 73 75 </main><!-- #main --> 74 76 */ ?> 75 77 76 78 <div class="search-guide section light-gray clear">
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)