Posted on 8 February, 2010 By 9 Comments

8 WordPress Shortcodes

 

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


Outright.com - Free Yourself from Accounting

Keep Reading:
Posted In : WordPress Tips

Did you enjoy this article? I can assist you with your WordPress or Facebook project. Contact me and I will provide you with an estimate. You can also connect with me on Facebook or follow me on Twitter. If you are looking for Hosting, WordPress Theme, Newsletter or other recommendations, please view my detailed list.




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 badge

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.

Recent Comments

    • Tanya: These are some great plugins! Will have to try a few out, Thanks :) Love that its free too!...
    • Gary Starkman: I wonder if there are gonna be any new posts, I'm a big fan of posts like this one, really is helpful....
    • Raviraj: I am a big fan of woocommerce.. I have installed in many of my websites.. Glad to see these awesome free woocommerce ext...
    • Gary Starkman: Thanks for sharing, put a smile on my face....
    • vaibhav: I have a friend with one. This might help him. Il ask him to contact you...

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