onepager
onepager copied to clipboard
Double output of everything in "Contact Form" field
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