• Using WooCommerce, and ‘Custom Product Tabs for WooComerce’ plugin.

    I try using the short codes under one of those tabs, to display content based on id and username. Neither seem to work. I got the id from wordpress > users > info (form id).

    Example shortcodes I used:
    [O_U user_name=”usernametest”]content goes here now testing[/O_U]
    [O_U user_id=”3530″]Content goes here (user id test)[/O_U]

    Neither work. The shortcode for logged in/logged out users does work though.

    What am I doing wrong?

Viewing 1 replies (of 1 total)
  • eumesmomcl

    (@eumesmomcl)

    sktrees, u need to use “do_shortcode”, like this;
    <?php echo do_shortcode(‘[O_U user_name=USER] content here… [/O_U]’) ?>

Viewing 1 replies (of 1 total)
  • The topic ‘Shortcodes Not working’ is closed to new replies.