Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Launch: Hosting page #204

Draft
wants to merge 10 commits into
base: trunk
Choose a base branch
from
5 changes: 5 additions & 0 deletions env/page-manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -114,5 +114,10 @@
{
"slug": "search",
"template": "page-search.html"
},
{
"slug": "hosting",
"pattern": "hosting.php",
"template": "page-hosting.html"
}
]
1 change: 1 addition & 0 deletions source/wp-content/mu-plugins/theme-switcher.php
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ function should_use_new_theme() {
'/about-2/etiquette-2/',
'/about-2/swag-2/',
'/about-2/logos-2/',
'/hosting/',
);
if ( ! in_array( $request_uri, $new_theme_pages ) ) {
return false;
Expand Down
101 changes: 101 additions & 0 deletions source/wp-content/themes/wporg-main-2022/patterns/hosting.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,101 @@
<?php
/**
* Title: Hosting
* Slug: wporg-main-2022/hosting
* Inserter: no
*/

?>
<!-- wp:group {"align":"full","style":{"spacing":{"padding":{"bottom":"var:preset|spacing|70"},"margin":{"bottom":"0"}},"border":{"bottom":{"color":"var:preset|color|light-grey-1","width":"1px"}}},"layout":{"type":"constrained"}} -->
<div class="wp-block-group alignfull" style="border-bottom-color:var(--wp--preset--color--light-grey-1);border-bottom-width:1px;margin-bottom:0;padding-bottom:var(--wp--preset--spacing--70)"><!-- wp:heading {"textAlign":"center","level":1,"align":"full","style":{"typography":{"fontStyle":"normal","fontWeight":"100"},"spacing":{"padding":{"bottom":"0"}}},"backgroundColor":"white","fontSize":"heading-1"} -->
<h1 class="wp-block-heading alignfull has-text-align-center has-white-background-color has-background has-heading-1-font-size" style="padding-bottom:0;font-style:normal;font-weight:100"><?php _e( 'Hosting', 'wporg' ); ?></h1>
<!-- /wp:heading -->

<!-- wp:heading {"textAlign":"center","style":{"spacing":{"padding":{"left":"var:preset|spacing|50","right":"var:preset|spacing|50"}}},"fontSize":"heading-5"} -->
<h2 class="wp-block-heading has-text-align-center has-heading-5-font-size" style="padding-right:var(--wp--preset--spacing--50);padding-left:var(--wp--preset--spacing--50)"><?php _e( 'Get web hosting from some of the best providers', 'wporg' ); ?></h2>
<!-- /wp:heading --></div>
<!-- /wp:group -->

<!-- wp:group {"style":{"spacing":{"padding":{"right":"var:preset|spacing|30","left":"var:preset|spacing|30","top":"var:preset|spacing|60"},"blockGap":"0px","margin":{"top":"0"}}},"layout":{"type":"constrained"}} -->
<div class="wp-block-group" style="margin-top:0;padding-top:var(--wp--preset--spacing--60);padding-right:var(--wp--preset--spacing--30);padding-left:var(--wp--preset--spacing--30)"><!-- wp:paragraph {"style":{"spacing":{"margin":{"bottom":"var:preset|spacing|30"}}}} -->
<p style="margin-bottom:var(--wp--preset--spacing--30)"><?php _e( 'There are hundreds of thousands of web hosts out there, and while most of them meet the WordPress minimum requirements, choosing one from the crowd can feel overwhelming. Just like flowers need the right environment to grow, WordPress works best when it’s in a rich hosting environment.', 'wporg' ); ?></p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p><?php _e( 'The hosts listed here are a great starting point for any type of site you want to build. If you do decide to choose one of them (using the links below), some will donate a portion of your fee right back to the WordPress project—so you can have a great host and support the future of WordPress. If you’d like to try WordPress for free, you can get started with a free website or blog at', 'wporg' ); ?> <a href="https://www.WordPress.com"><?php _e( 'WordPress.com', 'wporg' ); ?></a>.</p>
<!-- /wp:paragraph -->

<!-- wp:heading {"level":3,"style":{"spacing":{"margin":{"bottom":"var:preset|spacing|30","top":"var:preset|spacing|30"}}}} -->
<h3 class="wp-block-heading" style="margin-top:var(--wp--preset--spacing--30);margin-bottom:var(--wp--preset--spacing--30)"><?php _e( 'For hosts: Getting listed on this page', 'wporg' ); ?></h3>
<!-- /wp:heading -->

<!-- wp:paragraph {"fontSize":"normal"} -->
<p class="has-normal-font-size"><?php _e( 'Listing is completely arbitrary, but hosts are included based on criteria like: contributions to WordPress.org, size of customer base, ease of WP auto-install and auto-upgrades, avoiding GPL violations, design, tone, historical perception, following WordPress brand guidelines, accountability for security issues, and up-to-date system software.', 'wporg' ); ?></p>
<!-- /wp:paragraph --></div>
<!-- /wp:group -->

<!-- wp:group {"align":"full","style":{"border":{"top":{"color":"var:preset|color|light-grey-1","width":"1px"}},"spacing":{"padding":{"top":"var:preset|spacing|60","bottom":"var:preset|spacing|60"},"margin":{"bottom":"0","top":"var:preset|spacing|60"}}},"layout":{"type":"constrained"}} -->
<div class="wp-block-group alignfull" style="border-top-color:var(--wp--preset--color--light-grey-1);border-top-width:1px;margin-top:var(--wp--preset--spacing--60);margin-bottom:0;padding-top:var(--wp--preset--spacing--60);padding-bottom:var(--wp--preset--spacing--60)"><!-- wp:group {"style":{"spacing":{"padding":{"right":"var:preset|spacing|30","left":"var:preset|spacing|30"}}},"layout":{"type":"constrained"}} -->
<div class="wp-block-group" style="padding-right:var(--wp--preset--spacing--30);padding-left:var(--wp--preset--spacing--30)"><!-- wp:image {"id":17181,"width":230,"sizeSlug":"full","linkDestination":"custom"} -->
<figure class="wp-block-image size-full is-resized"><img src="https://wordpress.org/files/2023/02/logo-bluehost.png" alt="Bluehost logo" class="wp-image-17181" width="230"/></figure>
<!-- /wp:image -->

<!-- wp:paragraph {"style":{"spacing":{"padding":{"top":"var:preset|spacing|10","right":"0","bottom":"0","left":"0"}}}} -->
<p style="padding-top:var(--wp--preset--spacing--10);padding-right:0;padding-bottom:0;padding-left:0"><?php _e( 'Powering over 2 million websites,', 'wporg' ); ?> <a href="https://www.bluehost.com/wordpress-hosting"><?php _e( 'Bluehost', 'wporg' ); ?></a> <?php _e( 'offers the ultimate WordPress platform. Tuned for WordPress, we offer WordPress-centric dashboards and tools along with 1-click installation, a FREE domain name, email, FTP, and more. Easily scalable and backed by legendary 24/7 support by in-house WordPress experts.', 'wporg' ); ?></p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p><a class="external-link" href="https://www.bluehost.com/wordpress-hosting"><?php _e( 'Go to host website', 'wporg' ); ?></a> · <a href="https://wordpress.org/search/Bluehost/?in=support_forums"><?php _e( 'Read forum threads', 'wporg' ); ?></a></p>
<!-- /wp:paragraph --></div>
<!-- /wp:group --></div>
<!-- /wp:group -->

<!-- wp:group {"align":"full","style":{"border":{"top":{"color":"var:preset|color|light-grey-1","width":"1px"}},"spacing":{"padding":{"top":"var:preset|spacing|60","bottom":"var:preset|spacing|60"}}},"layout":{"type":"constrained"}} -->
<div class="wp-block-group alignfull" style="border-top-color:var(--wp--preset--color--light-grey-1);border-top-width:1px;padding-top:var(--wp--preset--spacing--60);padding-bottom:var(--wp--preset--spacing--60)"><!-- wp:group {"style":{"spacing":{"padding":{"left":"var:preset|spacing|30","right":"var:preset|spacing|30"}}},"layout":{"type":"constrained"}} -->
<div class="wp-block-group" style="padding-right:var(--wp--preset--spacing--30);padding-left:var(--wp--preset--spacing--30)"><!-- wp:image {"id":17182,"width":230,"sizeSlug":"full","linkDestination":"custom"} -->
<figure class="wp-block-image size-full is-resized"><img src="https://wordpress.org/files/2023/02/logo-dreamhost.png" alt="" class="wp-image-17182" width="230"/></figure>
<!-- /wp:image -->

<!-- wp:paragraph {"style":{"spacing":{"padding":{"top":"var:preset|spacing|10"}}}} -->
<p style="padding-top:var(--wp--preset--spacing--10)"><a href="https://www.dreamhost.com/wordpress-hosting/"><?php _e( 'DreamHost', 'wporg' ); ?></a> <?php _e( 'has been committed to WordPress and its community for over 10 years. Our hosting platforms are optimized for WordPress and our team actively contributes to the WordPress community. At DreamHost, you take total control of your server or let our team of experts handle everything for you. DreamHost offers choice, performance and value for new users and experts alike.', 'wporg' ); ?></p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p><a class="external-link" href="https://www.dreamhost.com/wordpress-hosting/"><?php _e( 'Go to host website', 'wporg' ); ?></a> · <a href="https://wordpress.org/search/DreamHost/?in=support_forums"><?php _e( 'Read forum threads', 'wporg' ); ?></a></p>
<!-- /wp:paragraph --></div>
<!-- /wp:group --></div>
<!-- /wp:group -->

<!-- wp:group {"align":"full","style":{"border":{"top":{"color":"var:preset|color|light-grey-1","width":"1px"}},"spacing":{"padding":{"bottom":"var:preset|spacing|60"}}},"layout":{"type":"constrained"}} -->
<div class="wp-block-group alignfull" style="border-top-color:var(--wp--preset--color--light-grey-1);border-top-width:1px;padding-bottom:var(--wp--preset--spacing--60)"><!-- wp:group {"style":{"spacing":{"padding":{"left":"var:preset|spacing|30","right":"var:preset|spacing|30","top":"var:preset|spacing|60"}}},"layout":{"type":"constrained"}} -->
<div class="wp-block-group" style="padding-top:var(--wp--preset--spacing--60);padding-right:var(--wp--preset--spacing--30);padding-left:var(--wp--preset--spacing--30)"><!-- wp:image {"id":17183,"width":230,"sizeSlug":"full","linkDestination":"custom"} -->
<figure class="wp-block-image size-full is-resized"><img src="https://wordpress.org/files/2023/02/logo-siteground.png" alt="Siteground" class="wp-image-17183" width="230"/></figure>
<!-- /wp:image -->

<!-- wp:paragraph {"style":{"spacing":{"padding":{"top":"var:preset|spacing|10"}}}} -->
<p style="padding-top:var(--wp--preset--spacing--10)"><a href="https://www.siteground.com/wordpress-hosting.htm"><?php _e( 'SiteGround', 'wporg' ); ?></a> <?php _e( 'has tools that make managing WordPress sites easy: one-click install, managed updates, WP-Cli, WordPress staging and git integration. We have a very fast support team with advanced WordPress expertise available 24/7. We provide latest speed technologies that make WordPress load faster: NGINX-based caching, SSD-drives, PHP 7, CDN, HTTP/2. We proactively protect the WordPress sites from hacks.', 'wporg' ); ?></p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p><a class="external-link" href="https://www.siteground.com/wordpress-hosting.htm"><?php _e( 'Go to host website', 'wporg' ); ?></a> · <a href="https://wordpress.org/search/SiteGround/?in=support_forums"><?php _e( 'Read forum threads', 'wporg' ); ?></a></p>
<!-- /wp:paragraph --></div>
<!-- /wp:group --></div>
<!-- /wp:group -->

<!-- wp:group {"align":"full","style":{"border":{"top":{"color":"var:preset|color|light-grey-1","width":"1px"},"bottom":{"color":"var:preset|color|light-grey-1","width":"1px"}}},"layout":{"type":"constrained"}} -->
<div class="wp-block-group alignfull" style="border-top-color:var(--wp--preset--color--light-grey-1);border-top-width:1px;border-bottom-color:var(--wp--preset--color--light-grey-1);border-bottom-width:1px"><!-- wp:group {"style":{"spacing":{"padding":{"right":"var:preset|spacing|30","left":"var:preset|spacing|30","top":"0"}}},"layout":{"type":"constrained"}} -->
<div class="wp-block-group" style="padding-top:0;padding-right:var(--wp--preset--spacing--30);padding-left:var(--wp--preset--spacing--30)"><!-- wp:heading {"textAlign":"center","level":3,"style":{"spacing":{"margin":{"top":"var:preset|spacing|70"}}}} -->
<h3 class="wp-block-heading has-text-align-center" style="margin-top:var(--wp--preset--spacing--70)"><?php _e( 'Share Host Feedback', 'wporg' ); ?></h3>
<!-- /wp:heading -->

<!-- wp:paragraph {"align":"center","style":{"spacing":{"margin":{"bottom":"var:preset|spacing|30"}}}} -->
<p class="has-text-align-center" style="margin-bottom:var(--wp--preset--spacing--30)"><?php _e( 'We’re committed to helping create a wholesome and hassle-free WordPress hosting environment. If you feel there are issues with one of the hosts listed here, and the situation warrants, we’ll work with you and your host on finding a solution.', 'wporg' ); ?></p>
<!-- /wp:paragraph -->

<!-- wp:buttons {"layout":{"type":"flex","justifyContent":"center"},"style":{"spacing":{"margin":{"bottom":"var:preset|spacing|70"}}}} -->
<div class="wp-block-buttons" style="margin-bottom:var(--wp--preset--spacing--70)"><!-- wp:button {"style":{"typography":{"fontSize":"18px"}}} -->
<div class="wp-block-button has-custom-font-size" style="font-size:18px"><a class="wp-block-button__link wp-element-button" href="mailto:[email protected]"><?php _e( 'Send us an email', 'wporg' ); ?></a></div>
<!-- /wp:button --></div>
<!-- /wp:buttons --></div>
<!-- /wp:group --></div>
<!-- /wp:group -->
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<!-- wp:wporg/global-header {"style":"black-on-white"} /-->

<!-- wp:group {"tagName":"main","layout":{"inherit":true},"className":"entry-content","style":{"spacing":{"blockGap":"0px"}}} -->
<main class="wp-block-group entry-content">
<!-- wp:pattern {"slug":"wporg-main-2022/hosting"} /-->
</main>
<!-- /wp:group -->

<!-- wp:wporg/global-footer {"style":"black-on-white"} /-->