functions.php'den replace ?
4
●417
- 08-09-2010, 23:54:30işte bunu tam olarak functions.php ye nasıl yazıcam sizin verdiğiniz gibi yazdığımda hata veriyorNtie adlı üyeden alıntı: mesajı görüntüle
- 09-09-2010, 08:29:55
<?php /* Plugin Name: Simple Replacer Plugin URI: link to your page to download the plugin or usage guide Description: Replaces {donationcode} with paypal donation codes Author: Zen Version: 1.0 Author URI: http://zenverse.net/ */ function the_replacer($content) { $post = str_replace( '{donationcode}' , 'YOUR_DONATION_HTML_CODES' , $content); return $content; } add_filter('the_content', 'the_replacer'); ?>http://zenverse.net/creating-a-simpl...s-post-content