选项树未通过WordPress主题检查

时间:2015-08-24 13:27:49

标签: php wordpress themes wordpress-theming wordpress-theme-customize

我在将主题上传到wordpress.org时遇到问题。初始主题检查失败,出现以下错误..

REQUIRED: ot-settings-api.php. Themes should use add_theme_page() for adding admin pages.
Line 99: $theme_check_bs   = 'add_menu_page';
REQUIRED: ot-settings-api.php. Themes should use add_theme_page() for adding admin pages.
Line 100: $theme_check_bs2  = 'add_submenu_page';
REQUIRED: ot-cleanup-api.php. Themes should use add_theme_page() for adding admin pages.
Line 82: $theme_check_bs = 'add_menu_page';

我已将选项树框架集成到我的团队中。但是WordPres.org在问题解决之前不接受。有趣的是我从WordPress目录下载了一些其他主题,它使用了Option Tree,我用Theme Check Plugin进行了测试,但他们都没有通过,所以怎么做他们设法将他们的主题上传到wordpress.org主题目录?如何解决所需问题并成功上传我的主题..

0 个答案:

没有答案