10up/nodeifywp

Working with plugins/CPTs

cferdinandi opened this issue · 1 comments

First off, AMAZING project! I ❤️ that you've made building a Universal/Isomorphic SPA so much more accessible.

Apologies if this should be obvious from the documentation, but how might this interact with custom post types? Specifically, I'm thinking about things like Easy Digital Downloads, that both render content on the front-end and have server-side process that run.

Would one need to register some custom template tags, or should everything just work out-of-the-box?

Cheers!

Hey! So PHP.context.$posts contains the "loop" posts, no matter what post types. For the purposes of EDD, you would definitely need to register some custom post tags. Hopefully that's helpful.