> Adminbar Post Menus wordpress plugin resources analysis

Adminbar Post Menus wordpress plugin resources analysis

Download This Plugin
Download Elegant Themes
Name Adminbar Post Menus
Version 0.2
Author Shawn Sandy
Rating 0
Last updated 2013-02-06 05:42:00
Downloads
668
Download Plugins Speed Test plugin for Wordpress

Home page

Delta: 0%

Post page

Delta: 0%
Adminbar Post Menus plugin has no negative impact on PageSpeed score.

Home page PageSpeed score has been degraded by 0%, while Post page PageSpeed score has been degraded by 0%

Adminbar Post Menus plugin added 15 bytes of resources to the Home page and 20 bytes of resources to the sample Post page.

Adminbar Post Menus plugin added 0 new host(s) to the Home page and 0 new host(s) to the sample Post page.

Great! Adminbar Post Menus plugin ads no tables to your Wordpress blog database.

Features

  • Simple and easy to use
  • No complicated options menu(s)
  • Easy to customize in your theme functions
  • Modular
  • Stand Alone (Removed AL.Manager dependency)

Usage

On install post and page menus are automatically created.

To customize your Adminbar Post Menus drop this code in your functions.php file or the now popular way in you own "theme-plugin". Don't forget to modify the post_type array to match your custom post types. More documentation will be coming soon.

/**
 * Customize your Adminbar Post Menus
 *
 */
function apm_menus() {

    //Add a single item to the menu
    Adminbar_Menu::factory()->node_item('item-id', 'http://mysite.com/test-page', 'Menu Title');

    //create an post_type array(post_type, menu_title);
    $post_types  =  array('post' => 'Posts', 'page' => 'Pages','cwp_article' => 'Articles','cwp_faq' => "FAQ(s)");

    Adminbar_PostMenus::factory()->set_post_types($post_types)->create_nodes('test', 'http://mysite.com/test-page', 'Test Page');

    //load and run the class the old way
    AdminbarPostMenus::add_menus()->set_post_types($post_types)->nodes();
}
// run the function on init;

add_action('init', 'apm_menus');

Screenshots

Resources added by plugin to Home page/Post page in kB
Total size of resources for Home page/Post page in kB
Random Theme Tests
Toothpaste screenshot

Toothpaste

by: gpriday

17014
80%
Graphene screenshot

Graphene

by: silverks

908097
91%