query_posts() Cannot find posts created by plugin.
-
Hi,
I am new to wordpress. I want to fetch the posts created by the plugin from php. I tried to use
query_posts()
, but it only returns the post created by wordpress admin not the third party plugin.The URL for the post I want to find from php:
https://smap.cas.mcmaster.ca/wp-admin/post.php?post=1035&action=edit
The URL for the post that can be returned byquery_posts()
:
https://smap.cas.mcmaster.ca/wp-admin/post.php?post=1005&action=edit
The only difference is the post id. If they are save in the same place, why the query_posts() cannot return the first one?
Thanks a lot!
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘query_posts() Cannot find posts created by plugin.’ is closed to new replies.