首页 > 解决方案 > 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?

标签: phpwordpress

解决方案


推荐阅读