Shortcodes in WordPress 5.0+
-
Before WordPress 5.0, we could add a custom shortcode by inserting the shortcode text ( for example: [mycustomshortcode] ) directly into the page/post. However, when I try to do the same now and add the shortcode to a page, the page does not get published and shows an error ‘Publishing failed’. I tried to use the WordPress Classic block and insert the shortcode in it with the same results. Interestingly, the shortcode is rendered properly when the page/post is viewed. Are there any further steps to be followed to make the custom shortcodes compatible with WordPress 5.0+ versions?
-
Hi there,
Looks like you’re in the wrong forum. It appears that you’re using the open source WordPress.org software and you need to seek help at these forums:
https://wordpress.org/support/forums/
These forums are for WordPress.com hosted sites only. If you want to know more about the differences between WordPress.com and WordPress.org you can read this document:
-
- The topic ‘Shortcodes in WordPress 5.0+’ is closed to new replies.