<?php $title = get_the_title(); // Si le titre contient le mot "promo", j'ajoute un emoji if( strpos( $title, 'promo' ) !== false ) { $title = '💰' . $title;  } ?> <h1><?php echo $title; ?></h1>
Preview:
downloadDownload PNG
downloadDownload JPEG
downloadDownload SVG
Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!
Click to optimize width for Twitter