如何在WordPress中制作框架? [英] How to make a frame in WordPress?

查看:96
本文介绍了如何在WordPress中制作框架?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要对我的网站进行更新,我的网站管理员已经擅离改变了。我对WordPress完全不熟悉,而且由于技术上很熟练,我想自己,我找不到如何在引用另一个URL的页面上创建一个框架。我的网站上还有其他几个页面具有相似的框架,但这些页面的代码似乎完全是空的。诀窍是什么?

I need to make an update to my website, and my webmaster has gone AWOL. I'm totally unfamiliar with WordPress, and as technically proficient as I like to think of myself, I cannot find how to make a frame on a page that refers to another URL. There are several other pages on my site that have similar frames, but the code for those pages appears to be totally empty. What's the trick?

要求:页面 my_page 需要嵌入一个指向的框架http://mysite.com

Requirement: page my_page needs to embed a frame that points at http://mysite.com.

推荐答案

在页面或帖子编辑器中,您需要切换到 html标签并插入这样的代码,在它需要出现的页面中: -

In the page or post editor you need to switch to the html tab and insert code like this, at the point in the page it needs to appear:-

<iframe src="http://google.com" name="test" height="120" width="600">You need a Frames Capable browser to view this content.</iframe>

用页面替换 src 的值你想根据需要加载和调整 height width

Replace the value of src with the page you want to load and adjust height and width to your needs.

这篇关于如何在WordPress中制作框架?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆