Shortcode functions for WordPress
8 fun & useful shortcode functions
‘Shortcodes’ are a feature of wordpress used for executing custom functions by inserting a small snippit of code into a post. For example, my download monitor plugin now uses shortcodes; by entering [download id="1"] into a post, the plugin will output a download link.
So if you need to do something fast and use simple solutions shortcode functions will be ideal for you.
What can we find in this post ?
1. Get some bloginfo
2. Integrate some Adsense Ads
3. Obfuscate an email address
4. Show related posts (uses tags)
5. Add a simple paypal donation link
6. Output a google powered chart
7. Show a google map with a marker on it
8. Talk like a pirate
Read full story here: 8 fun & useful shortcode functions for wordpress.
If this list is too short for you grab more shortcodes with Smashing Magazine post: Mastering WordPress Shortcodes.
Smashing Magazine gives us:
1. Create a “Send to Twitter” Shortcode
2. Create a “Subscribe to RSS” Shortcode
3. Insert Google AdSense Anywhere
4. Embed an RSS Reader
5. Get posts from WordPress Database with a Shortcode
6. Get the Last Image Attached to a Post
7. Adding Shortcodes to Sidebar Widgets
Strange is that i never heard about those shortcodes and it looks like i need to start using them immediately. You don’t need to add tons of plugins, just simple shortcode functions.






Dennis
29 Mar, 2009
I am looking for a clean and ite magazine style theme for wordpress without too many function calls, any suggestions?. thanks in advance
WP Design Blogger
29 Mar, 2009
@Dennis : I have draft ready to be online but I am still changing some small details. So the title for new post will be: “Magazine Style Website based on WordPress” and I show there one great magazine style WP theme that i would choose if i were you.
WP Design Blogger
31 Mar, 2009
The post that i was talking about is here:
Magazine Style Website based on WordPress
http://wpdesignblog.com/magazine-style-wordpress-theme/