Making WordPress.org

Changeset 7567


Ignore:
Timestamp:
07/31/2018 07:05:58 AM (6 years ago)
Author:
tellyworth
Message:

Gutenberg: make the bottom download button clickable too.

See #3703

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/gutenberg/gutenfront-content.php

    r7555 r7567  
    144144<!-- /wp:spacer -->' . "\n\n";
    145145
    146 $content .= '<!-- wp:button {"align":"center","backgroundColor":"dark-blue"} -->
    147 <div class="wp-block-button aligncenter"><a class="wp-block-button__link has-background has-dark-blue-background-color" href="' . "https://{$localised_domain}/plugins/gutenberg/" . '">' . __( 'Download Gutenberg Today', 'gutenbergtheme' ) . '</a></div>
    148 <!-- /wp:button -->' . "\n\n";
     146$content .= '<!-- wp:wporg/download-button -->
     147<div class="wp-block-wporg-download-button wp-block-button aligncenter"><a class="wp-block-button__link has-background has-strong-blue-background-color" href="' . "https://{$localised_domain}/plugins/gutenberg/" . '" style="background-color:rgb(0,115,170)">' . __( "Download Gutenberg Today", 'gutenbergtheme' ) . '</a></div>
     148<!-- /wp:wporg/download-button -->' . "\n\n";
    149149
    150150$content .= '<!-- wp:paragraph {"align":"center","fontSize":"small","className":"gutenberg-landing\u002d\u002dbutton-disclaimer"} -->
Note: See TracChangeset for help on using the changeset viewer.