On many articles at The WordPress Helpers, we include a voice rendering. Making that happen requires the recording of the audio, of course, but then we need to get it placed so you can listen by doing nothing more complicated than pressing the “play” button. As of this piece’s creation, the mini player we use is created with a single line of HTML code. Here’s the WordPress HTML for the audio on this article:
You can see several parameters in that HTML5 code for inserting audio, but it is just the one line of code making the player appear and work, and link to the correct audio file.
And it’s more complicated than pretty much any HTML you’ll ever need to cram into WordPress.
The truth is, HTML isn’t really the preferred code base for WordPress; there’s more than one right way to do WordPress and most of the time you’re better off—often you must, in fact—use a combination of geeky WordPress Elements like CSS and PHP code to do manual coding in WordPress; “WordPress HTML” is a misnomer. And that’s where our old friend Lorelle VanFossen re-emerges.
A couple of weeks ago Lorelle added All the HTML You Need to Know to WordPress School with Lorelle VanFossen, and she’s hit pretty much all the bases. In fact, the punchline on Lorelle’s piece is that there are four HTML codes you need in WordPress, and while that’s a bit of an oversimplification, Lorelle’s point is well-taken: boil things down to the smallest necessary set of tools, and you can make WordPress as easy as you’d heard it was before you dove in!
Source: Lorelle on WordPress
All the WordPress HTML you need to knowWe'll send a weekly email with the latest information, recommendations, quick WordPress tips and more. We're serious about privacy and won't spam you or sell your information.
Or if you prefer, subscribe to our RSS feed. Stay up to date, live!
Comments
Pingback: The WordPress Helpers WordPress Roundup 20-Mar-2015 - The WordPress Helpers