Gallery blocks have two settings: the number of columns, and whether or not images should be cropped. The default number of columns is three, and the maximum number of columns is eight.
Below is a three column gallery at full width, with cropped images.
Boat BW PB Barco Texture Beautiful Fishing
Some more text for taking up space.
A two column gallery, aligned to the left, linked to media file.
In the editor, the image captions can be edited directly by clicking on the text.
If the number of images cannot be divided into the number of columns you have selected, the default is to have the last image(s) automatically stretch to the width of your gallery.
A four column gallery with a wide width:
Sunrise over the coast in Huatulco, Oaxaca, Mexico
Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Donec mollis. Quisque convallis libero in sapien pharetra tincidunt. Aliquam elit ante, malesuada id,
tempor eu, gravida id, odio. Maecenas suscipit, risus et eleifend imperdiet, nisi orci ullamcorper massa, et adipiscing orci velit quis magna.
A five column gallery with normal images:
This is the same gallery, but with cropped images.
Six columns: does it work at all window sizes?
Boardwalk at Westport, WA
Golden Gate Bridge
Sydney Harbor Bridge
Bell on wharf in San Francisco
Rusty rails with fishplate, Kojonup
Boats and reflections, Royal Perth Yacht Club
Antique farm machinery, Mount Barker Museum, Western Australia
Raindrop ripples on a pond
Albany wind-farm against the sunset, Western Australia
Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Donec mollis. Quisque convallis libero in sapien pharetra tincidunt. Aliquam elit ante, malesuada id, tempor eu, gravida id, odio. Maecenas suscipit, risus et eleifend imperdiet, nisi orci ullamcorper massa, et adipiscing orci velit quis magna.
Windmill shrouded in fog at a farm outside of Walker, Iowa
Jericoacoara Ceara Brasil
Sunrise over the coast in Huatulco, Oaxaca, Mexico
Seven columns: how does this look on a narrow window?
It’s dangerous to go alone! Take this.
Boat BW PB Barco Texture Beautiful Fishing
Coastline in Huatulco, Oaxaca, Mexico
Jericoacoara Ceara Brasil
Sunrise over the coast in Huatulco, Oaxaca, Mexico
Beach at Big Sur, CA
Windmill shrouded in fog at a farm outside of Walker, Iowa
Sea and rocks, Plimmerton, New Zealand
Rusty rails with fishplate, Kojonup
images linked to media file – do captions obscure links?
Eight columns:
Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Donec mollis. Quisque convallis libero in sapien pharetra tincidunt. Aliquam elit ante, malesuada id, tempor eu, gravida id, odio. Maecenas suscipit, risus et eleifend imperdiet, nisi orci ullamcorper massa, et adipiscing orci velit quis magna.
Boardwalk at Westport, WA
Golden Gate Bridge
Antique farm machinery, Mount Barker Museum, Western Australia
Orange Iris
Albany wind-farm against the sunset, Western Australia
This page tests how the theme displays the columns block. The first block tests a two column block with paragraphs.
This is the second column. It should align next to the first column. Reduce the browser window width to test the responsiveness.
This is the second column block. It has 3 columns.
Paragraph 2 is in the middle.
Paragraph 3 is in the last column.
The third column block has 4 columns. Make sure that all the text is visible and that it is not cut off.
Now the columns are getting narrower.
The margins between the columns should be wide enough,
so that the content of the columns does not run into or overlap each other.
Column one.
Column two.
Column three.
Column four.
Column five.
To change the number of columns, select the column block to open the settings panel. You can show up to 6 columns. If the theme has support for wide align, you can also set the alignments to wide and full width.
Below is a column block with six columns, and no alignment:
Column one.
Column two.
Column three.
Column four.
Column five.
Column six.
Next is a 3 column block, with a wide alignment:
Column one.
Column two.
Column three.
And here is a two column block with full width, and a longer text. Make sure that the text wraps correctly.
This is column one. Sometimes, you may want to use columns to display a larger text, so, lets add some more words. Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Donec mollis. Quisque convallis libero in sapien pharetra tincidunt. Aliquam elit ante, malesuada id, tempor eu, gravida id, odio. Maecenas suscipit, risus et eleifend imperdiet, nisi orci ullamcorper massa, et adipiscing orci velit quis magna. Praesent sit amet ligula id orci venenatis auctor. Phasellus porttitor, metus non tincidunt dapibus, orci pede pretium neque, sit amet adipiscing ipsum lectus et libero. Aenean bibendum. Curabitur mattis quam id urna. Vivamus dui. Donec nonummy lacinia lorem. Cras risus arcu, sodales ac, ultrices ac, mollis quis, justo. Sed a libero. Quisque risus erat, posuere at, tristique non, lacinia quis, eros.
Column two. Cras volutpat, lacus quis semper pharetra, nisi enim dignissim est, et sollicitudin quam ipsum vel mi. Sed commodo urna ac urna. Nullam eu tortor. Curabitur sodales scelerisque magna. Donec ultricies tristique pede. Nullam libero. Nam sollicitudin felis vel metus. Nullam posuere molestie metus. Nullam molestie, nunc id suscipit rhoncus, felis mi vulputate lacus, a ultrices tortor dolor eget augue. Aenean ultricies felis ut turpis. Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Suspendisse placerat tellus ac nulla. Proin adipiscing sem ac risus. Maecenas nisi. Cras semper.
We can also add blocks inside columns:
This is a numbered list,
inside a 3 column block
with a wide alignment.
The middle column has a paragraph with an image block below.
Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Donec mollis. Quisque convallis libero in sapien pharetra tincidunt. Aliquam elit ante, malesuada id, tempor eu, gravida id, odio. Maecenas suscipit, risus et eleifend imperdiet, nisi orci ullamcorper massa, et adipiscing orci velit quis magna.
-This third column has a quote
Theme Reviewer
But wait there is more! We also have a block called Media & Text, which is a two column block that helps you display media and text content next to each other, without having to first setup a column block:
Media & Text
A paragraph block sits ready to be used, below your headline.
Yes, it is a press, certainly, but a press from which shall flow in inexhaustible streams, the most abundant and most marvelous liquor that has ever flowed to relieve the thirst of men!
Johannes Gutenberg
The quote blocks themselves have no alignments but the text can be aligned, bold, italic, and linked:
The Common category includes the following blocks: Paragraph, image, headings, list, gallery, quote, audio, cover, video.
The paragraph block is the default block type. It should not have any alignment of any kind. It should just flow like you would normally expect. Nothing fancy. Just straight up text, free flowing, with love.
This paragraph is left aligned.
This italic paragraph is right aligned.
Neither of these paragraphs care about politics, but this one is bold, medium sized and has a drop cap.
This paragraph is centered.
This paragraph prefers Jazz over Justin Timberlake. It also uses the small font size.
This paragraph has something important to say: It has a large font size, which defaults to 36px.
The huge text size defaults to 46px, but the size can be customized.
This paragraph is colorful, with a red background and white text (maybe). Colored blocks should have a high enough contrast, so that the text is readable.
Below this block, you will see a single image with a circle mask applied.
The read more block should be right below this text, but only on list pages of themes that show the full content. It won’t show on the single page or on themes showing excerpts.
The formatting category includes the following blocks:
The code block starts with
<!-- wp:code -->
<?php echo 'Hello World'; ?>
The classic block can have almost anything in it.
a heading
The custom HTML block lets you put HTML that isn’t configured like blocks in it. (this div has a width of 45%)
The preformatted block.
The Road Not Taken
Robert Frost Two roads diverged in a yellow wood, And sorry I could not travel both (\_/) And be one traveler, long I stood (='.'=) And looked down one as far as I could (")_(") To where it bent in the undergrowth;
Then took the other, as just as fair, And having perhaps the better claim, |\_/| Because it was grassy and wanted wear; / @ @ \ Though as for that the passing there ( > º < ) Had worn them really about the same, `>>x<<´ / O \ And both that morning equally lay In leaves no step had trodden black. Oh, I kept the first for another day! Yet knowing how way leads on to way, I doubted if I should ever come back. I shall be telling this with a sigh Somewhere ages and ages hence: Two roads diverged in a wood, and I— I took the one less traveled by, And that has made all the difference.
and here's a line of some really, really, really, really long text, just to see how it is handled and to find out how it overflows;
The pull quote can be aligned or wide or neither.
Theme Reviewer
The table block
This is the default style.
The cell next to this is empty.
Cell #5
Cell #6
This is the striped style.
This row should have a background color.
The cell next to this is empty.
This table has fixed width table cells.
Make sure that the text wraps correctly.
The Verse block
A block for haiku? Why not? Blocks for all the things!
There are many different ways to use the web besides a mouse and a pair of eyes. Users navigate for example with a keyboard only or with their voice.
All the functionality, including menus, links and forms should work using a keyboard only. This is essential for all assistive technology to work properly. The only way to test this, at the moment, is manually. The best time to test this is during development.
How to keyboard test:
Tab through your pages, links and forms to do the following tests:
Confirm that all links can be reached and activated via keyboard, including any in dropdown submenus.
Confirm that all links get a visible focus indicator (e.g., a border highlight).
Confirm that all form input fields and buttons can be accessed and used via keyboard.
Confirm that all interactions, buttons, and other controls can be triggered via keyboard — any action you can complete with a mouse must also be performable via keyboard.
Confirm that focus doesn’t move in unexpected ways around the page.
Confirm that using shift+tab to move backwards works as well.
This test post needs a comment.