not everything is hidden
-
hello.
I have a sidebar text widget containing a line and a shortcode.
This is to been seen on only two pages and only when the user is logged in.
I am using this code in widget logic:
is_page( array(‘profile’,’grocery-list’)) || !is_user_logged_in()
which works great for the shortcode but it doesn’t work for the line.
The line “My Favorite Recipes” is present on every page when not logged in. (https://www.lunchblocks.com/profile/)
I’m probably missing some code here but I just don’t know what to add.Thanks!
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘not everything is hidden’ is closed to new replies.