Web Hosting
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

WordPress fix Reply To: Login issue, cookies must be enabled

Discussion in 'Misc WordPress Requests' started by jetendra pradhan, Nov 21, 2017.

  1. jetendra pradhan

    Guest

    Reply To: Login issue, cookies must be enabled, by jetendra pradhan

    You can try to place the bellow code in bottom of your child theme function file.do not add in to main theme function file otherwise you may loose the changes on theme update.

    setcookie(TEST_COOKIE, 'WP Cookie check', 0, COOKIEPATH, COOKIE_DOMAIN);
    if ( SITECOOKIEPATH != COOKIEPATH )
    setcookie(TEST_COOKIE, 'WP Cookie check', 0, SITECOOKIEPATH, COOKIE_DOMAIN);

    Reply To: Login issue, cookies must be enabled
     
    #1

Share This Page

Web Hosting