Web development solutions

Embeddable income tax calculator

November 16, 2017 Design income tax income tax calculator 0

Powerful and easy to use UK income tax calculator, that allows you to find out tax and national insurance details about your salary.   Powered by Income Tax

WordPress – SQL to create a new admin user in phpMyAdmin

October 12, 2017 Design 0

Did you ever have the need of creating a new WordPress user with admin user, and you don’t have the login details for the current Wp admin? Well the good news is that you can easily create a new user with admin role just with pure SQL code. Simply add your database name, username, wp_prefix,… Read more

Plug and play SASS compiler and auto CSS minifier with Gulp

October 7, 2017 css javascript sass Tools 0

If you’re just like me, you definitely like the slogan: if you go (black) SASS, you can never go back. SASS can help you build beautiful CSS code in a way that you would not have imagined it a few years ago. You can use advanced features like variables, functions, and import, right alongside writing… Read more

The Best 5 Free Online HTML Editor Websites

September 16, 2017 Blog development Tools 0
html5 editor

In this article we’ll be looking at the best five free online HTML editors you probably didn’t know about. The best thing about them is that you don’t have to download and install any software because they all work in your web browser. Try them all to pick your favorite. 5. HTML Code Editor This… Read more

Income Tax Calculator

August 16, 2017 income tax income tax calculator javascript javascript frameworks tax Wordpress 0

I am pleased to present a state of the art income tax/salary calculator that I have built for UK citizens to calculate their tax and salary, with the help of AngularJs and WordPress. The salary calculator was built because of the lack of a really easy to use yet feature-full income tax calculator in the… Read more

How To Add Categories To WordPress Pages

August 13, 2017 php Wordpress 0

As a default, WordPress won’t allow you to categorise the pages, as it only allows categories to be set to posts. The good news is that there is a very easy way to enable categories to WordPress pages. Just paste the code below into your plugin’s or theme’s functions.php file, and you’re done: 12345function add_taxonomies_to_pages()… Read more

Save and retrieve data with WordPress Options

August 11, 2017 php Wordpress 0

Sometimes you might be in need of quickly storing and retrieveing data in WordPress for your plugin (in this example a simple delivery price is stored in wp_options table), and you don’t want to set up a separate database table and code to handle the database for this. The good news is that there is… Read more

WordPress Insert Content After Content

August 11, 2017 php Wordpress 0

This is a simple code to add extra content after the content of a page or post in a WordPress website. Just paste the code intop your plugin’s or theme’s functions.php file, and edit it to your preference: 12345678910function wpb_after_post_content( $content ) {                     $custom_content =… Read more

Regex to extract url that contains word

June 13, 2017 Design 0

The regex below will help you find and extract the url of a link from within an html code. In the case below, it will find the href attribute that contains the word linkedin.com, and will return the full url. 1<a [^>]*\bhref\s*=\s*"([^"]*linkedin.com[^"]*)

MySQL Get Distance By Latitude And Longitude Coordinates

April 16, 2017 mysql 0

Create a stored procedure: 12345678910111213CREATE FUNCTION distance (latA double, lonA double, latB double, LonB double)     RETURNS double DETERMINISTIC BEGIN     SET @RlatA = radians(latA);     SET @RlonA = radians(lonA);     SET @RlatB = radians(latB);     SET @RlonB = radians(LonB);     SET @deltaLat = @RlatA – @RlatB;    … Read more