Sold by badge opens new window

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 Sold by badge opens new window

Viewing 1 reply thread
  • Author
    Posts
    • #104607
      snowfreakz
      Participant

      Hi there,

      When the link in the “Sold by” badge is clicked it’s opening in a new window which is not right behaviour i think as now people have multiple tabs open.
      Is it possible to change that with a file override?

      Jasper

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

      HI,

      Sure, please add this line to your site –

      add_filter( 'wcfm_shop_permalink_open_by', '__return_false' );

      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/

      Thank You

Viewing 1 reply thread
  • You must be logged in to reply to this topic.