Having trouble creating two shortcodes, one for logged in user and one for visitors
The code exactly as you put it in your question works fine for me and does exactly what you suggested. To make it work I had to make sure my WP post editor was in code editor mode as HTML or Visual Editor may create extra problems: And this is what my test code in … Read more