Modify text in a text widget?
-
Hi, can Widget Logic be used to modify the text (a shortcode with options) in a WP Text Widget?
Basically I want a text widget to contain [calendar category=”1,2,3″] if user is admin, and [calendar category=”1″] if user is NOT admin
I guess I could set up TWO text widgets and use is_admin() in one text widget and !is_admin() in the other, but would be nice to do it in one go!
Thanks
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Modify text in a text widget?’ is closed to new replies.