Plugin Author
Vova
(@gn_themes)
Hi JC,
the frame shortcode is deprecated. It will continue to work but it’s now hidden in the list.
You can enable the shortcode by adding the following snippet to the end of the functions.php file of your active theme:
add_filter( 'su/data/shortcodes', function( $shortcodes ) {
if ( isset( $shortcodes['frame']['deprecated'] ) ) {
unset( $shortcodes['frame']['deprecated'] );
}
return $shortcodes;
} );
Please note, I do not recommend doing this.
Thanks a lot Vladimir.
What is now your recommendation to include an Amazon iframe affiliate code as I have dozens of posts with this short code included ?
Another short code ?
Plugin Author
Vova
(@gn_themes)
There is no direct alternative yet, but you can give a try to [su_note] or a custom div.
Plugin Author
Vova
(@gn_themes)
Just to clarify:
Please note, I do not recommend doing this.
I do not recommend restoring the shortcode in the Insert shortcode window. But, you are still able to use it. It won’t be removed from the plugin completely.
-
This reply was modified 7 years, 6 months ago by
Vova.
Thanks for this info. Removing the shortcode would mean all my posts in error.
This is not a nice situation.
Is there any reason why the frame code is deprecated ?
Technical issue ?
Plugin Author
Vova
(@gn_themes)
In a nutshell: it was “bad-coded”. I’ll make it much better, someday.
Removing the shortcode would mean all my posts in error. This is not a nice situation.
I totally agree 🙂