示例WordPress插件标题未在管理面板中显示我的插件

huangapple go评论46阅读模式
英文:

smaple wordpress plugin header not showing my plugin in admin panel

问题

/*

  • 插件名称:示例插件
  • 描述:创建示例插件
  • 作者:rafael
  • 版本:1.0.0
    */
英文:

Hi i want create wordpress plugin and create smaple plugin
my plugin start by comment but my plugin not show in wordpress admin panel (wp-admin/plugins.php)
my comment is :

/*
* Plugin Name : smaple_plugin
* Description : create smaple plugin
* Author : rafael
* version : 1.0.0
*/

please help me

答案1

得分: 0

我遇到过这个问题。
只需删除每个注释标题(Plugin Name,Description,...)后面的空格并测试此代码。

/*
* Plugin Name: smaple_plugin
* Description: create smaple plugin
* Author: rafael
* version: 1.0.0
*/
英文:

oh I had this problem .
It is easy only remove space after each comment title( Plugin Name , Description , ... ) and test this

/*
* Plugin Name: smaple_plugin
* Description: create smaple plugin
* Author: rafael
* version: 1.0.0
*/

huangapple
  • 本文由 发表于 2023年7月17日 18:51:06
  • 转载请务必保留本文链接:https://go.coder-hub.com/76703732.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定