Support » Fixing WordPress » Gutenberg gallery tiled mosaic

  • Dears I like request one setup in media for convert all the galleries gutenberg in tiled mosaic, like jetpack. Just press one button.

    Now is possible have one function to transform all my galleries gutenberg to tiled square mosaic? (no jetpack, just gutenberg)

    • This topic was modified 1 week, 3 days ago by Steve Stern.
    • This topic was modified 1 week, 3 days ago by Jan Dembowski. Reason: Moved to Fixing WordPress, this is not an Everything else WordPress topic
    • This topic was modified 1 week, 3 days ago by Guillermo77.
Viewing 3 replies - 1 through 3 (of 3 total)
  • Moderator Steve Stern

    (@sterndata)

    Support Team Volunteer

    Thank you, I am happy with the gutenberg gallery, just like transform all my galleries to tiled with the original gutenberg, I remember one function for jetpack to transform all to circle, square, etc.

    I like something how that function for transform all my galleries to gutenberg extended gallery mode, and no make it one by one.

    • This reply was modified 1 week, 3 days ago by Guillermo77.

    Something how this, but for gutenberg:

    
    function jeherve_custom_gallery_type() {
            return 'circle';
    }
    add_filter( 'jetpack_default_gallery_type', 'jeherve_custom_gallery_type', 30 );
    
Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.