Shortcodes: WordUp Pompey! Feb-2012

815 views

Published on

An overview of shortcodes for WordPress: what, why and how? by Herb Miller, of Bobbing Wide and [oik]-plugins

Slides from WordUp Pompey, held on February 23rd 2012. See also
http://wp-pompey.org.uk/wordup-pompey-wordpress-meetup-for-portsmouth/

Published in: Technology, Art & Photos
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
815
On SlideShare
0
From Embeds
0
Number of Embeds
6
Actions
Shares
0
Downloads
4
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Shortcodes: WordUp Pompey! Feb-2012

  1. 1. [ ]Shortcodes – what, why, how?
  2. 2. What is a shortcode?For creating macros to be use in a posts content (sic)Its something that you type into a page, post orelsewhere on your website.When the page is displayed the shortcode magicallyproduces the stuff you want it to produce.You dont have to type zillions of lines of code.It should produce quality HTML and styling Theyre supposed to save you time.
  3. 3. WordPress shortcode examplesCaption for an image[caption width=70caption=This is a caption]Gallery of attached images[gallery link="file"columns="2"orderby="title"]Embed media[embed width=”256”]http://www.youtube.com/watch?v=xzYL873wEpg[/embed]
  4. 4. [oik] shortcodesSimple[bw_telephone] [bw_email] [bw_mobile] [wp] [bw]
  5. 5. [oik] shortcodesAverage[bw_show_googlemap][bw_directions][bw_contact_button][bw_follow_me]
  6. 6. Complex shortcodes[bw_email_signature][bw_pages][bw_plug]
  7. 7. [bw_pages] [bw_posts] [bw_tree][bw_attachments] [bw_pdf] [bw_images]
  8. 8. Other shortcodesKnown[wcs_qr_code] – QR code generator[si_contact_form] – and other Contact forms[paypal] – PayPal buttons: buy, donate, add to cart, checkoutUnknown[asin] – buy a product from Amazon[members]content only visible to members[/members][timed end=23Feb2012] content that will be displayed on/beforea particular date [/timed]
  9. 9. For more informationInstall plugins > Add New > term=shortcodeLists 1,000 items to choose from!Or visit http://www.oik-plugins.com/other-shortcode-plugins/Many plugins provide shortcodes. Find the plugins you wantthen see what shortcodes you can use.Note: If you use [oik] then you may find the other pluginsshortcodes will work in widgets and footers.
  10. 10. Herb Millerbobbingwidewebdesign.comoik-plugins.comcwiccer.comfobbonghide.comherbmiller.me@herb_miller@bobbingwide@wppompeywp-pompey.org.uk Powered by WordPress

×