Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Double output of everything in "Contact Form" field #150

Open
BayaroX opened this issue Jul 15, 2020 · 0 comments
Open

Double output of everything in "Contact Form" field #150

BayaroX opened this issue Jul 15, 2020 · 0 comments

Comments

@BayaroX
Copy link

BayaroX commented Jul 15, 2020

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant