Hi,
probably the blank page is due to some fatal error, please enable the debug by adding this line in your wp-config.php:
//Change false to true
define(‘WP_DEBUG’, true);
// Enable Debug logging to the /wp-content/debug.log file
define(‘WP_DEBUG_LOG’, true);
// Disable display of errors and warnings
define(‘WP_DEBUG_DISPLAY’, false);
@ini_set(‘display_errors’,0);
// Use dev versions of core JS and CSS files (only needed if you are modifying these core files)
define(‘SCRIPT_DEBUG’, true);
After updated wp-config.php:
- View your website
- Look up the error string in /wp-content/debug.log file ( should be the last line
- Past the error line in this thread
Hello,
Thanks! I noticed myself from the debug.log what was the problem. It was a call to an undefined php function related to testing of another multilanguage plugin 😉
I removed it and now the site displays as it should again 🙂
You could however help me with another thing. If I want to place the langauage switcher in the header (flags + name), instead of in the nav or in a widget. What’s the code to use?
br, Rainer
Hi,
you can use the function cml_show_flags the full documentation is available Ceceppa Multilingua -> Documentation -> Api page
Hi,
Thanks a lot for great support!
br, Rainer