-
Notifications
You must be signed in to change notification settings - Fork 348
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Loading of posts/custom posts #135
Comments
WP-API api keeps changing as in beta. With beta 9 posts ans pages work, On Tuesday, December 22, 2015, Daniele Scasciafratte <
|
as a reminder, v2 is in alpha version, api can and will change. Use v1.x to On Tuesday, December 22, 2015, julien renaux [email protected]
|
I have just released alpha5 |
You can try with mine. Everything is ok (though I have not tested custom posts and taxonomies) |
confirmed now works, i changed also the timeout to 100000 to work on my site (in future i change the hosting). |
Seems to not work with custom post types and custom taxonomies. |
ok I'll have a look into those, they must have changed the API :( |
but is possible get the errors for that in the console? |
If this has not changed it should work. when I open I get |
In chrome I get in the console the requests, in Firefox remain the spinner animation and no requests in console. |
do not use firefox. can you share the link to your custom post please? I On Wednesday, December 23, 2015, Daniele Scasciafratte <
|
the site is omniasta.it and the custom post type is |
thanks, working on it On Wed, Dec 23, 2015 at 11:55 AM, Daniele Scasciafratte <
|
I am almost finished. I need some more time to introduce templating, will On Wed, Dec 23, 2015 at 8:14 PM, julien renaux [email protected]
|
do you have zip file of plugin version 2 beta 7? if yes please give me the download link, because app works fine on beta 7.. |
Ok I have just pushed a WIP about templating. if you pull develop and run
Within your templates you can do whatever you want with the data you get from your server. Some examples are already present in You can also overwrite any templates (post, posts, page, pages so far) also in the I need to create some documentation about that and release a new version but you can start playing with it and ask questions about it here. Cheers |
i dont understand.. what i exactly need to do? for making app work fine with beta9? |
hi, i have installed the beta7 but the app is not getting linked.. http://livenews.esamanjas.com/wp-json/ when i open this link it only refresh the home page.. that code dose not appears? help |
I don't understand the folders how I insert the file. |
@Mte90 You are really close! add that:
|
There is a naming convention for customPosts:
|
@Prabhat36 if |
Now I get a list of the custom posts type! wow! |
Custom posts are by definition custom, you need to create your own template. You need some AngularJS skills but it should not be complicated. |
You are right, my fault was to use |
yes, I'll be working on it thanks :) |
v2.0.0-beta01 is released, templating and custom posts are taken care of. |
With 2.0.0 alpha4 there are some problems with the loading of posts with the site mte90.net.
I've installed the last plugin version for the apiv2, with a clean project and changing only the baseurl only the pages are loaded, the posts and categories are ignored.
With another site when I try to use custom post type the list is not loaded, in the dev tools in the network section there are no request about that.
I've tried manually and the request working, they are not fast (1 second) but the response contain the json.
The text was updated successfully, but these errors were encountered: