holden321
Forum Replies Created
-
Thank you!!!
I am stupid man, I thought get_footer and wp_footer are the same functions.
Thank you very much!Now, there is no admin’s panel and no scripts from plugins. (I am saying this for the third time, by the way:)
It is my own theme) I just added get_footer() to index.php to show user’s panel and scripts of plugins.
Forum: Hacks
In reply to: Get random post which has featured imageThank you!
Forum: Themes and Templates
In reply to: Add submenuThank you!
My current error is ‘Super Admin’ in add_submenu_page
it should be ‘manage_options’Forum: Plugins
In reply to: [Attachments] [Plugin: Attachments] remove warning in WP debug modechanging
8 to ‘administrator’
fixed the problem 🙂Forum: Plugins
In reply to: [Attachments] [Plugin: Attachments] remove warning in WP debug modeI noticed that when string #108 of
plugins/attachments/attachments.php
is removed, then the notice disappearsadd_options_page(‘Settings’, ‘Attachments’, 8, __FILE__, ‘attachments_options’);
but there is no options on the options’ page of the plugin
so maybe it’s nothing wrong to remove this stringForum: Plugins
In reply to: [Attachments] [Plugin: Attachments] remove warning in WP debug modehow about warning
Notice: has_cap was called with an argument that is deprecated since version 2.0! Usage of user levels by plugins and themes is deprecated. Use roles and capabilities instead. in ..\wp-includes\functions.php on line 3387