WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have two pages to embed within my WP site.

Both contain data from an external site which runs our events management database. This data is presented on two pages - one for catering menus offered to our customers, the other is an inquiry/contact form.

Two page links are given for embedding into my site. The information submitted by the customer on either page is collected onto our database within the third party site.

Is this possible?

share|improve this question

You could simply iframe the content into your pages?

<iframe src="http://www.w3schools.com"></iframe> 

Some more info on iframe params are here: http://www.w3schools.com/tags/tag_iframe.asp

Otherwise a nicer alternative might be to show the external pages via a modal window (which is still essentially an iframe).

You could try Fancybox (http://fancyapps.com/fancybox/#examples), there are iframe examples and code on the page, but it's quite simple, once you've included the relevant files you just use

<a class="various" data-fancybox-type="iframe" href="/demo/iframe.html">Iframe</a>

Then the JS would look like:

$(document).ready(function() {
    maxWidth    : 800,
    maxHeight   : 600,
    fitToView   : false,
    width       : '70%',
    height      : '70%',
    autoSize    : false,
    closeClick  : false,
    openEffect  : 'none',
    closeEffect : 'none'


share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.