Roots Discourse

How rebuild theme wordpress with sage

Hi, i have to create a new custom type post with some fileds of ACF, the theme is made in sage 9, How can I make these modifications if I have the template code only?

Many thanks for your help.

Hi William,
You can add your CPT in your-theme/app folder by creating new folder for it or out here, and call it in helpers/setup file to extend your theme functionality. For ACF fields & CPT data, you can use controller. It uses soberwp for controller.

Hope this helps…:+1: