Making WordPress.org

Changeset 8397


Ignore:
Timestamp:
03/06/2019 08:39:35 PM (5 years ago)
Author:
coreymckrill
Message:

WordCamp: Update Slideshow page stub to use Jetpack's new Slideshow block

Location:
sites/trunk/wordcamp.org/public_html/wp-content/plugins/wcpt
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordcamp.org/public_html/wp-content/plugins/wcpt/stubs/page/slideshow.php

    r8384 r8397  
    1 <!-- wp:paragraph {"customBackgroundColor":"#eeeeee"} -->
    2 <p style="background-color:#eeeeee" class="has-background"><?php _e( "<em>Organizers note:</em> Upload photos to this page and they'll automagically appear in a slideshow!", 'wordcamporg' ); ?></p>
    3 <!-- /wp:paragraph -->
    4 
    5 <!-- wp:shortcode -->
    6 [slideshow]
    7 <!-- /wp:shortcode -->
     1<!-- wp:jetpack/slideshow -->
     2<div class="wp-block-jetpack-slideshow aligncenter" data-effect="slide"><div class="wp-block-jetpack-slideshow_container swiper-container"><ul class="wp-block-jetpack-slideshow_swiper-wrappper swiper-wrapper"></ul><a class="wp-block-jetpack-slideshow_button-prev swiper-button-prev swiper-button-white" role="button"></a><a class="wp-block-jetpack-slideshow_button-next swiper-button-next swiper-button-white" role="button"></a><a aria-label="Pause Slideshow" class="wp-block-jetpack-slideshow_button-pause" role="button"></a><div class="wp-block-jetpack-slideshow_pagination swiper-pagination swiper-pagination-white"></div></div></div>
     3<!-- /wp:jetpack/slideshow -->
  • sites/trunk/wordcamp.org/public_html/wp-content/plugins/wcpt/wcpt-wordcamp/wordcamp-new-site.php

    r8384 r8397  
    558558            array(
    559559                'title'   => __( 'Slideshow', 'wordcamporg' ),
    560                 // todo Update this one when Jetpack's Slideshow block becomes available.
    561560                'content' => $this->get_stub_content( 'page', 'slideshow' ),
    562561                'status'  => 'draft',
Note: See TracChangeset for help on using the changeset viewer.