• Hi there,

    since many years I′m using the XMLRPC API to create new Posts from my own Dashboard. However, since some weeks the parameter “page_template” which refers to “wp_page_template” in the Doc is not longer working.

    Since newPost works with every Parameter that wp_insert_post accepts (function hasn′t been changed since 4.4 as of the changelog) and it is still supported I have no clue whats going on.

    I′m using the parameters for newPost like this for many years:

    $wp_params = array(
    			'post_title' => 'Title',
    			'post_content' => '',
    			'post_status' => 'draft',
    			'page_template' => 'page-product.php',
    			'post_date' => date('Y').'-'.date('m').'-'.date('d').' '.date('i').':'.date('i').':'.date('s'),
    			'post_name' => 'test',
    			'post_parent' => '',
    			
    		);

    Does anyone know what has changed?

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘XMLRPC _wp_page_template / page_template not working anymore’ is closed to new replies.