Skip to content

Instantly share code, notes, and snippets.

@wlanowski
Created January 11, 2023 11:20
Show Gist options
  • Save wlanowski/b082f61db84abc86345b633b15c0ca4a to your computer and use it in GitHub Desktop.
Save wlanowski/b082f61db84abc86345b633b15c0ca4a to your computer and use it in GitHub Desktop.
<!-- wp:paragraph -->
<p>First Gallery - without captions - Working</p>
<!-- /wp:paragraph -->
<!-- wp:gallery {"linkTo":"none"} -->
<figure class="wp-block-gallery has-nested-images columns-default is-cropped"><!-- wp:image {"id":10048,"sizeSlug":"large","linkDestination":"none"} -->
<figure class="wp-block-image size-large"><img src="https://superbitch380.de/wp-content/uploads/2023/01/img_0059-768x1024.jpg" alt="" class="wp-image-10048"/></figure>
<!-- /wp:image -->
<!-- wp:image {"id":10045,"sizeSlug":"large","linkDestination":"none"} -->
<figure class="wp-block-image size-large"><img src="https://superbitch380.de/wp-content/uploads/2023/01/img_0087-1024x768.jpg" alt="" class="wp-image-10045"/></figure>
<!-- /wp:image -->
<!-- wp:image {"id":10044,"sizeSlug":"large","linkDestination":"none"} -->
<figure class="wp-block-image size-large"><img src="https://superbitch380.de/wp-content/uploads/2023/01/img_0084-1024x768.jpg" alt="" class="wp-image-10044"/></figure>
<!-- /wp:image -->
<!-- wp:image {"id":10047,"sizeSlug":"large","linkDestination":"none"} -->
<figure class="wp-block-image size-large"><img src="https://superbitch380.de/wp-content/uploads/2023/01/img_0082-1024x768.jpg" alt="" class="wp-image-10047"/></figure>
<!-- /wp:image -->
<!-- wp:image {"id":10043,"sizeSlug":"large","linkDestination":"none"} -->
<figure class="wp-block-image size-large"><img src="https://superbitch380.de/wp-content/uploads/2023/01/img_0067-768x1024.jpg" alt="" class="wp-image-10043"/></figure>
<!-- /wp:image -->
<!-- wp:image {"id":10046,"sizeSlug":"large","linkDestination":"none"} -->
<figure class="wp-block-image size-large"><img src="https://superbitch380.de/wp-content/uploads/2023/01/img_0088-1024x768.jpg" alt="" class="wp-image-10046"/></figure>
<!-- /wp:image --></figure>
<!-- /wp:gallery -->
<!-- wp:paragraph -->
<p>Second Gallery with caption "Test" at the last picture - not working after saving</p>
<!-- /wp:paragraph -->
<!-- wp:gallery {"ids":[10030,10033,10036,10034,10032,10035,10031],"linkTo":"none"} -->
<figure class="wp-block-gallery columns-3 is-cropped"><ul class="blocks-gallery-grid"><li class="blocks-gallery-item"><figure><img src="https://superbitch380.de/wp-content/uploads/2023/01/img_0007-scaled.jpg" alt="" data-id="10030" class="wp-image-10030"/></figure></li><li class="blocks-gallery-item"><figure><img src="https://superbitch380.de/wp-content/uploads/2023/01/img_9997-scaled.jpg" alt="" data-id="10033" class="wp-image-10033"/></figure></li><li class="blocks-gallery-item"><figure><img src="https://superbitch380.de/wp-content/uploads/2023/01/img_0032-scaled.jpg" alt="" data-id="10036" class="wp-image-10036"/></figure></li><li class="blocks-gallery-item"><figure><img src="https://superbitch380.de/wp-content/uploads/2023/01/img_9981-scaled.jpg" alt="" data-id="10034" class="wp-image-10034"/></figure></li><li class="blocks-gallery-item"><figure><img src="https://superbitch380.de/wp-content/uploads/2023/01/img_0026-scaled.jpg" alt="" data-id="10032" class="wp-image-10032"/></figure></li><li class="blocks-gallery-item"><figure><img src="https://superbitch380.de/wp-content/uploads/2023/01/img_0037-scaled.jpg" alt="" data-id="10035" class="wp-image-10035"/></figure></li><li class="blocks-gallery-item"><figure><img src="https://superbitch380.de/wp-content/uploads/2023/01/img_0047-scaled.jpg" alt="" data-id="10031" class="wp-image-10031"/><figcaption class="blocks-gallery-item wp-element-caption">Test</figcaption></figure></li></ul></figure>
<!-- /wp:gallery -->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment