Danny+ 1,327 Report post Posted July 1, 2011 HI, I am trying to set up a plain template as mentioned here on how to load a gravityforms powered forum in a modal popup. The guide says it best to use a plain page template, now I basically copied and pasted the one given and it works apart from a small error at the bottom of the page: Warning: call_user_func_array() expects parameter 1 to be a valid callback, first array member is not a valid class name or object in I:xampphtdocswordpress2wp-includesplugin.php on line 395 Now the plain page template is the issue, as when I use the default pagelines page template, there is no error but the thing I need help with, how do I go about getting the same effect as the plain page template minus the error (above)...? Plain Page Template >> Here Thanks Dann Please search our forums, before posting! Share this post Link to post Share on other sites
Danny+ 1,327 Report post Posted July 1, 2011 Ok I've found that if I simply use this, this actually works but could someone with a bit more knowledge of this code, tell me if using this would be OK or would it cuase some errors? <?php /* Template Name: Fancybox Modal */ ?> <body> <?php if (have_posts()) : while (have_posts()) : the_post(); ?> <?php the_content('read more'); ?> <?php endwhile; endif; ?> </body> </html> Please search our forums, before posting! Share this post Link to post Share on other sites
catrina 103 Report post Posted July 1, 2011 You can use it and if there are more errors that occur, post them here. Please read the docs before posting. Please do not private message me unless I ask you to. Designer | Catrina Dulay Founder | Catrina and Mouse Share this post Link to post Share on other sites