Using Shortcodes to Customize Your Posts

When using JetPack to publish blog posts by email, there are some shortcodes you can use in the mail message to customize your post.

I had a wide satisfactory smile (more like a grin) on my face after testing shortcodes. After a short while and without breaking a sweat, I learned you could add categories, tags, excerpts, slugs, polls, delay your posts for hours or days, and turn comments on and off among other things. Here is a list of the available shortcodes:

  • [title Your Desired Post Title] – Sets your post title in case you cannot access the subject field from your mobile device
  • [category a,b,c] – Adds categories a, b and c to your post. E.g. [category Recipes, How-To] will assign categories Recipes and How-To to your post
  • [delay +1 hour] – This shortcode will instruct WordPress to publish your post after one (1) hour. [delay +2 days] means your post will be published after two days
  • [end] – Everything after this bad boy is ignored. Put it at the very end of your post with a blank line above it. This is the only shortcode you can’t use anywhere else in the body of your email. You can place any other shortcode wherever in your email except the subject field of course ;)
  • [tags a,b,c] – Adds tags a, b and c to your post
  • [excerpt]Your excerpt goes here…[/excerpt] – This shortcode adds an excerpt to your post
  • [slug add-your-slug-here] – Adds a slug to your post. A slug is a browser and SEO friendly URL of your post
  • [comments on | off] – Turns comments on or off
  • [nogallery] – Deactivates the gallery and displays all images inline
  • –  Turns your gallery into a slideshow
  • [more] – Works just like the more tag
  • [poll] Quiz and answers[/poll] – Adds a Polldaddy poll
  • [nextpage] – Allows you to paginate your blog post
  • [publicize off | yahoo | twitter | facebook] – Allows you to set your publicize options. For instance, [publicize off] disables the publicize feature for that particular post, and [publicize twitter] sends notification to your Twitter account only
  • [status publish | pending | draft | private] – What do you think this does?

Note: You must write all shortcodes in lowercase.

Greetz, M.

Visitor Score
[Total: 0 Average: 0]

Publish WordPress Blog Posts via Email

Blogging can be much more fun when you know you have a couple of cool WordPress options at your disposal. For instance, did you know that you can compose, format and publish WordPress blog posts right from inside your mailbox? Oh yeah, you can and it’s easy stuff :).

Just imagine the amount of work you can accomplish this way? Think of the flexibility and benefit this option brings you. I mean, you can post from wherever using any internet-enabled device whether or not you have the WordPress mobile app. If you are excited, let us look at the way you can use to publish WordPress blog posts via email.

Post by Email in Jetpack

Jetpack allows you to supercharge your self-hosted WordPress website by offering you a couple of nice features including Post by Email. So how do you post by email using Jetpack? Obviously, you must first install Jetpack on your WordPress site (Note: you cannot use this feature on a local installation of WordPress since JetPack, just an fyi if you were hoping to test this out on your localhost). With Jetpack installed on your WordPress platform, it is time for the next step: generating a special email address. You will send all the posts you would like to publish to this email address, so it’s important to keep it a secret. People (read hackers) with access to this email address can publish posts to your blog, something we definitely don’t want.

Fire up your favorite mail client (I love Gmail for business. Thank you Google Apps) and start composing your blog post. The title of your blog post goes in the subject field of your email and the post’s content goes in the body of your email – just like a typical email. Of course, once we’re done composing and formatting the post, we will send it to that special email address we generated earlier, so copy it in the to field.

Greetz, M.

Visitor Score
[Total: 0 Average: 0]