Banner Logo

Be a part of the family: Connect, Receive Support,
Contribute, and Reap Abundant Rewards!

Message across all Front End Pages

WCMp Advanced Frontend Manager

Resolved
Viewing 5 reply threads
  • Author
    Posts
    • #113194
      redilson
      Participant

      Hi,

      Is there a way to add a message, either at the top or somewhere at the bottom, for basic contact information for vendors to reach out to us if they need help? Hoping there’s a filter code you could share without us having to overwrite every file for one message. Thanks!

    • #113195
      redilson
      Participant

      Or, if we could add it right under the Knowledge base tab somehow.

    • #113264

      Hello Redilson,

      Thank you for reaching out to us.

      Using below code you can add vendor dashboard menu after that you have to add the page URL

      Please add this code in the function.php of the current active theme and modify as per your requirement

      add_filter('wcmp_vendor_dashboard_nav', 'add_wcmp_vendor_dashboard_nav');
       
      function add_wcmp_vendor_dashboard_nav($nav) {
        $nav['custom_nav'] = array(
            'label' => __('Custom Menu', 'dc-woocommerce-multi-vendor') // label of the menu
            , 'url' => '' // url of the menu
            , 'capability' => true
            , 'position' => 80 //menu position
            , 'submenu' => array() // submenu items
            , 'link_target' => '_self' // target window _blank or _self
            , 'nav_icon' => 'dashicons-dashboard' // menu icon wordpress dashicons resource (https://developer.wordpress.org/resource/dashicons/)
        );
        return $nav;
      }
      Copy
    • #113270
      redilson
      Participant

      Thank you, that’s great! Any idea why the dash icons aren’t working for me? Since they are working on the other menus, I’m not sure what the issue could be as it seems the dash icons library is working fine.

    • #113272
      redilson
      Participant

      Nevermind, I saw within the html to use this there: wcmp-font ico-dashboard-icon

      Thanks again for this item.

    • #113309
      WCMp Admin
      Keymaster

      Thank you for the update @redilson. We are marking this thread close, please feel free to open a new one for further queries.

Viewing 5 reply threads

The topic ‘Message across all Front End Pages’ is closed to new replies.