I’m looking to render a blade template from within a filter function. Anybody got any tips?
- Catch a route/rewrite_rule like this one
- In a filter function, I’d catch the route, and then echo back the right blade template e.g.
We’re building a sage 9 project, we’d like scroll-loading (fetching additional pages and appending the post previews to the page) but our custom post type archive urls are used by custom-design pages that are not archives, with a custom list of recent posts at the bottom (ACF flex module) to which we’d like to add scroll-loading.
ajax-load-more with theme repeaters, but to make their
alm_templates templates pull from blade, I’m right back at the same blade-rendering-outside-of-blade problem.