IMPORTANT NOTE As of 22 Oct 2019 – this script seems to be in an infinite loop – so use this as a coding concept ONLY. I will debug it in due course, and update – BUT if you spot the issue first please do leave me a comment below with your solution. Following on [Read the full article…]
Recipe for a Raspberry Pi Kiosk
I recently set up a Raspberry Pi as Chromium Kiosk so I could display a webpage on a wall mounted TV screen. I have written what I did in an easy to follow recipe format. If you follow configuration steps carefully you should be successful in setting up your Raspberry pi to work as a [Read the full article…]
14 places to get Free Stock Images for Websites
Sourcing images for websites is a tricky and time consuming businesses. The worse thing you can do is go to Google, find and image you like and download it and upload it to your website. It is not rare that the copyright owner will find you and request payment for the use you ‘stole’ from [Read the full article…]
Conditionally remove header widget from Genesis
Genesis comes with a header widget area built in. Occasionally you may want to remove this for specific pages. The following code snippet in functions.php will do the trick add_action( ‘genesis_meta’, ‘my_remove_hr’); function my_remove_hr() { if ( is_page( ‘privacy-cookies’ ) ) { unregister_sidebar( ‘header-right’ ); } } The if statement will need to be adjusted [Read the full article…]
Allow html in user description
The WordPress user bio only allows a very restricted set html. Occasionally, it is desirable to be able to format the WordPress user bio with additional html. Out of the box that is not possible. However to allow additional html in the WordPress user bio, like I have with some <p> and <br> to break [Read the full article…]
RightMove BLM file import to WordPress
Rightmove BLM file converter Plugin is now available to download We are pleased to say, that the plugin is now available to purchase. It is listed at https://fullworks.net/products/rightmove-blm-to-xml-converter/ I do hope you will find this very useful. Go to plugin page Plugin for Right Move BLM file imports to WordPress Right Move is a property [Read the full article…]
CSS styled slider buttons, with CSS triangles
You can style slider buttons using css. A simple clean style is arrows with a square box ( or a circle ). An example is like this The code is like this <a href=”#”><div class=’arrow-wrap left’> </div></a> <a href=”#”><div class=’arrow-wrap right’> </div></a> Which sets up the links and a div per link then the css [Read the full article…]
Developer Stuff
HTML Frameworks 1. Bootstrap 2. Foundation 3. HTML5 Boilerplate 4. Skeleton CSS Preprocessors 1. LESS 2. SASS 3. Stylus JavaScript Libraries 1. jQuery 2. LoDash 3. ReactJS JavaScript Frameworks 1. AngularJS 2. Ember 3. Meteor 4. Polymer Module Loaders 1. Webpack 2. Browserify 3. Require.js JavaScript Preprocessors 1. Babel (6to5) 2. CoffeeScript 3. TypeScript Module [Read the full article…]
Google not able to fetch robots.txt
Recently I was getting a message from Web Master Tools, Googlebot can’t access your site! Over the last 24 hours, Googlebot encountered 87 errors while attempting to access your robots.txt. To ensure that we didn’t crawl any pages listed in that file, we postponed our crawl. Your site’s overall robots.txt error rate is 64.4% Recommended action [Read the full article…]
Forcing a site to HTTPS using .htaccess
Occasionally you may want a site to be fully https. Especially since Google recently said that they may prefer HTTPS sites as getting a certificate is a costly exercise so spammers are less likely to adopt SSL. Within .htaccess the code is as follows RewriteEngine On RewriteCond %{HTTPS} off RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]
