Site logo

Archived topic

Show button when only loged in.

3 replies · Started by Jusung on February 20, 2023

Viewing posts 1–4 of 4

Hello.

On the link, I have made 2 buttons.
I just need to understand this function.

when Loged in, I only wanna show Button A
and
when Loged out, I only wanna show Button B.

Is there a way to make this?

On the menu, I am using this function cuz wp-member allows me to do this very easily on the menu.
Am I supposed to use php code to make this work?

Hi there,

if you're using a Block Element ( or Hook element ) to add those, then edit the Display Rules -> User, there you can set Logged In or Logged Out

So, I have to create 2 elements. right?
and show 1 elements when loged in
and show 1 elements when loged out.

Is there a way to make this in one element?

This archived topic is closed to new replies.