douchun1948 2015-12-15 11:18
浏览 24

如果有人按下更多按钮,请求登录wordpress,我该怎么办?

i am new to wordpress, now only i started learning wordpress, i developed one website in wordpress using a theme.

in my site i have read more button, now my client asking if some one press read more button it ask for login and after login only the rest of the contents visible to the users.

i dont know how to do it in wordpress.

is theire any plugins available for this or how to develop a code for this

please help me .

Thanks in Advance

  • 写回答

1条回答 默认 最新

  • douhuan4699 2015-12-15 11:27
    关注

    Depends on what kind of login you would need. In the publish settings of a post or page (the box with the publish button in it), you can change the visibility to private, then choose a password one needs to enter to view the contents. All one needs to view the content is this single password, no need for a wordpress user.

    Alternatively, if you require your visitors to have a wordpress user to be able to login and view the content, you could use this plugin: https://wordpress.org/plugins/pagerestrict/

    评论

报告相同问题?

悬赏问题

  • ¥100 set_link_state
  • ¥15 虚幻5 UE美术毛发渲染
  • ¥15 CVRP 图论 物流运输优化
  • ¥15 Tableau online 嵌入ppt失败
  • ¥100 支付宝网页转账系统不识别账号
  • ¥15 基于单片机的靶位控制系统
  • ¥15 真我手机蓝牙传输进度消息被关闭了,怎么打开?(关键词-消息通知)
  • ¥15 装 pytorch 的时候出了好多问题,遇到这种情况怎么处理?
  • ¥20 IOS游览器某宝手机网页版自动立即购买JavaScript脚本
  • ¥15 手机接入宽带网线,如何释放宽带全部速度