Lesson 15: WordPress

WordPress is a content management system that powers much of the web. This lesson will introduce you to the platform and get you set up with your first installation.

A Brief History of WordPress

Download WordPress

Visit: https://wordpress.org/download/ to download the latest version of WordPress. Save this to your Downloads folder. We will need this later.

CodeAnywhere.com DevBox

A DevBox is essentially a virtual computer that you can set up to run a web application – like WordPress. There are a variety of development environments from which you can choose including PHP CentOS – a stack that includes everything you need to run WordPress. View the slide deck below for step by step directions to set up WordPress in CodeAnywhere.

Setting Up WordPress

Learning About WordPress

WordPress is an open source software which means it costs you nothing and gives you the freedom to modify it to your own liking. The WordPress Codex is a vast repository of documentation and information about WordPress. As you become more familiar with WordPress, you will find it increasingly useful.
It’s a good idea to become a member of the WordPress Forums too. The community is very friendly and helpful.
In the mean time, conduct some research to learn about the following two WordPress items:

  • Themes
  • Plugins

Getting Started

Please download the WP-Bootstrap theme and Soliloquy Lite plugin. Upload the zip files to wordpress > wp-content > themes and wordpress > wp-content > plugins respectively.
Also, download the following zipped folder: images.zip

Child Themes

A child theme is a custom theme that is based on a parent theme – or a theme that already exists. This is the safest, and only official way to modify a theme. We’re going to follow the directions that come from the WordPress Codex at the following link: http://codex.wordpress.org/Child_Themes.

  • Create a child theme folder in wordpress > wp-content > themes (you can call this folder anything you like, but it should be lowercase and contain no spaces). Child themes are often named after the parent theme followed by “-child,” like this “twentfourteen-child”
  • Create a style.css file inside your new folder
  • create a functions.php file as well


 Theme Name:   Bootstrap Child
 Theme URI:    http://320press.com/wpbs/
 Description:  WP-Bootstrap Child Theme
 Author:       YOUR NAME HERE
 Author URI:   http://YOURWEBSTEHERE.com
 Template:     wordpress-bootstrap-master
 Version:      1.0.0
 Tags:         comma, separated, tags, here
/* =Theme customization starts here
-------------------------------------------------------------- */


add_action( 'wp_enqueue_scripts', 'enqueue_parent_theme_style' );
function enqueue_parent_theme_style() {
    wp_enqueue_style( 'parent-style', get_template_directory_uri().'/style.css' );

Soliloquy Theme Integration

Watch the video below to learn how to add plugin functionality into  a child theme:

<?php if (is_front_page() & function_exists( 'soliloquy' ) ) { soliloquy( '4' ); } ?>
<!-- END OF SLIDER -->