Archived topic
Added security, lost masonry layout
3 replies · Started by Steve on September 13, 2017
We just (1) changed to SSL and (2) added security 'Defender' by WPMU DEV and have since lost the masonry layout in the blog index page.
I added this to my wp-config as per: https://docs.generatepress.com/article/disallow-php-execution ...
add_action( 'after_setup_theme', 'tu_remove_hooks_php_check' );
function tu_remove_hooks_php_check() {
remove_action( 'admin_notices','generate_hooks_php_check' );
}
But the blog still looks odd, layout here: https://thecubelab.co.uk/blog/
Not sure if the security plugin caused this as it was working before but we have made more changes since I last looked but can't think what else it can be.
Any ideas why that might be?
Thanks!
Hi there,
Can you try #1 here and see if we can figure out what's causing the problem? https://docs.generatepress.com/article/debugging-tips/
I've pinpointed the issue - it's only when I turn on Smart Crawl which is an SEO plugin from WPMU DEV
Their plugins are usually pretty good so not sure what to do next. I could use Yoast instead but i'm reluctant to do that. I've set define('WP_DEBUG', true); not true but no errors shown.
Any other thoughts please now I've pinpointed the issue?
Thanks!
I didn't see the original error, but I'm a big fan of Yoast over other SEO plugins.