Tag Info

New answers tagged

1

I'm not quite sure if you need a dedicated page or a true archive page for this, but here is the two options If you need a dedicated page to display video post formats, you can make use of a custom query with a tax_query as post_format is just another build in taxonomy with post-format-video being a term to the post_format taxonomy. Your query on your page ...


0

Hi this may be a solution to your problem. Instead of putting: <?php echo $embedUrl; ?> Put it like this: <?php echo substr($embedUrl, 0, 11); ?> it will echo only the 11 character code after the v= of the extracted Youtube link on the video post content. I have tested it myself and came with this solution. Hope this helps!



Top 50 recent answers are included