Thread Starter
soduno
(@soduno)
Man. I don’t know what I was thinking. I did not realize the fact that Loco does not include the mo files itself. So I ended up creating a function that does just that. In case it helps somebody else:
add_action( 'after_setup_theme', 'installTheme' );
function installTheme(){
load_theme_textdomain( 'themeprefix', get_template_directory() . '/languages' );
}
Thanks for your quick response and help. Your FAQ led me to the answer! 🙂
-
This reply was modified 8 years, 12 months ago by soduno.
I know this is old but…
Don’t use css to remove(hide) fields. As much as you can use regular php. CSS is only for styling, the field will be loaded anyway. There is no reason to first load a field and then hide it with css, load time will even be increased this way.
//Simon