Quantcast
Channel: WordPress.org Forums » [Contact Form 7] Support
Viewing all articles
Browse latest Browse all 49500

omcg33 on "[Plugin: Contact Form 7] fancybox2 and contact form issue"

$
0
0

I have a little problem with your plugin. I need to output your form in fancybox2 window. Fancybox2 requred the id for getting content. But you get form id from id post and some one else(I dont know).

I solved this problem by replase string
$form = '<div class="wpcf7" id="' . $this->unit_tag . '">';

on

$form = '<div class="wpcf7" id="' . $this->title . '">';

And now I can give stable id for form.

Maybe some one have another way?

http://wordpress.org/extend/plugins/contact-form-7/


Viewing all articles
Browse latest Browse all 49500

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>