• Resolved chillmen

    (@chillmen)


    Hi,
    Tagline translation not working with latest wp theme twenty twenty, did a test with twenty nineteen theme it’s working.

    Any fix for this?

    Thank you

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Takayuki Miyoshi

    (@takayukister)

    Twenty Twenty uses get_bloginfo(), not bloginfo(), to retrieve the site description. I don’t know why, but maybe intentional.

    Bogo uses the bloginfo filter hook to apply localization. To make the filter workable, you need to set the second parameter of get_bloginfo() to 'display'.

    In short, if you change the line 96 in twentytwenty/inc/template-tags.php like the following, the tagline translation should work.

    $description = get_bloginfo( 'description', 'display' );

    Thread Starter chillmen

    (@chillmen)

    Thank you very much, your solution works

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Tagline translation and twenty twenty theme not working !’ is closed to new replies.