wp-api-react icon indicating copy to clipboard operation
wp-api-react copied to clipboard

Getting page slug dynamically

Open virgiliud opened this issue 7 years ago • 0 comments

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?

virgiliud avatar Jul 29 '18 16:07 virgiliud