wordpress文本域问题

所以我用主题检查插件从错误中测试了它们, 然后转到文本域问题, 但它返回了空值!这是因为!

REQUIRED: This theme text domain does not match the theme's slug. The text domain used: This theme's correct slug and text-domain is osiris-rathemes./* Theme Name: osiris rathemes Theme URI: https://themeforest.net/user/ra-themes/portfolioa Author: Mohamed Said Author URI: https://themeforest.net/user/ra-themes Description: some dec Version: 1.0 License: GNU General Public License v2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html Text Domain: osiris-rathemesThis theme, like WordPress, is licensed under the GPL. Use it to make something cool, have fun, and share what you've learned with others. */

主题文件夹名称为文本域, style.css为文本域, 且不是空字符串
我想念任何事情吗?
#1【wordpress文本域问题】也许你需要在functions.php文件中加载主题textdomain。你的style.css文件看起来正确, 但是我不知道你的主题插件检查程序在做什么。
function osiris_rathemes_setup() { load_theme_textdomain( 'osiris-rathemes', get_template_directory() . '/languages' ); }add_action( 'after_setup_theme', 'osiris_rathemes_setup' );

    推荐阅读