Problem I'm using python-wordpress-xmlrpc to create a post remotely into WordPress, all doing fine except when I'm uploading an attachment image, I can't set image alternate text ( alt="" ) to the corresponding image. Solution Create a custom WordPress plugin to extend the built-in WordPress XMLRPC method. Create a class in your python script to access that custom method. Example Here is the custom plugin I mentioned above [ link ]: <?php /** * Plugin Name: xmlrpc-extend * Description: xmlrpc-extend * Author: edgar galliamov * Author URI: * Version: 0.1 * Plugin URI: https://github.com/g-gabber */ /*************************************************************** * SECURITY : Exit if accessed directly ***************************************************************/ if ( ! defined ( 'ABSPATH' ) ) { die ( 'Direct acces not allowed!' ); } function wp_editMedia ( $args ) { global $wp_xmlrpc_server ; ...
Pernah liat seseorang ngetwit video yang bukan miliknya alias cuma nge-share video orang lain tapi tidak melalui Retweet ? Nah, di sini saya akan beritahu caranya... Catatan: Ini tutorial khusus buat di Android atau PC ya, karena kalau di iPhone (iOS), fasilitas embed video Twitter ini sudah tersedia. Okay, caranya mudah kok.
بائع عسل يسأل بائع خل، ما بال الناس يشترون منك ويتركونني؟ قال أنا ابيع الخل بلسان من عسل وانت تبيع العسل بلسان من خل، إمتلك الناس بأخلاقك Suatu hari, penjual madu bertanya ke penjual cuka, mengapa orang-orang lebih suka membeli cukamu daripada (membeli) maduku? Penjual cuka menjawab, ketahuilah bahwa aku menjual cuka dengan lisan (perkataan) madu (baik tutur katanya), sedangkan kamu menjual madu dengan lisan cuka (tidak mengenakkan). Kepemilikan seseorang tergantung pada akhlaq seseorang itu. والله أعلم بالصواب
[…] Cara Setting Nginx FastCGI Cache […]
ReplyDelete[…] Cara Setting Nginx FastCGI Cache […]
ReplyDeleteWaah tetep kuatir Bang ...
ReplyDeletePokoknya ditunggu versi jawanya yaa ..
Haha
sing penting ora tajassus wkwkwkwk
ReplyDelete