Ajax in plugin settings page returns 400 Bad Request
damn it! I just found it… my JS says action: ‘bblm_result’ but my PHP function is looking for wp_ajax_bblm_results … there go my 3hours of searching
damn it! I just found it… my JS says action: ‘bblm_result’ but my PHP function is looking for wp_ajax_bblm_results … there go my 3hours of searching
#adminmenu li.menu-top:hover, #adminmenu li.opensub>a.menu-top, #adminmenu li>a.menu-top:focus { position: relative; background-color: #191e23; color: #00b9eb; } Make sure your plugin is using the structure: <li> <- position within admin menu is as a list item, using the <li> tag. <a>LINK</a> <- main link <ul> <- submenu container <li><a>submenu item here</a></li> </ul> </li> ofc dont put anything with … Read more
It would seem that there should be a Gravity Forms in your plugin folder, assuming it’s not part of a theme. You could try installing the latest version of Gravity Forms plugin via Add Plugins, and see if you can then get into editing the forms. There should be an entry on the Settings menu … Read more
Try adding add_theme_support( ‘menus’ ); in functions.php I haven’t taken the time to investigate. I suspect it depends on what theme is being resolved and how the functions.php is setup. also try to disable auto fill form browser. did you register the menu?? if not then add this to your functions.php function my_theme_setup() { register_nav_menus( … Read more
The reason you’re getting an error is because you’ve got multiple functions with the same name. You have two functions called add_img_column() and two called manage_img_column(). You can’t have two functions with the same name in PHP. You don’t even need two functions though. You can hook the same function into multiple hooks. So this … Read more
Well it took me a while, but my solution was to reverse it. Use the custom post the primary admin menu option and then you can add a standard admin page as a submenu by doing the following: $labels = array( ‘name’ => _x( ‘Manage Lists’, ‘mmd_list’ ), ‘singular_name’ => _x( ‘Manage List’, ‘mmd_lists’ ), … Read more
You are almost there! If you check out where the plugin developer is adding this action, you’ll see they are setting a priority of 1000. While the priority of your function is being called at 999. https://plugins.trac.wordpress.org/browser/all-in-one-seo-pack/trunk/aioseop_class.php#L3907 Update your priority to be greater than 1000: add_action( ‘admin_bar_menu’, ‘aldous_remove_items_from_admin_bar’, 1200 ); Overriding function calls with plugins … Read more
WordPress uses jQuery in noConflict() mode, so $ is not available for use in Firebug console. Just use jQuery(‘#wpbody’) instead.
Could possibly be this bug http://core.trac.wordpress.org/ticket/14134 and http://wordpress.org/support/topic/rc32-menus-still-crippled?replies=28 but 17 menu items is very low threshold. Try raising your php memory allocation using FTP: 1) You can edit the memory_limit line in your php.ini (if you have access to that file) to 64M: memory_limit = 64M; 2) If you can’t get to the php.ini file, … Read more
There is no easy to way do this, I answered this question with a code example on WPSE recently, but I cannot find it. Basically what you have to do for sub-menu items ordering is remove them all, then add them in the order you want. So first you have a function to remove them: … Read more