• I have language packs installed for several languages and everything seems to work fine … except when i check the option to translate the front end admin bar then the admin bar disappears and you get just a blank space at the top of the page where it should be. It looks like the code at the bottom of the page is not loading to create it, but the css is loading at the top.

    Otherwise a very nice plugin ??

    https://www.ads-software.com/plugins/wp-native-dashboard/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter wildmice

    (@wildmice)

    Wait a minute. It works in Twentyfourteen so this is probably a theme problem. Don’t do anything just yet ??

    Thread Starter wildmice

    (@wildmice)

    Ok, this took some digging. Here is the problem.

    My theme uses session data, and your plugin fails to fetch the admin bar if there is an active session. This is happening in the function on_request_suppressed_admin_bar_translated().

    If i save the session data at the top of that function and destroy the session, then recreate the session and put back the session data at the end of the function, everything works fine.

    While it does work with this hack, this is such a great plugin and so nicely written that i’d really like to stay updated – so prefer to avoid hacking it.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘translate front end admin bar option does not work’ is closed to new replies.