Changeset 5886
- Timestamp:
- 09/05/2017 02:16:37 PM (7 years ago)
- Location:
- sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-main
- Files:
-
- 1 deleted
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-main/page-get.php
r4885 r5886 1 1 <?php 2 /**3 * Page template for the Get WordPress page.4 *5 * @package wporg-main6 */7 8 2 require WPORGPATH . 'header.php'; 9 3 ?> 4 <div id="page" class="site"> 5 <a class="skip-link screen-reader-text" href="#main"><?php esc_html_e( 'Skip to content', 'wporg-main' ); ?></a> 10 6 11 <div id="page" class="site page-template-get"> 12 <a class="skip-link screen-reader-text" href="#main"><?php esc_html_e( 'Skip to content', 'wporg-main' ); ?></a> 7 <div id="content" class="site-content"> 8 <header id="masthead" class="site-header" role="banner"> 9 <div class="site-branding"> 10 <p class="site-title"><a href="<?php echo esc_url( home_url( '/get' ) ); ?>"><?php _e( 'Get WordPress', 'wporg-main' ); ?></a></p> 13 11 14 <div id="content" class="site-content"> 15 <header id="masthead" class="site-header" role="banner"> 16 <div class="site-branding"> 17 <h1 class="site-title"> 18 <a href="<?php echo esc_url( home_url( '/get/' ) ); ?>" rel="home"> 19 <?php _e( 'Get WordPress', 'wporg-main' ); ?> 20 </a> 21 </h1> 12 <nav id="site-navigation" class="main-navigation" role="navigation"> 13 <button class="menu-toggle dashicons dashicons-arrow-down-alt2" aria-controls="primary-menu" aria-expanded="false" aria-label="<?php esc_attr_e( 'Primary Menu', 'wporg' ); ?>"></button> 14 <?php wp_nav_menu( array( 'theme_location' => 'primary', 'menu_id' => 'primary-menu', 'depth' => 1 ) ); ?> 15 </nav><!-- #site-navigation --> 16 </div><!-- .site-branding --> 17 </header><!-- #masthead --> 22 18 23 <p class="site-description"> 24 <?php _e( 'Use the software that powers over 25% of the Internet.', 'wporg-main' ); ?> 25 </p> 26 </div><!-- .site-branding --> 27 </header><!-- #masthead --> 19 <main id="main" class="site-main" role="main"> 28 20 29 <main id="main" class="site-main" role="main"> 21 <article id="post-<?php the_ID(); ?>" <?php post_class(); ?>> 22 <div class="entry-content"> 23 <section> 24 <div class="container"> 25 <h3><?php _e( 'Requirements', 'wporg-main' ); ?></h3> 30 26 31 <?php while ( have_posts() ) : the_post(); ?> 27 <p><?php printf( __( 'You’ve got a cool new plugin and are hoping to give it some exposure. You’re in the right place. Just <a href="%s">ask us to host it for you</a>. You’ll be able to:', 'wporg-main' ), esc_url( home_url( 'developers/add' ) ) ); ?></p> 28 <ul> 29 <li><?php _e( 'Keep track of how many people have downloaded it.', 'wporg-main' ); ?></li> 30 <li><?php _e( 'Let people leave comments about your plugin.', 'wporg-main' ); ?></li> 31 <li><?php _e( 'Get your plugin rated against all the other cool WordPress plugins.', 'wporg-main' ); ?></li> 32 <li><?php _e( 'Give your plugin lots of exposure in this centralized repository.', 'wporg-main' ); ?></li> 33 </ul> 32 34 33 <article id="post-<?php the_ID(); ?>" <?php post_class(); ?>> 34 <div class="entry-content"> 35 <h3><?php _e( 'There are some restrictions', 'wporg-main' ); ?></h3> 36 <ul> 37 <li><?php printf( __( 'Your plugin must be compatible with the <a href="%s">GNU General Public License v2</a>, or any later version. We strongly recommend using the same license as WordPress — “GPLv2 or later.”', 'wporg-main' ), esc_url( 'http://www.gnu.org/licenses/license-list.html#GPLCompatibleLicenses' ) ); ?></li> 38 <li><?php _e( 'The plugin must not do anything illegal or be morally offensive (that’s subjective, we know).', 'wporg-main' ); ?></li> 39 <li><?php printf( __( 'You have to actually use the <a href="%s">Subversion</a> repository we give you in order for your plugin to show up on this site. The WordPress Plugin Directory is a hosting site, not a listing site.', 'wporg-main' ), esc_url( 'http://subversion.tigris.org/' ) ); ?></li> 40 <li><?php _e( 'The plugin must not embed external links on the public site (like a “powered by” link) without explicitly asking the user’s permission.', 'wporg-main' ); ?></li> 41 <li><?php printf( __( 'Your plugin must abide by our list of <a href="%s">detailed guidelines</a>, which include not being a spammer and not abusing the systems.', 'wporg-main' ), esc_url( 'https://developer.wordpress.org/plugins/wordpress-org/detailed-plugin-guidelines/' ) ); ?></li> 42 </ul> 35 43 36 <section class="download"> 37 <h2><?php _e( 'Priceless, and also free' ); ?></h2> 38 <p class="subheading"><?php _e( 'Download WordPress and use it on your site.' ); ?></p> 39 <div class="call-to-action"> 40 <button class="button button-primary button-xl"><?php _e( 'Download WordPress 4.4.2' ); ?></button> 41 </div> 44 <h3><?php _e( 'Submission is Simple', 'wporg-main' ); ?></h3> 45 <ol> 46 <li><?php printf( __( '<a href="%s">Sign up</a> for an account on WordPress.org.', 'wporg-main' ), esc_url( 'https://wordpress.org/support/register.php' ) ); ?></li> 47 <li><?php printf( __( '<a href="%s">Submit your plugin for review</a>.', 'wporg-main' ), esc_url( home_url( 'developers/add' ) ) ); ?></li> 48 <li><?php printf( __( 'After your plugin is <a href="%s">manually reviewed</a>, it will either be approved or you will be emailed and asked to provide more information and/or make corrections.', 'wporg-main' ), esc_url( 'https://developer.wordpress.org/plugins/wordpress-org/plugin-developer-faq/#questions-about-submissions-and-approval' ) ); ?></li> 49 <li><?php printf( __( 'Once approved, you’ll be given access to a <a id="subversion" href="%s">Subversion Repository</a> where you’ll store your plugin.', 'wporg-main' ), esc_url( 'https://developer.wordpress.org/plugins/wordpress-org/how-to-use-subversion/' ) ); ?></li> 50 <li> 51 <?php 52 /* translators: 1: URL to readme section; 2: URL to home page; */ 53 printf( __( 'Shortly after you upload your plugin (and a <a href="%1$s">readme file</a>!) to that repository, it will be automatically displayed in the <a href="%2$s">plugins browser</a>.', 'wporg-main' ), '#readme', esc_url( home_url( '/' ) ) ); 54 ?> 55 </li> 56 <li><?php printf( __( 'Check out the <strong><a href="%s">FAQ</a> </strong>for more information.', 'wporg-main' ), esc_url( 'https://developer.wordpress.org/plugins/wordpress-org/plugin-developer-faq/' ) ); ?></li> 57 </ol> 42 58 43 <div class="container"> 44 <aside> 45 <h4><?php _e( 'Requirements' ); ?></h4> 46 <p class="aside"><?php printf( __( 'We recommend servers running version 5.6 or greater of <a href="%1$s">PHP</a>/<a href="%2$s">MySQL</a> and version 10.0 or greater of <a href="%3$s">MariaDB</a>.' ), '', '', '' ); ?></p> 59 <h3 id="readme"><?php _e( 'Readme files', 'wporg-main' ); ?></h3> 60 <p> 61 <?php 62 /* translators: 1: URL to readme file; 2: URL to readme validator; */ 63 printf( __( 'To make your entry in the plugin browser most useful, each plugin should have a readme file named <code>readme.txt</code> that adheres to the <a href="%1$s">WordPress plugin readme file standard</a>. You can put your readme file through the <a href="%2$s">readme validator</a> to check it.', 'wporg-main' ), esc_url( home_url( 'files/2016/06/readme.txt' ) ), esc_url( home_url( '/developers/readme-validator/' ) ) ); 64 ?> 65 </p> 66 </div> 67 </section> 68 <section> 69 <div class="container"> 70 <h3><?php _e( 'Beta Releases', 'wporg-main' ); ?></h3> 47 71 48 <p class="aside"><?php printf( __( 'We also recommend either <a href="%1$s">Apache</a> or <a href="%1$s">Nginx</a> as the most robust options for running WordPress, but neither is required.' ), '', '' ); ?></p> 49 </aside><article> 50 <h4><?php _e( 'Installation' ); ?></h4> 51 <p><?php printf( __( 'With our famous 5-minute installation, setting up WordPress for the first time is simple. We’ve created a <a href="%1$s">handy guide</a> to see you through the installation process.' ), '' ); ?></p> 52 <h4><?php _e( 'Release notifications' ); ?></h4> 53 <p><?php printf( __( 'Want to get notified about WordPress releases? Join the <a href="%1$s">WordPress Announcements mailing list</a> and we will send a friendly message whenever there is a new stable release.' ), '' ); ?></p> 54 </article> 55 </div> 56 <a href="#" class="call-to-action"><?php _e( 'Discover other ways to get WordPress' ); ?></a> 57 </section> 72 <p><?php printf( __( 'You’ve got a cool new plugin and are hoping to give it some exposure. You’re in the right place. Just <a href="%s">ask us to host it for you</a>. You’ll be able to:', 'wporg-main' ), esc_url( home_url( 'developers/add' ) ) ); ?></p> 73 <ul> 74 <li><?php _e( 'Keep track of how many people have downloaded it.', 'wporg-main' ); ?></li> 75 <li><?php _e( 'Let people leave comments about your plugin.', 'wporg-main' ); ?></li> 76 <li><?php _e( 'Get your plugin rated against all the other cool WordPress plugins.', 'wporg-main' ); ?></li> 77 <li><?php _e( 'Give your plugin lots of exposure in this centralized repository.', 'wporg-main' ); ?></li> 78 </ul> 58 79 59 <section class="hosting"> 60 <span class="dashicons dashicons-cloud"></span> 61 <h2><?php _e( 'WordPress Hosting' ); ?></h2> 62 <p class="subheading"><?php _e( 'Choosing a hosting provider can be difficult, so we have selected a few of the best to get you started.' ); ?></p> 80 <h3><?php _e( 'There are some restrictions', 'wporg-main' ); ?></h3> 81 <ul> 82 <li><?php printf( __( 'Your plugin must be compatible with the <a href="%s">GNU General Public License v2</a>, or any later version. We strongly recommend using the same license as WordPress — “GPLv2 or later.”', 'wporg-main' ), esc_url( 'http://www.gnu.org/licenses/license-list.html#GPLCompatibleLicenses' ) ); ?></li> 83 <li><?php _e( 'The plugin must not do anything illegal or be morally offensive (that’s subjective, we know).', 'wporg-main' ); ?></li> 84 <li><?php printf( __( 'You have to actually use the <a href="%s">Subversion</a> repository we give you in order for your plugin to show up on this site. The WordPress Plugin Directory is a hosting site, not a listing site.', 'wporg-main' ), esc_url( 'http://subversion.tigris.org/' ) ); ?></li> 85 <li><?php _e( 'The plugin must not embed external links on the public site (like a “powered by” link) without explicitly asking the user’s permission.', 'wporg-main' ); ?></li> 86 <li><?php printf( __( 'Your plugin must abide by our list of <a href="%s">detailed guidelines</a>, which include not being a spammer and not abusing the systems.', 'wporg-main' ), esc_url( 'https://developer.wordpress.org/plugins/wordpress-org/detailed-plugin-guidelines/' ) ); ?></li> 87 </ul> 63 88 64 <div class="three-up"> 65 <div> 66 <img src="<?php echo esc_url( get_theme_file_uri( 'images/logo-bluehost.png' ) ); ?>" class="logo__bluehost" /> 67 <p><?php _e( 'Our optimized hosting is fast, secure, and simple. We are turning our passion for WordPress into the most amazing managed platform for your WordPress websites ever.' ); ?></p> 68 <a href=""><?php _e( 'Visit Bluehost' ); ?></a> 69 </div> 70 <div> 71 <img src="<?php echo esc_url( get_theme_file_uri( 'images/logo-getlisted.png' ) ); ?>" class="logo__getlisted" /> 72 <p><?php _e( 'Would you like to get your hosting company listed on this page? Click through and read up on how to do it. There’s a few hoops to jump through, but nothing impossible.' ); ?></p> 73 <a href=""><?php _e( 'Get listed' ); ?></a> 74 </div> 75 <div> 76 <img src="<?php echo esc_url( get_theme_file_uri( 'images/logo-wpcom.png' ) ); ?>" class="logo__wpcom" /> 77 <p><?php _e( 'WordPress.com is the easiest way to create a free website or blog. It’s a powerful hosting platform that grows with you. We offer expert support for your WordPress site.' ); ?></p> 78 <a href=""><?php _e( 'Visit WordPress.com' ); ?></a> 79 </div> 80 </div> 81 <a href="" class="call-to-action"><?php _e( 'See all of our recommended hosts' ); ?></a> 82 </section> 89 <h3><?php _e( 'Submission is Simple', 'wporg-main' ); ?></h3> 90 <ol> 91 <li><?php printf( __( '<a href="%s">Sign up</a> for an account on WordPress.org.', 'wporg-main' ), esc_url( 'https://wordpress.org/support/register.php' ) ); ?></li> 92 <li><?php printf( __( '<a href="%s">Submit your plugin for review</a>.', 'wporg-main' ), esc_url( home_url( 'developers/add' ) ) ); ?></li> 93 <li><?php printf( __( 'After your plugin is <a href="%s">manually reviewed</a>, it will either be approved or you will be emailed and asked to provide more information and/or make corrections.', 'wporg-main' ), esc_url( 'https://developer.wordpress.org/plugins/wordpress-org/plugin-developer-faq/#questions-about-submissions-and-approval' ) ); ?></li> 94 <li><?php printf( __( 'Once approved, you’ll be given access to a <a id="subversion" href="%s">Subversion Repository</a> where you’ll store your plugin.', 'wporg-main' ), esc_url( 'https://developer.wordpress.org/plugins/wordpress-org/how-to-use-subversion/' ) ); ?></li> 95 <li> 96 <?php 97 /* translators: 1: URL to readme section; 2: URL to home page; */ 98 printf( __( 'Shortly after you upload your plugin (and a <a href="%1$s">readme file</a>!) to that repository, it will be automatically displayed in the <a href="%2$s">plugins browser</a>.', 'wporg-main' ), '#readme', esc_url( home_url( '/' ) ) ); 99 ?> 100 </li> 101 <li><?php printf( __( 'Check out the <strong><a href="%s">FAQ</a> </strong>for more information.', 'wporg-main' ), esc_url( 'https://developer.wordpress.org/plugins/wordpress-org/plugin-developer-faq/' ) ); ?></li> 102 </ol> 83 103 84 <section class="apps-mobile"> 85 <span class="dashicons dashicons-smartphone"></span> 86 <h2><?php _e( 'Inspiration strikes anywhere, anytime' ); ?></h2> 87 <p class="subheading"><?php _e( 'Create or update content on the go; try our mobile apps.' ); ?></p> 104 <h3 id="readme"><?php _e( 'Readme files', 'wporg-main' ); ?></h3> 105 <p> 106 <?php 107 /* translators: 1: URL to readme file; 2: URL to readme validator; */ 108 printf( __( 'To make your entry in the plugin browser most useful, each plugin should have a readme file named <code>readme.txt</code> that adheres to the <a href="%1$s">WordPress plugin readme file standard</a>. You can put your readme file through the <a href="%2$s">readme validator</a> to check it.', 'wporg-main' ), esc_url( home_url( 'files/2016/06/readme.txt' ) ), esc_url( home_url( '/developers/readme-validator/' ) ) ); 109 ?> 110 </p> 111 </div> 112 </section> 113 </div><!-- .entry-content --> 88 114 89 <div class="web-stores"> 90 <a href="" class="button-ios"><img src="<?php echo esc_url( get_theme_file_uri( 'images/badge-apple.png' ) ); ?>" /></a> 91 <a href="" class="button-android"><img src="<?php echo esc_url( get_theme_file_uri( 'images/badge-google-play.png' ) ); ?>" /></a> 92 </div> 93 <a href="" class="call-to-action"><?php _e( 'Learn more about our mobile apps' ); ?></a> 94 </section> 95 96 </div><!-- .entry-content --> 97 98 <footer class="entry-footer"> 99 <?php 100 edit_post_link( 101 sprintf( 102 /* translators: %s: Name of current post */ 103 esc_html__( 'Edit %s', 'wporg-main' ), 104 the_title( '<span class="screen-reader-text">"', '"</span>', false ) 105 ), 106 '<span class="edit-link">', 107 '</span>' 108 ); 109 ?> 110 </footer><!-- .entry-footer --> 111 </article><!-- #post-## --> 112 113 <?php endwhile; ?> 114 115 </main><!-- #main --> 115 <footer class="entry-footer"> 116 <?php 117 edit_post_link( 118 sprintf( 119 /* translators: %s: Name of current post */ 120 esc_html__( 'Edit %s', 'wporg-main' ), 121 the_title( '<span class="screen-reader-text">"', '"</span>', false ) 122 ), 123 '<span class="edit-link">', 124 '</span>' 125 ); 126 ?> 127 </footer><!-- .entry-footer --> 128 </article><!-- #post-## --> 129 </main><!-- #main --> 116 130 117 131 <?php
Note: See TracChangeset
for help on using the changeset viewer.