I'm using a wordpress site.
I have installed a plugin called Ninja Pages, which allows me to assign categories and tags to a "page".
So what I am trying to do is assign a category to a page with wordpress's XML-RPC API.
There is documentation here of a categories parameter.
[login to view URL]
So my question is , how do I assign a category to a Page via [login to view URL] (XML-RPC)
I $params = array(
'title' => $wptitle,
'description' => $description,
'publish' => true,
'wp_author_id' => 1,
'wp_page_parent' => $wp_cats,
'wp_page_template' => '[login to view URL]',
'categories' => array($wp_cat)
);
$res = $client -> query('[login to view URL]',1, $usr, $pwd, $params);
$ID = $client->getResponse();
//print_r($res);
if ($ID)
echo '<div class="alert alert-success" role="alert">Product Posted Successfully. ID = <a href="http://'.$domain.'/wp-admin/[login to view URL]'.$ID.'&action=edit" target="new">'.$ID.'</a></div>';
I'm using the [login to view URL] Library to make things a little easier.
Hello
Let's explore the requirement and kindly let us know
if you would like us to share our skills & experiences with previous development.
Thanks & Regards
Moumita
Hello, my name is summi. I got acquainted with Your description of the task, ready to create Your website as soon as You need. However, I shall discuss about the requirements and functionalities in details to have a better understanding about time frame and price. I am glad to chat with You and discuss all in details. Contact me and I will reply immediately. Waiting for Your reply! Best regards