Welcome to WordPress. This is your first post. Edit or delete it, then start writing!
Author: Nathan Parikh
Block: Image
Welcome to image alignment! If you recognize this post, it is because these are blocks that have been converted from the classic Markup: Image Alignment post. The best way to demonstrate the ebb and flow of the various image positioning options is to nestle them snuggly among an ocean of words. Grab a paddle and let’s get started. Be sure to try it in RTL mode. Left should stay left and right should stay right for both reading directions.
On the topic of alignment, it should be noted that users can choose from the options of None, Left, Right, and Center. If the theme has added support for align wide, images can also be wide and full width. Be sure to test this page in RTL mode.
In addition, they also get the options of the image dimensions 25%, 50%, 75%, 100% or a set width and height.
The image above happens to be centered.
The rest of this paragraph is filler for the sake of seeing the text wrap around the 150×150 image, which is left aligned.
As you can see the should be some space above, below, and to the right of the image. The text should not be creeping on the image. Creeping is just not right. Images need breathing room too. Let them speak like you words. Let them do their jobs without any hassle from the text. In about one more sentence here, we’ll see that the text moves from the right of the image down below the image in seamless transition. Again, letting the do it’s thang. Mission accomplished!
And now for a massively large image. It also has no alignment.
The image above, though 1200px wide, should not overflow the content area. It should remain contained with no visible disruption to the flow of content.
And now we’re going to shift things to the right align. Again, there should be plenty of room above, below, and to the left of the image. Just look at him there… Hey guy! Way to rock that right side. I don’t care what the left aligned image says, you look great. Don’t let anyone else tell you differently.
In just a bit here, you should see the text start to wrap below the right aligned image and settle in nicely. There should still be plenty of room and everything should be sitting pretty. Yeah… Just like that. It never felt so good to be right.
And just when you thought we were done, we’re going to do them all over again with captions!
The image above happens to be centered. The caption also has a link in it, just to see if it does anything funky.
The rest of this paragraph is filler for the sake of seeing the text wrap around the 150×150 image, which is left aligned.
As you can see the should be some space above, below, and to the right of the image. The text should not be creeping on the image. Creeping is just not right. Images need breathing room too. Let them speak like you words. Let them do their jobs without any hassle from the text. In about one more sentence here, we’ll see that the text moves from the right of the image down below the image in seamless transition. Again, letting the do it’s thang. Mission accomplished!
And now for a massively large image. It also has no alignment.
The image above, though 1200px wide, should not overflow the content area. It should remain contained with no visible disruption to the flow of content.
And now we’re going to shift things to the right align. Again, there should be plenty of room above, below, and to the left of the image. Just look at him there… Hey guy! Way to rock that right side. I don’t care what the left aligned image says, you look great. Don’t let anyone else tell you differently.
In just a bit here, you should see the text start to wrap below the right aligned image and settle in nicely. There should still be plenty of room and everything should be sitting pretty. Yeah… Just like that. It never felt so good to be right.
Imagine that we would find a use for the extra wide image! This image has the wide width alignment:
Can we go bigger? This image has the full width alignment:
And that’s a wrap, yo! You survived the tumultuous waters of alignment. Image alignment achievement unlocked! One last thing: The last item in this post’s content is a thumbnail floated right. Make sure any elements after the content are clearing properly.
Block: Button
Button blocks are not semantically buttons, but links inside a styled div.
If you do not add a link, a link tag without an anchor will be used.
Check to make sure that the text wraps correctly when the button has more than one line of text, and when it is extra long.
Buttons have three styles:
If the theme has a custom color palette, test that background color and text color settings work correctly.
If the theme has a custom color palette, test that background color and text color settings work correctly.
Now lets test how buttons display together with large texts.
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.
Block: Cover
This is a left aligned cover block with a background image.
The cover block lets you add text on top of images or videos.
This blocktype has several alignment options, and you can also align or center the text inside the block.
The background image can be fixed and you can change its opacity and add an overlay color.
Make sure that the text wraps correctly over the image, and that text markup and alignments are working.
The next image should have a pink overlay color, the text should be bold and aligned to the left:
A center aligned cover image block, with a left aligned text.
This is a full width cover block with a fixed background image with a 20% opacity.
Make sure that all the text is readable.
Our last cover image block has a wide width.
This is a wide cover block with a video background.
Compare the video and image blocks.
This block is centered.
The block below has no alignment, and the text is a link. Overlay colors must also work with video backgrounds.
Block: Gallery
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.
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
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 Bell on wharf in San Francisco Sydney Harbor Bridge Raindrop ripples on a pond Boat BW PB Barco Texture Beautiful Fishing Boats and reflections, Royal Perth Yacht Club Rusty rails with fishplate, Kojonup Sea and rocks, Plimmerton, New Zealand Coastline in Huatulco, Oaxaca, Mexico
Block: Columns
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.
-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.
Block: Quote
The quote block has two styles, regular:
Gutenberg is more than an editor.
The Gutenberg Team
and large:
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:
Theme Review
In addition to the quote block, we also have the pull quote, with a regular and a solid color style.
You can change the color of the border and the text with the regular style:
In addition to the quote block, we also have the pull quote.
Theme Reviewer
Or change the background color and text color with the solid color style:
a solid color style
Theme Reviewer
Block category: Common
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.
H1 Heading
H2 Heading
H3 Heading
H4 Heading
H5 Heading
H6 Heading
Ordered list
- The software should be licensed under the GNU Public License.
- The software should be freely available to anyone to use for any purpose, and without permission.
- The software should be open to modifications.
- Any modifications should be freely distributable at no cost and without permission from its creators.
- The software should provide a framework for translation to make it globally accessible to speakers of all languages.
- The software should provide a framework for extensions so modifications and enhancements can be made without modifying core code
Unordered list
- One
- Two
- Three
- Four
- Five
Jericoacoara Ceara Brasil Sunrise over the coast in Huatulco, Oaxaca, Mexico Windmill shrouded in fog at a farm outside of Walker, Iowa Coastline in Huatulco, Oaxaca, Mexico Beach at Big Sur, CA
Quote
Cite
Cover block with background image
The file block has a setting that lets us show or hide a download button with editable text:
Video blocks have settings for showing and hiding the playback controls. Use autoplay and playback controls responsibly.
The video block below is muted and has a poster image that displays before the video starts:
Block category: Embeds
This post tests various embed blocks:
Block category: Widgets
The shortcode widget:
The Archive Widget:
- July 2020 (1)
- November 2018 (11)
- October 2018 (1)
- January 2013 (5)
- March 2012 (5)
- January 2012 (6)
- March 2011 (1)
- October 2010 (1)
- September 2010 (2)
- August 2010 (3)
- July 2010 (1)
- June 2010 (2)
- May 2010 (1)
- April 2010 (1)
- March 2010 (1)
- February 2010 (1)
- January 2010 (1)
- October 2009 (1)
- September 2009 (1)
- August 2009 (1)
- July 2009 (1)
- June 2009 (1)
- May 2009 (1)
The same Archive widget but as a dropdown:
S | M | T | W | T | F | S |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | 6 | |
7 | 8 | 9 | 10 | 11 | 12 | 13 |
14 | 15 | 16 | 17 | 18 | 19 | 20 |
21 | 22 | 23 | 24 | 25 | 26 | 27 |
28 | 29 | 30 |
The Category widget block has an additional option for showing category hierarchies:
The Latest Comments widget can display or hide the avatars, the date, and the comment excerpt:
Having no content in the post should have no adverse effects on the layout or functionality.
Password protected
Thanks for all the comments, everyone!
Here is an example of the Comments widget with all the options disabled. The number of comments has been reduced to two.
And here is the Latest Posts widget in the list view, with dates:
Grid view, now sorted from A -Z.
- (no title)
- Block category: Common
- Block category: Embeds
- Block category: Formatting
- Block category: Layout Elements
You can also change the number of columns used to display the latest posts. The block below only displays posts from the Block category:
Search widget:
Tag Cloud widget:
8BIT alignment Articles aside audio captions categories chat Codex Columns comments content περιεχόμενο content περιεχόμενο css dowork edge case embeds excerpt featured image formatting gallery html image jetpack layout link markup Post Formats quote shortcode standard sticky Success Swagger Tags template tiled title trackbacks twitter Unseen video videopress WordPress wordpress.tv
RSS Feed widget:
Block category: Layout Elements
The Layout Elements category includes the following blocks: Group, Button, Columns, Media & Text, separator, spacer, read more, and page break.
This group block has a light green background color.
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.
Block category: Formatting
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 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!
Keyboard navigation
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 visually hidden links (e.g. skip links) become visible when in focus.
- 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.
Resources
Markup: HTML Tags and Formatting
Headings
Header one
Header two
Header three
Header four
Header five
Header six
Blockquotes
Single line blockquote:
Stay hungry. Stay foolish.
Multi line blockquote with a cite reference:
The HTML
<blockquote>
Element (or HTML Block Quotation Element) indicates that the enclosed text is an extended quotation. Usually, this is rendered visually by indentation (see Notes for how to change it). A URL for the source of the quotation may be given using the cite attribute, while a text representation of the source can be given using the<cite>
element.
multiple contributors – MDN HTML element reference – blockquote
Tables
Employee | Salary | |
---|---|---|
John Doe | $1 | Because that’s all Steve Jobs needed for a salary. |
Jane Doe | $100K | For all the blogging she does. |
Fred Bloggs | $100M | Pictures are worth a thousand words, right? So Jane x 1,000. |
Jane Bloggs | $100B | With hair like that?! Enough said… |
Definition Lists
- Definition List Title
- Definition list division.
- Startup
- A startup company or startup is a company or temporary organization designed to search for a repeatable and scalable business model.
- #dowork
- Coined by Rob Dyrdek and his personal body guard Christopher “Big Black” Boykins, “Do Work” works as a self motivator, to motivating your friends.
- Do It Live
- I’ll let Bill O’Reilly will explain this one.
Unordered Lists (Nested)
- List item one
- List item one
- List item one
- List item two
- List item three
- List item four
- List item two
- List item three
- List item four
- List item one
- List item two
- List item three
- List item four
Ordered List (Nested)
- List item one -start at 8
- List item one
- List item one -reversed attribute
- List item two
- List item three
- List item four
- List item two
- List item three
- List item four
- List item one
- List item two
- List item three
- List item four
HTML Tags
These supported tags come from the WordPress.com code FAQ.
Address Tag
1 Infinite LoopCupertino, CA 95014
United States
Anchor Tag (aka. Link)
This is an example of a link.
Abbreviation Tag
The abbreviation srsly stands for “seriously”.
Acronym Tag (deprecated in HTML5)
The acronym ftw stands for “for the win”.
Big Tag (deprecated in HTML5)
These tests are a big deal, but this tag is no longer supported in HTML5.
Cite Tag
“Code is poetry.” —Automattic
Code Tag
This tag styles blocks of code.
.post-title {
margin: 0 0 5px;
font-weight: bold;
font-size: 38px;
line-height: 1.2;
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;
}
You will learn later on in these tests that word-wrap: break-word;
will be your best friend.
Delete Tag
This tag will let you strike out text, but this tag is recommended supported in HTML5 (use the <s>
instead).
Emphasize Tag
The emphasize tag should italicize text.
Horizontal Rule Tag
This sentence is following a <hr />
tag.
Insert Tag
This tag should denote inserted text.
Keyboard Tag
This scarcely known tag emulates keyboard text, which is usually styled like the <code>
tag.
Preformatted Tag
This tag is for preserving whitespace as typed, such as in poetry or ASCII art.
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;
Quote Tag for short, inline quotes
Developers, developers, developers…
–Steve Ballmer
Strike Tag (deprecated in HTML5) and S Tag
This tag shows strike-through text.
Small Tag
This tag shows smaller text.
Strong Tag
This tag shows bold text.
Subscript Tag
Getting our science styling on with H2O, which should push the “2” down.
Superscript Tag
Still sticking with science and Albert Einstein’s E = MC2, which should lift the 2 up.
Teletype Tag (obsolete in HTML5)
This rarely used tag emulates teletype text, which is usually styled like the <code>
tag.
Underline Tag deprecated in HTML 4, re-introduced in HTML5 with other semantics
This tag shows underlined text.
Variable Tag
This allows you to denote variables.
Markup: Image Alignment
Welcome to image alignment! The best way to demonstrate the ebb and flow of the various image positioning options is to nestle them snuggly among an ocean of words. Grab a paddle and let’s get started.
On the topic of alignment, it should be noted that users can choose from the options of None, Left, Right, and Center. In addition, they also get the options of Thumbnail, Medium, Large & Fullsize. Be sure to try this page in RTL mode and it should look the same as LTR.
The image above happens to be centered.
The rest of this paragraph is filler for the sake of seeing the text wrap around the 150×150 image, which is left aligned.
As you can see the should be some space above, below, and to the right of the image. The text should not be creeping on the image. Creeping is just not right. Images need breathing room too. Let them speak like you words. Let them do their jobs without any hassle from the text. In about one more sentence here, we’ll see that the text moves from the right of the image down below the image in seamless transition. Again, letting the do it’s thang. Mission accomplished!
And now for a massively large image. It also has no alignment.
The image above, though 1200px wide, should not overflow the content area. It should remain contained with no visible disruption to the flow of content.
And we try the large image again, with the center alignment since that sometimes is a problem. The image above, though 1200px wide, should not overflow the content area. It should remain contained with no visible disruption to the flow of content.
And now we’re going to shift things to the right align. Again, there should be plenty of room above, below, and to the left of the image. Just look at him there… Hey guy! Way to rock that right side. I don’t care what the left aligned image says, you look great. Don’t let anyone else tell you differently.
In just a bit here, you should see the text start to wrap below the right aligned image and settle in nicely. There should still be plenty of room and everything should be sitting pretty. Yeah… Just like that. It never felt so good to be right.
And just when you thought we were done, we’re going to do them all over again with captions!
The image above happens to be centered. The caption also has a link in it, just to see if it does anything funky.
The rest of this paragraph is filler for the sake of seeing the text wrap around the 150×150 image, which is left aligned.
As you can see the should be some space above, below, and to the right of the image. The text should not be creeping on the image. Creeping is just not right. Images need breathing room too. Let them speak like you words. Let them do their jobs without any hassle from the text. In about one more sentence here, we’ll see that the text moves from the right of the image down below the image in seamless transition. Again, letting the do it’s thang. Mission accomplished!
And now for a massively large image. It also has no alignment.
The image above, though 1200px wide, should not overflow the content area. It should remain contained with no visible disruption to the flow of content.
And again with the big image centered. The image above, though 1200px wide, should not overflow the content area. It should remain contained with no visible disruption to the flow of content.
And now we’re going to shift things to the right align. Again, there should be plenty of room above, below, and to the left of the image. Just look at him there… Hey guy! Way to rock that right side. I don’t care what the left aligned image says, you look great. Don’t let anyone else tell you differently.
In just a bit here, you should see the text start to wrap below the right aligned image and settle in nicely. There should still be plenty of room and everything should be sitting pretty. Yeah… Just like that. It never felt so good to be right.
And that’s a wrap, yo! You survived the tumultuous waters of alignment. Image alignment achievement unlocked! One last thing: The last item in this post’s content is a thumbnail floated right. Make sure any elements after the content are clearing properly.
Markup: Text Alignment
Default
This is a paragraph. 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. Completely neutral and not picking a side or sitting on the fence. It just is. It just freaking is. It likes where it is. It does not feel compelled to pick a side. Leave him be. It will just be better that way. Trust me.
Left Align
This is a paragraph. It is left aligned. Because of this, it is a bit more liberal in it’s views. It’s favorite color is green. Left align tends to be more eco-friendly, but it provides no concrete evidence that it really is. Even though it likes share the wealth evenly, it leaves the equal distribution up to justified alignment.
Center Align
This is a paragraph. It is center aligned. Center is, but nature, a fence sitter. A flip flopper. It has a difficult time making up its mind. It wants to pick a side. Really, it does. It has the best intentions, but it tends to complicate matters more than help. The best you can do is try to win it over and hope for the best. I hear center align does take bribes.
Right Align
This is a paragraph. It is right aligned. It is a bit more conservative in it’s views. It’s prefers to not be told what to do or how to do it. Right align totally owns a slew of guns and loves to head to the range for some practice. Which is cool and all. I mean, it’s a pretty good shot from at least four or five football fields away. Dead on. So boss.
Justify Align
This is a paragraph. It is justify aligned. It gets really mad when people associate it with Justin Timberlake. Typically, justified is pretty straight laced. It likes everything to be in it’s place and not all cattywampus like the rest of the aligns. I am not saying that makes it better than the rest of the aligns, but it does tend to put off more of an elitist attitude.
Markup: Title With Special Characters ~`!@#$%^&*()-_=+{}[]/\;:'”?,.>
Putting special characters in the title should have no adverse effect on the layout or functionality.
Special characters in the post title have been known to cause issues with JavaScript when it is minified, especially in the admin when editing the post itself (ie. issues with metaboxes, media upload, etc.).
Latin Character Tests
This is a test to see if the fonts used in this theme support basic Latin characters.
! | “ | # | $ | % | & | ‘ | ( | ) | * |
+ | , | – | . | / | 0 | 1 | 2 | 3 | 4 |
5 | 6 | 7 | 8 | 9 | : | ; | > | = | < |
? | @ | A | B | C | D | E | F | G | H |
I | J | K | L | M | N | O | P | Q | R |
S | T | U | V | W | X | Y | Z | [ | \ |
] | ^ | _ | ` | a | b | c | d | e | f |
g | h | i | j | k | l | m | n | o | p |
q | r | s | t | u | v | w | x | y | z |
{ | | | } | ~ |
Markup: Title With Markup
Verify that:
- The post title renders the word “with” in italics and the word “markup” in bold (and “up” is superscript).
- The post title markup should be removed from the browser window / tab.
Template: Featured Image (Vertical)
This post should display a featured image, if the theme supports it.
Non-square images can provide some unique styling issues.
This post tests a vertical featured image.
Template: Featured Image (Horizontal)
This post should display a featured image, if the theme supports it.
Non-square images can provide some unique styling issues.
This post tests a horizontal featured image.
Template: More Tag
This content is before the more tag.
Right after this sentence should be a “continue reading” button of some sort on list pages of themes that show full content. It won’t show on single pages or on themes showing excerpts.
Template: Excerpt (Defined)
This is the post content. It should be displayed in place of the user-defined excerpt in single-page views.
Template: Excerpt (Generated)
This is the post content. It should be displayed in place of the auto-generated excerpt in single-page views. Archive-index pages should display an auto-generated excerpt of this content. Depending on Theme-defined filters, the length of the auto-generated excerpt will vary from Theme-to-Theme. The default length for auto-generated excerpts is 55 words, so to test the excerpt auto-generation, this post must have more than 55 words.
Be sure to test the formatting of the auto-generated excerpt, to ensure that it doesn’t create any layout problems. Also, ensure that any filters applied to the excerpt, such as excerpt_length
and excerpt_more
, display properly.
Template: Paginated
Template: Sticky
This is a sticky post.
There are a few things to verify:
- The sticky post should be distinctly recognizable in some way in comparison to normal posts. You can style the
.sticky
class if you are using the post_class() function to generate your post classes, which is a best practice. - They should show at the very top of the blog index page, even though they could be several posts back chronologically.
- They should still show up again in their chronologically correct postion in time, but without the sticky indicator.
- If you have a plugin or widget that lists popular posts or comments, make sure that this sticky post is not always at the top of those lists unless it really is popular.
Protected: Template: Password Protected (the password is “enter”)
Template: Comments
This post tests comments in the following ways.
- Threaded comments up to 10 levels deep
- Paginated comments (set Settings > Discussion > Break comments into pages to 5 top level comments per page)
- Comment markup / formatting
- Comment images
- Comment videos
- Author comments
- Gravatars and default fallbacks
Template: Comments Disabled
This post has its comments, pingbacks, and trackbacks disabled.
There should be no comment reply form, but should display pingbacks and trackbacks.
Template: Pingbacks And Trackbacks
This post has many pingpacks and trackbacks.
There are a few ways to list them.
- Above the comments
- Below the comments
- Included within the normal flow of comments
Media: Twitter Embeds
Really cool to read through and find so much awesomeness added to WordPress 3.6 while I was gone. I should take three weeks off more often.
— Andrew Nacin (@nacin) April 3, 2013
This post tests WordPress’ Twitter Embeds feature.
Post Format: Standard
All children, except one, grow up. They soon know that they will grow up, and the way Wendy knew was this. One day when she was two years old she was playing in a garden, and she plucked another flower and ran with it to her mother. I suppose she must have looked rather delightful, for Mrs. Darling put her hand to her heart and cried, “Oh, why can’t you remain like this for ever!” This was all that passed between them on the subject, but henceforth Wendy knew that she must grow up. You always know after you are two. Two is the beginning of the end.
Post Format: Gallery
Post Format: Gallery (Tiled)
This is a test for Jetpack’s Tiled Gallery.
Install Jetpack to test.
This is some text after the Tiled Gallery just to make sure that everything spaces nicely.
Post Format: Image
Post Format: Image (Caption)
Post Format: Image (Linked)
Post Format: Audio
Post Format: Video (WordPress.tv)
Posted as per the instructions in the Codex.
Post Format: Video (YouTube)
Learn more about WordPress Embeds.
Post Format: Aside
“I never tried to prove nothing, just wanted to give a good show. My life has always been my music, it’s always come first, but the music ain’t worth nothing if you can’t lay it on the public. The main thing is to live for that audience, ’cause what you’re there for is to please the people.”
Post Format: Status
WordPress, how do I love thee? Let me count the ways (in 140 characters or less).
Post Format: Link
Post Format: Quote
Only one thing is impossible for God: To find any sense in any copyright law on the planet.
Mark Twain
Post Format: Chat
Abbott: Strange as it may seem, they give ball players nowadays very peculiar names.
Costello: Funny names?
Abbott: Nicknames, nicknames. Now, on the St. Louis team we have Who’s on first, What’s on second, I Don’t Know is on third–
Costello: That’s what I want to find out. I want you to tell me the names of the fellows on the St. Louis team.
Abbott: I’m telling you. Who’s on first, What’s on second, I Don’t Know is on third–
Costello: You know the fellows’ names?
Abbott: Yes.
Costello: Well, then who’s playing first?
Abbott: Yes.
Costello: I mean the fellow’s name on first base.
Abbott: Who.
Costello: The fellow playin’ first base.
Abbott: Who.
Costello: The guy on first base.
Abbott: Who is on first.
Costello: Well, what are you askin’ me for?
Abbott: I’m not asking you–I’m telling you. Who is on first.
Costello: I’m asking you–who’s on first?
Abbott: That’s the man’s name.
Costello: That’s who’s name?
Abbott: Yes.
Costello: When you pay off the first baseman every month, who gets the money?
Abbott: Every dollar of it. And why not, the man’s entitled to it.
Costello: Who is?
Abbott: Yes.
Costello: So who gets it?
Abbott: Why shouldn’t he? Sometimes his wife comes down and collects it.
Costello: Who’s wife?
Abbott: Yes. After all, the man earns it.
Costello: Who does?
Abbott: Absolutely.
Costello: Well, all I’m trying to find out is what’s the guy’s name on first base?
Abbott: Oh, no, no. What is on second base.
Costello: I’m not asking you who’s on second.
Abbott: Who’s on first!
Costello: St. Louis has a good outfield?
Abbott: Oh, absolutely.
Costello: The left fielder’s name?
Abbott: Why.
Costello: I don’t know, I just thought I’d ask.
Abbott: Well, I just thought I’d tell you.
Costello: Then tell me who’s playing left field?
Abbott: Who’s playing first.
Costello: Stay out of the infield! The left fielder’s name?
Abbott: Why.
Costello: Because.
Abbott: Oh, he’s center field.
Costello: Wait a minute. You got a pitcher on this team?
Abbott: Wouldn’t this be a fine team without a pitcher?
Costello: Tell me the pitcher’s name.
Abbott: Tomorrow.
Costello: Now, when the guy at bat bunts the ball–me being a good catcher–I want to throw the guy out at first base, so I pick up the ball and throw it to who?
Abbott: Now, that’s he first thing you’ve said right.
Costello: I DON’T EVEN KNOW WHAT I’M TALKING ABOUT!
Abbott: Don’t get excited. Take it easy.
Costello: I throw the ball to first base, whoever it is grabs the ball, so the guy runs to second. Who picks up the ball and throws it to what. What throws it to I don’t know. I don’t know throws it back to tomorrow–a triple play.
Abbott: Yeah, it could be.
Costello: Another guy gets up and it’s a long ball to center.
Abbott: Because.
Costello: Why? I don’t know. And I don’t care.
Abbott: What was that?
Costello: I said, I DON’T CARE!
Abbott: Oh, that’s our shortstop!
Taumatawhakatangihangakoauauotamateaturipukakapikimaungahoronukupokaiwhenuakitanatahu
Title should not overflow the content area
A few things to check for:
- Non-breaking text in the title, content, and comments should have no adverse effects on layout or functionality.
- Check the browser window / tab title.
- If you are a plugin or widget developer, check that this text does not break anything.
The following CSS properties will help you support non-breaking text.
-ms-word-wrap: break-word; word-wrap: break-word;
This post has no title, but it still must link to the single post view somehow.
This is typically done by placing the permalink on the post date.
Edge Case: No Content
Edge Case: Many Categories
This post has many categories.
Edge Case: Many Tags
This post has many tags.
Edge Case: Nested And Mixed Lists
Nested and mixed lists are an interesting beast. It’s a corner case to make sure that
- Lists within lists do not break the ordered list numbering order
- Your list styles go deep enough.
Ordered – Unordered – Ordered
- ordered item
- ordered item
- unordered
- unordered
- ordered item
- ordered item
- ordered item
- ordered item
Ordered – Unordered – Unordered
- ordered item
- ordered item
- unordered
- unordered
- unordered item
- unordered item
- ordered item
- ordered item
Unordered – Ordered – Unordered
- unordered item
- unordered item
- ordered
- ordered
- unordered item
- unordered item
- unordered item
- unordered item
Unordered – Unordered – Ordered
- unordered item
- unordered item
- unordered
- unordered
- ordered item
- ordered item
- unordered item
- unordered item
Hi, this is a comment. To get started with moderating, editing, and deleting comments, please visit the Comments screen in…