Topic RSS
10:52 pm
Is it possible to place cforms form outside of a wordpress page or post?
I'm developing a website that is using wordpress for a few things, but will mostly be using separate pages outside of wordpress.
Is there specific php code that I can use to include a cform in a page that is not generated by wordpress?
The other option might be to turn my non-wordpress pages into part of wordpress, but I'd rather not mess with the templates if possible.
Thanks!
Version 540
1:19 am
Okay, I found an older post that has some instructions, but I'm getting an error.
I've added:
<script type="text/javascript" src="http://domain.com/wp-content/plugins/contactforms/…..pt>
<?php require('./wp-blog-header.php'); ?>
to the header of the html page and added:
insert_cform('2') ;
?>
To the body of the page.
The form submits, and the email is sent, but I get the following error dsiplayed at the top of the page:
Warning: Cannot modify header information – headers already sent by
(output started at /home/……../form.php:9) in
/home/………/wp-content/plugins/dd-formmailer/dd-formmailer.php
on line 21
1:29 am
Well this has been fun. I found out that the problem was solved by deactivating the dd-formmailer plugin that I had tested a few weeks ago.
Most Users Ever Online: 959
Currently Online:
113 Guest(s)
Currently Browsing this Page:
1 Guest(s)
Top Posters:
tracedef: 43
mores: 21
Gyrus: 20
frozenwaste: 18
asuffredini: 15
photoworks: 14
Member Stats:
Guest Posters: 3548
Members: 1464
Moderators: 3
Admins: 1
Forum Stats:
Groups: 1
Forums: 4
Topics: 5157
Posts: 18386
Newest Members: juredujmovic, dreamkeeper, rajattyagi, wrokaa, lukass
Moderators: Paul (421), cnymike (8), sonika (95)
Administrators: Oliver (6398)
FAQs
Home
Add Reply
Add Topic
Quote
Offline











