Skip Navigation

This thread is resolved. Here is a description of the problem and solution.

Problem:
You are using the WPML Multilingual CMS plugin along with Contact Form 7 on your development site. You've noticed that the form name bar and shortcode for embedding the form do not appear when WPML is enabled.
Solution:
We recommend updating to the latest version of CF7 Multilingual, which is 1.3.2. This update addresses the issue with the form name bar and shortcode not appearing. If this solution does not resolve your issue or seems outdated, please check the related known issues, verify the version of the permanent fix, and confirm that you have installed the latest versions of themes and plugins. If the problem persists, we highly recommend opening a new support ticket for further assistance. You can do so at the WPML support forum.

This is the technical support forum for WPML - the multilingual WordPress plugin.

Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.

Tagged: ,

This topic contains 1 reply, has 2 voices.

Last updated by Itamar 1 month, 1 week ago.

Assisted by: Itamar.

Author Posts
November 4, 2024 at 1:36 pm #16361270

Kinga Janecka-Kępa

Background of the issue:
I am using the WPML Multilingual CMS plugin to display pages in different languages on a site under development. I am also using Contact Form 7.

Symptoms:
The WPML Multilingual CMS plugin causes the form name bar and shortcode for pasting the form directly into the page to not show up. Everything works fine only after disabling the plugin.

Questions:
How can I fix the issue with the form name bar and shortcode not showing up when WPML is enabled?

November 4, 2024 at 2:43 pm #16361719

Itamar
Supporter

Languages: English (English ) Hebrew (עברית )

Timezone: Asia/Jerusalem (GMT+02:00)

Hi,

Please try the following suggestion.

We suspect a collision with the theme or another plugin might cause this problem. If possible, get your site into a minimum environment, switching to a default WordPress theme like TwentyTwenty-Four and having no plugins activated except WPML.

First, you must check if the problem persists when just the theme is switched to TwentyTwenty-Four (for example). If it persists, deactivate all plugins except WPML and its add-ons and Contact Form 7 (without extensions). Then, please check if the problem persists. If it does not continue, start by activating the plugins individually and checking when the issue comes back, then report to me which plugin was the culprit.

**** Important! Please make a full site backup (files and DB) before you proceed with those steps****

*** If your site is live, you might want to try those procedures in a staging environment or a snapshot of your site on your local server or another server. ***

If you need further help, please reply to this ticket.

Regards,
Itamar.

November 17, 2024 at 5:27 pm #16411996

Itamar
Supporter

Languages: English (English ) Hebrew (עברית )

Timezone: Asia/Jerusalem (GMT+02:00)

Hi,

We've had a similar report. This looks like a possible bug; please try this workaround while our team is investigating this.

1. Go to plugins-> deactivate Contact Form 7 Multilingual
2. Edit the Contact Form
3. Change the title and update
4. Re-activate Contact Form 7 ML

Regards,
Itamar.

November 20, 2024 at 7:22 am #16422385

Itamar
Supporter

Languages: English (English ) Hebrew (עברית )

Timezone: Asia/Jerusalem (GMT+02:00)

Hi,

Our second-tier supporter has provided a workaround for this issue. Please try it and tell us if it is working.

1. Take a backup of your site in case something goes wrong.

2. With a code editor, open .../wp-content/plugins/contact-form-7-multilingual/classes/language-metabox.php file.

3. Look for line 72.

Replace

</div>

<div class="postbox">

with:

</section>

<section class="postbox">

4. Save the file.

This should fix the problem.


**** Important! Please make a full site backup (files and DB) before you proceed with those steps****

Regards,
Itamar.

December 8, 2024 at 3:04 pm #16490004

Itamar
Supporter

Languages: English (English ) Hebrew (עברית )

Timezone: Asia/Jerusalem (GMT+02:00)

Hi,

This issue has been fixed with the latest version of CF7 Multilingual - 1.3.2.
We're closing this ticket.
Don't hesitate to contact us again with any WPML issues or questions.

Regards,
Itamar.