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.
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras sed lacinia elit. Maecenas dapibus augue elit, id ultrices neque lacinia vitae. Aenean at ligula at diam scelerisque pretium. Proin non quam eu tellus ullamcorper feugiat. Sed augue nisl, porta elementum est vitae, bibendum pretium arcu. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. (more…)
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras sed lacinia elit. Maecenas dapibus augue elit, id ultrices neque lacinia vitae. Aenean at ligula at diam scelerisque pretium. Proin non quam eu tellus ullamcorper feugiat. Sed augue nisl, porta elementum est vitae, bibendum pretium arcu. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Praesent eget tortor vel felis molestie tempus. Sed urna justo, tempor at nunc ut, consequat placerat elit. Donec vel ultricies nulla. Curabitur cursus auctor enim, fermentum elementum ex aliquet ac. Nulla consequat tellus sed bibendum molestie. (more…)
Aliquam at vestibulum ante. Proin rhoncus commodo neque rutrum ornare. Suspendisse lacinia nibh rhoncus, posuere augue sed, tempus arcu. Integer non ipsum vel ante laoreet venenatis. Vivamus vestibulum, turpis at bibendum sollicitudin, mi dui tristique mauris, non vehicula odio felis molestie tortor. Nunc ornare nulla eu rhoncus condimentum. Proin sed sapien ipsum.
Fusce pulvinar, sem in tempus ullamcorper, purus arcu cursus nisl, at vehicula nibh sapien vel risus. Curabitur id lacinia erat. Morbi nec ornare lorem, at dapibus justo. Nullam euismod nec mi et iaculis. Phasellus id odio finibus, luctus massa a, gravida urna. Nullam gravida fringilla justo, eu cursus arcu eleifend ut.
Ut vel tempor dolor. Mauris sit amet odio ut urna semper consectetur sed a elit. Nam commodo ex sed mauris lobortis varius. Aenean scelerisque tincidunt diam a viverra. Praesent sed nibh tellus. Nulla efficitur ullamcorper diam a porttitor. Mauris justo lorem, sollicitudin nec ligula eget, porta pellentesque velit.
People think focus means saying yes to the thing you’ve got to focus on. But that’s not what it means at all. It means saying no to the hundred other good ideas that there are. You have to pick carefully. I’m actually as proud of the things we haven’t done as the things I have done. Innovation is saying no to 1,000 things. Steve Jobs – Apple Worldwide Developers’ Conference, 1997
These tests are a big deal, but this tag is no longer supported in HTML5.
Cite Tag
“Code is poetry.” —Automattic
Code Tag
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 strikeout text, but this tag is no longer supported in HTML5 (use the <strike> instead).
Emphasize Tag
The emphasize tag should italicize text.
Insert Tag
This tag should denote inserted text.
Keyboard Tag
This scarsly known tag emulates keyboard text, which is usually styled like the <code> tag.
Preformatted Tag
This tag styles large 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 the PRE tag handles it and to find out how it overflows;
}
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.
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.
And that’s a wrap, yo! You survived the tumultuous waters of alignment. Image alignment achievement unlocked!
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.