Notifications
Clear all
Topic starter
26/05/2018 4:04 am
Hello,
Since updating to 5.1.0 I have a 1cm high extra white page at the bottom of the page.
Haha I don't find the words to make this more sense...anyhow...I attach a screenshot.
Hope this can be fixed?
Regards, Eric
26/05/2018 10:48 am
The answer of the developers:
We'll fix this in next version.
For now, I provide you temporarily solution. Put this code in your current active functions.php file:
if (!function_exists('hide_empty_div') && function_exists('wpdiscuz')) {
add_action('wp_footer', 'hide_empty_div');
function hide_empty_div() {
global $post;
$wpd = wpdiscuz();
if ($wpd && !$wpd->helper->isLoadWpdiscuz($post)) {
$css = "<style>#wpdInfo{display:none;}</style>";
echo $css;
}
}
}
BlackBoXz reacted