No. Sorry but that code will not work on a wordpress.com hosted blog. I want you to read what follows very carefully.
No blogger initiated advertising is allowed on WordPress.COM hosted blogs. The only advertising program at WordPress.com is called WordAds and it’s for blogs on their own domains.
Please read http://en.support.wordpress.com/affiliate-links/
1. WordPress.com allows bloggers to insert text affiliate links within post and page content to most third-party affiliate programs, provided they are not the primary content of the site in question.
2. Image affiliate links in posts and pages and any banners, affiliate links in sidebar or footer widget areas, are still considered to be advertising and are not allowed on WordPress.com blogs.
Advertising outside of WordAds at WordPress.com is not allowed.
http://support.wordpress.com/advertising/ Here’s what gets a blog suspended:
NOTE: A self-hosted WordPress site is what you need. WordPress.org offers free software that you can install on a web server. You can upload and install themes and plugins, run ads, conduct ecommerce and edit the database. http://support.wordpress.com/com-vs-org/
This guide will explain how to move your WordPress.com site to another hosting platform: Moving to a Self-Hosted WordPress Site
We provide support only for wordpress.COM hosted sites. Our support docs do not apply to
(1) local installs of wordpress.ORG software on your own server or
(2) wordpress.ORG software installs on paid hosting, and we do not provide support for them at wordpress.COM.
Also, note that we do not provide Jetpack support https://jetpack.me/support/ for sites linked to wordpress.COM accounts with the Jetpack plugin.
WordPress.COM and WordPress.ORG are completely separate and have different username accounts, logins, features, run different versions of some themes with the same names, and have separate support documentation and separate support forums. Read the differences here http://en.support.wordpress.com/com-vs-org/
For sites not hosted here, if you don’t have a username account at WordPress.ORG account, then click http://wordpress.org/support/ and register one on the top right-hand corner of the page that opens, https://wordpress.org/support/register.php so you can post to the support forums there.
Resetting your WordPress.ORG password http://codex.wordpress.org/Resetting_Your_Password
WordPress.org support docs are at https://codex.wordpress.org/Main_Page
See also https://apps.wordpress.org/support/
The topic ‘visto ordenânças’ is closed to new replies.