Need the ability to filter the WooCommerce products list within admin by tags? Snippet of code below is for you. This concept can be edited for other purposes.
Continue reading...
Easily remove the Yoast SEO filter options from WordPress posts and pages within the admin. Yoast SEO is a great SEO tool, I install it on most of the websites I build, but somes times I just dont need or want the filters it adds at the top of the admin posts pages.
Continue reading...
A small fix to correct the missing brand and mpn structured data when using WooCommerce. WooCommerce seems to miss off these two fields which can cause warnings to appear within your Google Search Console.
Continue reading...
Laravel defaults to storing all dates in UTC format, this is highly recommended as UTC time never changes unlike other time zones which have daylight savings. It is best practice to store and read dates in UTC, and then convert UTC to your required time zone for the user interface. Great article below of a
Continue reading...
All app’s and websites these days need to work for several devices including desktop, tablets and mobiles. It’s not always simple detecting the type of device being used and it can sometimes be tedious adding support to your app for something which seems very simple. Does your chosen platform not have a pre-defined way of
Continue reading...
Forgot your WordPress admin login details or a previous developer is unwilling to give you the WordPress login details, well the answer is very simple. As long as you have database access you can use the website below to generate a new password hashsum, simply replace the origional password value with the new hashsum and
Continue reading...
Need to easily debug some php code? simple add the following code to your script to enable PHP error reporting and display error messages. This allows you to quickly debug without making configuration changes to servers PHP configuration.
Continue reading...
A simple function to easily process a website or file and return an array of all the URLs found. The main purpose I created this was to make it easy to process “Directory Listings Pages” which is a page which shows all the files and folders in a websites directory if there inst a default/index
Continue reading...
Comparing two bits of data in PHP is quite simple but there are special occasions when a simple comparison of data needs to be slightly different. One of the common issues is comparing float numbers, a common mistake is comparing two float numbers the same way in which you would compare two integers or two
Continue reading...
Here is a function I have created which is used to generate a sequence of random numbers, letters and symbols. I currently use it on a number of projects including http://passworded.co.uk which is a simple password generator.
Continue reading...