Short Link(*) /
Affiliate Link(*)
Auto Replace Affiliate Link to Short Link
Title

Add More Link GetAllLinks(); foreach( $results as $rowdata ) { echo(''); echo ''; echo $rowdata->linktitle.''; echo ''; $shortlink=get_bloginfo('url').'/'.$rowdata->cloaklink; echo ''.$shortlink.''; echo ''.$rowdata->afflink.''; echo(''); } } function VertifyPerLink() { $perlink = get_option( 'permalink_structure' ); if ( $perlink == "" ) { $purllink=admin_url('options-permalink.php'); echo ('

You must set the "Permalinks" first to use affiliate link cloaking. Make sure it is not "Default". Here is Permalink Settings

'); } } function afflc_GetMessage() { global $wpdb; $lastmsgvar = $wpdb->prefix."afflc_lastmsg"; $lastgetmsg = get_option( $lastmsgvar ); if ( $lastgetmsg != "" ) echo ( $lastgetmsg ); } } global $g_afflc_metabox; $g_afflc_metabox=new afflinkcloaking_metabox(); ?>

VertifyPerLink(); ?> ShowAllLink(); ?>
Link Title Short Link Affiliate Link
Link Title Short Link Affiliate Link