WordPress.com is a type of shared environment, where all users are running off of the same software. Because of this we need to limit some of the things you post on your blog. If you wrote some code or pasted it in from another web site and then it disappeared after publishing the post, the code is likely being stripped out. This support doc covers what type of code isn't allowed on WordPress.com.
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. Includes a list of supported shortcodes with links to full instructions.
- Blog Subscription Shortcode
The [blog_subscription_form] shortcode is used to easily display a blog subscription form on a post or page. This lets readers sign up to receive email updates whenever a new post is made. The form is a bit different depending on whether or not the user is logged into a WordPress.com account: Form for Logged-in Visitors […]
- Locu Shortcode
The Locu shortcode was removed from WordPress.com in April 2014.
- Archives Shortcode
You can quickly and easily create an archive index of your WordPress.com blog’s posts using the [archives] shortcode. To create an archive index for your blog, simply following the instructions in this support doc.
- Sitemap Shortcode
You can quickly add a sitemap to a page or post by using the sitemap shortcode, in any theme. Just add this shortcode: Support404 Not Found error Accepted Filetypes Accessibility Account Recovery Account Settings Add a Domain Add Media Finding Free Images and other Media Add Social Media Buttons to Your Sidebar or Footer Admin Bar Advanced HTML […]
- Portfolio Shortcode
You can use shortcodes to embed portfolio projects on posts and pages. Embedding Portfolio Projects To embed portfolio projects on posts and pages, first activate the Portfolio custom content type on your site and add some projects to your portfolio. Next, add the [portfolio] shortcode to a post or page. The shortcode will display projects in different ways, […]
- Display Posts Shortcode
The Display Posts Shortcode allows you to fine-tune the posts you wish to display on a page. Add the shortcode in a post or page, and use the arguments to query based on tag, category, post type, and many other possibilities. Image Alignment A common request is display a list of posts with title, excerpt, […]
- List Pages Shortcode
The [list-pages], [sibling-pages], and [child-pages] shortcodes are used for easily displaying a list of pages. Using the Shortcodes The [list-pages] shortcode will display all of your pages. The [sibling-pages] shortcode will display all the sibling pages of your current page. Sibling pages are pages that share the same parent page. The [child-pages] shortcode will display […]
- Posting Source Code
While WordPress.com doesn’t allow you to use potentially dangerous code on your blog, you can post source code for viewing by using the directions found in this support doc.