Like the blog? Get the book »

Posts tagged: code

Archive page 1 of 1
Gutenberg Block Recipes

Gutenberg Block Recipes

I've been working on updating my collection of WordPress plugins for the imminent Gutenberg update. So far it has not required much time to learn, and the API is straightforward. It will however take significantly longer to integrate Gutenberg support into 20+ plugins. To help keep things organized, I will be posting tips and snippets here at DigWP.com. Blocks are the foundation of all things Gutenberg, so this first post is all about block recipes. Some of these code snippets are far less useful than others, hopefully they will be useful to others.

Displaying Code Snippets on a WordPress Site

Displaying Code Snippets on a WordPress Site

Technically, there is nothing special about showing code on a WordPress site. You just wrap code in <pre></pre> (and probably , for semantics and font control) tags, something like this:

Advertise Here

Sign up for the newsletter!

Never spam, only good stuff

Recent posts

Loading...

Random posts

Loading...
© 2009–2018 Digging Into WordPress Powered by WordPress Monzilla Media shapeSpace