There’s a site
function for getting the site, wherever you are. There should be a page
function for getting the current page. This is useful when shortcodes use partial templates as shared code. Currently, you have to pass the Page instance manually as a map entry.
Forgot to check the issues. Thanks. Looks good.
This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.