• Hi Guys,

    I want to use the XML-RPC API to create custom posts in wordpress. There seems to be a bit of somewhat different information about custom posts around the web from its incorporation into WP 3.0.

    My question is: If taking advantage of the XML-RPC API to create custom posts, does the wordpress admin/dashboard handle viewing and editing of these posts by default OR is will a plugin be required.

    If the later, will a bespoke plugin based on the the use of the XML-RPC and architecture of the custom posts serve best or are there existing custom post plugins that would handle the viewing and editing custom posts?

    Thanks in advance for any input, advice, suggestions.

Viewing 1 replies (of 1 total)
  • Hi,

    I think what you are asking about is independent from XML-RPC. First of all you will need to have that custom post type created in the remote site (where you are sending to) and/or the origin site (where you are sending from). To create the custom post type and have it in your wordpress dashboard (for viewing or editing as any other post type) is as easy as 1-2-3: go to https://generatewp.com/post-type/ , fill in the fields in tabs, generate the code and copy it from the box located below in that page. Then you will only have to paste it into e.g. your theme’s function.php.

    Then, by using the XML-RPC API you will be able to post these new custom posts remotely and/or grab them from remote to local, depending on how you use the API.

Viewing 1 replies (of 1 total)
  • The topic ‘Is a plugin required for XML-RPC API created custom posts?’ is closed to new replies.