Zango WordPress Code
Here’s a simple wordpress code with using zango. It will allow you to show up zango after a few visits on a page.
So it could be useful as you can allow them to see premium content for a few views and then the zango toolbar will pop-up before they can view your premium content again.
<?php$views = 4;$_SESSION['zango_cash'] = 0;if (isset($_SESSION['pages'])) {if ($_SESSION['pages'] < $views) {$_SESSION['pages'] = $_SESSION['pages']+ 1;} else {$_SESSION['zango_cash'] = 1;}} else {$_SESSION['pages'] = 1;}?><?phpif ($_SESSION['zango_cash'] == 1) {?><!– ZangoCash Gateway code START –><!– ZangoCash Gateway code END –><?php}?>
It should be self explanatory on how to use it. If you need help either email me or post a comment.









Technorati Favorites















