XMLRPC won’t connect?

Instead of using XMLRPC which isn’t available on some hosts, use the REST API instead. Send a HTTP POST request to the posts endpoint containing a JSON object with your desired post, with an authentication header. To do this, we’re going to need an authentication plugin ( standard WP only supports nonce + cookie which … Read more

Can XMLRPC set show_on_front/page_on_front?

These options are not among the default writable $blog_options. Here’s one (untested) idea using the xmlrpc_blog_options filter to make the show_on_front option writeable: /** * Add ‘show_on_front’ to the list of XML-RPC writeable options. */ add_filter( ‘xmlrpc_blog_options’, function( $blog_options ) { if( is_array( $blog_options ) ) { $blog_options[‘show_on_front’] = array( ‘desc’ => __( ‘Show on … Read more

How to enable xmlrpc in WordPress 5?

What are you trying to do? XML-RPC is enabled by default. XML-RPC functionality is turned on by default since WordPress 3.5. In previous versions of WordPress, XML-RPC was user enabled. To enable, go to Settings > Writing > Remote Publishing and check the checkbox. Try going to http://example.com/wordpress/xmlrpc.php, your should see a message saying “XML-RPC … Read more

Multiple new posts using XML-RPC?

Short answer? No. There is a finite list of methods exposed by the XML-RPC interface, and the ones that allow you to create new posts dictate that you create one post at a time. Given, you could always write your own method to allow for bulk post creation, but you should ask a new question … Read more