Posted on 8 February, 2010 By Kim Woodbridge 9 Comments

8 WordPress Shortcodes

 
Share

Shorts melancias... (by Atelier Vanessa Maurer)

WordPress shortcodes are small pieces of code used in the functions file that allow you to quickly add frequently used content to a post or page.

The shortcode API has been part of WordPress since version 2.5.

Here I’ve rounded up 8 interesting and very useful WordPress shortcodes. A couple of them are ones that I’ve written about before.

 

  1. WordPress Gallery Shortcode – How to use the built-in WordPress Gallery Shortcode to display a simple image gallery.
  2. Display a commonly used link – Using a WordPress shortcode you can easily display a frequently used URL.
  3. How to add a RSS Feed to a Post or Page Using a WordPress Shortcode – Code used to create a shortcode to display a RSS feed on a post or page.
  4. Using Shortcodes To Hide Content From The Public – This shows you to add a shortcode that will only display content to logged in members of your site.
  5. A simple paypal donation link – You only need to change the paypal email in the code and this shortcode will add a simple paypal donation link to a post of page.
  6. Display Related Posts – Many of us use a plugin to display related posts at the end of each article. This shortcode will allow you to add related posts without the use of a plugin.
  7. Google Maps Shortcode – This one is pretty cool – a shortcode that will insert a google map into a post or page.
  8. Send to Twitter – how to create a tweet or send to twitter link with a shortcode.

Do you any favorite WordPress shortcodes that you would add to this list?

photo credit: Atelier Vanessa Maurer


Related Posts:
  • How to add a RSS Feed to a Post or Page Using a WordPress Shortcode
  • (Anti) Social-Lists 4/12/09
  • 14 Flickr Plugins for WordPress
  • How to Add a RSS Feed Without a Plugin Using the WordPress Fetch Feed Function
  • WordPress Gallery Shortcode: Add a Simple Image Gallery to a Post or Page
  • Posted In : WordPress Tips
    If you enjoyed this post, please subscribe to my RSS Feed. You can also connect with my Facebook page or follow me on Twitter.



    9 Responses to “8 WordPress Shortcodes”

    Trackbacks/Pingbacks
    1. Daily Digest for February 8th
    Leave a Comment
    You may use: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> .

    CommentLuv Enabled

    Recent Comments

      • Ari Herzog: Agreed on the updates/inbox snafu. I rarely see page updates and I know where they are! .-= Ari Herzog´s last blog .....
      • jayson: Kim, Love the themes. I am looking to update the theme on my site to something more appropriate. My site is all abou...
      • vered: "I wish more people would use this. I think it’s silly when I get updates for things occuring in Kansas and California –...
      • Dennis Edell @ Direct Sales Marketing: I was speaking generally, not specifically this month. how exactly do you work things? .-= Dennis Edell @ Direct Sales M...
      • Lucy Beer: Unfortunately I think next to no-one actually sees those "Updates". They're buried in a subsection of the inbox and I do...
      • Kim Woodbridge: Hi Marbella - Thanks! I had a great time....
      • Kim Woodbridge: Hi Julie - I'll probably try kayaking again next summer but I don't know if I will become much of a kayaker - I had a di...
      • Kim Woodbridge: Hi Vered - If you ever get the chance, you should go. It's like a different world - it's so quiet and peaceful....

    About

    Kim Woodbridge is an accomplished Information and Technical Consultant specializing in the entire implementation of a WordPress based website including installation, theme design, upgrades, unique customizations and ongoing site maintenance.

    Wordpress Services

    • Installation, upgrades and maintenance
    • Conversion of existing html and css templates
    • Theme and plugin recommendations
    • CSS customizations
    • Troubleshooting and tweaks for unique situations
    • Customization for individual blogging goals and needs
    • Training and advice