Using Microformats to Indicate Address

If you run one of the online website analysis websites on your website it may indicate the use of microformats. So what are they? Microformats can be used to indicate the address. For example, of the contact us page of a website the address details can be enclosed. Rather than […]

Reset WordPress Metabox Positions

Viewing a WordPress page, post or custom entry Having moved the sections around how do I reset. The idea is how to restore the edit view of Whilst developing a recent plugin I had moved the meta box sections around. But, of course, I wanted to see the default. As […]

WordPress Redirect to https

Your WordPress website was running as a traditional unsecured site. Now to meet the search engine guidelines you have added a certificate and encrypted the website. But the old unencrypted website address is still accessible. This isn’t good for SEO with effectively two websites with the same content. How to […]

Insert string into Database as datetime

Inserting values into a database table I wished to add a date and time. For this I used a convert CONVERT(datetime, ’26/05/2014 14:21:00′) However this will fail where the day value is too high. A value greater than 12 will be taken as an invalid month. Also the day and […]

Get Table Foreign Key Details by SQL

How to view the foreign key settings within a database administered using MyLittleAdmin? Looking to find information about foreign keys between tables, via the control panel for a website I was using MyLittleAdmin to manage the associated database. I was able to view the keys associated with a particular table […]

Change Colour of Text Underline

Looking to set the underline colour of text to be a different colour to the text. The default colouring will set the underline colour to be the same as the text, as illustrated below: Example text with an underlined word We can use CSS for setting the colour using the […]