Jeroen

Risposte nei forum create

Stai visualizzando 3 post - dal 1 a 3 (di 3 totali)
  • Autore
    Post
  • Jeroen
    Partecipante

    Hi ilGerha,

    Thanks for the info, it’s working. Thanks again for the great support and tips.

    Will recommend your plugin to others for sure!

    Kind regards,

    Jeroen

    Jeroen
    Partecipante

    Sorry the php code is no show correct when i post it on the forum here. So i make a image of it.

    (image tag in this forum seems like not working also, can i send info in another way?)

    My question is how to get the post id of the current post in the shortcode between p=”POST_ID”. i Think (hope) it will work then.

    Hope it’s clear now, i you want to have any further information or site/FTP access please let me know.

    Thanks,

    Jeroen

    • Questa risposta è stata modificata 7 anni, 6 mesi fa da Jeroen.
    Jeroen
    Partecipante

    Hi ilGhera,

    Thanks, when i use the code below it works (it doens’t show the featured image, which is correct because the ‘_jwpp-vifeo-url-1’ is filled). Now i can’t get the shortcode to work.

    <?php if (get_post_meta(get_the_ID(), ‘_jwppp-video-url-1’, true)) { ?>

    How can i get the Post id IN the shortcode so the correct video is shown? I’ve tried the code below but it doesn’t show the player:

    <?php echo do_shortcode(‘[jw7-video p=”. get_the_ID() .”]’); ?>

    I think above code is not correct, can you tll me how to get the post id in the shortcode?

    When i use the shortcode ([jw7-video p=”67127″]) in the content of the post the player is shown.

    You can see a example here (it’s the post i’m testing on right now): https://edmfacts.com/releases/armin-van-buuren-garibay-need-feat-olaf-blackwood/

    Hope you can help me further.

    Kind regards,

    Jeroen

    • Questa risposta è stata modificata 7 anni, 6 mesi fa da Jeroen.
Stai visualizzando 3 post - dal 1 a 3 (di 3 totali)