button visibility to logged user only wordpress code example
Example: show button if logged wp
.button-class {display: none;}
.logged-in .button-class {display: block;}
.button-class {display: none;}
.logged-in .button-class {display: block;}