Skip to content
This repository has been archived by the owner on Jul 10, 2023. It is now read-only.

Not working out of the box with Sage 10 #25

Open
timbriteweb opened this issue Jun 23, 2020 · 1 comment
Open

Not working out of the box with Sage 10 #25

timbriteweb opened this issue Jun 23, 2020 · 1 comment

Comments

@timbriteweb
Copy link

I'm using Sage 10 for the first time and Models isn't working as expected out of the box. I had to use the following to get it working:

add_filter('sober/models/path', function () { return get_stylesheet_directory() . '/app/models'; });

I believe the issue is because the theme root for Sage 10 is no longer /resources as it was in version 9. Not sure how to check for the version of Sage, but I would recommend adding that in if possible to make Models future-friendly!

@darrenjacoby
Copy link
Member

Hey @timbriteweb ,

I'm investing my time going forward on Intervention which includes support for registering post types as well. I would recommend using that instead going forward if you can.

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

No branches or pull requests

2 participants