oEmbed does not work
-
Hi Adam,
First, thank you so much for your powerful plugin.
I’m encountering a problem on
single-job_listing.php
template where the_content does not converts any oEmbed link like YouTube or Twitter.Here is a test page as an example with youtube and twitter links:
http://www.happytomeetyou.fr/poste/test/You’ll notice that
the_company_video()
function is working normally, so it’s not a problem from the embedded websites like YouTube.I isolated WP Job Manager as the source of the problem. Here are some of the checkings I already did (not successfully of course):
– Checked if oembed links are working normally on Posts or Pages
– Tried [embed]youtube link[/embed] on content editor ‘Text’ mode
– Tried <p>youtube link</p> on content editor ‘Text’ mode
– Activated another theme (Twenty Fifteen) in order to ensure that premium theme (Kreate by Elated) & child theme I’m using are not involved
– Deactivated other plugins (one by one) except WP Job Manager of course, since job-listing is a custom post dependance
– Useecho the_content();
instead ofecho apply_filters( 'the_job_description', get_the_content() ) );
in the customized template
– Display the content in a minimalistsingle-job_listing.php
template with onlyget_header();
/ the loop /get_footer();
– Activate/deactivate WP Job Manager settings one by one
– Reinstall WP Job Manager from WP.org
– Check test page on Chrome AND Firefox (sometimes Chrome encounters an issue with YouTube that requires ChromeCast extension).I’m really stuck with this one and I’m pretty sure this is a content filtering issue on job_listing custom post.
Thank you for your kind consideration and your help.
-
Hi there!
You’re correct: oEmbeds aren’t processed at the moment. I’ve filed an issue for this on GitHub now though:
https://github.com/Automattic/WP-Job-Manager/issues/630
… so follow along there as we work on it. 🙂
Thanks!
Thank you for your quick answer! And for scheduling a fix in a potential next release.
I will surely check the next changes on the plugin. I would like to help fixing this issue but I’m pretty sure I don’t have a sufficient level of knowledge about content filter processing.
- The topic ‘oEmbed does not work’ is closed to new replies.