c# - How do I get Wordpress custom Post Type through ASP.Net? -
our client has website in wordpress , contains custom post type (like post_type=recent-news). need fetch , show custom post types , content in asp.net website.
we have tried "cookcomputing.xmlrpcv2" doesn't support custom post type. have checked json api need deploy php code don't want do. have checked wordpress json .net (http://wordpressjsonnet.codeplex.com/) not officially released / not working.
is there option (any free dll or rest api plugin) custom post type asp.net?
4 years late might else. try wordpresssharp's method:
wordpressservice.getposts(wordpresssiteconfig.blogid, wordpresssiteconfig.username, wordpresssiteconfig.password, new postfilter() { posttype="recent-news"});
Comments
Post a Comment