onepager icon indicating copy to clipboard operation
onepager copied to clipboard

Double output of everything in "Contact Form" field

Open BayaroX opened this issue 3 years ago • 0 comments

For example, if you write an "x" in the field "CONTACT FORM SHORTCODE", then "x x" is output on the page. If you enter a shortcode code from a contact form, this will also be displayed twice on the page.

The reason is that in "/tx-onepager/blocks/contacts/contact-1/view.php" an "echo" was forgotten (possibly for debugging reasons). The code that must be removed to eliminate duplicate output is in line 90: <?php echo do_shortcode( $contents['form'] ); ?>

As far as I know, the problem came with OnePager version 2.4.0 and is still present in version 2.4.1.

Kind regards, Chris

BayaroX avatar Jul 15 '20 18:07 BayaroX