Creating a Child Theme in WordPress
In this tutorial, we will create a child WordPress theme called based off of the Twenty Fifteen theme. First we create a new folder “/wp-content/themes/twentyfifteen-child” in which we...
read moreAdding a custom section in the WordPress Theme Customizer
In this tutorial, we add the “Copyright” section to the WordPress Theme Customizer that is displayed when user goes to “WP Dashboard -> Appearance -> Customizer”...
read moreRegistering Menu Locations in WordPress
In order to have menus in a WordPress theme, it needs to put the menu into a “Menu Location”. The Twenty Fifteen theme comes with two menu locations as seen in “Appearance ->...
read moreCreating Custom Post Type in WordPress
In this tutorial, we are going to add a custom post type of “Employees” to our WordPress theme. We attach our own function create_employees_post_type to the “init” hook. ...
read moreAdding Types with Typescript
In this tutorial, we add types to a regular function “computeTip”. Javascript does not yet have types, so we use Typescript which adds types to Javascript. We create a new typescript...
read moreES6 Modules Overview
To learn about ES6 Modules, you have to have Node.js and the typescript compiler tsc installed as described in previous tutorial. This is because at the time of this writing, browsers have not...
read moreInstalling tsc Typescript Compiler
To install the command line tsc Typescript Compiler using npm, you have to have Node and npm installed as described in previous tutorial. Then at terminal (in Mac) or Node.js command prompt in...
read moreExample of set in Javascript ES6
Here is an example of iterating through the values of a set in ES6… Unlike Map, it can only contain unique values. You add to a set using “add” instead of “set”....
read moreExample of Map in Javascript ES6
With ES6, we have Map where we can store key value pairs using the “set” method… We get elements out using “get” method. The map has a property of size to indicate...
read moreAll contents are opinions and are copyrighted and may contain display ads and ad links for which site may receive revenues from.
See Terms of Use and Privacy Policy.