Make followers Clickable

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!

Viewing 3 reply threads
  • Author
    Posts
    • #69553
      cartaclaudio
      Participant

      Hi,

      Is it possible to make the followers to a store clickable? I would like to have their profiles accessable.

      Here is the link for an example http://moneymuzic.cartaclaudio.co.uk/store/carta-productions/followers

      Regards,
      Claudio

    • #69830
      WCFM Forum
      Keymaster

      Hi,

      Are you using any user profile plugin?

      By default WP has no such public profile page for users!

      Thank You

    • #69962
      cartaclaudio
      Participant

      Hi,

      I am using buddypress to make the profiles public.

      Thank you.

    • #70237
      WCFM Forum
      Keymaster

      HI,

      Please keep this code added to your child theme’s functions.php –

      add_filter( 'wcfm_vendor_follower', function( $wcfm_vendor_follower, $user_id ) {
      	if( function_exists( 'bp_core_get_user_domain' ) ) {
      		$profile_url = bp_core_get_user_domain( $user_id );
      		$wcfm_vendor_follower = '<a href="' . $profile_url . '" target="_blank">' . $wcfm_vendor_follower . '</a>';
      	}	
      	return $wcfm_vendor_follower;
      }, 50, 2 );

      But this will work after next update.

      Thank You

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