Showing off…

Another year, another theme with a different way of achieving a similar effect.

This new theme comes with some handy pre-defined styles. I’ve tweaked my functions.php to add them to the styles drop down in the Visual editor, which means I can now have suitably highlighted blocks of text.

Graphene has nice buttons in the visual editor for adding these.

This style is a “warning”

This one is an “error message”

This one is a “notice”

And this one is an “important message”

What I haven’t done yet is add these styles into the CSS file used to make them show up in the visual editor. Maybe later…

Graphene[1] uses shortcodes for these, so CSS in the editor won’t worl