Entering shortcode in categories and text widgets

by

Home Forums JW Player 7 for WordPress Entering shortcode in categories and text widgets

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #1236
    JordanE
    Participant

    Hey, I love your app.

    I am currently trying to get it to run a shortcode inside of a text widget wzy, nothing is showing up. I added the <?php echo do_shortcode(‘[jw7-video]’); ?> to the bottom of the single.php file, but I can’t seem to get it to show up?

    Thanks,
    J

    #1241
    ilGhera
    Keymaster

    Hi JordanE, happy that you like my product!
    Add the code <?php echo do_shortcode('[jw7-video]'); ?> to the single.php file must work.
    Please, double check your code and let me know, ok?
    Thanks.

    • This reply was modified 6 years, 11 months ago by ilGhera.
    • This reply was modified 6 years, 11 months ago by ilGhera.
    #1246
    JordanE
    Participant

    Unfortunately no, it didn’t work. I added it above the footer call.

    #1247
    ilGhera
    Keymaster

    That’s the problem, you have to do it inside the loop.
    Please, try and let me know.

    #1248
    JordanE
    Participant

    Does it need to be the pro version for it to work? I the theme I am using is making it difficult to decipher where to place the add_shortcode line.

    #1249
    ilGhera
    Keymaster

    You can use this php function and the shortcode in both cases, with the free and premium plugin.

    #1257
    JordanE
    Participant

    Got it to work, thanks!

    #1258
    ilGhera
    Keymaster

    You’re welcome 😉

Viewing 8 posts - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.