admin管理员组文章数量:1130349
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?
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?
本文标签: categoriesIs there a way to save different data when USER interacts with the same POST
版权声明:本文标题:categories - Is there a way to save different data when USER interacts with the same POST? 内容由热心网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:https://it.en369.cn/questions/1749054358a2309075.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。


发表评论