Skip to content
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

Jetpack compat? #21

Closed
ryelle opened this issue Oct 9, 2016 · 4 comments
Closed

Jetpack compat? #21

ryelle opened this issue Oct 9, 2016 · 4 comments
Labels
Milestone

Comments

@ryelle
Copy link
Owner

ryelle commented Oct 9, 2016

I ❤ Jetpack and would like to keep likes, galleries, and stats working.

@ryelle ryelle added the task label Oct 9, 2016
@ryelle ryelle added this to the 1.0 milestone Oct 9, 2016
@ryelle
Copy link
Owner Author

ryelle commented Oct 9, 2016

Also really needs contact form styling. And..... functionality. It totally failed to submit - path is incorrect maybe?

@ryelle
Copy link
Owner Author

ryelle commented Oct 11, 2016

wp_nonce_field is used in the contact form to set a referrer, which is used to redirect after submission-- unfortunately this is pulled from the API, and is set to /wp-json/wp/v2/pages?_embed=true&filter%5Bpagename%5D=[pagename]. This is only used when a user is logged in, otherwise it redirects to the contact page (albeit with no success message). Acceptable functionality (for now).

ryelle added a commit that referenced this issue Oct 12, 2016
No idea if this is necessary for JP support, should investigate further. See #21
@ryelle
Copy link
Owner Author

ryelle commented Oct 12, 2016

Stats -- can I reload the pixel via JS?

@jeherve
Copy link

jeherve commented Oct 28, 2016

I recently added the Related Posts to the REST API Post response. The patch will ship with the next version of Jetpack.
Automattic/jetpack#3425

Here is an example of the elements added to each post:
https://jeremy.hu/wp-json/wp/v2/posts/18066

I think it'd be great to add those to your theme :)

big_eyes_cat

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants