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.
Gist is a simple way to share snippets and pastes with others. All gists are git repositories, so they are automatically versioned, forkable and usable as a git repository. Embedding with a URL To quickly embed a Gist, simply copy the gist’s URL from your web browser’s address bar while viewing the gist. Paste it […]
- 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.
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.
- Quiz Shortcode
You can embed a multiple choice quiz into your pages and posts. Intro paragraph Quizzes use multiple shortcodes together. At their most basic, you can pose a question and have multiple answers to choose from. The correct answer will turn green when it’s clicked on, and the incorrect answers will turn red when they’re clicked […]
- Testimonials Shortcode
You can use shortcodes to embed testimonials on posts and pages. Embedding Testimonials To embed testimonials on posts and pages, first activate the Testimonial custom content type on your site and add some testimonials. Next, add the [testimonials] shortcode to a post or page. The shortcode will display testimonials in different ways, depending on how you use the optional […]
- RSS Shortcode
You can easily embed an RSS feed from another site into a post or page using shortcodes. Using the RSS shortcode To use the RSS shortcode, you’ll need the URL of the feed you want to embed. For example, the feed URL for the WordPress.com blog is http://en.blog.wordpress.com/feed Once you have the feed link, add […]
- 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, […]
- Get PayPal Button Code
When adding a PayPal “buy now” or donation button to your post, page, or sidebar, you’ll first need to get a PayPal link code from your PayPal account. Follow the steps below to find it. Here's how to find the code for your button: Go to http://www.paypal.com/login and log in to your PayPal account. Please […]
- 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 […]