WordPress Shortcodes


WP logoWhen you work on a blog hosted by WordPress.com you will eventually wonder how you can add a contact form to your about page or embed a video into one of your posts. Just copying and pasting the needed code into the HTML editor doesn’t work and since you can’t use custome plugins it seems that you’re out of luck.

Luckily you are not, since the creators of WP added several Shortcodes to WordPress. What are Shortcodes you now might ask. I think it’s best I quote the official site here:

A shortcode is a WordPress-specific code that lets you do nifty things with very little effort. Shortcodes can embed files or create objects that would normally require lots of complicated, ugly code in just one line. Shortcode = shortcut.

To add a monthly post archive of the last 12 months to any post or page, you just have to add this line:

Or in order to get a contact form, use this code:

It’s as easy as that. Check out the complete list of shortcodes with full instructions on this WP support page.

Advertisements

3 thoughts on “WordPress Shortcodes

  1. I currently have the word press blog linked to my site as a hyper link but I would like to have embedded on the website so my users dont have to change sites to blog.

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s