Shortcodes, Custom Options, Unlimited Sidebars, and More!
-
Aspire comes jam packed with useful features, like shortcodes, custom admin options, several custom page templates, and more! Why bother with a theme that takes countless hours to customize and get up to speed when you can get started right away with one that’s pre-configured with any customization tools you’ll need. This really is WordPress at it’s best: making life easier for you.
Shortcodes
Shortcodes are a cool feature in WordPress that essentially allows you to do some pretty incredible things by just inserting a “shortcode” into a page or post. Using Shortcodes is a breeze, just insert one where you want the relevant content to show up and, whallah!, it works like magic. Here’s a list of just a few of the shortcodes included in Aspire. Remember to replace any squiggly brackets “{” with square brackets “[“, and for the shortcodes that require customization (like the donation shortcode), edit the information in functions/shortcodes.php. Enjoy these!
1. Related Posts
Related posts are an easy way to get your visitors staying longer on your blog. There’s tons of plugins to display them, but you can also use this simple shortcode and be in business in mere seconds!
{related_posts}
Source: http://blue-anvil.com/archives/8-fun-useful-shortcode-functions-for-wordpress2. Google Charts
Including Google Charts into your posts and pages has never been easier. Just use this shortcode and fill out your own particular details and the chart will be posted automatically, like in this example:
{chart data="41.52,37.79,20.67,0.03" bg="F7F9FA" labels="Reffering+sites|Search+Engines|Direct+traffic|Other" colors="058DC7,50B432,ED561B,EDEF00" size="488x200" title="Traffic Sources" type="pie"}
Source: http://blue-anvil.com/archives/8-fun-useful-shortcode-functions-for-wordpress3. Google Adsense Integration
Use this simple little shortcode to include Google Adsense directly into your pages and posts!
{adsense}
Source: http://www.wprecipes.com/how-to-embed-adsense-anywhere-on-your-posts4. Premium Content for Members Only
You can offer premium content for registered visitors by using this shortcode on the premium content pages and posts!
{access capability="switch_themes"}
Source: http://justintadlock.com/archives/2009/05/09/using-shortcodes-to-show-members-only-content5. Remove WordPress automatic formatting
Use this shortcode to display code snippets on your blog and remove that pesky WordPress automatic formatting on certain portions of text.
{raw}This is some unformatted text{raw}
Source: http://wordpress.org/support/topic/2807326. Add administrative notes
Use this shortcode to leave messages on posts that can only be seen by other admins. The blog owner can now, for instance, make editorial notes on a post.
{note}This is an editorial note - only visible to admins!{note}
Source: http://www.smashingmagazine.com/2009/02/02/mastering-wordpress-shortcodes/7. Grab the last image in a post
Use this shortcode to display the last image in any particular page or post!
{postimage}
Source: http://www.wprecipes.com/wordpress-shortcode-easily-display-the-last-image-attached-to-post8. Create a Send To Twitter button
Use this shortcode to send posts to Twitter, automajically!
{twitter}
Source: http://www.smashingmagazine.com/2009/02/02/mastering-wordpress-shortcodes/9. Embed an RSS Feed
Use this shortcode to display an RSS feed directly in your posts and pages.
{rss feed="http://feeds.feedburner.com/MakeDesignNotWar" num="5"}
Source: http://www.smashingmagazine.com/2009/02/02/mastering-wordpress-shortcodes/10. Embed an RSS Button
Use this shortcode to display an RSS button directly in your posts and pages.
{subscribe}
Source: http://www.smashingmagazine.com/2009/02/02/mastering-wordpress-shortcodes/11. Display your blog stats using shortcodes
Display all sorts of awesome information about your blog by installing this plugin and using these shortcodes:
{pagerank} {feedburner_subscribers} {alexa_rank} {technorati_authority} {technorati_rank} {user_count} {post_count} {page_count} {comment_count} {trackback_count} {avg_comments_per_post} {category_count} {tag_count} {link_count} {google_backlinks} {yahoo_backlinks} {delicious_bookmarks}
Source: http://www.improvingtheweb.com/wordpress-plugins/blog-stats/12. Add a Donation Button
Replace the default ‘account’ with your paypal email address, and output using Make a donation. Remember you can override the default ‘text’ too in the shortcode. You can style this link with css (as ive done) easily.
{donate}Make a donation
Source: http://blue-anvil.com/archives/8-fun-useful-shortcode-functions-for-wordpress

Comments are closed.