Useful function for elementor in wordpress
Sometime you want to show the title of your post or page, or maybe use a wrapper for max-width. Well, using Elementor is nice and easy, but you usually need to remove wrapper classes because Elementor can/want to control if a content full width or not. Or maybe you want to hide title if Elementor is active, since you want to be able to edit the title in Elementor.
Sure you can use Elementor built in “hide title” – but the problem comes if you have a blog like posts index page.
I snooped around in the database and found that Elementor uses a post meta in WordPress to mark a page/post is an elementor post and I wrote a piece of code that use the post meta to use in the template.