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

    (@takayukister)

    You already have it. If you don’t see it, probably your theme has problems. Try with the default theme.

    Thread Starter Jordan Wellington Lint

    (@jordanwellingtonlint)

    Thank you, Takayuki! I really love your plugin! Thank you for maintaining it as simple as powerful and beautiful. ??

    I just found the plugin uses the body_function so I added <?php body_class($class); ?> to the body tag and now it works! Thank you for pointing it out! I build my themes from scratch and that’s the reason the function wasn’t there. Anyway, this is solved!

    I have another problem: URL (pages?) for languages other than the default doesn’t work. For example, mydomain.com/es or mydomain.com/de show a Not Found. That’s because I’m missing something necessary in my theme? I don’t have a page.php… that’s the reason? I checked the .htaccess rewrite rules and everything is fine.

    Thank you for your support!

    Plugin Author Takayuki Miyoshi

    (@takayukister)

    Please open a new topic for another question.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Add current language as a body class’ is closed to new replies.