frontity / frontity-embedded

Embedded Mode plugin for Frontity sites

Home Page:https://frontity.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

404 on Published Custom Post Type

maxthrottleup opened this issue · comments

Hi!

We are working on a website and wanted to enable the previews for Frontity. Previews with the plugin work great, however I found out that when a custom post type is already published I can't access the preview anymore. It returns a 404.

I have upgraded Frontity npm dependencies to the latest before creating this video that describes the issue:

http://youtu.be/YtGDsyUQBRM?hd=1

Any direction is very appreciated as we are close to launch.

Thanks!

max

Found the solution. We just need to enable revisions on the custom post type and wp-source should work.

Hey @maxthrottleup, thanks for reporting this 🙂

Yes, that's true, revision are required because if they are not active there's no way to request the last content using the REST API.

I have added a small note to the Readme: a158bf2