Getting your money

Disclaimer: this article links to an online service call Wise. Following (clicking) the links may earn me a little commission from them if you go ahead and sign up with their service – which is nice of them. Like all the goods and services I recommend on this site, I would do so even if […]

Add snippets to different parts of the page

Want to add some extra bits in the head of your document, like tracking codes, custom javascript etc? Then use wp_head: add_action( ‘wp_head’, ‘YOUR_SCRIPT_IN_HEAD_FUNCTION’ ); function YOUR_SCRIPT_IN_HEAD_FUNCTION() { ?> ‘; Some HTML code here ‘;

Long URL breaks mobile layout

Long URL breaks mobile layout /* These are technically the same, but use both */ overflow-wrap: break-word; word-wrap: break-word; /* This is the dangerous one in WebKit, as it breaks things wherever word-break: break-all;*/ /* Instead use this non-standard one: */ word-break: break-word; /* Adds a hyphen where the word breaks, if supported (No Blink) […]