In the very early history of this blog, I wrote 12 Tips for Blogging. Here are some more advanced tips for your posts.

  1. For technical posts, use monospace font for code, keyboard shortcuts, and commands, like this: mkdir SomeFolder. This can be done by using the <code></code> tags in the text editor.
  2. Did you know that you can embed JS snippets in your post? Just switch over to the Text editor, and paste the code in between <script type="text/javascript"></script> tags! A word of caution though, WordPress will remove all JS automatically should you switch back to the Visual editor.
  3. Take advantage of the Read More link! It saves your readers some grief of scrolling through the content of entire posts, and can marginally increase page load time. To add a Read More link for WordPress posts, go to the Text editor, and type <!--more--> where you would like the post to break. What’s more, it’s customizable. Read more…
  4. Have an especially long page? Use <!--nextpage--> in the Text editor to break the post in to pages. It works natively and doesn’t require a plugin.
  5. Have Twitter, Facebook, Yahoo! Profile, or LinkedIn? Use Publicize to automatically post a link to your social services whenever you write a new post!
  6. Embedding video from YouTube? Skip YouTube’s <iframe> embed code! Use [youtube=http://www.youtube.com/watch?v=VIDEO_ID], replacing VIDEO_ID with the YouTube video code.
  7. Before  you hit Publish, always hit Preview to make sure that everything looks as intended.

text-editor-tab
In case something on the list doesn’t work, make sure you’re using the Text editor and not the Visual editor. There’s two tabs at the top right of the editor. Select “Text”, and you’ll see the source code of your post.

Published by Geoffrey Liu

A software engineer by trade and a classical musician at heart. Currently a software engineer at Groupon getting into iOS mobile development. Recently graduated from the University of Washington, with a degree in Computer Science and a minor in Music. Web development has been my passion for many years. I am also greatly interested in UI/UX design, teaching, cooking, biking, and collecting posters.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.