Entering shortcode in categories and text widgets

da

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

Stai vedendo 8 articoli - dal 1 a 8 (di 8 totali)
  • Autore
    Articoli
  • #1236
    JordanE
    Partecipante

    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
    Amministratore del forum

    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.

    • Questa risposta è stata modificata 6 anni, 11 mesi fa da ilGhera.
    • Questa risposta è stata modificata 6 anni, 11 mesi fa da ilGhera.
    #1246
    JordanE
    Partecipante

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

    #1247
    ilGhera
    Amministratore del forum

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

    #1248
    JordanE
    Partecipante

    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
    Amministratore del forum

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

    #1257
    JordanE
    Partecipante

    Got it to work, thanks!

    #1258
    ilGhera
    Amministratore del forum

    You’re welcome 😉

Stai vedendo 8 articoli - dal 1 a 8 (di 8 totali)
  • Devi essere connesso per rispondere a questo topic.