Public Ticket #2867569

Add item to menu sales king

Closed
Comments
2,762
KingsPlugins replied 5 years ago on September 9, 2021 at 12:16pm

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

Sign In