Landing 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!

Viewing 7 reply threads
  • Author
    Posts
    • #38049
      gabrielnig5
      Participant

      Hi,
      When a user logs in into their account on my site, i want them to land on my home page and not the vendor dashboard. Please how do i achieve this?

    • #38081
      WCFM Forum
      Member

      Hi,

      Kindly add this code – add_filter( 'wcfm_is_allow_login_redirect', '__return_false');

      This will disable WCFM login redirect for vendors, and it will start working as per your default login redirect setup.

      Thank You

    • #38153
      gabrielnig5
      Participant

      Hi,
      Thank You for your reply.
      I added the code to my theme’s function.php but it did not change to the desired effect.
      When user’s who are vendors login, they still land on the wcfm dashboard.

    • #38291
      WCFM Forum
      Member

      Umm … I think that’s because of some other reason.

      You are using WC Marketplace plugin and it also has a redirect code which make vendor’s redirect to their front-end dashboard after login.
      Now, WCFM ensure that front-end page should WCFM dashboard.

      Well, you may once ask WC Marketplace forum how you can disable their vendor login redirect.

      Or, alternate solution is to write a new redirect rule for vendor’s login.

      Please tell me what you what to do?

      Thank You

    • #38301
      gabrielnig5
      Participant

      Hi,
      I am not a coding pro, So please tell me where exactly i am to put the code to get the result.
      Maybe i did not get it right the first time.

    • #38302
      WCFM Forum
      Member

      Hi,

      You may add that code to your child theme’s functions.php

      Or, may use this plugin for the purpose – https://wordpress.org/plugins/code-snippets/

      Thank You

    • #38494
      gabrielnig5
      Participant

      Thanks A lot, It works now.

    • #38506
      WCFM Forum
      Member

      Great and thanks for updating me on this.

      Have a great day 🙂

Viewing 7 reply threads
  • The topic ‘Landing Page’ is closed to new replies.