Risposte nei forum create
-
AutorePost
-
10 Gennaio 2017 alle 18:52 in risposta a: Import youtube vids, use JWplayer in theme only when metabox in admin is filled #1937
Jeroen
PartecipanteHi 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
9 Gennaio 2017 alle 20:36 in risposta a: Import youtube vids, use JWplayer in theme only when metabox in admin is filled #1925Jeroen
PartecipanteSorry 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 6 anni, 5 mesi fa da
Jeroen.
9 Gennaio 2017 alle 19:22 in risposta a: Import youtube vids, use JWplayer in theme only when metabox in admin is filled #1920Jeroen
PartecipanteHi 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 6 anni, 5 mesi fa da
Jeroen.
-
Questa risposta è stata modificata 6 anni, 5 mesi fa da
-
AutorePost