in

Powerful time-saving WordPress Shortcodes for beginners

In this post of Web Granth, we have picked some time-saving WordPress specific shortcodes especially for beginners allow them to develop website with very little effort. These time-saving WordPress Shortcodes are highly easy-to-use and easy-to-create. One can implement these ready-to-use WordPress shortcodes to make their PSD to WordPress work process simpler when it comes to developing WordPress websites.

Shortcode are the WordPress-specific codes introduced with Version 2.5 WordPress and normally work as shortcuts instead of complicated and ugly set of codes. Web developers are using these useful short codes for blog archive index, contact form, digg button, polls, gallery, video and more which is quite hard to maintain when writing in HTML/ XHTML/ CSS. In the World Wide Web, there are thousands of powerful WP shortcodes are out there.

Here are the really powerful time-saving WordPress shortcodes for beginners developing WordPress powered web portal. Take a look:
1. How to create a “Send to Twitter” shortcode

Paste the below set of codes into the functions.php file

function twitt() {
 return '<div id="twitit"><a href="http://twitter.com/home?status=Currently reading '.get_permalink($post->ID).'" title="Click to send this page to Twitter!" target="_blank">Share on Twitter</a></div>';
}
add_shortcode('twitter', 'twitt');

To use this WordPress specific shortcode switch the editor to HTML mode and type 1[twitter]. a “Send to Twitter” link will display where the shortcode copied and placed.

2. How to Create a “Subscribe to RSS” Shortcode

Copy this code into your functions.php file of theme/ template to create a “Subscribe to RSS” shortcode. Make sure you replace the example of feed URL with your website url.

Subscribe to RSS

We hope our post on “Powerful time-saving WordPress Shortcodes for beginners” helped you out in saving your lots of time while developing WordPress powered website.

Further Resource

Working With WordPress Shortcodes
http://www.problogdesign.com/wordpress/working-with-wordpress-shortcodes/

Mastering WordPress Shortcodes
http://www.smashingmagazine.com/2009/02/02/mastering-wordpress-shortcodes/

Speed Up Your Blogging with WordPress Shortcodes
http://digwp.com/2010/09/speed-up-blogging-wordpress-shortcodes/

Mastering Your WordPress Theme Hacks and Techniques
http://www.noupe.com/wordpress/mastering-your-wordpress-theme-hacks-and-techniques.html

Shortcode API
http://codex.wordpress.org/Shortcode_API

What do you think?

Written by Leander crow

Comments

Leave a Reply

Leave a Reply

Your email address will not be published. Required fields are marked *

Loading…

0

Comments

0 comments

Professional Business Card designs Showcase

Showcasing Excellent Websites with Unique and Creative Layouts