Get Post by Slug always returns error
-
get_posts method with post_slug or slug as parameter always return’s error.
Demo.
get_post by id worksThis should give error but return’s first post, when input is any string
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Get Post by Slug always returns error’ is closed to new replies.