Categories
WordPress Templates

WordPress Menu Exercise 2020 pt 2: Enqueuing Styles and Scripts

The verb to enqueue comes from the French language. It means to put something into a lineup. In WordPress the wp_enqueue_style() and wp_enqueue_script() functions are used to manage the loading of external resources like scripts and stylesheets. Why do we do things this way? Imagine if you have a theme that requires a dependency (some […]

Categories
WordPress WordPress Templates

WordPress Menu Exercise 2020

For this exercise, please download and install this Duplicator archive package into a new empty database. Installed with this package is a plugin called Show Current Template. That will add information on the ADMIN bar when you’re logged in and viewing pages in the browser, showing what template files are involved in the creation of the […]

Categories
WordPress Templates

WordPress Bare Bones Theming Exercise: functions.php

Introduction to the Functions File A very important file in any WordPress theme is functions.php. In it, we typically do things like the following: enable theme feature support, like feature images, custom logos, block editor styles, etc enable certain gutenberg block features such as wide alignment or full alignment, etc notify (register) WordPress about how many […]

Categories
WordPress

WordPress Theme and Plugin Configuration Exercise #8324

In this exercise, you will download and configure a free WordPress theme, and some plugins. You are welcome to use the Internet or your notes. Install the Project Site First please download this duplicator package [updated Jan 2022]. Also, please download the screenshots package. Now, install this downloaded site into your MAMP testing environment. If […]

Categories
Langara Outlines

WMDD4840 Outline (2020)

WMDD 4840 Content Management Systems Credits: 3 Room: B014 (Mac Lab) Contact Info:Kevin McMillanOffice A248604.323.5941 Days & Times:Spring 2020Mondays: 930 – 1230Spring Break: Feb 17 – 22Exam Period: April 04 – 20 find my office Office HoursThursday 2-5 NOTE: because of the need for social distancing in response to the coronavirus crisis, this class will not […]

Categories
Langara Outlines

WMDD4835 Outline (2020)

WMDD 4835 HTML / CSS 2 Credits: 3 Rooms: B014 Contact Info: Kevin McMillan Office A248 604.323.5941 Days & Times: Spring 2020 Tuesday 1230-320 Spring Break: Feb 17-22 Exam Period: April 04-20 find my office Office Hours Thursday 2-5 WMDD 4840 Content Management Systems Credits: 3 Room: B014 (Mac Lab) Contact Info: Kevin McMillan Office A248 604.323.5941 Days […]

Categories
Langara Outlines

WMDD4815 Outline (2020)

WMDD 4815 HTML / CSS 1 (Spring Term) Credits: 3 Room: B018 (PC Lab) Contact Info: Kevin McMillan Office A248 604.323.5941 Days & Times: Mondays: 130 – 420 Spring Break: Feb 17 – 22 Exam Period: April 04 – 20 find my office Office Hours Thursday 2-5 NOTE: because of the need for social distancing in response […]

Categories
JavaScript

The ClassList Property and Methods

To learn about all the methods and properties of any HTML element, consult the Mozilla Developer Network page on Elements. Click on any element to find information on its available properties and methods. For example, if I want to learn how to modify classes attached to an element, I can look through this document and […]

Categories
JavaScript

Installing ESLint Globally

In VS Code or Atom, press cmd/ctrl shift p to summon the command palette. There type install extensions. Search for ESLint (the one by Dirk Daeumer).

Categories
Tools & Generators

Introduction to Regular Expressions

This video does a great job explaining introductory regular expressions: Character Meaning Example * Match zero, one or more of the previous Ah* matches “Ahhhhh” or “A“ ? Match zero or one of the previous Ah? matches “Al” or “Ah“ + Match one or more of the previous Ah+ matches “Ah” or “Ahhh” but not […]