Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not working when embed code is in PHP file #31

Open
cjrobe opened this issue Jul 23, 2019 · 1 comment
Open

Not working when embed code is in PHP file #31

cjrobe opened this issue Jul 23, 2019 · 1 comment

Comments

@cjrobe
Copy link

cjrobe commented Jul 23, 2019

It's working everywhere else on my site. But I can't get it to function with a video embedded through a PHP template file. I used oembed and the [embed] shortcode, both on the linked official Wordpress Embed page, and either the URL of the YouTube is displayed or nothing at all is displayed.

@ironicmoka
Copy link

Same problem here with a custom field inside a loop of videos.
Probably the script fires before the loop outside the while (have_posts()) .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants