How to get post from URL
-
Hi there,
The site I’m working on currently depends on your plugin.
I need to create a function to generate breadcrumbs for Schema but am unable to use any of the standard WordPress methods to get the post ID from a slug generated by the custom permalinks plugin.
Is there any function within the plugin that allows me to do this? Or any other way?
I’m looking for something similar to url_to_postid() that works with your plugin.
Thanks,
Sam
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘How to get post from URL’ is closed to new replies.