我爱占星网 我爱占星网
首页
编程
java
php
前端
首页 编程 java php 前端

too long

My goal is to embed three YouTube videos next to each other using the YouTube shortcode as described by Wordress here. https://en.support.wordpress.com/videos/youtube/ Please see these images that show how where I am using the shortcode, the result I am seeing, and for the php I use to execute the shortcode. http://imgur.com/a/YX6pF

Shortcode (copy paste from support.wordpress.com)

[youtube https://www.youtube.com/watch?v=_Oh12ROTQCE ]

PHP

<?php
  if ( have_posts() ) {
    while ( have_posts() ) {
      the_post();
      do_shortcode(the_content());
      } // end while
    } // end if
    ?>

近期文章

  • too long
  • Laravel应用程序不断返回MethodNotAllowdHttpException
  • too long
  • 在Xampp中创建友好的URL
  • 从数据库中获取数据时,Array_push()在while循环中不起作用
  • 通过Web服务器远程访问远程IP地址主页
  • wordpress迁移问题内页无法正常工作
  • 在生产环境中获取错误,在localhost中正常运行[重复]
  • too long
  • PHP重定向不显示重定向到的页面内容
  • 将数据插入到mysql数据库中
  • 流明 - 基于非令牌的身份验证?
  • JQuery通过类提交表单发送动态数据问题
  • too long
  • 在laravel 5.4中从空值创建默认对象
  • 如何为ACF库创建自己的自定义图像大小
  • Codeigniter上的site_url在托管时不起作用
  • Xampp php_zmq.dll无法加载
  • 使用显示MySQL图像的弹出窗口中的向后/向前按钮进行导航?
  • 如何制作随机坐标编号?

Copyright ©2022 我爱占星 All Rights Reserved.

浙ICP备2022030071号-1

部分图文来自网络,如有侵犯您的版权,请告诉我们删除

友情链接:代码精华