I would like to see how can I make the login modal under the post area to be a pop-up window whenever I click it? Which file and how should I amend it?
Hi pyue6299,
I'm sorry, but I don't follow you. Could you please explain using some screenshots.
Hi pyue6299,
I'm sorry, but I don't follow you. Could you please explain using some screenshots.
Hi team
Please see the screen shot here: https://drive.google.com/open?id=1mZDmMrAind2U9OqBiTnJvcTr_0pRpIWP
The red bracket area is the login button under the post session in my wordpress site. I want this login button to be popped-up after a user click it.
Many thanks!
Patrick
Hi Patrick,
wpDiscuz uses WordPress native (core) https://developer.wordpress.org/reference/functions/wp_loginout /" target="true">wp_loginout function. You need to use the following WordPress hook to do this customization:
apply_filters( 'loginout', $link );
Thanks~
I am not good at adding filters, would please show me a little more detail on how to achieve this?
Dear Patrick,
Please read this support topic it should help you:
https://gvectors.com/forum/how-to-and-troubleshooting/login-link/#post-8441
I just copy and paste the code in that topic, but it can't work?
Hi pyue6299,
I'm really sorry but we have no clue about this. It'd be better to ask some developer to do this customization for you.
I have made it work, thanks.