I keep forgetting to save a template of my HTML/PHP for my pattern pages. I thought I’d write it up and explain what is what and offer it to others. Before we begin though there are a few things to consider and do.
- I wrote this for the text editor in WordPress Blog. It can be used on any HTML/PHP page. The only things that are not usable as is are the HTML for Font Awesome and the PHP for PrintFriendly (a WordPress plugin).
- If you want to use the Font Awesome coding please go to http://fontawesome.com and do what it says. The coding for Font Awesome WILL NOT work unless you do this. The coding in this is for FontAwesome5.
- If you want to use PrintFriendly go to your WordPress install and go to the PlugIns section. Look for PrintFriendly and install it.
- Know the basics of HTML. Or go to W3Schools and learn. https://www.w3schools.com
I am going to try to go through each HTML part and tell you what it does. I am self taught. I have no training or degree for HTML or coding of any sort. I am NOT responsible should you mess anything up on your blog, web server, etc. This is just a guide describing what I do for my patterns I offer on my site. At the end of this will be the plain code with no description of what things are.