Converting to and from ASCII with

The ASCII table is a representation of the Roman characters as numeric values. Given an ASCII value we may wish to convert it to its corresponding character, or indeed back the other way from character to ASCII value. To convert an integer variable of ASCII value, myASCII, to a string […]

Adding ClearFix Clear Float after div

I was interested in clearing floats and adding clearfix after a section of content. Working on a website theme I was integrating the output from a plugin. The plugin had a wrapper div with a series of entries each in a div. Shown below is the wrapper div with the […]

Change the Horizontal Line Colour in WordPress

On a WordPress website I added a horizontal line to divide two sections of content. Within the WordPress editor I had added a horizontal line to space some text. Providing a divider between two sections of text on the web page. To add the line I had used the HTML […]

What is Domain Privacy?

Many website hosting companies offer Domain Privacy as an option – but what does it mean? And is it worth paying for? If I do a query on the domain I get the following result /home/neil# whois Domain name: Registrant: British Broadcasting Corporation Registrant type: UK Corporation […]

Convert Textbox String to Double

The task is to take user entered textbox content, converting it to a field of type double. As a part of a form I had a numeric entry field. The string value entered in this textbox to be converted to type double for saving in a database. The public view […]

Linking to Another Website

Sooner or later you will want to create a link to another website. Perhaps an event, trade association or a customer’s website. It’s easy to forget that links can also be internal within your own website. Written a blog article a few months ago and now writing an associated article? […]

Hide WooCommerce Category Page Title

A WordPress website with the popular WooCommerce plugin shows a page title, automatically generated according to the category page being viewed. For a WordPress website I was looking to remove the page title from view. Hide the Category page title using CSS or programmatically with WooCommerce filters? Often, the simple […]

WordPress Exclude Subdirectory

By default WordPress considers all files and directories from the installed directory to be under its control. For a website I had installed WordPress in the root of the website file structure. Subsequently I wished to install another program suite within a subdirectory. I had no desire for files missing […]