How to modify store vendor dashboard home page with custom content?

We're shifting our Forum based support to a more dedicated support system!

We'll be closing our Forum support from 10th June, 2020 and move to Email Support assistance.

  • If you are a WCFM premium add-ons user, contact us- here
  • Want to know more before buying our add-ons? Send Pre sale queries- here
  • If you are a WCFM free user, please open a support ticket at WordPress.org
  • For WCFM App related queries, reach us- here
From now the forum will be read-only!

Multi Vendor Marketplace Plugin | WCFM Marketplace Forums WCFM – Marketplace (WooCommerce Multivendor Marketplace) How to modify store vendor dashboard home page with custom content?

Viewing 4 reply threads
  • Author
    Posts
    • #125677
      salenish
      Participant

      Hi, I would like to add shortcodes and other custom content (i.e. banners, links) on the store dashboard home page right below the welcome block and above the store sales stats blocks.
      Can you please advise which filter I should use or which template I can edit?

      See the screenshot attached. The red line indicated where I’d like to insert additional content.

      Kind regards, Aleks

      Attachments:
      You must be logged in to view attached files.
    • #126197

      Hello,

      Add this code to your child theme’s functions.php

      In case you do not have child theme then add code using this plugin – https://wordpress.org/plugins/code-snippets/

      add_action('wcfm_after_dashboard_welcome_box','wcfm_after_dashboard_welcome_box_custom_info');
      function wcfm_after_dashboard_welcome_box_custom_info() {
      	$vendor_id = get_current_user_id();
      	/***** print here your required vendor information*****/
      }

      Thanks.

    • #126229
      salenish
      Participant

      Hi,
      this doesn’t seem to be working. Can you please include a screenshot with a “Hello world” example of this tweak?

      Thank you for helping me with this.
      Aleks

      • #126430

        Hello,

        To Print “Hello World”, (PFA)

        add_action('wcfm_after_dashboard_welcome_box','wcfm_after_dashboard_welcome_box_custom_info');
        function wcfm_after_dashboard_welcome_box_custom_info() {
        	$vendor_id = get_current_user_id();
        	/***** print here your required vendor information*****/
        	echo "Hello World";
        }

        Thanks.

        Attachments:
        You must be logged in to view attached files.
    • #126741
      salenish
      Participant

      Thank you, works perfectly! 🙂

    • #126892

      You are always welcome 🙂

      Let me know if there’s anything else we can help you with.
      Can we ask for a favor? Would you mind taking a few minutes to review our plugin at https://wordpress.org/support/plugin/wc-multivendor-marketplace/reviews/ and let others know about your 5 Star experience with WCFM Marketplace. Also, follow us on Twitter https://twitter.com/wcfmmp for more exciting news, important updates, and irresistible offers.

Viewing 4 reply threads
  • You must be logged in to reply to this topic.