How to deal with add_shortcode() function warning occurred because of Visual Composer custom modules?




One of the errors for that my theme was rejected is the following:

WARNING: The theme uses the add_shortcode() function. Custom post-content shortcodes are plugin-territory functionality.

I use add_shortcode() function in my theme to create custom Visual Composer content modules as its as plugin documentation recommend and as many themes author build themes.

How to deal with this warning?


Just ignore it or move that to plugin


I can ignor it but the reviewer not!


Have you got soft rejection because of it since as i last recall it is still not mandatory


I believe you need to add them as a plugin rather than having them in the theme itself.