I’m looking for a extension that can display text on any page in frontend (Magento 2). This would be conditional - otherwise it’s fairly simple to display any attribute for example an all product pages.
How about one of these extensions:
https://marketplace.magento.com/aheadworks-module-csblock.html
https://marketplace.magento.com/amasty-module-promo-banners.html
Best of luck!
If I got you right you want to add custom block under some conditions. And I've got just the module for you.
In Magento 2 you can create a CMS block and display it using widget almost everywhere in your store. But what Magento doesn't allows you to do is to define what customer groups and time to display this block or page.
So, Magento 2 CMS Display Rule extension is the extension that allows you to define the display of CMS blocks or pages to different customer groups, date, weekday and time.
It also allows you to set conditions based on product and shopping cart attributes to display this CMS blocks and pages.
Hope that's what you're looking for.
johnpetersdca2, it actually helped. For those developers or regular users, who don't know the basics of HTML tags and how to use them correctly in every single situation, I can recommend articles like this about html strong vs b comparison guide. It's written by dev professionals, with all the detailed information about those tags and some others.