I need to call a wordpress plugin shortcode to a different html page, this html page is not in wordpress pages or posts.

I need to call my quform form to a seperate html page; I have tried the following:

added the html file to the wp-content folder
added the php code to call

<?php if (function_exists('iphorm')) echo do_shortcode( '[iphorm id="2" name="Contacts"]');  ?>

It does nothing, no output of any sort.

So how can I call wordpress plugin functions and their shortcodes to a html page file.

Thanks

3 Spice ups

I guess I need to include or call wordpress functions by loading wp-load.php

But where to add the following code in the HTML page:

<?php require( '../wp-content/wp-load.php' );  ?> 

OK, got it done,

but had to convert the file type from .html to php to make it work.

So we need to create a php file and then echo the html contents.

This is my test.php page which is not in the wordpress folder with the following code:

<?php
require( '../wp-load.php' );

echo '
<html xmlns="http://www.w3.org/1999/xhtml"><head>
<meta http-equiv="Content-Type" content="text/html; charset="utf-8">
</head>

<body>
COntent';
?>
<?php echo do_shortcode(' [iphorm id="2" name="Contacts"] </body></html>
'); ?>

So calling wp-load from the htdocs directory and saving the file as .php at teh root directory but not included in the wp-content folder.