Need help? Check out our Support site, then

Adding a non-administrative menu

  1. Hello to all,
    I created an eCommerce plugin to embed in a WordPress platform. I succeded adding a menu to the control panel, but only administrators can view it; I have to make the menu viewable by all the users. How can obtain it? Here is the code:

    add_action('admin_menu', 'mrt_add_menu');
    function mrt_add_menu() {
       add_menu_page('Carrello Elettronico', 'Carrello Elettronico', 8, __FILE__, 'mrt_sms_main_control');
       add_submenu_page(__FILE__, 'Carica prodotto', 'Carica prodotto', 8, 'Carica prodotto', 'carico_prodotti');
       add_submenu_page(__FILE__, 'Utenti', 'Utenti', 8, 'Utenti', 'utenti');
       add_submenu_page(__FILE__, 'Visualizzazione esterna', 'Visualizzazione esterna', 8, 'Visualizzazione esterna', 'visualizza');
       add_submenu_page(__FILE__, 'Opzioni', 'Opzioni', 8, 'Subscribers', 'mrt_sms_subscribers_page');
       add_submenu_page(__FILE__, 'Support', 'Support', 8, 'Support', 'mrt_sms_support_page');
  2. You did not specify a blog address or reason for posting when you created this topic.

    This support forum is for hosted blogs only. If you have a self-hosted WordPress blog you need to seek help at the forums, not here.

    If you don't understand the difference, you may find this information helpful.

Topic Closed

This topic has been closed to new replies.

About this Topic