Using get_template_part() does not work with sage 10. How I can use \Roots\view to include the template parts. My current code is below which is not working
I’m fairly certain this is exactly what @include( 'sections.section-hero-video' ) does, just without the syntactic sugar.
You still have get_template_part in here.
Can you elaborate on “not working”? Are you seeing errors? If so, what? Does rendering simply stop at that point? Does the page render, but nothing is shown where you would expect the template part to appear? Something else?
Have you checked your server logs? How long have you allowed it to keep loading? Does it eventually time out?
Here is how the page keeps loading, no output. Screenshot.. I have to restart my localhost to access the site again. Even no string gets echoed. Was also wondering when the php goes into infinite loop does it output anything before stucking into the loop on the frontend? Sorry for my crazy questions