WordPress Post Snippets: Easily Templatize Any Part of Your WordPress Blogs, Membership Sites, and Sales Letters
When people talk about their favorite WordPress plugins, you usually hear things about SEO plugins, security plugins, or backup plugins. By the way, the best backup plugin for WordPress is Backup Creator and the plugin you should use to manage, bulk load, and mass update your WP plugins is Plugin Dashboard...
But anyway, imagine having "chunks" of text for your WordPress site that you could re-use where-ever you want. You use shortcodes for this. For example, I have a podcasting plugin on my blog that I use to post audio episodes of my iTunes radio show. (Podcast Crusher shows you how to use the PowerPress plugin in WordPress to create an unlimited number of podcasts)...
If I ever want to display the current podcast episode more than once in a post, for example, one player at the top in addition to the one at the bottom, I just have to add this code to my post:
[ podcast ] (Without the spaces around those hard brackets.)
That's a WordPress shortcode. You post the "code" anywhere in your posts and pages and when it's "rendered" for public viewing, people see the podcast audio player as opposed to that "short" code.
WordPress Post Snippets allow you to do this: create any number of shortcodes such as: [ webinarcrusher ]. I can set that snippet to display a huge headline advertising my Webinar Crusher product, a link to it, maybe open that link in a new window, even toss in some bullet points and a banner.
Now anytime I want to link to Webinar Crusher, I just add the [ webinarcrusher ] shortcode (the video below shows how it's point and click simple) into my posts anywhere I want to mention it:
I used to use the WP Post Signature plugin (also free) to display the same link and ads under EVERY blog post, but I now prefer using WordPress Post Snippets because I have more control over what posts link to what offers.
The first 9 minutes of that video show how I use it on my blogs and sales letters. But after the 9 minute mark, it gets REALLY crazy... because you can pass VARIABLES into Post Snippets!
What does that mean? Well, you can create a post snippet called "offsite" that takes in variables called "url" and "title"...
Then set your "offsite" post snippet to this in your Post Snippet settings:
<a target="_blank" onclick="return confirm('Are you sure you want to leave this site?');" href="{url}">{title}</a>
This looks a bit geeky, but it's some HTML code that displays a link on a web page, and when someone clicks that link, a pop-up appears asking people if they REALLY want to leave the site.
Whenever you want to link offsite but you want to display that warning that they might not want to leave, just add this "snippet" or shortcode into your posts:
[ offsite url="http://www.incomemachine.com" title="Income Machine" ]
(again, without the spaces)
Adding this shortcode will "plug-in" the "url" we passed (which is "http://www.incomemachine.com") and the "title" (which is "Income Machine") right into that code I showed you a minute ago, into the {url} and {title} sections of that code.
As I said, this might be a "little" advanced for you personally, but I've found it very helpful for re-using that "repeat" code in my membership sites if I have to display a lot of graphics, video and audio players, and download links.
Enjoy using WordPress Post Snippets in your WordPress sales letters, blogs, and membership sites!
Filed in: Archive 1: 2012-2016 • Membership Sites • WordPress