Shortcodes in tempates
-
I tried entering the [um_loggedin] and [um_loggedout] shortcodes in a page template (archive.php). They did not work. They simply displayed verbatim.
Then I tried doing this by wrapping the main content of the archive page with do_shortcode(‘[um_loggedin]’) and do_shortcode(‘[/um_loggedin]’), but that – of course – didn’t work.
Can/how can I make the shortcodes work in a page template?
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Shortcodes in tempates’ is closed to new replies.