php - Display login popup to users in wordpress on "Read more" click in posts
问题描述
I am pretty much new to wordpress. In my posts I have a "read more" anchor tag which I have included as part of the post content . If the user clicks that and if they are not logged in yet , I want to show them a popup which displays the usual wordpress login form. I found no way to figure out whether the user is logged in or not at the client side or in the edit post window.
How to solve this?
解决方案
推荐阅读
- python-3.x - How can I change the size of the second ax in ordinate?
- php - 设置 cookie 过期时间:“time()-3600”是否总是正确的?
- linux - automatic dimming keyboard backlight in linux
- swift - How can I access property of instance already created
- c++ - Number of possible arrays such that adjacent elements have difference atmost 1
- angular - 为什么我在 GCP 的代码中不能使用 isDevMode()
- python - Does setting a unique_together cause droping of duplicates upon migration?
- windows - 如何在 Dockerfile 中 CMD Powershell 脚本
- php - PHP字符串表达式错误:这里发生了什么?
- sql - INNER JOIN 中的 VARCHAR 参数不起作用,而同一个表的 INT 参数正在工作