I’m developing a desktop client for WordPress (and other CMSs that support XML-RPC) and recently implemented the wp.newPost and wp.editPost methods. The documentation claims that you can set a post to be sticky by including the boolean value “sticky” set to true. However, I do this and always find that the posts aren’t sticky, either on my WP.com blog (which I use for testing only) or on my own blog.
Here’s the link to the documentation: http://codex.wordpress.org/XML-RPC_WordPress_API/Posts
And here’s the XML-RPC code (someone tell me if I should be writing something different, like true instead of 1 or boolean instead of bool:
<member> <name>sticky</name> <value> <bool>1</bool> </value> </member>
Is this even supported for XML-RPC? If not, perhaps someone should remove it from the documentation.
- The topic ‘Making a post sticky on XML-RPC’ is closed to new replies.