Reusable Block footer missing on blog pages
-
Hi, thanks for an awesome plugin! We love it!
Have you noticed that the reusable block footer doesn’t work on blog posts and category list pages? It does work on an indivdual blog post page. To access the site we are currently developing, use the username/password: gleam2clean 8p5Rhi0$XcKdpjga
Blog page:
https://clean2gleam.neon9.co.uk/window-cleaning-news-advice-reviews/Blog category page:
https://clean2gleam.neon9.co.uk/category/customer-reviews-feedback/Thanks for your help!
The page I need help with: [log in to see the link]
-
Hi,
Thanks for your message, glad you like our plugin.
I see the error on your website but I can’t replicate it on my side. Could you please try to deactivate all your plugins except Twentig. If this resolves the issue, activate one plugin at a time until you locate the conflict. Please let us know if the issue is due to a plugin conflict
Thanks,
TomHi Tom,
I’ve disabled every plugin except Twentig and I still get the problem. The window cleaning site is now live at http://www.clean2gleamwindows.co.uk/
Thanks for taking a look.
Hi,
Thanks for the heads-up. There’s indeed an issue with the custom footer when the “Display post content” option for the blog posts is unchecked. We’ll fix it in the next release.
If you need to fix it urgently and if you’re comfortable editing the plugin file, open the
twentig/inc/twentytwentyone/footer.phpfile.
Line 103, replace:<?php elseif ( 'custom' === $footer_layout ) : $block_id = get_theme_mod( 'twentig_footer_content' ); twentig_render_reusable_block( $block_id ); ?>by
<?php elseif ( 'custom' === $footer_layout ) : remove_filter( 'the_content', '__return_empty_string' ); $block_id = get_theme_mod( 'twentig_footer_content' ); twentig_render_reusable_block( $block_id ); ?>Have a nice day,
TomVery impressed with both the honesty and level of detail for a fix. Thank you, it’s really appreciated. I’ve already rated your work at 5*, I wish I could make it 10!
The topic ‘Reusable Block footer missing on blog pages’ is closed to new replies.