• sebuser

    (@sebuser)


    I’ve been using a custom shortcode, which I am adding via my functions.php file, in a contact form 7 form for over half a year, and it suddenly is not working anymore, without me having made any changes. Rather than being included in the form as html, I see now [custom_shortcode] on the page. I’ve checked whether this custom shortcode is displayed correctly in other pages on my WordPress website, and it is, so it has to do with Contact Form 7.

    I am using WordPress 6.2.2 and a custom child theme based on Twenty-TwentyTwo.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter sebuser

    (@sebuser)

    More info: I’ve deactivated all other plugins, the error still persists. So this seems to be caused by Contact Form 7 on its own. I’ve also added a very simple shortcode to test whether it’s about my specific shortcode, but this one also didn’t work with a CF7 form

    Thread Starter sebuser

    (@sebuser)

    More info: This is related to the WP version. It’s still working at 6.2, but starts breaking from 6.2.1 onwards

    Thread Starter sebuser

    (@sebuser)

    I assume this is related to this issue with WP 6.2.1: https://core.trac.ww.wp.xz.cn/ticket/58333

    Unfortunately, the fix in WP 6.2.2 seems not have fixed the issue for CF7 though.

    Plugin Author Takayuki Miyoshi

    (@takayukister)

    Where can we see the website in question?

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Custom shortcodes not working anymore’ is closed to new replies.