Total posts are missing from multiple authors for a post
-
We tried your plugin, so far good for rest api context but now i am stuck with very weird issue.
We have admin and another person as editor role wrote one blog post. Admin already have 7 posts and with this new post it should 8 posts and for the another person it should be 2 post including this one.
But when Click the admin link, it shows 7 posts but the person who has editor role shows 2 posts which is correct but for admin it is supposed to be 8 instead of 7.
For example, if you visit this url: https://prairie-health-blog.vercel.app/what-happens-to-a-medication-once-its-in-my-body/ and click the author link, it shows 7 instead of 8 but if you click Ronald link it shows 2.
Question why admin author is missing 1 post?
Our url:
https://www.prairiehealth.co/blog/wp-json/wp/v2/postsIt seems to me, https://prairie-health-blog.vercel.app/author/admin/ link is using wordpress default user system and that’s why it is showing 7.
But if i go to wordpress dashboard and go to below page then it shows 8:
https://www.prairiehealth.co/blog/wp-admin/edit.php?author_name=adminor even this url:
https://www.prairiehealth.co/blog/wp-admin/edit.php?ppma_author=adminIn my React app, I used WordPress User link, now the question is how can I get this ppma_author=admin or author_name=admin into Rest api so that i can get the correct posts of user?
Any help will be great.
Thank you.
The page I need help with: [log in to see the link]
- The topic ‘Total posts are missing from multiple authors for a post’ is closed to new replies.