086 – How to Handle Affiliate Links within WordPress
Listener Feedback
Thiago B.
Greetings from Brazil! Awesome podcast, I dont miss one, one plugin recommendation question: I need a plugin for support ticket system on my website, this is for my customers to register tickets whenever they face or find issues with their websites, I need a plugin that will allow people to post pictures or documents like pdf or doc files, it will serve also for my customers to send stuff whenever they want their websites updated. Do you know anything at these lines?
Option #1:
WPSC Support Tickets is no longer available.
Option #2:
The form on my website is the premium gravity forms plugin. You could probably create an online form like my contact form with Gravity Forms to get information from each client, but Gravity Forms doesn’t have a good way to mark tickets as completed.
How to Handle Affiliate Links within WordPress
Radi
What do you use for your affiliates? What software, website, WP plugins
Option #1: Pretty Link
wordpress.org/extend/plugins/pretty-link/
Option #2: Text Expander
smilesoftware.com/TextExpander/
Option #3: Custom Code
Add the following code to your functions.php file. Change the text to reflect your affiliate links.
function replace_text_wps($text){
$replace = array(
// 'WORD TO REPLACE' => 'REPLACE WORD WITH THIS'
'thesis' => 'thesis',
'studiopress' => 'studiopress'
);
$text = str_replace(array_keys($replace), $replace, $text);
return $text;
}
add_filter('the_content', 'replace_text_wps');
add_filter('the_excerpt', 'replace_text_wps');
Call To Action
Sign up for webinar at YourWebsiteEngineer.com/webinar. This month I will be showing you the ins and the outs of how to use an FTP client.
<a href=”http://ndl.mx/prettylinkpro”>Pretty Link Pro</a> has keyword replacement built in. It has handy options for limiting how many keywords will be linked and how many times that keyword will be linked.
Jul 26, 2012I also love that <a href=”http://ndl.mx/prettylinkpro”>Pretty Link Pro</a> makes a widget right on my Page- or Post-writing screen to assign a short link to that page/post on publish.
Pretty Link Pro (http://ndl.mx/prettylinkpro) has keyword replacement built in. It has handy options for limiting how many keywords will be linked and how many times that keyword will be linked.
Jul 26, 2012I also love that Pretty Link Pro makes a widget right on my Page- or Post-writing screen to assign a short link to that page/post on publish.
http://ndl.mx/prettylinkpro [affiliate]
@DanielJLewis Awesome Daniel! I didn’t know that was built into Pretty Link Pro, could be the justification someone needs to shell out the money to upgrade to the pro version 🙂
Jul 26, 2012