Display User’s Posts on his BuddyPress Dashboard/Profile in WordPress



I am attempting to display all the posts which a user has written on their buddypress profile page.


So far i’ve tried all sorts codes i found on Stack Exchange but it only gets me posts by all authors or all contributors. I even found a plugin Buddypress home widgets but it requires each user to manually add a “widget” to their profile page listing all their posts. (that’s not good for me, i need an automatic forced listing of all their posts).


My question is simply how can i (with php code) automatically list all posts by a certain user on their profile page. Or with a plugin, but not leaving users the option to add their posts but instead to always show their posts on their profile page.

I’m using wordpress, with buddypress for user profile pages.

Uriel 4 years 2020-03-27T12:51:22-05:00 0 Answers 86 views 0

Leave an answer