Hey,
So I’ve created user profile pages via calling a template through a route. I’m wondering how I can create posts on user profile pages.
What I had in mind is this:
- Create an “All posts” page.
- On user profiles, have a form which creates a child page of “All posts”, with a user field “author”.
- On the user profile, retrieve all posts which have the current user as author.
Is there a better way or is this fine enough?