Okay
  Public Ticket #2867569
Add item to menu sales king
Closed

Comments

  • Patricio Aguero started the conversation

    Hi there.
    I would like to know how I add an additional item to the sales king menu

  •  1,906
    WebWizards replied

    Hi Patricio,

    Thank you for purchasing our plugin,


    If you wanted to add an additional item to the menu, you would first have to update to the attached plugin version (will be live on CodeCanyon soon).

    To update to this version:

    - first deactivate the current plugin version in your site

    - then upload and activate the attached plugin version


    Then you can add the following PHP snippet:

    add_action('salesking_extend_menu', function(){
        ?>
        <li class="nk-menu-item">
            <a href="<?php echo esc_attr(get_page_link(get_option( 'salesking_agents_page_setting', 'disabled' ))).'yournewpage';?>" class="nk-menu-link">
                <span class="nk-menu-icon"><em class="icon ni ni-account-setting-fill"></em></span>
                <span class="nk-menu-text"><?php esc_html_e('Your New Link', 'salesking');?></span>
            </a>
        </li>
        <?php
    }, 100);
    

    In the above link, you can set the href to any link you want, such as href="https://yoursite.com"


    If you want to add a custom page to be shown in the dashboard, I can give details on that as well, let me know.

    Attachment will follow in the next message.


    Kind regards,

    Stefan

  •   WebWizards replied privately
  • Pablo replied

    Hi, I need to add a custom page to be shown in the dashboard pls!

  •  1,906
    WebWizards replied

    Hi Pablo,

    I replied to you in a separate ticket. Please see my reply there. Have a nice day,