categories - Is there a way to save different data when USER interacts with the same POST?

admin2025-06-05  0

I would like a kind of relationship database without create database because I’m not very confident with it.

So I think about an alternative using Wordpress default features like posts, categories and users.

(I intend to use REST API, to do those actions, it’s okay about that. The problematic is about the save data by user)

So, The idea is USER adds POST to « My Likes CATEGORY.

Each user has his own category even the category is identical (even same ID maybe)

For example ADMINISTRATOR creates a category MY LIKES, but the content of the category is different for each user

Example:

1 - USER1 likes the POST-38, so the post would be added to category named MY LIKES

2 - USER2 likes the POST-38, POST-39 and POST-40 so these post would be added to same category named MY LIKES but which as not the same content a USER1

So In Wordpress admin could see My Likes category and inside ALL interaction : - user1 / post-38 - user2 / post-38 - user2 / post-39 - user2 / post-40

Is there a way to do something like this?

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

最新回复(0)