How to display template path without hardcoding it into template? Or is it possible at all? I’d like to use for debugging.
Within a shortcode you can use .Name
, but there’s no similar mechanism for templates and partials. I wish there were.
How to display template path without hardcoding it into template? Or is it possible at all? I’d like to use for debugging.
Within a shortcode you can use .Name
, but there’s no similar mechanism for templates and partials. I wish there were.