'Widget/Widget.php', 'Advanced_Sidebar_Menu_Widget_Page' => 'Widget/Page.php', 'Advanced_Sidebar_Menu_Widget_Category' => 'Widget/Category.php', //core 'Advanced_Sidebar_Menu_Cache' => 'Cache.php', 'Advanced_Sidebar_Menu_Core' => 'Core.php', 'Advanced_Sidebar_Menu_Debug' => 'Debug.php', 'Advanced_Sidebar_Menu_List_Pages' => 'List_Pages.php', 'Advanced_Sidebar_Menu_Menu' => 'Menu.php', 'Advanced_Sidebar_Menu_Page_Walker' => 'Page_Walker.php', //menus 'Advanced_Sidebar_Menu_Menus_Category' => 'Menus/Category.php', 'Advanced_Sidebar_Menu_Menus_Abstract' => 'Menus/Abstract.php', 'Advanced_Sidebar_Menu_Menus_Page' => 'Menus/Page.php', ); if ( isset( $classes[ $class ] ) ) { require dirname( __FILE__ ) . '/src/' . $classes[ $class ]; } } spl_autoload_register( 'advanced_sidebar_menu_autoload' ); #-- Translate add_action( 'plugins_loaded', 'advanced_sidebar_menu_translate' ); function advanced_sidebar_menu_translate() { load_plugin_textdomain( 'advanced-sidebar-menu', false, 'advanced-sidebar-menu/languages' ); } add_action( 'admin_print_scripts', 'advanced_sidebar_menu_script' ); function advanced_sidebar_menu_script() { wp_enqueue_script( apply_filters( 'asm_script', 'advanced-sidebar-menu-script' ), plugins_url( 'resources/js/advanced-sidebar-menu.js', __FILE__ ), array( 'jquery' ), ADVANCED_SIDEBAR_BASIC_VERSION ); wp_enqueue_style( apply_filters( 'asm_style', 'advanced-sidebar-menu-style' ), plugins_url( 'resources/css/advanced-sidebar-menu.css', __FILE__ ), array(), ADVANCED_SIDEBAR_BASIC_VERSION ); } add_action( 'advanced-sidebar-menu/widget/category/right-column', 'advanced_sidebar_menu_upgrade_notice', 1, 2 ); add_action( 'advanced-sidebar-menu/widget/page/right-column', 'advanced_sidebar_menu_upgrade_notice', 1, 2 ); /** * @todo translate these features * * @param array $instance * @param WP_Widget $widget * * @return void */ function advanced_sidebar_menu_upgrade_notice( array $instance, WP_Widget $widget ) { if ( defined( 'ADVANCED_SIDEBAR_MENU_PRO_VERSION' ) ) { return; } ?>

}{} links to https://matlipe.com/product/advanced-sidebar-menu-pro/ */ printf( esc_html_x( 'Upgrade to %1$sAdvanced Sidebar Menu Pro%2$s for these features:', '{}{}', 'advanced-sidebar-menu' ), '', '' ); ?>

  1. Priority support.
  2. id_base ) { ?>
  3. Ability to customize each page's link text.
  4. Ability to exclude a page from all menus using a simple checkbox.
  5. Number of levels of pages to show when always displayed child pages is not checked.
  6. Ability to select and display custom post types.
  7. Option to display the current page’s parents and grandparents only
  8. Option to display child page siblings when on a child page. NEW
  9. Option to display child page siblings when on a child page with no grandchild pages. NEW
  10. Accordion menu support for pages.
  11. Link ordering for the category widget.
  12. Ability to select and display custom taxonomies.
  13. Accordion menu support for categories.
  14. Accordion icon selection from 4 styles of icons.
  15. Accordion icon color selection.
  16. Accordion option to keep all sections closed until clicked.
  17. Accordion option to include highest level parent in accordion.
  18. Click and drag styling for both the page and category widgets.
  19. Styling options for links including color, background color, size, and font weight.
  20. Styling options for different levels of links.
  21. Styling options for the current page or category.
  22. Styling options for the parent of the current page or category.
  23. Block styling options including borders and border colors.
  24. Bullet style selection from 7 styles or select none to have no bullets.
  25. Ability to display the widgets everywhere the sidebar display. NEW
  26. Ability to select the parent page/category when using the display widget everywhere option. NEW
  27. Access to members only support area.