php - How do I visualize the author's post from the front end?

admin2025-06-02  5

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!!

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!!

Share Improve this question asked Feb 24, 2019 at 5:46 Jennifer Jennifer 177 bronze badges 2
  • Do you mean you want a link to an archive of author's posts? – Nour Edin Al-Habal Commented 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. – Jennifer Commented Feb 24, 2019 at 13:19
Add a comment  | 

1 Answer 1

Reset to default 0

You can get a list of posts created by each user using /author/{username} Eg : https://www.wpbeginner/author/wpbeginner/

转载请注明原文地址:http://conceptsofalgorithm.com/Algorithm/1748871489a314415.html

最新回复(0)