Add google analytics to your wordpress site

This link is a good example of how to add GA to you wordpress site: to summarise: 1. Create a google analytics account and get the tracking code 2. Add the Google Analytics Code to Your WordPress Theme Copy the tracking code. Go to your WordPress Admin and then Appearance > Editor. Open your… Read more »

Javascript Like

<article> <button>like</button> </article> <script> $(“button”).on(“click”, function() { alert(“javascript works”) }); </script>  

RGBA Colours

Similar to hex colours except the last changes the transparency and can be between 0-1 For example: background: rgba(0,0,0,0.8); is a slightly transparent black

html5 css3 responsive design

Good links: A few basics: HTML5 Boilerplate: <!DOCTYPE html> <head> <link href=”/normalize.css” rel=”stylesheet”> <style> </style> </head> <body> <header> <img src=”/.png”> <h1> Blog</h1> <ul> <li><a href=”#”>About Me</a></li> <li><a href=”#”>Best Poems</a></li> <li><a href=”#”>Worst Poems</a></li> </ul> </header> <article> <h2>Article 1</h2> <p></p> </article> <article> <h2>Article 2</h2> <p></p> </article> </body> @media in styles: @media(max-width:500px){ h1 { font-size:36px; } li… Read more »

HTML5 Essentials

Alternate Menu for members

You will need two different menus so first we need to register support for two menus in your functions.php file. Depending on the theme your using you will have some code like the following: // This theme uses wp_nav_menu() in one location. register_nav_menu( ‘primary’, __( ‘Primary Menu’ ) ); you will need to add or… Read more »

Add Custom fonts

Free font available from: How to: Add download font to: /public_html/wp-content/themes/wootique/fonts HenryMorganHand.ttf