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

Front page implicit JSON not working #26

Open
vilmosioo opened this issue Jan 6, 2015 · 0 comments
Open

Front page implicit JSON not working #26

vilmosioo opened this issue Jan 6, 2015 · 0 comments

Comments

@vilmosioo
Copy link

When setting a static front page, the JSON api does not return the static page content, it returns the blog page array of posts, which is incorrect.

I really like the plugin, but I don't have the familiarity to the code to fix it myself.

After some debugging, it appears that is_front_page() is false when json_api_encode filter fires, even though it should be true.

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

No branches or pull requests

1 participant