Add HTML / Shortcode after Header on Vendor Shop page

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 – Ultimate Add HTML / Shortcode after Header on Vendor Shop page

Viewing 9 reply threads
  • Author
    Posts
    • #44791
      andreasenglowski
      Participant

      Hi,

      is it possible to add some HTML / Shortcode on the vendor shop page? Want to add a search form and and add banner under the header.

      Thanks in advance,
      Andi

    • #44818
      WCFM Forum
      Member

      HI,

      Yeah sure, you may add your custom content on this hook – do_action( 'wcfmmp_before_store' );

      Thank You

    • #46513
      andreasenglowski
      Participant

      Hi, sorry for late reply. sorry if its a newby question but how do i do that? or where do i find the hook?

      thanks in advance,

      andi

    • #46514
      WCFM Forum
      Member

      Hi,

      You don’t have to find out this hook.

      You just have to add your content using this hook.

      Between, are you comfortable with WP hook/filter coding?

      Thank You

    • #46522
      andreasenglowski
      Participant

      Hi, thanks for blazing fast reply. No not really comfortable, can you help me by giving an example? For example if i just want to add “<h3> my heading </h3>” right under the header of the vendor page. would be great 🙂 and sorry for stupid question ^^

      Thanks

    • #46597
      WCFM Forum
      Member

      Hi,

      it’s OK.

      add_action( 'wcfmmp_before_store', function() {
        echo '<p>I am Here ....</p>';
      });

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

      Thank You

    • #46777
      andreasenglowski
      Participant

      Many many thanks, its working but not as expected since the html comes before the header. Do you have a idea?

      Thanks in advance,
      Andi

      Attachments:
      You must be logged in to view attached files.
    • #46804
      WCFM Forum
      Member

      Hi,

      Well, you asked me for code which allow to add some custom HTML under theme header.

      Where you exactly you want to add these?

      Thank You

    • #47225
      andreasenglowski
      Participant

      Hi, sorry if i wasnt descriptive enough. The problem is that its not coming after header its before header. guess i have to change the priority… will check and let you know 🙂

      thanks,
      andi

    • #47281
      WCFM Forum
      Member

      NO issues, let me know!

Viewing 9 reply threads
  • The topic ‘Add HTML / Shortcode after Header on Vendor Shop page’ is closed to new replies.