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-wordpress

2. 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"}

[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-wordpress

3. Google Adsense Integration

Use this simple little shortcode to include Google Adsense directly into your pages and posts!

{adsense}

[adsense]

Source:
http://www.wprecipes.com/how-to-embed-adsense-anywhere-on-your-posts

4. 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-content

5. 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/280732

6. 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}

[note]This is a personal note that only admins can see![/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}

[postimage]


Source:
http://www.wprecipes.com/wordpress-shortcode-easily-display-the-last-image-attached-to-post

8. Create a Send To Twitter button

Use this shortcode to send posts to Twitter, automajically!

{twitter}

[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}

[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 [donate]. Remember you can override the default ‘text’ too in the shortcode. You can style this link with css (as ive done) easily.

{donate}

[donate]

Source:
http://blue-anvil.com/archives/8-fun-useful-shortcode-functions-for-wordpress

Slider Post 1

This is a slider post! Notice the “Custom Fields” below – they are how you customize this slide. Essentially, all you NEED is the following:

1. featured_slide_img

The “featured_slide_img” custom field will allow you to enter a URL to the image of your choosing. Just upload it from the “Add Media” button above this text-editor and grab the File URL from the image. Remember it needs to be 940 x 284 px to fit into the slider.

Some optional things you can add:

2. featured_slide_caption – Quite simply, this field will add a basic text caption to the bottom of your image. No HTML, sorry! This version of the Nivo Slider doesn’t support that yet.

3. featured_slide_destination – Want this slide to link to somewhere? Add your destination URL here.

4. launch_this_in_a_lightbox – Want to launch a lightbox from the slide? Use this one instead of the “featured_slide_destination” and whatever link you put in there will load into a lightbox. Keep in mind there are limitations to this – it’s probably best to just link to images unless you are pretty comfortable with the prettyPhoto slider settings.

Slider Post 2

This is a slider post! Notice the “Custom Fields” below – they are how you customize this slide. Essentially, all you NEED is the following:

1. featured_slide_img

The “featured_slide_img” custom field will allow you to enter a URL to the image of your choosing. Just upload it from the “Add Media” button above this text-editor and grab the File URL from the image. Remember it needs to be 940 x 284 px to fit into the slider.

Some optional things you can add:

2. featured_slide_caption – Quite simply, this field will add a basic text caption to the bottom of your image. No HTML, sorry! This version of the Nivo Slider doesn’t support that yet.

3. featured_slide_destination – Want this slide to link to somewhere? Add your destination URL here.

4. launch_this_in_a_lightbox – Want to launch a lightbox from the slide? Use this one instead of the “featured_slide_destination” and whatever link you put in there will load into a lightbox. Keep in mind there are limitations to this – it’s probably best to just link to images unless you are pretty comfortable with the prettyPhoto slider settings.

Slider Post 3

This is a slider post! Notice the “Custom Fields” below – they are how you customize this slide. Essentially, all you NEED is the following:

1. featured_slide_img

The “featured_slide_img” custom field will allow you to enter a URL to the image of your choosing. Just upload it from the “Add Media” button above this text-editor and grab the File URL from the image. Remember it needs to be 940 x 284 px to fit into the slider.

Some optional things you can add:

2. featured_slide_caption – Quite simply, this field will add a basic text caption to the bottom of your image. No HTML, sorry! This version of the Nivo Slider doesn’t support that yet.

3. featured_slide_destination – Want this slide to link to somewhere? Add your destination URL here.

4. launch_this_in_a_lightbox – Want to launch a lightbox from the slide? Use this one instead of the “featured_slide_destination” and whatever link you put in there will load into a lightbox. Keep in mind there are limitations to this – it’s probably best to just link to images unless you are pretty comfortable with the prettyPhoto slider settings.