gpt4 book ai didi

WordPress - 帖子仅对特定用户可见

转载 作者:行者123 更新时间:2023-12-03 05:00:54 26 4
gpt4 key购买 nike

是否有任何插件可以让我以这种方式设置网站?基于 Wordpress 的网站的用户 A 只能查看帖子#1。用户 B 只能查看帖子 #2 和 #3。用户 C 只能查看帖子 #1 和 #3。用户D可以查看所有帖子。

每个用户均由管理员手动注册,管理员将向客户端提供用户名和密码,并手动选择每个用户可以查看的帖子。

谢谢。

最佳答案

很确定类似 This会做你需要的。

User Specific Content

By Bainternet

This Plugin allows you to select specific users by user name, or by role name who can view a specific post content or page content.

Basically it adds a meta box to the post or page edit screen and lets the user select specific users by name or roles and then when you call that page content using “the_content();” function it check using “the_content” filter if the current user is one of the users you have selected or if his role match’s the roles you have selected and shows the content, otherwise it displays a message

关于WordPress - 帖子仅对特定用户可见,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/12843744/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com