Hi,
I'm trying to put a form on my 404 page through the PHP function call method, however I cannot get ANYTHING to display.
The code of my 404 page is:
<?php
/**
* @package WordPress
* @subpackage Default_Theme
*/
get_header();
?>
</header>
<!-- header -->
<div class="pagemid <?php sidebaroption($post->ID); ?>">
<div class="topshadow">
<div class="inner">
<div id="mainfull">
<!-- breadcrumb -->
<?php $breadcrumbs=get_post_meta($post->ID, 'breadcrumbs_display', true);
if($breadcrumbs == '') { ?>
<div id="breadcrumbs">
<?php include (TEMPLATEPATH . "/breadcrumb.php"); ?>
</div>
<?php } ?>
<!-- breadcrumb -->
<div class="content">
<h1 class="aligncenter" style="font-size:100px;">Content not found</h1>
<h4 class="aligncenter"><?php _e('<p>We are sorry but the content you are attempting to access was not found on this site.</p><p>If you are looking for your Street Association, please <a href="/" class="dots">visit the homepage</a> and follow the instructions there.</p><p>Other information can be found using the links at the very top of this page.</p><p>If you came to this page from another page of this site or a search engine, please fill in the form below so that we can look into the error.<br />Thank you.</p>','versatile_front')?></h2><?php gravity_form(2, true, true, false, '', false); ?>
<div class="divider"></div>
<!-- content -->
</div>
<!-- main -->
</div>
<!-- inner -->
</div>
</div>
<!-- pagemid -->
<div class="clear"></div>
<?php get_footer(); ?>
The form is definitely active, and shows up fine in posts and pages.
Any help greatly appreciated.
Thanks
Jon