• Resolved Agunter999

    (@agunter999)


    ok, so I know by default the whole buddypress/polylang is all incompatible and there was a fix that did not work.

    I do not need translatiosn to work all I ned is a register and activations page to function in English the primary language of my users

    Any work around

    https://ww.wp.xz.cn/plugins/polylang/

Viewing 1 replies (of 1 total)
  • Thread Starter Agunter999

    (@agunter999)

    add_filter('bp_uri', 'bpml_bp_uri_filter', 0);
    
    function bpml_bp_uri_filter($url) {
     $default_language = pll_default_language();
     return preg_replace('/\/' . ICL_LANGUAGE_CODE . '\//', '/', $url, 1);
    
    echo $default_language;
    
    }

    there, put that in your functions

Viewing 1 replies (of 1 total)

The topic ‘Buddypress functionality?’ is closed to new replies.