show button if logged wp code example Example: show button if logged wp .button-class {display: none;} .logged-in .button-class {display: block;}