How can I make content disappear when a user logs in?
You’ll want to use a PHP if statement in combination with is_user_logged_in If you’re editing your header try this: <?php if (!is_user_logged_in()) { ?> // Your social media icons code goes here <?php } ?> The exclamation point before is_user_logged_in() means ‘is not’ in PHP, so your code essentially says, “If the user is not … Read more