Change plugin name on WordPress repo

You can change the name of your plugin, you just can’t change the url slug of your plugin. Meaning, if you initially added a plugin to the repo and it was called “Posts With Ad Thumbnails” your url would be: https://wordpress.org/plugins/posts-with-ad-thumbnails/ After uploading your plugin, if you decide to change the name just edit your … Read more

How to use my menu PHP code as sidebar?

wp_nav_menu is a standard WordPress function, so you would just copy/paste that PHP code into sidebar.php using whatever additional arguments you need. However, since the theme has a sidebar.php it probably has widget areas, so I would look in Appearance > Widgets in the dashboard and look for a sidebar widget area. In there, I … Read more

My WordPress website was hacked [closed]

It’s good that you’ve regained access to your website, but without any further action, you’ll get hacked again. These are steps to take, in order to clean, and secure your site: do not panic ( very important ) do not remove anything yourself install and activate WordFence Security plugin in Wordfence -> Options, select everything … Read more

Check if SEO plugin installed

Hi @Liam:, What you are going to need to do is create a list of the top SEO plugins and themes and then document how each implements meta and develop a strategy for each. And/or maybe you can ask your users upon activation if they are using an SEO plugin much like Akismet asks users … Read more

Add menu page issues (permissions & position)

you can do something like: // create your own page add_menu_page(‘my-page’, ‘My Page’, ‘My Page’, ‘parent-slug’, ‘my_plugin_options’, ”, ’10’); // create the subpage under my-page add_submenu_page(‘parent-slug’, ‘Sidebars’, ‘Sidebars’, ‘manage_options’, __FILE__, array(‘sidebar_generator’,’admin_page’)); Note that the last parameter on add_menu_page is a 10. The higher the number the lower the position of the menu item. HTH

Change the display of Settings API (do_settings_sections)

There are no hooks to modify the output of do_settings_sections(). Hence the only option you have is to write custom versions of the functions do_settings_sections() and do_settings_fields(). They are located in /wp-admin/includes/template.php, lines 1159-1174 and 1190-1207 (wordpress version 3.2.1), respectively (do not modify them there). You could (not saying it is necessarily advisable, consider compatibility … Read more