最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

How can I use an iframe element as my header media?

programmeradmin1浏览0评论

I am currently using the twenty-seventeen theme, which allows me to display a youtube video on the homepage and images on other pages.

Instead of a youtube video, I wish to display an iframe on the homepage in the header media. In WordPress' customise header menu I only have the option of entering a YouTube video url, or selecting an image

I have used the inspect element feature on my browser to replace the youtube video with the iframe in my browser and it looks perfect - how can I achieve this in the WordPress editor?

On Google, I've seen some vague posts about editing the theme etc, but nothing specific to what I'm trying to achieve. I'm happy to edit the PHP files but I'd need some pointers in the right direction, as I can't see anything useful in header.php.

发布评论

评论列表(0)

  1. 暂无评论