wp-api-angular icon indicating copy to clipboard operation
wp-api-angular copied to clipboard

Angular (>=2) services for WordPress WP-API(v2) or WP >= 4.7 (natively supports WP-API)

Results 12 wp-api-angular issues
Sort by recently updated
recently updated
newest added

@shprink - I'm looking to do some Angular development ontop of headless Wordpress and this repo caught my attention. Are you open to having others help maintain it and bump...

I'm trying to work with wp-api-angular with Angular 6. However, the library requires a peer of version 4 which means it won't work with my current setup. Is there a...

Warning: Can't resolve all parameters for Custom in node_modules/wp-api-angular/Custom.d.ts: ([object Object], [object Object], ?). This will become an error in Angular v6.x

I bumped dependencies to Angular v11 I also could not figure out why there were duplicate interfaces defined everywhere (like IWpApiComments for instance), so I consolidated them;

Hello, how to dynamically change the domain ? For example: export function WpApiLoaderFactory(http: Http, config:Config) { return new WpApiStaticLoader(http, `${config.domain}/wp-json/`, /* namespace is optional, default: '/wp/v2' */); } Thank you.

**Hi, please i have this error when trying to create post :** Response {_body: "{"code":"rest_cannot_create","message":"Sorry, you…reate posts as this user.","data":{"status":401}}", status: 401, ok: false, statusText: "Unauthorized", headers: Headers, …} headers...

Warning: Can't resolve all parameters for Custom in /node_modules/wp-api-angular/Custom.d.ts: ([object Object], [object Object], ?). This will become an error in Angular v5.x

I'm using 'wp-api-angular' to fetch all the post data. Well, it works perfectly, but the major concern for any website is the SEO part. I'm using YOAST SEO plugin. I...

Hello, I try to use wpApiCustom for update a custom post whitch use ACF (Advanced Custom Fields). Here are the data to update : {"id":92,"date":"2018-03-07T21:50:46","date_gmt":"2018-03-07T20:50:46","guid":{"rendered":"http:\/\/localhost\/?post_type=evenements&p=92"},"modified":"2018-04-25T22:21:06","modified_gmt":"2018-04-25T20:21:06","slug":"1er-evenement","status":"publish","type":"evenements","link":"http:\/\/localhost\/evenements\/1er-evenement\/","title":{"rendered":"remimartin_adm"},"content":{"rendered":"Evenement1|08\/03\/2018\n","protected":false},"template":"","acf":{"id":"1","nom_de_levenement":"Event1","date_de_levenement":"07\/03\/2018"},"_links":{"self":[{"href":"http:\/\/localhost\/wp-json\/wp\/v2\/evenements\/92"}],"collection":[{"href":"http:\/\/localhost\/wp-json\/wp\/v2\/evenements"}],"about":[{"href":"http:\/\/localhost\/wp-json\/wp\/v2\/types\/evenements"}],"wp:attachment":[{"href":"http:\/\/localhost\/wp-json\/wp\/v2\/media?parent=92"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}} I try to use wpApiCustom...

I've been working with WP authentication and implementing it into this library. I've been testing this in my own projects for a while now. Still, some work needs to be...