admin管理员组文章数量:1418410
About 60% of plugins that I install don't show up in my plugins section.
When I install them it says they're installed, and when I click "activate plugin" it says theres no valid header for the plugin. Navigating to the main plugin section in the dashboard the plugin doesn't show up at all, so I can't activate it from the main plugin page either.
What's wrong here. I'm not using the multi-site wordpress, just a standard wordpress installation with buddypress on top.
Thanks
Tom
About 60% of plugins that I install don't show up in my plugins section.
When I install them it says they're installed, and when I click "activate plugin" it says theres no valid header for the plugin. Navigating to the main plugin section in the dashboard the plugin doesn't show up at all, so I can't activate it from the main plugin page either.
What's wrong here. I'm not using the multi-site wordpress, just a standard wordpress installation with buddypress on top.
Thanks
Tom
Share Improve this question asked Apr 20, 2011 at 13:05 Thomas ClaysonThomas Clayson 4651 gold badge7 silver badges17 bronze badges3 Answers
Reset to default 6Download the plugin as a zip, extract and manually upload the folder that immediately parents all the .php files (i.e not a folder that has another folder as its child) into you plugin folder.
Sometimes dev's can zip things within an extra folder, which confuses wordpress.
Per the WordPress Codex on plugin development, on File Headers:
The top of your Plugin's main PHP file must contain a standard Plugin information header. This header lets WordPress recognize that your Plugin exists, add it to the Plugin management screen so it can be activated, load it, and run its functions; without the header, your Plugin will never be activated and will never run. Here is the header format:
<?php /* Plugin Name: Name Of The Plugin Plugin URI: http://URI_Of_Page_Describing_Plugin_and_Updates Description: A brief description of the Plugin. Version: The Plugin's Version Number, e.g.: 1.0 Author: Name Of The Plugin Author Author URI: http://URI_Of_The_Plugin_Author License: A "Slug" license name e.g. GPL2 */ ?>
The minimum information WordPress needs to recognize your Plugin is the Plugin Name line.
If I had to guess, I'd say the problem is that the Plugin Name
header is missing from the top of the plugin's main file. Not knowing what plugins you're using, this is the most complete answer I can give right now.
EDIT
I should add that in order for a file to be checked for headers, it must be a .php
file either in the plugins directory or in a subdirectory of the plugins directory. So, for example, wp-content/plugins/plugin.php
and wp-content/plugins/my-plugin/plugin.php
would be valid, but wp-content/plugins/my-plugin/lib/file.php
would not.
On my Debian installation, the plugins are in /usr/share/wordpress/wp-content/plugins and I needed a symlink before the plugin could be found/activated:
/var/lib/wordpress/wp-content/plugins$ sudo ln -s /usr/share/wordpress/wp-content/plugins/treepress
本文标签: Plugins not showing in dashboardgtplugins section
版权声明:本文标题:Plugins not showing in dashboard->plugins section 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1745273837a2651057.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论