Currently posts are created automatically with an importer and I want the user to be able to see their own post. I already have the code to display the personalized post and the button to modify it. But how do I show it in a link in the menu or widget? Thanks!!
-
Do you mean you want a link to an archive of author's posts?– Nour Edin Al-HabalCommented Feb 24, 2019 at 7:10
-
Yes. A link to see the publication that that user created. I only know links where all the publications of authors are seen.– JenniferCommented Feb 24, 2019 at 13:19
Add a comment
|
1 Answer
You can get a list of posts created by each user using /author/{username} Eg : https://www.wpbeginner.com/author/wpbeginner/