I’m trying to create a theme or plugin that will let me add and update links in the post widget. I think the easiest approach would be to include the
website field from the user profile in the post serializer, but I can’t quite get it to work.
I have figured out how to update the post serializer to add simple data, but I can’t figure out how to add data that comes from User object that created the post. I’m also concerned about doing it in a way that triggers a database hit for each user/post.
Are there any existing plugins I should look at for guidance? Or even better, is there a way to add post user data to the post serializer by overriding widgets in a theme component without resorting to a plugin?