Shortcodes!

Blip.tv

url on own line:
http://blip.tv/beettv/matt-mullenweg-wordpress-6163298

or iframe embed:
https://cloudup.com/cULi95sZdDd

we convert iframe to shortcode or maintain url:
[[blip.t http://blip.tv/play/goRrgviXRgI?p=1 width=”480″ height=”390″]]

[blip.t http://blip.tv/play/goRrgviXRgI.x?p=1 width=”720″ height=”433″]


CNNMoney Video

url on own line:
http://money.cnn.com/video/news/2012/10/23/n-presidential-debate-foreign-policy.cnnmoney/index.html

or shortcode:
[[cnnmoney-video url=http://money.cnn.com/video/news/2012/10/23/n-presidential-debate-foreign-policy.cnnmoney/index.html]]

We maintain either URL or shortcode in post content.
http://money.cnn.com/video/news/2012/10/23/n-presidential-debate-foreign-policy.cnnmoney/index.html


Dailymotion

url on own line for full-width video:
http://www.dailymotion.com/video/x8oma9_warp-whistle_shortfilms

or shortcode using content ID from the URL for smaller embed:
[dailymotion id=x8oma9]

We maintain either URL or shortcode in post content.
http://www.dailymotion.com/video/x8oma9_warp-whistle_shortfilms


Flickr Video

url on own line in Visual editor (and see embed inline):
http://www.flickr.com/photos/chaddles/2402990826/

or a variation of the shortcode (full url or video id):
[flickr video=http://www.flickr.com/photos/chaddles/2402990826]

[flickr video=2402990826]

other parameters: show_info=no, w=xxx, h=xxx

We maintain url, long shortcode, or abbrev. shortcode, whichever was added.
http://www.flickr.com/photos/chaddles/2402990826/


Hulu

url on own line:
http://www.hulu.com/watch/369061

or a variation of the shortcode (full url or video id):
[[hul http://www.hulu.com/watch/369061 ]]

[hulu id=369061]

other parameters: width=xxx, start_time=xx, end_time=xx, thumbnail_frame=xx

We maintain url, long shortcode, or abbrev. shortcode, whichever was added.

http://www.hulu.com/watch/369061


Kickstarter

url on own line:
http://www.kickstarter.com/projects/deweymac/dewey-mac-kid-detective-book-make-diy-and-stem-spy

iframe embed:
https://cloudup.com/cTT7W1qhmCe

or shortcode:
[kickstarter url=http://www.kickstarter.com/projects/deweymac/dewey-mac-kid-detective-book-make-diy-and-stem-spy width=480]

We maintain convert iframe to shortcode  and maintain shortcode or URL, whichever is added.
http://www.kickstarter.com/projects/deweymac/dewey-mac-kid-detective-book-make-diy-and-stem-spy


Ted

url on own line:
https://www.ted.com/talks/louie_schwartzberg_hidden_miracles_of_the_natural_world

or shortcode that we get from Ted site “embed” modal:
[ted id=1969]

We maintain shortcode or URL, whichever is added.
https://www.ted.com/talks/louie_schwartzberg_hidden_miracles_of_the_natural_world


Twitch.TV

add via shortcode:
[twitchtv url="http://www.twitch.tv/esltv_lol/c/5632470"]

We maintain shortcode in post.


Ustream.TV

Add variation of shortcode for live or recorded:
[ustream id="6540154" live="1"]

[ustream id="40966344"]

We maintain the shortcode in the post content.


Vimeo

url on own line:
http://vimeo.com/44633289

or variation of shortcode:
[[vime http://vimeo.com/44633289]]

[vimeo 44633289]

We maintain shortcode or URL in post content.
http://vimeo.com/44633289


Vine

url on own line:
https://vine.co/v/On56PJrmbaW

or shortcode:
[vine url="https://vine.co/v/On56PJrmbaW"]

other parameters:  width=xxx, height=xxx, type=”postcard”, type=”simple”

We maintain url or shortcode, whichever is added.
https://vine.co/v/On56PJrmbaW


VideoPress

add video to media library & get shortcode from “Edit” media page:
[wpvideo 9LzAOwT5]

We maintain shortcode in the post.


Youtube

url on own line:
https://www.youtube.com/watch?v=_OBlgSz8sSM

or via shortcode:
[youtube https://www.youtube.com/watch?v=_OBlgSz8sSM%5D

Other parameters: &w=xxx, &h=xxx, &rel=0, &start=xx, &end=xx, &showinfo=0, &theme=light

We maintain shortcode or URL in post content.
https://www.youtube.com/watch?v=_OBlgSz8sSM


The Internet Archive

via shortcode:
[archiveorg id=Wonderfu1958]

Other parameters: width=xxx, height=xxx

We maintain shortcode in post content.


Audio

use audio shortcode when .mp3, .m4a, .ogg, or .wav, media is hosted elsewhere:
[[audi http://en.support.files.wordpress.com/2014/10/istock_audio.wav]]

and use wpmedia IDs to create a playlist of locally stored audio:
[playlist ids="123,121,119,117,115,113,111,109" style="dark"]

Other parameters: loop=yes

[audi http://en.support.files.wordpress.com/2014/10/istock_audio.wav]


SoundCloud

add shortcode from SoundCloud embed modal:
[soundcloud url="https://api.soundcloud.com/tracks/156661852″ params="auto_play=false&hide_related=false&visual=true" width="100%" height="450" iframe="true" /]

[soundcloud url="https://api.soundcloud.com/users/80871748" params="auto_play=false&hide_related=false&show_comments=true&show_user=true&show_reposts=false&visual=true" width="100%" height="450" iframe="true" /]

Other parameters: params, auto_play=true/false, width=px/%, height=px/%, color = ######

We maintain shortcode in post content.


Audiomack

url on own line:
http://www.audiomack.com/song/your-music-fix/chimes-1

We maintain URL in post content.
http://www.audiomack.com/song/your-music-fix/chimes-1


Rdio

short url on own line:
http://rd.io/x/QGCUPkaBva

or via shortcode:
[[rdi http://rd.io/x/QGCUPkaBvA]]

We maintain URL or shortcode, whichever is added.
http://rd.io/x/QGCUPkaBva


Spotify

spotify or http link on own line:
http://open.spotify.com/track/5SnOyuBtyzufoXBAKOdcxD



or use shortcode with either spotify or http link:
[[spotif http://open.spotify.com/track/5SnOyuBtyzufoXBAKOdcxD]]

[spotify spotify:track:5SnOyuBtyzufoXBAKOdcxD]

we maintain url or shortcode in post content.
http://open.spotify.com/track/5SnOyuBtyzufoXBAKOdcxD


Bandcamp

shortcode from bandcamp embed modal:
[bandcamp album=572286610 bgcol=FFFFFF linkcol=4285BB size=venti]

Other parameters: bgcol=######, linkcol=######, size=

We maintain shortcode in post content.


8tracks

shortcode:
[8tracks url="http://8tracks.com/smurph/hipster-swag"]

Other parameters: height=”xxx”, width=”xxx”, playops=”shuffle”

We maintain the shortcode in the post content.


Gallery

shortcode using image ids from wp media library:
[

Other parameters: type, columns, orderby, size, id, include, exclude (https://cloudup.com/cdji32iDZKg)


Instagram

url on own line:
http://instagram.com/p/u59RTpEsM9/

or shortcode:
[instagram url=http://instagram.com/p/u59RTpEsM9/]

We maintain the shortcode or url.
http://instagram.com/p/u59RTpEsM9/


Scribd

shortcode from scribd embed modal:
[scribd id=157271288 key=key-cc76c346iolwc3nqfrq mode=scroll]

We maintain the shortcode in post content.


SlideShare

shortcode from SlideShare embed modal:
[slideshare id=8874930&doc=sotw2011-as-delivered-110816213106-phpapp01]

We maintain shortcode in post content.


Presentation

wrap content in the presentation shortcode & each slide in the slide shortcode:
[presentation]
[slide] [/slide]
[/presentation]

Other parameters: slide transition, slide rotate, slide scale, slide fade, slide bgcolor, slide bgimg

We maintain shortcodes in post content.

This slideshow could not be started. Try refreshing the page or viewing it in another browser.


[/slide]

Transitions

Transitions are specified using [slide transition=].
The following options are available:

Down

The default transition!

Right

Up

Left

Or none!

Which only really works when fading is enabled.

Rotation

Slides can be rotated using [slide rotate=] where the value is in degrees.

Scaling

Emphasize your big ideas or explain the tiny details using [slide scale=].

Backgrounds

Solid color backgrounds can be set using [slide bgcolor=] where the value can be any valid HTML color.

Alternatively [slide bgimg=] with a valid image url will set it as the background, stretching the image to fill the slide.

Fading

Fading between is enabled by default. It can easily be disabled via [slide fade=] with a value of “off” or “false”.

Fading

When you start to miss it re-enable it anytime with “on” or “true”.

Miscellaneous

Presentation-wide settings such as height, width, and transition duration (in seconds) can all be set using the respective attributes in the [presentation] shortcode.

Also, any valid [slide] attribute can be placed in the [presentation] shortcode, and it will apply to every slide unless explicitly overridden.

Enjoy making your own presentations 🙂


[/presentation]


GoogleApps

add iframe from embed modal:
https://cloudup.com/c8QplcUTPaD

We convert to shortcode in post content:
[googleapps domain="docs" dir="document/d/1suLffRF7G_9C9uWzshxeXD1R5h_3U0pzWeUQJvrONN4/pub" query="embedded=true" /]


Lytro

url on own line:
https://pictures.lytro.com/lytroweb/pictures/431119

or iframe from Lytro embed modal:
https://cloudup.com/cCStc6Kn574

We convert iframe to shortcode in post content, maintain URL.

[lytro username="lytroweb" photo="431119" width="300" height="300" show_border="false"]


Microsoft OneDrive

iframe from embed modal:
https://cloudup.com/cmuTbavOWXf

We convert iframe to shortcode in post content:
[office src="https://skydrive.live.com/embed?cid=1437A15BB4BC12F9&resid=1437A15BB4BC12F9%21168&authkey=ALBsNSqs5zfXnJs&em=2&wdAllowInteractivity=False&wdHideGridlines=True&wdHideHeaders=True&wdDownloadButton=True" width="402" height="346"]


Archives

shortcode that produces index/listing of all published posts on blog:
[archives]

Other parameters: type, format, limit, showcount, before, after, order (https://cloudup.com/cxttIvMjFy2)

We maintain shortcode in post content.


BeerMenus

shortcode from embed modal:
[beermenus place_id=82761]

We maintain shortcode in post content.


Blog Subscription Shortcode

shortcode to add subscribe button:
[blog_subscription_form]

We maintain shortcode in post content.

Enter your email address to follow this blog and receive notifications of new posts by email.


Display Posts

shortcode:
[display-posts include_excerpt="true" image_size="thumbnail" wrapper="div"]

Other parameters:https://cloudup.com/cljQLG1sYlt

We maintain shortcode in post content.

…(no example for sake of space)…


Contact Form

Add via contact form modal in wp-admin:
https://cloudup.com/c3QV89bHR4u

We convert inputs to shortcode in post content:
[contact-form]
[contact-field label="Name" type="name" required="true" /]
[contact-field label="Email" type="email" required="true" /]
[contact-field label="Website" type="url" /]
[contact-field label="Comment" type="textarea" required="true" /]
[/contact-form]







Gist

url on own line from Github:
https://gist.github.com/2314628

or shortcode:
[[gis https://gist.github.com/2314628 /]]

We maintain shortcode or URL in post content.
https://gist.github.com/2314628


Google Maps

iframe from embed (not share) modal in Google Maps:
https://cloudup.com/c4a17-ST61r

We convert iframe to shortcode:
[[googlemap https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d50470.07122984142!2d-122.43760000000002!3d37.75769999999998!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x80859a6d00690021%3A0x4a501367f076adff!2sSan+Francisco%2C+CA!5e0!3m2!1sen!2sus!4v1418341299406&w=600&h=450]]
[googlemap https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d50470.07122984142!2d-122.43760000000002!3d37.75769999999998!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x80859a6d00690021%3A0x4a501367f076adff!2sSan+Francisco%2C+CA!5e0!3m2!1sen!2sus!4v1418341299406&w=600&h=450]


LaTex

wrap LaTex code in $ signs:
$latex i\hbar\frac{\partial}{\partial t}\left|\Psi(t)\right>=H\left|\Psi(t)\right>$

Other parameters: bg=######, s=# (https://cloudup.com/clxgm7J9XUK)

We maintain the $ format in post content.
i\hbar\frac{\partial}{\partial t}\left|\Psi(t)\right>=H\left|\Psi(t)\right>


List Pages

shortcode:
all pages: [list-pages]
siblings of current page: [sibling-pages]
children of current page: [child-pages]

Other parameters:https://cloudup.com/cEpwYf0RCyY

We maintain shortcode in post content.


Polldaddy

Add via poll modal in wp-admin:
https://cloudup.com/cYGidrhci1j

or shortcode:
[polldaddy poll=8444471]

We maintain shortcode in post content.


Portfolio

Activate portfolio custom content type, then add shortcode to page:
[portfolio]

Other Parameters:
https://cloudup.com/ch5SMbjHQ56

…(no example)…


Recipes

shortcode:
[recipe][/recipe]

[recipe title="Summer Pasta with Basil, Tomatoes and Cheese" servings="4-6" time="2hr 30mins" difficulty="easy"]
Put your recipe here. Tip: use ordered and unordered lists, headings, images, and links to improve the look of your recipe.
[/recipe]

Other parameters:
https://cloudup.com/cDUYmI5R98h

We maintain shortcode in post content.

Summer Pasta with Basil, Tomatoes and Cheese

  • Servings: 4-6
  • Difficulty: easy
  • Print

Credit: allrecipes.com

Ingredients:

  • 2 pounds vine ripened tomatoes, seeded and diced
  • 3 cloves garlic, minced
  • 1/2 cup chopped fresh basil
  • 1 tablespoon chopped fresh mint leaves
  • 3/4 teaspoon salt
  • 1/2 teaspoon freshly ground black pepper
  • 1/4 teaspoon crushed red pepper flakes
  • 1/2 cup olive oil
  • 1/4 cup cream sherry
  • 12 ounces spaghetti
  • 1/2 cup freshly grated Asiago cheese
  • 2 cups fontina cheese, shredded

Directions

  1. In a medium bowl, toss together tomatoes, garlic, basil, mint, salt and black pepper, hot pepper flakes, olive oil, and cream sherry. Let stand at room temperature for up to 2 hours, stirring occasionally.
  2. Cook the pasta In a large pot of boiling salted water until tender, but firm to the bite.
  3. Drain the pasta, and transfer to a large serving bowl. Drain 1/4 cup of the liquid from the tomato mixture, and toss with the pasta to coat. Add cheese, and toss until it begins to melt. Add the tomato mixture, and toss until mixed.


Code

shortcode:
[code language="https://cloudup.com/c7WelF98nJs"]
your code here
[/code]

We maintain shortcode in post content.

#button {
	font-weight: bold;
	border: 2px solid #fff;
}

Sitemap

shortcode:
[sitemap]

We maintain shortcode in post content.


Tlk.io

shortcode:
[tlkio channel=lobby height=800]

We maintain shortcode in post content.


Twitter Timeline

Get Twitter widget id, then shortcode is:
[twitter-timeline id=1234 username=yourhandle]

We maintain shortcode in post content.

…(no example)…


Upcoming Events

shortcode:
[upcomingevents url="ICALENDARFEEDURL"]

or google calendar using googleapps shortcode

We maintain shortcode in post content.


Wufoo embed

shortcode:
[wufoo username="exampleuser" formhash="x7w3w3" autoresize="true" height="458" header="show"]

We maintain shortcode in post content.

Leave a Reply

Fill in your details below or click an icon to log in:

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