Hi. With the Studio theme, I use the Feature areas to display marketing information.
At present, the Feature content is displayed for both (non-logged in) visitors, and logged in users.
I’d like to restrict the Feature content to non logged in visitors.
In feature-content.php, and feature-section.php, I have wrapped the HTML code in a PHP is_user_logged_in IF loop:
I have uploaded these changes, and the Feature content still displays when I am logged in.
Any ideas why this isn’t working? The PHP code is correctly formatted. I have used the same function on other WordPress sites without issue.