SchulerKC

Sample post with advanced post formatting

There are lots of powerful things you can do with the WordPress editor

If you’ve gotten pretty comfortable with all the basics of writing in WordPress, then you may enjoy some more advanced tips about the types of things you can do!

As with the last post about the editor, you’ll want to be actually editing this post as you read it so that you can see all the cool stuff we’re using.

Special formatting

As well as bold and italics, you can also use some other special formatting in the editor when the need arises, for example:

  • strike through
  • highlight
  • *escaped characters*

Writing code blocks

Code elements can be created in the editor by switching the text style to Preformatted. Code is formatted by wrapping any word or words in pre tags, <pre>like this</pre>. Larger snippets of code can be displayed across multiple lines like this:

.my-link {
    text-decoration: underline;
}

Full width images

One neat trick which you can use in WordPress to distinguish between different types of images is to add a class value to the image itself from the Advanced Settings tab, and then target images containing the class with special styling. For example:

which is styled with…

img.full-width {
    max-width: 100vw;
}

This creates full-bleed images in the Corporate Pro theme, which stretch beyond their usual boundaries right up to the edge of the window. Every theme handles these types of things slightly differently, but it’s a great trick to play with if you want to have a variety of image sizes and styles.

Full HTML

Perhaps the best parts of the WordPress editor is that you’re never limited to just WYSIWYG. You can write HTML directly in the WordPress editor and it will just work as HTML usually does. No limits! Here’s a standard YouTube embed code as an example:

6,580 thoughts on “Sample post with advanced post formatting

  1. It is perfect time to make a few plans for the longer term and it is time to be
    happy. I’ve read this put up and if I could I want to recommend you few interesting things or suggestions.
    Maybe you could write next articles relating to this article.
    I wish to learn more issues approximately
    it! wz (disqus.com)

  2. It is perfect time to make a few plans for the longer term and it is time to be happy.

    I’ve read this put up and if I could I want to
    recommend you few interesting things or suggestions. Maybe
    you could write next articles relating to this article.
    I wish to learn more issues approximately it! wz (disqus.com)

  3. Its like you read my mind! You seem to know a lot about this,
    like you wrote the book in it or something. I think
    that you could do with some pics to drive the message home a
    bit, but instead of that, this is wonderful blog. An excellent read.
    I will certainly be back. es (Savannah)

  4. Its like you read my mind! You seem to know a lot about this,
    like you wrote the book in it or something. I think that you could
    do with some pics to drive the message home a bit, but instead of that,
    this is wonderful blog. An excellent read. I will certainly
    be back. es (Savannah)

  5. Hi! I understand this is somewhat off-topic however I needed to
    ask. Does building a well-established website like yours require a lot of work?
    I am brand new to blogging however I do write in my journal on a daily basis.
    I’d like to start a blog so I can share my own experience
    and views online. Please let me know if you have any recommendations or tips for brand
    new aspiring bloggers. Thankyou! rq (http://www.quora.com)

  6. Hi! I understand this is somewhat off-topic however I needed
    to ask. Does building a well-established website like yours require a lot of work?
    I am brand new to blogging however I do write in my journal on a daily basis.
    I’d like to start a blog so I can share my own experience and views online.
    Please let me know if you have any recommendations or tips for brand new aspiring bloggers.
    Thankyou! rq (http://www.quora.com)

  7. Definitely imagine that that you said. Your favorite justification appeared to
    be on the net the simplest thing to have in mind of. I say to you, I definitely get irked at the same time as other people consider worries that they just don’t recognize about.
    You controlled to hit the nail upon the highest as well
    as defined out the whole thing without having side-effects , other people could take a signal.
    Will likely be again to get more. Thanks kl (http://www.mhes.tyc.edu.tw)

  8. Definitely imagine that that you said. Your favorite justification appeared
    to be on the net the simplest thing to have in mind of. I say to you, I definitely
    get irked at the same time as other people consider worries that they just don’t recognize about.
    You controlled to hit the nail upon the highest as well as defined out
    the whole thing without having side-effects , other people could take a signal.
    Will likely be again to get more. Thanks kl (http://www.mhes.tyc.edu.tw)

  9. Hi! I could have sworn I’ve visited this site before but after going
    through some of the posts I realized it’s new to me. Nonetheless, I’m certainly
    pleased I stumbled upon it and I’ll be bookmarking it and checking back often! tx (peatix.com)

  10. Hi! I could have sworn I’ve visited this site before but after going through
    some of the posts I realized it’s new to me. Nonetheless, I’m certainly
    pleased I stumbled upon it and I’ll be bookmarking it
    and checking back often! tx (peatix.com)

  11. After I initially left a comment I seem to have clicked the -Notify me when new comments are added- checkbox and now every time a comment is added I recieve four
    emails with the same comment. Is there a way you are able to remove me from that service?
    Kudos! rc (http://www.blurb.Com)

  12. After I initially left a comment I seem to have clicked the -Notify me
    when new comments are added- checkbox and now every
    time a comment is added I recieve four emails with the same comment.

    Is there a way you are able to remove me from that service?

    Kudos! rc (http://www.blurb.Com)

  13. You’re so interesting! I don’t suppose I’ve truly read a
    single thing like this before. So wonderful to find another person with genuine thoughts on this
    subject. Really.. many thanks for starting this up.
    This website is one thing that’s needed on the internet, someone with a
    bit of originality! mt (vinculacion.udla.edu.ec)

  14. You’re so interesting! I don’t suppose I’ve truly read a
    single thing like this before. So wonderful to find another
    person with genuine thoughts on this subject.
    Really.. many thanks for starting this up. This website is one thing that’s needed on the internet, someone with a bit
    of originality! mt (vinculacion.udla.edu.ec)

  15. Great article! This is the kind of info that are supposed to be shared around the net.
    Disgrace on Google for not positioning this post higher!
    Come on over and visit my website . Thank you =) yd (Merle)