Categories
WordPress

WordPress Setup And Configuration Exercise

This exercise will have six sections. You have 1 hour to do it. Setting up a WP testing environment Importing some content Basic site configuration Making a menu Configuring one plugin Packing up your site for transfer to me with Duplicator Here are the files you will need for the exercise. Task One: set up a new MAMP […]

Categories
WordPress

WordPress Site Transfer Lab Exercise

There are a number of ways to transfer a WordPress installation. If you are trying to copy a live site to a testing environment, the easiest way is to do the following: From the live site, go Tools < Export. This will download an xml file that contains the contents of the database: posts, pages, […]

Categories
WordPress

Yet Another WordPress Task: Spotify Embed

For the first part of this task, figure out how to embed this Spotify playlist in one of your posts: That’s relatively easy. So let’s make it a little harder. First, figure out how to put a thought for the day in the top of your site sidebar. Then build on what you learned doing that […]

Categories
WordPress WordPress Templates

Useful WordPress Snippets: Gravatars

AUTHORS To display author name as a link to the posts by that author:<?php the_author_posts_link() ?> To display author name, non-linked:<?php the_author(); ?> To GET an AVATAR for your author, sized to 96px by 96px<?php echo get_avatar( get_the_author_meta(’email’), ’96’ ); ?> To GET an AVATAR for your author, wrapped in a link to the AUTHOR […]

Categories
WordPress

WordPress Test—PedalMania

In this exercise, you will make a responsive WordPress-based site about guitar pedals called PedalMania. You can use any resource: the internet, your notes, past work. You may not talk. You will use the Underscores starter theme. Please download the sample content.  Set up a new MAMP project with an underscores theme, import the images, […]

Categories
WordPress

WordPress Template Tags Lab Exercise

If you need help with any part of this exercise, consult the WordPress Codex documentation on template tags: https://codex.wordpress.org/Template_Tags REVIEW TASKS Make a new WordPress site in a testing environment. Download the sample content.  Into that new site, import the content. If you’re not at Langara, click “Import Attachments.” If you are at Langara, you […]

Categories
WordPress

WordPress Theme & Plugin Exercise

Set Up A New Site Install a new MAMP-based WordPress site, in a folder called jazz-icons. Give the site a title of Jazz Icons and a tagline of The Giants of Jazz. Install the ZeeBizzCard theme. Import Some Content Download the sample content. In the zip file you download will find a WordPress export file. Import that content […]

Categories
WordPress

Widgetizing A Theme

If you’re using a theme that doesn’t support widgets, you can get it to do so by adding some code to functions.php and then adding calls to the dynamic sidebar in any template file. Widgetizing the HTML5Reset Starter Theme In its current incarnation, the html5reset wordpress theme’s widget area isn’t working, but the code can […]

Categories
WordPress

WordPress Templates Exercise

Preliminary Stuff In a MAMP Testing Enviroment, install a fresh copy of WordPress. In Dashboard < Settings, make the name of your site Jazz Icons and the description to the best players. Install the HTML5Reset WordPress Starter Theme. Change the name of the starter theme folder to firstnamelastnametest, no spaces. Edit the required file to […]

Categories
WordPress

The WordPress Template Hierarchy

The video below explains one of the most important concepts in WordPress theme development: the template hierarchy. Specifically, if you are making a theme, it’s important to know which of the theme files will actually generate your content. The diagram used in the video is available in the WordPress codex, along with some excellent examples: […]