Archived topic
closing div without opening
3 replies · Started by Hans on February 20, 2019
</div><!-- .generate-columns-contaier -->
This div clause I found in the page generated by "The event calendar" - see attached link. But there is no clause opnening that
<!--
Dieser Kalender wird durch The Events Calendar generiert.
http://m.tri.be/18wn
-->
</div><!-- .entry-content -->
</div><!-- .inside-article -->
</article><!-- #post-## -->
</div><!-- .generate-columns-contaier --> </main><!-- #main -->
The
seems to be the reason of the failure in the layout. The sidebar is below the content.
Is the
clause generated by Generatepress or by the plugin?
Hi there,
that is created by GeneratePress for when columns are being used on archives. Can you temporarily disable the Columns option in the Customizer > Layout > Blog to see if it fixes the problem. If it does we can provide a filter to switch off columns for those archives.
Hi David,
I followed your advice. Nothing changed!
But I found the reason. It is this snippet:
add_action( 'wp', function() {
add_filter( 'generate_blog_masonry','tu_portfolio_masonry' );
} );
function tu_portfolio_masonry( $masonry ) {
$taxonomies = array(
'amtingemeinde',
'ansprechpartnerin',
'aufgabe',
'funktionov',
'mandat',
'fraktionov',
'ausschuss',
);
if ( is_tax( $taxonomies ) ) {
return true;
exit;
}
if ('tribe_events' == get_post_type()) {
return 'false';
exit;
}
return $masonry;
}
The function reurned true - with false it's okay right now.
Thanks for your support.
Ah ok, awesome glad you found the issue and the solution :)