Adding a metabox shortcode “paypal accept payment” in my custom post type back-end

Add this to your child theme / plugin functions.php. I think this should do the trick. Let me know function your_meta_callback( $post ) { echo Paypal_payment_accept(); } add_meta_box( ‘your_meta’, __( ‘Meta Box Title’, ‘your-textdomain’ ), ‘your_meta_callback’, ‘your-posttype-name’, ‘side’ ); For more information see WordPress Codex on add_meta_box(). Update: Ok I have looked into this. If … Read more

Buy now button and thankyou page for my website?

For wordpress plugins you can see the below links http://wpmu.org/8-wordpress-paypal-plugins-for-receiving-payments-and-donations/ http://www.tipsandtricks-hq.com/wordpress-simple-paypal-shopping-cart-plugin-768 http://www.bestwpplugins.net/wordpress-plugins-for-paypal-integration.html Check this plugin link it might work in your case and its tested in wordpress 3.1 its working fine. url: http://wordpress.org/extend/plugins/wordpress-easy-paypal-payment-or-donation-accept-plugin/ To customize the paypal payment and thankyou message you can code as per your requirement but u need to know the paypal … Read more

Add estimated value for a post according to the number of words

Here’s an idea for a starting point, by looking how the word counting is done in the /wp-admin/js/post.js file: /** * Testing word price calculations */ add_action( ‘after_wp_tiny_mce’, function() { ?><script> ( function( $ ) { $( function() { // Init var $content = $( ‘#content’ ), $count = $( ‘#wp-word-count’ ).find( ‘.word-count’ ), total_price … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)