Categories
WordPress WordPress Templates

WordPress Templates Exercise: I Heart Cities, Updated

Initial Setup Download Duplicator Site For this exercise, please download the starter files and the screenshots collection, if I don’t distribute them in class. These are big files, so the download might be a bit longer than that for most of the files on this site. Most, but not all, of the screenshots for the […]

Categories
WordPress WordPress Templates

WordPress: Film Festival Site: JavaScript

Now let’s wire up some JavaScript to hide the registration form and allow it be shown with the click of a button. First, make a new file called registration.js inside the js folder in your theme. When I originally wrote up this exercise, I used jQuery. These days, I would probably just use straight JavaScript. […]

Categories
WordPress

MAMP: mysql Server Won’t Start

Sometimes when you start MAMP, the mysql server refuses to start up. Solution 1 Sometimes this is because it is already running from a previous session. To fix that, quit MAMP, open up Terminal and run the following command: killall -9 mysqld Then restart MAMP. Solution 2 If that doesn’t work, here’s another fix that […]

Categories
CSS HTML WordPress

WordPress Templates Exercise: I Heart Cities

For this exercise, please download the starter files and the screenshots collection. These are big files, so the download might be a bit longer than that for most of the files on this site.   Inside the starter files archive is a Duplicator package and installer. Install that in a new WordPress database. Then go […]

Categories
WordPress WordPress Templates

Underscores Menu Exercise pt 3: Enqueuing Scripts

Other Values If enqueueing scripts (or local stylesheets), it is a bit more complicated, but it’s learnable. All URLs in WordPress are absolute, not relative, so when the theme is installed at a new domain, WordPress needs to figure out the path to resources, starting with the https://domain.com/ part. If you look at the script […]

Categories
WordPress

WordPress: Langara Network Proxy Settings Fix

We now have a workaround for the Langara network-related issues with respect to MAMP and WordPress. Specifically, we have normally had to download themes or plugins manually—and then install them by copying them to the wp-content/themes or wp-content/plugins folders. Now, however, with a small edit to a configuration file in each site we’re working on […]

Categories
WordPress

WordPress Major Plugin Exercise

In this exercise, please make a new WordPress installation in MAMP and install the following plugins: Contact Form 7 Polylang YARPP (Yet Another Related Posts Plugin) Contact Form 7 Make a page called Contact and put in it a Contact Form 7 form with the following features: The form is put into DEMO MODE (so you’re […]

Categories
WordPress

WordPress Homework Exercise: Development Environment Installation

On your home computer (Mac or Windows), download and install a testing environment. If you want to use exactly the same setup as we do in class, download MAMP. It is available for Mac and Windows. MAMP is quite reliable, particularly on Mac. On Windows, it’s less reliable. If you have trouble with it, try […]

Categories
WordPress

MAMP: Setting up a Test Server

If you’re going to do any WordPress work— indeed, even if you want to just test plugins, themes, etc before deploying them to a production site—it will serve you well to learn how to set up a testing environment on your own computer. That way, you can experiment or test things without worrying about breaking […]

Categories
WordPress

WordPress Security 2017

Reading the following articles will give you a good introduction to WordPress security: YOAST: WP Security in a Few Easy Steps: https://yoast.com/wordpress-security/#wpsecuritykeys WP-CONFIG Security Keys ( WP Beginner ) https://www.wpbeginner.com/beginners-guide/what-why-and-hows-of-wordpress-security-keys/ HOW TO REMOVE GOOGLE BLACKLIST WARNING ( Succuri ) https://sucuri.net/guides/how-to-remove-google-blacklist-warning CODEX: HARDENING WORDPRESS https://codex.wordpress.org/Hardening_WordPress ULTIMATE GUIDE TO WORDPRESS SECURITY (wpmudev) https://premium.wpmudev.org/blog/ultimate-guide-wordpress-security/?utm_expid=3606929-108.O6f5ypXuTg-XPCV9sY1yrw.0&utm_referrer=https%3A%2F%2Fwww.google.ca%2F