Shortcode showing as shortcode in front end
-
When we create the CF7 Apps > hCaptcha shortcode and insert it into the form, in the live site it just shows up as a shortcode

-
Hi @luminrach ,
I hope you’re doing well.
Thanks for reaching out to the Support Team. I am glad to assist you today.
Thank you for sharing the details. I’ve checked the shortcode, and the reason it’s showing as plain text on the site is that Contact Form 7 doesn’t support certain special characters within its shortcode syntax. When any of these characters are included, CF7 can’t parse the tag correctly and just displays it as text instead.
The following characters are not supported in Contact Form 7 form tags or attributes:
( ) , [ ] < > ' "To fix this, please remove any of the above characters from the shortcode. For example:
[cf7apps_hcaptcha cf7apps_hcaptcha-443 invalid-message:CAPTCHA-validation-failed-please-try-again size:normal theme:light]Once updated, the hCaptcha should appear and function correctly on the live form.
Please give it a try and let me know if you need any help adjusting it further.
Best regards,
Muhammad Usama Azad
WP Experts Support Team.Hi @luminrach ,
I hope this message finds you well.
We’re following up regarding our last message, as we haven’t heard back from you yet. If you have any questions or concerns, please don’t hesitate to reach out. we’re here to assist you.
Looking forward to your response.
BBest regards,
Muhammad Usama Azad
WP Experts Support TeamYour response is very generic and I did not have any special characters in the short code, in fact the code generated is faulty by your plugin. as you can see in the image the verbiage for the invalid-message is the issue as it duplicates the “invalid-message:” parameter and breaks up the entire text so:
invalid-message:Please try again
becomes:
invalid-message:Please invalid-message:try invalid-message:again
This is clearly a glitch / the fault of your software’s CF7 popup when you click the short code. As exampled in this other support ticket https://wordpress.org/support/topic/shortcode-visible/ by @webmark487
@luminrach It may help to share your form definition in a code block, so that it can be carefully checked. Shortcodes are a core WP feature, and the thread you’ve provided is inconclusive.
Hi @luminrach ,
I hope you’re doing well.
I think there might be a little misunderstanding here. In your shortcode, you’re using a comma ( , ) right after the word “failed”. I’ve attached a screenshot of your reCAPTCHA message for reference:
I’ve also recorded a screencast video showing exactly why it’s not working and how removing the comma after “failed” fixes the issue:
When the reCAPTCHA is left empty, the error message should appear like this — please see the attached screenshot:
I hope this helps clarify what’s happening. Looking forward to hearing your feedback!
Best regards,
Muhammad Usama Azad
WP Experts Support TeamHi @luminrach ,
I hope this message finds you well.
We’re following up regarding our last message, as we haven’t heard back from you yet. If you have any questions or concerns, please don’t hesitate to reach out. we’re here to assist you.
Looking forward to your response.
Best regards,
Muhammad Usama Azad
WP Experts Support TeamHi @luminrach ,
I hope this message finds you well.
Just following up on our last message since we haven’t heard back from you yet. If you have any questions or need any further assistance, please don’t hesitate to reach out. We’re here to help.
Looking forward to hearing from you soon.
Best regards,
Muhammad Usama Azad
WP Experts Support TeamHi @luminrach ,
I hope you are doing well,
We are marking this thread as resolved due to inactivity. If you encounter any further issues, please feel free to open a new thread.
Have a great day!
You must be logged in to reply to this topic.