whyisjake

Jake Spurlock

May 19th, 2010
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 1.05 KB | None | 0 0
  1.         $bio_box =
  2.        
  3.         '<form method="post" action="https://www.paypal.com/cgi-bin/webscr" target="paypal">
  4.             <input type="hidden" name="cmd" value="_cart">
  5.             <input type="hidden" name="business" value="'.$mama_paypal.'">
  6.             <input type="hidden" name="item_name" value="'.the_title().'">
  7.             <input type="hidden" name="shopping_url" value="'.the_permalink().'">
  8.             <input type="hidden" name="item_number" value="'.the_ID().'">
  9.             <input type="hidden" name="amount" value="'.$price[0].'">
  10.             <input type="hidden" name="currency_code" value="USD">
  11.             <input type="hidden" name="shipping" value="'.$shipping[0].'">
  12.             <input type="hidden" name="shipping2" value="'.$another[0].'">
  13.             <input type="hidden" name="handling_cart" value="'.$mama_handling.'">
  14.             <input type="hidden" name="bn"  value="ButtonFactory.PayPal.001">
  15.             <input type="image" name="add" src="http://www.powersellersunite.com/buttonfactory/sc-but-01.gif">
  16.         </form>';
  17.  
  18.  
  19. add_filter('the_content', 'addContent');
  20. function addContent($content = '') {
  21.     $content = $bio_box;
  22.     return $content;
  23. }
Add Comment
Please, Sign In to add comment