wp-api-react
wp-api-react copied to clipboard
Getting page slug dynamically
When visiting a slug without a page template/component, no content is shown. (e.g. site.com/my-custom-page) How can we get page specific data dynamically without creating a page component and manually providing current page slug?