TGM-Plugin-Activation text-domain Warning


#1

I got a soft reject with this comment:
“The theme uses the add_shortcode() function. Custom post-content shortcodes are plugin-territory functionality.”

I tried to use “TGM-Plugin-Activation” but theme checker gives another error:
“Warning: More than one text-domain is being used in this theme. This means the theme will not be compatible with WordPress.org language packs. The domains found are xxx, tgmpa”.

I downloaded a fresh copy of TGMPA using the Custom Generator and wrote my textdomain but “class-tgm-plugin-activation.php” no matter contains “tgmpa”.


#2

It shouldn’t matter imho but just update all instances of tgmpa to your text-domain and then copy the tgmpa pot file contents to your pot file (if you have one)

The shortcode part, all shortcodes should be in a plugin that your users install with the theme, call it something like themename Core or something similar so they know what it is.


#3

I used “WordPress.org” below and it works fine :slight_smile:


#4

Thanks for your replies. Yes with “WordPress.org” it works :slight_smile: